{
  "_format": "hh-sol-artifact-1",
  "contractName": "PendleRedeemProxyBaseDep1",
  "sourceName": "contracts/deprecated/PendleRedeemProxyBaseDep1.sol",
  "abi": [
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address[]",
              "name": "xyts",
              "type": "address[]"
            },
            {
              "internalType": "address[]",
              "name": "ots",
              "type": "address[]"
            },
            {
              "internalType": "address[]",
              "name": "markets",
              "type": "address[]"
            },
            {
              "internalType": "address[]",
              "name": "lmContractsForRewards",
              "type": "address[]"
            },
            {
              "internalType": "uint256[]",
              "name": "expiriesForRewards",
              "type": "uint256[]"
            },
            {
              "internalType": "address[]",
              "name": "lmContractsForInterests",
              "type": "address[]"
            },
            {
              "internalType": "uint256[]",
              "name": "expiriesForInterests",
              "type": "uint256[]"
            },
            {
              "internalType": "address[]",
              "name": "lmV2ContractsForRewards",
              "type": "address[]"
            },
            {
              "internalType": "address[]",
              "name": "lmV2ContractsForInterests",
              "type": "address[]"
            }
          ],
          "internalType": "struct Args",
          "name": "args",
          "type": "tuple"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "redeem",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "xytInterests",
          "type": "uint256[]"
        },
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "amountRewardOne",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "amountRewardTwo",
              "type": "uint256"
            }
          ],
          "internalType": "struct OtRewards[]",
          "name": "otRewards",
          "type": "tuple[]"
        },
        {
          "internalType": "uint256[]",
          "name": "marketInterests",
          "type": "uint256[]"
        },
        {
          "internalType": "uint256[]",
          "name": "lmRewards",
          "type": "uint256[]"
        },
        {
          "internalType": "string[]",
          "name": "lmRewardsFailureReasons",
          "type": "string[]"
        },
        {
          "internalType": "uint256[]",
          "name": "lmInterests",
          "type": "uint256[]"
        },
        {
          "internalType": "string[]",
          "name": "lmInterestsFailureReasons",
          "type": "string[]"
        },
        {
          "internalType": "uint256[]",
          "name": "lmV2Rewards",
          "type": "uint256[]"
        },
        {
          "internalType": "uint256[]",
          "name": "lmV2Interests",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "lmContractsForInterests",
          "type": "address[]"
        },
        {
          "internalType": "uint256[]",
          "name": "expiriesForInterests",
          "type": "uint256[]"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "redeemLmInterests",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "lmInterests",
          "type": "uint256[]"
        },
        {
          "internalType": "string[]",
          "name": "failureReasons",
          "type": "string[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "lmContractsForRewards",
          "type": "address[]"
        },
        {
          "internalType": "uint256[]",
          "name": "expiriesForRewards",
          "type": "uint256[]"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "redeemLmRewards",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "lmRewards",
          "type": "uint256[]"
        },
        {
          "internalType": "string[]",
          "name": "failureReasons",
          "type": "string[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "lmV2ContractsForInterests",
          "type": "address[]"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "redeemLmV2Interests",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "lmV2Interests",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "lmV2ContractsForRewards",
          "type": "address[]"
        },
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "redeemLmV2Rewards",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "lmV2Rewards",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "markets",
          "type": "address[]"
        }
      ],
      "name": "redeemMarkets",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "marketInterests",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "ots",
          "type": "address[]"
        }
      ],
      "name": "redeemOts",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "amountRewardOne",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "amountRewardTwo",
              "type": "uint256"
            }
          ],
          "internalType": "struct OtRewards[]",
          "name": "otRewards",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address[]",
          "name": "xyts",
          "type": "address[]"
        }
      ],
      "name": "redeemXyts",
      "outputs": [
        {
          "internalType": "uint256[]",
          "name": "xytInterests",
          "type": "uint256[]"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "router",
      "outputs": [
        {
          "internalType": "contract IPendleRouter",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
