@pendle/core-v2 0.8.0-beta → 0.8.0-beta-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.json +50 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +48 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +48 -0
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.json +2 -15
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.json +2 -15
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +60 -58
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -24
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +4 -29
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +3 -22
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +1 -20
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +30 -105
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +137 -18
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +206 -16
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +12 -117
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json +0 -148
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json +0 -148
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +0 -173
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +338 -0
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +68 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +406 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +28 -28
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +31 -2
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -19
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +1 -7
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +97 -16
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +48 -0
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +74 -1
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +2 -2
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +2 -2
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +2 -2
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.json +2 -2
- package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +249 -4
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +2 -2
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol +8 -4
- package/contracts/SuperComposableYield/base-implementations/SCYBase.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +2 -2
- package/contracts/core/YieldContracts/PendleYieldToken.sol +26 -0
- package/contracts/core/actions/ActionCallback.sol +1 -3
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +2 -2
- package/contracts/core/actions/base/ActionSCYAndYTBase.sol +4 -1
- package/contracts/interfaces/IPRouterStatic.sol +7 -2
- package/contracts/interfaces/IYearnVault.sol +5 -1
- package/contracts/libraries/SCY/SCYIndex.sol +8 -1
- package/contracts/libraries/SCY/SCYUtils.sol +16 -0
- package/contracts/libraries/math/MarketMathCore.sol +21 -25
- package/contracts/libraries/math/Math.sol +0 -5
- package/contracts/offchain-helpers/RouterStatic.sol +137 -5
- package/deployments/43113-core.json +10 -10
- package/deployments/43113-markets/benqi-market-0x9f080Af83E84099ED92b1b9b4B4BbE4400f2A3CB.json +7 -0
- package/deployments/80001-core.json +9 -9
- package/deployments/80001-markets/benqi-market-0x78699fa58C484e9867B8047A12E959ccB8BaD90E.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +180 -38
- package/typechain-types/ActionSCYAndPTBase.ts +3 -129
- package/typechain-types/ActionSCYAndPYBase.ts +3 -129
- package/typechain-types/ActionSCYAndYTBase.ts +3 -149
- package/typechain-types/ActionYT.ts +31 -117
- package/typechain-types/IPActionCore.ts +271 -3
- package/typechain-types/IPActionYT.ts +63 -3
- package/typechain-types/IPAllAction.ts +329 -3
- package/typechain-types/IPMarket.ts +38 -38
- package/typechain-types/IPRouterStatic.ts +61 -16
- package/typechain-types/IPVeToken.ts +0 -31
- package/typechain-types/IPVotingEscrow.ts +3 -7
- package/typechain-types/IPYieldToken.ts +107 -30
- package/typechain-types/ISuperComposableYield.ts +78 -0
- package/typechain-types/IYearnVault.ts +100 -9
- package/typechain-types/PendleAaveV3SCY.ts +78 -0
- package/typechain-types/PendleERC4626SCY.ts +78 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -13
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -13
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -13
- package/typechain-types/PendleMarket.ts +38 -142
- package/typechain-types/PendleQiTokenSCY.ts +78 -0
- package/typechain-types/PendleVotingControllerUpg.ts +139 -132
- package/typechain-types/PendleWstEthSCY.ts +78 -0
- package/typechain-types/PendleYearnVaultSCY.ts +78 -0
- package/typechain-types/PendleYieldToken.ts +186 -39
- package/typechain-types/RouterStatic.ts +402 -16
- package/typechain-types/SCYBase.ts +78 -0
- package/typechain-types/SCYBaseWithRewards.ts +78 -0
- package/typechain-types/VotingControllerStorageUpg.ts +93 -64
- package/typechain-types/VotingEscrowPendleMainchain.ts +11 -46
- package/typechain-types/VotingEscrowPendleSidechain.ts +8 -39
- package/typechain-types/VotingEscrowTokenBase.ts +8 -39
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionCore__factory.ts +205 -15
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -148
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -148
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -173
- package/typechain-types/factories/ActionYT__factory.ts +11 -116
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/IPActionCore__factory.ts +338 -0
- package/typechain-types/factories/IPActionYT__factory.ts +68 -0
- package/typechain-types/factories/IPAllAction__factory.ts +406 -0
- package/typechain-types/factories/IPMarket__factory.ts +28 -28
- package/typechain-types/factories/IPRouterStatic__factory.ts +31 -2
- package/typechain-types/factories/IPVeToken__factory.ts +0 -19
- package/typechain-types/factories/IPVotingEscrow__factory.ts +1 -7
- package/typechain-types/factories/IPYieldToken__factory.ts +97 -16
- package/typechain-types/factories/ISuperComposableYield__factory.ts +48 -0
- package/typechain-types/factories/IYearnVault__factory.ts +74 -1
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +49 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +49 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +29 -104
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +59 -57
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +49 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +136 -17
- package/typechain-types/factories/RouterStatic__factory.ts +248 -3
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +48 -0
- package/typechain-types/factories/SCYBase__factory.ts +48 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -24
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +3 -28
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -21
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +1 -20
- package/deployments/43113-markets/benqi-market-0xF3150c14F776c50C9D397054d38979c7B77FC41D.json +0 -7
- package/deployments/80001-markets/benqi-market-0x150b6eb90Bf636eC0c4328d13d1e1d4adDBAF904.json +0 -7
- package/typechain-types/CelerReceiver.ts +0 -267
- package/typechain-types/CelerSender.ts +0 -164
- package/typechain-types/IPMarketAddRemoveCallback.ts +0 -169
- package/typechain-types/IPVotingEscrowController.ts +0 -154
- package/typechain-types/PendleBtrflyScy.ts +0 -822
- package/typechain-types/PendleGaugeController.ts +0 -282
- package/typechain-types/PendleGaugeControllerMainchain.ts +0 -346
- package/typechain-types/PendleGaugeControllerSidechain.ts +0 -460
- package/typechain-types/PendleJoeLpSCY.ts +0 -835
- package/typechain-types/PendleVotingController.ts +0 -865
- package/typechain-types/VotingControllerStorage.ts +0 -410
- package/typechain-types/VotingEscrowController.ts +0 -154
- package/typechain-types/VotingEscrowToken.ts +0 -335
- package/typechain-types/factories/CelerReceiver__factory.ts +0 -140
- package/typechain-types/factories/CelerSender__factory.ts +0 -67
- package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +0 -86
- package/typechain-types/factories/IPVotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +0 -728
- package/typechain-types/factories/PendleGaugeControllerMainchain__factory.ts +0 -269
- package/typechain-types/factories/PendleGaugeControllerSidechain__factory.ts +0 -328
- package/typechain-types/factories/PendleGaugeController__factory.ts +0 -149
- package/typechain-types/factories/PendleJoeLpSCY__factory.ts +0 -732
- package/typechain-types/factories/PendleVotingController__factory.ts +0 -584
- package/typechain-types/factories/VotingControllerStorage__factory.ts +0 -298
- package/typechain-types/factories/VotingEscrowController__factory.ts +0 -80
- package/typechain-types/factories/VotingEscrowToken__factory.ts +0 -225
|
@@ -1,732 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
PendleJoeLpSCY,
|
|
8
|
-
PendleJoeLpSCYInterface,
|
|
9
|
-
} from "../PendleJoeLpSCY";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "string",
|
|
16
|
-
name: "_name",
|
|
17
|
-
type: "string",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "string",
|
|
21
|
-
name: "_symbol",
|
|
22
|
-
type: "string",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "_joeRouter",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "address",
|
|
31
|
-
name: "_joePair",
|
|
32
|
-
type: "address",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
stateMutability: "nonpayable",
|
|
36
|
-
type: "constructor",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
anonymous: false,
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
indexed: true,
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "owner",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: true,
|
|
49
|
-
internalType: "address",
|
|
50
|
-
name: "spender",
|
|
51
|
-
type: "address",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
indexed: false,
|
|
55
|
-
internalType: "uint256",
|
|
56
|
-
name: "value",
|
|
57
|
-
type: "uint256",
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
name: "Approval",
|
|
61
|
-
type: "event",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
anonymous: false,
|
|
65
|
-
inputs: [
|
|
66
|
-
{
|
|
67
|
-
indexed: true,
|
|
68
|
-
internalType: "address",
|
|
69
|
-
name: "user",
|
|
70
|
-
type: "address",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
indexed: false,
|
|
74
|
-
internalType: "address[]",
|
|
75
|
-
name: "rewardTokens",
|
|
76
|
-
type: "address[]",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
indexed: false,
|
|
80
|
-
internalType: "uint256[]",
|
|
81
|
-
name: "rewardAmounts",
|
|
82
|
-
type: "uint256[]",
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
name: "ClaimRewards",
|
|
86
|
-
type: "event",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
anonymous: false,
|
|
90
|
-
inputs: [
|
|
91
|
-
{
|
|
92
|
-
indexed: true,
|
|
93
|
-
internalType: "address",
|
|
94
|
-
name: "caller",
|
|
95
|
-
type: "address",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
indexed: true,
|
|
99
|
-
internalType: "address",
|
|
100
|
-
name: "receiver",
|
|
101
|
-
type: "address",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
indexed: true,
|
|
105
|
-
internalType: "address",
|
|
106
|
-
name: "tokenIn",
|
|
107
|
-
type: "address",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
indexed: false,
|
|
111
|
-
internalType: "uint256",
|
|
112
|
-
name: "amountDeposited",
|
|
113
|
-
type: "uint256",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
indexed: false,
|
|
117
|
-
internalType: "uint256",
|
|
118
|
-
name: "amountScyOut",
|
|
119
|
-
type: "uint256",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
name: "Deposit",
|
|
123
|
-
type: "event",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
anonymous: false,
|
|
127
|
-
inputs: [
|
|
128
|
-
{
|
|
129
|
-
indexed: false,
|
|
130
|
-
internalType: "uint256",
|
|
131
|
-
name: "oldExchangeRate",
|
|
132
|
-
type: "uint256",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
indexed: false,
|
|
136
|
-
internalType: "uint256",
|
|
137
|
-
name: "newExchangeRate",
|
|
138
|
-
type: "uint256",
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
name: "ExchangeRateUpdated",
|
|
142
|
-
type: "event",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
anonymous: false,
|
|
146
|
-
inputs: [
|
|
147
|
-
{
|
|
148
|
-
indexed: true,
|
|
149
|
-
internalType: "address",
|
|
150
|
-
name: "caller",
|
|
151
|
-
type: "address",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
indexed: true,
|
|
155
|
-
internalType: "address",
|
|
156
|
-
name: "receiver",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
indexed: true,
|
|
161
|
-
internalType: "address",
|
|
162
|
-
name: "tokenOut",
|
|
163
|
-
type: "address",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
indexed: false,
|
|
167
|
-
internalType: "uint256",
|
|
168
|
-
name: "amountScyToRedeem",
|
|
169
|
-
type: "uint256",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
indexed: false,
|
|
173
|
-
internalType: "uint256",
|
|
174
|
-
name: "amountTokenOut",
|
|
175
|
-
type: "uint256",
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
name: "Redeem",
|
|
179
|
-
type: "event",
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
anonymous: false,
|
|
183
|
-
inputs: [
|
|
184
|
-
{
|
|
185
|
-
indexed: true,
|
|
186
|
-
internalType: "address",
|
|
187
|
-
name: "from",
|
|
188
|
-
type: "address",
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
indexed: true,
|
|
192
|
-
internalType: "address",
|
|
193
|
-
name: "to",
|
|
194
|
-
type: "address",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
indexed: false,
|
|
198
|
-
internalType: "uint256",
|
|
199
|
-
name: "value",
|
|
200
|
-
type: "uint256",
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
name: "Transfer",
|
|
204
|
-
type: "event",
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
inputs: [
|
|
208
|
-
{
|
|
209
|
-
internalType: "address",
|
|
210
|
-
name: "",
|
|
211
|
-
type: "address",
|
|
212
|
-
},
|
|
213
|
-
],
|
|
214
|
-
name: "accruedRewards",
|
|
215
|
-
outputs: [
|
|
216
|
-
{
|
|
217
|
-
internalType: "uint256[]",
|
|
218
|
-
name: "rewardAmounts",
|
|
219
|
-
type: "uint256[]",
|
|
220
|
-
},
|
|
221
|
-
],
|
|
222
|
-
stateMutability: "view",
|
|
223
|
-
type: "function",
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
inputs: [
|
|
227
|
-
{
|
|
228
|
-
internalType: "address",
|
|
229
|
-
name: "owner",
|
|
230
|
-
type: "address",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
internalType: "address",
|
|
234
|
-
name: "spender",
|
|
235
|
-
type: "address",
|
|
236
|
-
},
|
|
237
|
-
],
|
|
238
|
-
name: "allowance",
|
|
239
|
-
outputs: [
|
|
240
|
-
{
|
|
241
|
-
internalType: "uint256",
|
|
242
|
-
name: "",
|
|
243
|
-
type: "uint256",
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
stateMutability: "view",
|
|
247
|
-
type: "function",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
inputs: [
|
|
251
|
-
{
|
|
252
|
-
internalType: "address",
|
|
253
|
-
name: "spender",
|
|
254
|
-
type: "address",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
internalType: "uint256",
|
|
258
|
-
name: "amount",
|
|
259
|
-
type: "uint256",
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
name: "approve",
|
|
263
|
-
outputs: [
|
|
264
|
-
{
|
|
265
|
-
internalType: "bool",
|
|
266
|
-
name: "",
|
|
267
|
-
type: "bool",
|
|
268
|
-
},
|
|
269
|
-
],
|
|
270
|
-
stateMutability: "nonpayable",
|
|
271
|
-
type: "function",
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
inputs: [],
|
|
275
|
-
name: "assetInfo",
|
|
276
|
-
outputs: [
|
|
277
|
-
{
|
|
278
|
-
internalType: "enum ISuperComposableYield.AssetType",
|
|
279
|
-
name: "assetType",
|
|
280
|
-
type: "uint8",
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
internalType: "address",
|
|
284
|
-
name: "assetAddress",
|
|
285
|
-
type: "address",
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
internalType: "uint8",
|
|
289
|
-
name: "assetDecimals",
|
|
290
|
-
type: "uint8",
|
|
291
|
-
},
|
|
292
|
-
],
|
|
293
|
-
stateMutability: "view",
|
|
294
|
-
type: "function",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
inputs: [
|
|
298
|
-
{
|
|
299
|
-
internalType: "address",
|
|
300
|
-
name: "account",
|
|
301
|
-
type: "address",
|
|
302
|
-
},
|
|
303
|
-
],
|
|
304
|
-
name: "balanceOf",
|
|
305
|
-
outputs: [
|
|
306
|
-
{
|
|
307
|
-
internalType: "uint256",
|
|
308
|
-
name: "",
|
|
309
|
-
type: "uint256",
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
stateMutability: "view",
|
|
313
|
-
type: "function",
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
inputs: [
|
|
317
|
-
{
|
|
318
|
-
internalType: "address",
|
|
319
|
-
name: "",
|
|
320
|
-
type: "address",
|
|
321
|
-
},
|
|
322
|
-
],
|
|
323
|
-
name: "claimRewards",
|
|
324
|
-
outputs: [
|
|
325
|
-
{
|
|
326
|
-
internalType: "uint256[]",
|
|
327
|
-
name: "rewardAmounts",
|
|
328
|
-
type: "uint256[]",
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
stateMutability: "nonpayable",
|
|
332
|
-
type: "function",
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
inputs: [],
|
|
336
|
-
name: "decimals",
|
|
337
|
-
outputs: [
|
|
338
|
-
{
|
|
339
|
-
internalType: "uint8",
|
|
340
|
-
name: "",
|
|
341
|
-
type: "uint8",
|
|
342
|
-
},
|
|
343
|
-
],
|
|
344
|
-
stateMutability: "view",
|
|
345
|
-
type: "function",
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
inputs: [
|
|
349
|
-
{
|
|
350
|
-
internalType: "address",
|
|
351
|
-
name: "receiver",
|
|
352
|
-
type: "address",
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
internalType: "address",
|
|
356
|
-
name: "tokenIn",
|
|
357
|
-
type: "address",
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
internalType: "uint256",
|
|
361
|
-
name: "amountTokenToPull",
|
|
362
|
-
type: "uint256",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
internalType: "uint256",
|
|
366
|
-
name: "minSharesOut",
|
|
367
|
-
type: "uint256",
|
|
368
|
-
},
|
|
369
|
-
],
|
|
370
|
-
name: "deposit",
|
|
371
|
-
outputs: [
|
|
372
|
-
{
|
|
373
|
-
internalType: "uint256",
|
|
374
|
-
name: "amountSharesOut",
|
|
375
|
-
type: "uint256",
|
|
376
|
-
},
|
|
377
|
-
],
|
|
378
|
-
stateMutability: "payable",
|
|
379
|
-
type: "function",
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
inputs: [],
|
|
383
|
-
name: "exchangeRateCurrent",
|
|
384
|
-
outputs: [
|
|
385
|
-
{
|
|
386
|
-
internalType: "uint256",
|
|
387
|
-
name: "currentRate",
|
|
388
|
-
type: "uint256",
|
|
389
|
-
},
|
|
390
|
-
],
|
|
391
|
-
stateMutability: "nonpayable",
|
|
392
|
-
type: "function",
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
inputs: [],
|
|
396
|
-
name: "exchangeRateStored",
|
|
397
|
-
outputs: [
|
|
398
|
-
{
|
|
399
|
-
internalType: "uint256",
|
|
400
|
-
name: "",
|
|
401
|
-
type: "uint256",
|
|
402
|
-
},
|
|
403
|
-
],
|
|
404
|
-
stateMutability: "view",
|
|
405
|
-
type: "function",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
inputs: [],
|
|
409
|
-
name: "getBaseTokens",
|
|
410
|
-
outputs: [
|
|
411
|
-
{
|
|
412
|
-
internalType: "address[]",
|
|
413
|
-
name: "res",
|
|
414
|
-
type: "address[]",
|
|
415
|
-
},
|
|
416
|
-
],
|
|
417
|
-
stateMutability: "view",
|
|
418
|
-
type: "function",
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
inputs: [],
|
|
422
|
-
name: "getRewardTokens",
|
|
423
|
-
outputs: [
|
|
424
|
-
{
|
|
425
|
-
internalType: "address[]",
|
|
426
|
-
name: "rewardTokens",
|
|
427
|
-
type: "address[]",
|
|
428
|
-
},
|
|
429
|
-
],
|
|
430
|
-
stateMutability: "view",
|
|
431
|
-
type: "function",
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
inputs: [
|
|
435
|
-
{
|
|
436
|
-
internalType: "address",
|
|
437
|
-
name: "token",
|
|
438
|
-
type: "address",
|
|
439
|
-
},
|
|
440
|
-
],
|
|
441
|
-
name: "isValidBaseToken",
|
|
442
|
-
outputs: [
|
|
443
|
-
{
|
|
444
|
-
internalType: "bool",
|
|
445
|
-
name: "res",
|
|
446
|
-
type: "bool",
|
|
447
|
-
},
|
|
448
|
-
],
|
|
449
|
-
stateMutability: "view",
|
|
450
|
-
type: "function",
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
inputs: [],
|
|
454
|
-
name: "joePair",
|
|
455
|
-
outputs: [
|
|
456
|
-
{
|
|
457
|
-
internalType: "address",
|
|
458
|
-
name: "",
|
|
459
|
-
type: "address",
|
|
460
|
-
},
|
|
461
|
-
],
|
|
462
|
-
stateMutability: "view",
|
|
463
|
-
type: "function",
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
inputs: [],
|
|
467
|
-
name: "joeRouter",
|
|
468
|
-
outputs: [
|
|
469
|
-
{
|
|
470
|
-
internalType: "address",
|
|
471
|
-
name: "",
|
|
472
|
-
type: "address",
|
|
473
|
-
},
|
|
474
|
-
],
|
|
475
|
-
stateMutability: "view",
|
|
476
|
-
type: "function",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
inputs: [],
|
|
480
|
-
name: "name",
|
|
481
|
-
outputs: [
|
|
482
|
-
{
|
|
483
|
-
internalType: "string",
|
|
484
|
-
name: "",
|
|
485
|
-
type: "string",
|
|
486
|
-
},
|
|
487
|
-
],
|
|
488
|
-
stateMutability: "view",
|
|
489
|
-
type: "function",
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
inputs: [
|
|
493
|
-
{
|
|
494
|
-
internalType: "address",
|
|
495
|
-
name: "receiver",
|
|
496
|
-
type: "address",
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
internalType: "uint256",
|
|
500
|
-
name: "amountSharesToPull",
|
|
501
|
-
type: "uint256",
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
internalType: "address",
|
|
505
|
-
name: "tokenOut",
|
|
506
|
-
type: "address",
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
internalType: "uint256",
|
|
510
|
-
name: "minTokenOut",
|
|
511
|
-
type: "uint256",
|
|
512
|
-
},
|
|
513
|
-
],
|
|
514
|
-
name: "redeem",
|
|
515
|
-
outputs: [
|
|
516
|
-
{
|
|
517
|
-
internalType: "uint256",
|
|
518
|
-
name: "amountTokenOut",
|
|
519
|
-
type: "uint256",
|
|
520
|
-
},
|
|
521
|
-
],
|
|
522
|
-
stateMutability: "nonpayable",
|
|
523
|
-
type: "function",
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
inputs: [],
|
|
527
|
-
name: "symbol",
|
|
528
|
-
outputs: [
|
|
529
|
-
{
|
|
530
|
-
internalType: "string",
|
|
531
|
-
name: "",
|
|
532
|
-
type: "string",
|
|
533
|
-
},
|
|
534
|
-
],
|
|
535
|
-
stateMutability: "view",
|
|
536
|
-
type: "function",
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
inputs: [],
|
|
540
|
-
name: "token0",
|
|
541
|
-
outputs: [
|
|
542
|
-
{
|
|
543
|
-
internalType: "address",
|
|
544
|
-
name: "",
|
|
545
|
-
type: "address",
|
|
546
|
-
},
|
|
547
|
-
],
|
|
548
|
-
stateMutability: "view",
|
|
549
|
-
type: "function",
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
inputs: [],
|
|
553
|
-
name: "token1",
|
|
554
|
-
outputs: [
|
|
555
|
-
{
|
|
556
|
-
internalType: "address",
|
|
557
|
-
name: "",
|
|
558
|
-
type: "address",
|
|
559
|
-
},
|
|
560
|
-
],
|
|
561
|
-
stateMutability: "view",
|
|
562
|
-
type: "function",
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
inputs: [],
|
|
566
|
-
name: "totalSupply",
|
|
567
|
-
outputs: [
|
|
568
|
-
{
|
|
569
|
-
internalType: "uint256",
|
|
570
|
-
name: "",
|
|
571
|
-
type: "uint256",
|
|
572
|
-
},
|
|
573
|
-
],
|
|
574
|
-
stateMutability: "view",
|
|
575
|
-
type: "function",
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
inputs: [
|
|
579
|
-
{
|
|
580
|
-
internalType: "address",
|
|
581
|
-
name: "to",
|
|
582
|
-
type: "address",
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
internalType: "uint256",
|
|
586
|
-
name: "amount",
|
|
587
|
-
type: "uint256",
|
|
588
|
-
},
|
|
589
|
-
],
|
|
590
|
-
name: "transfer",
|
|
591
|
-
outputs: [
|
|
592
|
-
{
|
|
593
|
-
internalType: "bool",
|
|
594
|
-
name: "",
|
|
595
|
-
type: "bool",
|
|
596
|
-
},
|
|
597
|
-
],
|
|
598
|
-
stateMutability: "nonpayable",
|
|
599
|
-
type: "function",
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
inputs: [
|
|
603
|
-
{
|
|
604
|
-
internalType: "address",
|
|
605
|
-
name: "from",
|
|
606
|
-
type: "address",
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
internalType: "address",
|
|
610
|
-
name: "to",
|
|
611
|
-
type: "address",
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
internalType: "uint256",
|
|
615
|
-
name: "amount",
|
|
616
|
-
type: "uint256",
|
|
617
|
-
},
|
|
618
|
-
],
|
|
619
|
-
name: "transferFrom",
|
|
620
|
-
outputs: [
|
|
621
|
-
{
|
|
622
|
-
internalType: "bool",
|
|
623
|
-
name: "",
|
|
624
|
-
type: "bool",
|
|
625
|
-
},
|
|
626
|
-
],
|
|
627
|
-
stateMutability: "nonpayable",
|
|
628
|
-
type: "function",
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
inputs: [],
|
|
632
|
-
name: "yieldToken",
|
|
633
|
-
outputs: [
|
|
634
|
-
{
|
|
635
|
-
internalType: "address",
|
|
636
|
-
name: "",
|
|
637
|
-
type: "address",
|
|
638
|
-
},
|
|
639
|
-
],
|
|
640
|
-
stateMutability: "view",
|
|
641
|
-
type: "function",
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
inputs: [],
|
|
645
|
-
name: "yieldTokenReserve",
|
|
646
|
-
outputs: [
|
|
647
|
-
{
|
|
648
|
-
internalType: "uint256",
|
|
649
|
-
name: "",
|
|
650
|
-
type: "uint256",
|
|
651
|
-
},
|
|
652
|
-
],
|
|
653
|
-
stateMutability: "view",
|
|
654
|
-
type: "function",
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
stateMutability: "payable",
|
|
658
|
-
type: "receive",
|
|
659
|
-
},
|
|
660
|
-
];
|
|
661
|
-
|
|
662
|
-
const _bytecode =
|
|
663
|
-
"0x6101406040523480156200001257600080fd5b5060405162003d8a38038062003d8a833981016040819052620000359162000416565b8383828282601260036200004a848262000534565b50600462000059838262000534565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b0390811660a05284169150620000cc90505760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b60448201526064015b60405180910390fd5b6001600160a01b0380831660c052811660e081905260408051630dfe168160e01b81529051630dfe1681916004808201926020929091908290030181865afa1580156200011d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000143919062000600565b6001600160a01b0316610100816001600160a01b03168152505060e0516001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c4919062000600565b6001600160a01b0316610120526101005160c051620001e791906000196200020b565b620002016101205160c0516000196200020b60201b60201c565b5050505062000667565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000269919062000625565b6000604051808303816000865af19150503d8060008114620002a8576040519150601f19603f3d011682016040523d82523d6000602084013e620002ad565b606091505b5091509150818015620002db575080511580620002db575080806020019051810190620002db919062000643565b620003185760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620000c3565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200035257818101518382015260200162000338565b8381111562000362576000848401525b50505050565b600082601f8301126200037a57600080fd5b81516001600160401b03808211156200039757620003976200031f565b604051601f8301601f19908116603f01168101908282118183101715620003c257620003c26200031f565b81604052838152866020858801011115620003dc57600080fd5b620003ef84602083016020890162000335565b9695505050505050565b80516001600160a01b03811681146200041157600080fd5b919050565b600080600080608085870312156200042d57600080fd5b84516001600160401b03808211156200044557600080fd5b620004538883890162000368565b955060208701519150808211156200046a57600080fd5b50620004798782880162000368565b9350506200048a60408601620003f9565b91506200049a60608601620003f9565b905092959194509250565b600181811c90821680620004ba57607f821691505b602082108103620004db57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200052f57600081815260208120601f850160051c810160208610156200050a5750805b601f850160051c820191505b818110156200052b5782815560010162000516565b5050505b505050565b81516001600160401b038111156200055057620005506200031f565b6200056881620005618454620004a5565b84620004e1565b602080601f831160018114620005a05760008415620005875750858301515b600019600386901b1c1916600185901b1785556200052b565b600085815260208120601f198616915b82811015620005d157888601518255948401946001909101908401620005b0565b5085821015620005f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200061357600080fd5b6200061e82620003f9565b9392505050565b600082516200063981846020870162000335565b9190910192915050565b6000602082840312156200065657600080fd5b815180151581146200061e57600080fd5b60805160a05160c05160e05161010051610120516135de620007ac6000396000818161048f01528181610b1801528181610c000152818161199701528181612370015281816123f401528181612629015281816127080152818161283a01526128a30152600081816101c301528181610ac401528181610bc50152818161195c0152818161233201528181612391015281816123d3015281816125c80152818161268c015281816126e0015281816127f4015261287b015260008181610320015281816107e6015281816108070152818161090b015281816109c901528181610b6c01528181610c3c01528181610f95015281816115f70152818161252f015261298d0152600081816102ec01528181612763015281816128f30152612a8301526000818161038a01528181610f3b01526110f3015260006102a601526135de6000f3fe60806040526004361061012a5760003560e01c806305593d671461013657806306fdde031461015f578063095ea7b3146101815780630dfe1681146101b1578063128fced1146101f257806318160ddd1461022d578063182df0f51461024b57806320e8c5651461026157806323b872dd14610274578063313ce5671461029457806359f571e8146102da5780636bca89cb1461030e57806370a082311461034257806376d5de851461037857806395d89b41146103ac578063a40bee50146103c1578063a9059cbb146103e5578063bd6d894d14610405578063bed64c2f1461041a578063c4f59f9b1461043c578063c9c0c0821461045d578063d21220a71461047d578063dd62ed3e146104b1578063ef5cfb8c146101f2578063f3f094a1146104d157600080fd5b3661013157005b600080fd5b34801561014257600080fd5b5061014c60055481565b6040519081526020015b60405180910390f35b34801561016b57600080fd5b506101746104f1565b6040516101569190612dfe565b34801561018d57600080fd5b506101a161019c366004612e48565b610583565b6040519015158152602001610156565b3480156101bd57600080fd5b506101e57f000000000000000000000000000000000000000000000000000000000000000081565b6040516101569190612e72565b3480156101fe57600080fd5b5061022061020d366004612e86565b5060408051600081526020810190915290565b6040516101569190612ea1565b34801561023957600080fd5b506002546001600160f81b031661014c565b34801561025757600080fd5b5061014c60065481565b61014c61026f366004612ee5565b61059d565b34801561028057600080fd5b506101a161028f366004612f27565b610750565b3480156102a057600080fd5b506102c87f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610156565b3480156102e657600080fd5b506101e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561031a57600080fd5b506101e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561034e57600080fd5b5061014c61035d366004612e86565b6001600160a01b031660009081526020819052604090205490565b34801561038457600080fd5b506101e57f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b857600080fd5b506101746107ce565b3480156103cd57600080fd5b506103d66107dd565b60405161015693929190612f63565b3480156103f157600080fd5b506101a1610400366004612e48565b610892565b34801561041157600080fd5b5061014c610904565b34801561042657600080fd5b5061042f610aa0565b6040516101569190612fe9565b34801561044857600080fd5b5060408051600081526020810190915261042f565b34801561046957600080fd5b506101a1610478366004612e86565b610bc1565b34801561048957600080fd5b506101e57f000000000000000000000000000000000000000000000000000000000000000081565b3480156104bd57600080fd5b5061014c6104cc366004612ffc565b610c75565b3480156104dd57600080fd5b5061014c6104ec36600461302f565b610ca0565b60606003805461050090613073565b80601f016020809104026020016040519081016040528092919081815260200182805461052c90613073565b80156105795780601f1061054e57610100808354040283529160200191610579565b820191906000526020600020905b81548152906001019060200180831161055c57829003601f168201915b5050505050905090565b600033610591818585610de5565b60019150505b92915050565b600254600090600119600160f81b90910460ff16016105d75760405162461bcd60e51b81526004016105ce906130bd565b60405180910390fd5b600280546001600160f81b0316600160f91b1790556105f584610bc1565b6106385760405162461bcd60e51b815260206004820152601460248201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b60448201526064016105ce565b6001600160a01b03841661068a5782156106855760405162461bcd60e51b815260206004820152600e60248201526d0c6c2dc4ee840e0ead8d840cae8d60931b60448201526064016105ce565b61069b565b821561069b5761069b843385610f0a565b60006106a685610f37565b90506106b28582610f91565b9150828210156106d45760405162461bcd60e51b81526004016105ce906130f4565b6106de8683610fe4565b60408051828152602081018490526001600160a01b03808816929089169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5991015b60405180910390a4506107336110ee565b600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff16016107815760405162461bcd60e51b81526004016105ce906130bd565b600280546001600160f81b0316600160f91b179055336107a285828561111c565b6107ad858585611196565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60606004805461050090613073565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610863573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610887919061311e565b925092509250909192565b600254600090600119600160f81b90910460ff16016108c35760405162461bcd60e51b81526004016105ce906130bd565b600280546001600160f81b0316600160f91b179055336108e4818585611196565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098b9190613158565b506001600160701b03918216935016905060006109c36109ab83856131be565b6109be6002670de0b6b3a76400006131f3565b6113ad565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a499190613221565b9050610a5582826115c4565b60065460408051918252602082018390529196507fc8d1043f24843c0a1c9251fdc30017d84e87498fbcf232af9f86816b5e182bde910160405180910390a150505060068290555090565b604080516003808252608082019092526060916020820183803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610af657610af661323a565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610b4a57610b4a61323a565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110610b9e57610b9e61323a565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610c3457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061059757507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254600090600119600160f81b90910460ff1601610cd15760405162461bcd60e51b81526004016105ce906130bd565b600280546001600160f81b0316600160f91b179055610cef83610bc1565b610d335760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b60448201526064016105ce565b8315610d4f57610d4433308661111c565b610d4f333086611196565b6000610d5a30610f37565b9050610d6684826115f3565b915082821015610d885760405162461bcd60e51b81526004016105ce906130f4565b610d92308261163f565b610d9d8487846117ac565b60408051828152602081018490526001600160a01b03808716929089169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c9101610722565b6001600160a01b038316610e475760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ce565b6001600160a01b038216610ea85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ce565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610f1d57505050565b610f326001600160a01b038416833084611863565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614610f7b57610597826118ce565b600554610f87836118ce565b6105979190613250565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610fd3575080610597565b610fdd8383611958565b9392505050565b6001600160a01b03821661103a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ce565b61104381611a31565b6002805460009061105e9084906001600160f81b0316613267565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546110b69190613292565b90915550506040518181526001600160a01b038316906000906000805160206135898339815191529060200160405180910390a35050565b6111177f00000000000000000000000000000000000000000000000000000000000000006118ce565b600555565b60006111288484610c75565b9050600019811461119057818110156111835760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105ce565b6111908484848403610de5565b50505050565b6001600160a01b0383166111fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ce565b6001600160a01b03821661125c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ce565b816001600160a01b0316836001600160a01b0316036112b75760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016105ce565b6001600160a01b0383166000908152602081905260409020548181101561132f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105ce565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611366908490613292565b92505081905550826001600160a01b0316846001600160a01b0316600080516020613589833981519152846040516113a091815260200190565b60405180910390a3611190565b6000816000036113c65750670de0b6b3a7640000610597565b826000036113d657506000610597565b600160ff1b831061141b5760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b60448201526064016105ce565b8261143368056bc75e2d63100000600160fe1b6132aa565b83106114735760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b60448201526064016105ce565b8260008261149167016345785d8a0000670de0b6b3a76400006132be565b1280156114b657506114b3670de0b6b3a764000067016345785d8a00006132fd565b83125b1561151f5760006114c684611a47565b9050670de0b6b3a7640000836114dc828461333e565b6114e69190613352565b6114f091906131f3565b83611503670de0b6b3a7640000846131f3565b61150d9190613352565b61151791906132fd565b915050611536565b8161152984611b66565b6115339190613352565b90505b611548670de0b6b3a7640000826131f3565b905080680238fd42c5cf03ffff191315801561156d575068070c1cc73b00c800008113155b6115b15760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b60448201526064016105ce565b6115ba81611f09565b9695505050505050565b6000806115d9670de0b6b3a7640000856131be565b90508281816115ea576115ea6131dd565b04949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611635575080610597565b610fdd838361231e565b6001600160a01b03821661169f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105ce565b6001600160a01b038216600090815260208190526040902054818110156117135760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105ce565b6001600160a01b0383166000908152602081905260409020828203905561173982611a31565b600280546000906117549084906001600160f81b03166133d7565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b031660008051602061358983398151915284604051610efd91815260200190565b6001600160a01b03831661184f576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611807576040519150601f19603f3d011682016040523d82523d6000602084013e61180c565b606091505b50509050806111905760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016105ce565b610f326001600160a01b0384168383612425565b6040516001600160a01b03808516602483015283166044820152606481018290526111909085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612455565b60006001600160a01b03821615611951576040516370a0823160e01b81526001600160a01b038316906370a082319061190b903090600401612e72565b602060405180830381865afa158015611928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194c9190613221565b610597565b4792915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614806119cb57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b611a0b5760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b210333937b6aa37b5b2b760791b60448201526064016105ce565b600080611a188585612527565b91509150611a28828260016126ca565b95945050505050565b6000600160f81b8210611a4357600080fd5b5090565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281611a8857611a886131dd565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215611ba757611b9e826a0c097ce7bc90715b34b9f160241b81611b9857611b986131dd565b05611b66565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312611bf25772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312611c29576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312611c71576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312611cac576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312611ce357693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e28312611d1a57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312611d4f5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb417461211108312611d7a57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312611daf576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312611de4576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312611e18576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312611e4c576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d631000008086030281611e7557611e756131dd565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6000680238fd42c5cf03ffff198212158015611f2e575068070c1cc73b00c800008213155b611f6d5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016105ce565b6000821215611fa557611f8282600003611f09565b6a0c097ce7bc90715b34b9f160241b81611f9e57611f9e6131dd565b0592915050565b60006806f05b59d3b20000008312611fe357506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b612019565b6803782dace9d9000000831261201557506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380612019565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126120695768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126120a5576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126120df57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412612119576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac6200000841261215257680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d63100000841261218b5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b188000084126121c4576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126121fd5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600080600061232c84612864565b915091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316036123cc5760006123b67f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000084612969565b90506123c28184613292565b9350505050610597565b60006124197f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000085612969565b90506123c28183613292565b6040516001600160a01b038316602482015260448101829052610f3290849063a9059cbb60e01b90606401611897565b60006124aa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b869092919063ffffffff16565b805190915015610f3257808060200190518101906124c891906133ff565b610f325760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105ce565b6000806000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561258b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125af9190613158565b506001600160701b031691506001600160701b031691507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03160361266257600061260b8387612b9d565b905060008111612623576126206002876132aa565b90505b61264e877f000000000000000000000000000000000000000000000000000000000000000083612969565b935061265a8187613250565b9450506126c1565b600061266e8287612b9d565b905060008111612686576126836002876132aa565b90505b6126b1877f000000000000000000000000000000000000000000000000000000000000000083612969565b94506126bd8187613250565b9350505b50509250929050565b60405162e8e33760e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018590526064820184905260016084830181905260a48301523060c483015260001960e48301526000918291829182917f0000000000000000000000000000000000000000000000000000000000000000169063e8e3370090610104016060604051808303816000875af11580156127ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d19190613421565b92509250925084156115ba5760006127e98489613250565b1115612823576128237f00000000000000000000000000000000000000000000000000000000000000003361281e868b613250565b6117ac565b600061282f8388613250565b11156115ba576115ba7f00000000000000000000000000000000000000000000000000000000000000003361281e858a613250565b604051635d5155ef60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301526044820183905260016064830181905260848301523060a483015260001960c483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063baa2abde9060e40160408051808303816000875af115801561293b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295f919061344f565b9094909350915050565b6000826001600160a01b0316846001600160a01b03160361298b575080610fdd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166129f55760405162461bcd60e51b81526020600482015260116024820152704e6f205377617020417661696c61626c6560781b60448201526064016105ce565b6040805160028082526060820183526000926020830190803683370190505090508481600081518110612a2a57612a2a61323a565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110612a5e57612a5e61323a565b6001600160a01b0392831660209182029290920101526040516338ed173960e01b81527f0000000000000000000000000000000000000000000000000000000000000000909116906338ed173990612ac59086906001908690309060001990600401613473565b6000604051808303816000875af1158015612ae4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b0c91908101906134af565b60018251612b1a9190613250565b81518110612b2a57612b2a61323a565b6020026020010151915060008211612b7e5760405162461bcd60e51b815260206004820152601760248201527622b93937b91029bbb0b83834b733902a37b5b2b739901960491b60448201526064016105ce565b509392505050565b6060612b958484600085612bf8565b949350505050565b60006107ca612bae846107cd6131be565b612be4612bbe86623cda296131be565b612bcb86623cda206131be565b612bd59190613292565b612bdf90876131be565b612d29565b612bee9190613250565b610fdd91906132aa565b606082471015612c595760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016105ce565b6001600160a01b0385163b612cb05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105ce565b600080866001600160a01b03168587604051612ccc919061356c565b60006040518083038185875af1925050503d8060008114612d09576040519150601f19603f3d011682016040523d82523d6000602084013e612d0e565b606091505b5091509150612d1e828286612d99565b979650505050505050565b60006003821115612d8a5750806000612d436002836132aa565b612d4e906001613292565b90505b81811015612d8457905080600281612d6981866132aa565b612d739190613292565b612d7d91906132aa565b9050612d51565b50919050565b8115612d94575060015b919050565b60608315612da8575081610fdd565b825115612db85782518084602001fd5b8160405162461bcd60e51b81526004016105ce9190612dfe565b60005b83811015612ded578181015183820152602001612dd5565b838111156111905750506000910152565b6020815260008251806020840152612e1d816040850160208701612dd2565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114612d9457600080fd5b60008060408385031215612e5b57600080fd5b612e6483612e31565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600060208284031215612e9857600080fd5b610fdd82612e31565b6020808252825182820181905260009190848201906040850190845b81811015612ed957835183529284019291840191600101612ebd565b50909695505050505050565b60008060008060808587031215612efb57600080fd5b612f0485612e31565b9350612f1260208601612e31565b93969395505050506040820135916060013590565b600080600060608486031215612f3c57600080fd5b612f4584612e31565b9250612f5360208501612e31565b9150604084013590509250925092565b6060810160028510612f8557634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b600081518084526020808501945080840160005b83811015612fde5781516001600160a01b031687529582019590820190600101612fb9565b509495945050505050565b602081526000610fdd6020830184612fa5565b6000806040838503121561300f57600080fd5b61301883612e31565b915061302660208401612e31565b90509250929050565b6000806000806080858703121561304557600080fd5b61304e85612e31565b93506020850135925061306360408601612e31565b9396929550929360600135925050565b600181811c9082168061308757607f821691505b602082108103612d8457634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526010908201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604082015260600190565b60006020828403121561313057600080fd5b815160ff81168114610fdd57600080fd5b80516001600160701b0381168114612d9457600080fd5b60008060006060848603121561316d57600080fd5b61317684613141565b925061318460208501613141565b9150604084015163ffffffff8116811461319d57600080fd5b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156131d8576131d86131a8565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613202576132026131dd565b600160ff1b82146000198414161561321c5761321c6131a8565b500590565b60006020828403121561323357600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b600082821015613262576132626131a8565b500390565b60006001600160f81b03828116848216808303821115613289576132896131a8565b01949350505050565b600082198211156132a5576132a56131a8565b500190565b6000826132b9576132b96131dd565b500490565b60008083128015600160ff1b8501841216156132dc576132dc6131a8565b6001600160ff1b03840183138116156132f7576132f76131a8565b50500390565b600080821280156001600160ff1b038490038513161561331f5761331f6131a8565b600160ff1b8390038412811615613338576133386131a8565b50500190565b60008261334d5761334d6131dd565b500790565b60006001600160ff1b0381841382841380821686840486111615613378576133786131a8565b600160ff1b6000871282811687830589121615613397576133976131a8565b600087129250878205871284841616156133b3576133b36131a8565b878505871281841616156133c9576133c96131a8565b505050929093029392505050565b60006001600160f81b03838116908316818110156133f7576133f76131a8565b039392505050565b60006020828403121561341157600080fd5b81518015158114610fdd57600080fd5b60008060006060848603121561343657600080fd5b8351925060208401519150604084015190509250925092565b6000806040838503121561346257600080fd5b505080516020909101519092909150565b85815284602082015260a06040820152600061349260a0830186612fa5565b6001600160a01b0394909416606083015250608001529392505050565b600060208083850312156134c257600080fd5b82516001600160401b03808211156134d957600080fd5b818501915085601f8301126134ed57600080fd5b8151818111156134ff576134ff6130a7565b8060051b604051601f19603f83011681018181108582111715613524576135246130a7565b60405291825284820192508381018501918883111561354257600080fd5b938501935b8285101561356057845184529385019392850192613547565b98975050505050505050565b6000825161357e818460208701612dd2565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f8149856518fc4b806c670faf7800a48272bfcf0ddb89ded6d96a73f8be54b9464736f6c634300080f0033";
|
|
664
|
-
|
|
665
|
-
type PendleJoeLpSCYConstructorParams =
|
|
666
|
-
| [signer?: Signer]
|
|
667
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
668
|
-
|
|
669
|
-
const isSuperArgs = (
|
|
670
|
-
xs: PendleJoeLpSCYConstructorParams
|
|
671
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
672
|
-
|
|
673
|
-
export class PendleJoeLpSCY__factory extends ContractFactory {
|
|
674
|
-
constructor(...args: PendleJoeLpSCYConstructorParams) {
|
|
675
|
-
if (isSuperArgs(args)) {
|
|
676
|
-
super(...args);
|
|
677
|
-
} else {
|
|
678
|
-
super(_abi, _bytecode, args[0]);
|
|
679
|
-
}
|
|
680
|
-
this.contractName = "PendleJoeLpSCY";
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
deploy(
|
|
684
|
-
_name: string,
|
|
685
|
-
_symbol: string,
|
|
686
|
-
_joeRouter: string,
|
|
687
|
-
_joePair: string,
|
|
688
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
689
|
-
): Promise<PendleJoeLpSCY> {
|
|
690
|
-
return super.deploy(
|
|
691
|
-
_name,
|
|
692
|
-
_symbol,
|
|
693
|
-
_joeRouter,
|
|
694
|
-
_joePair,
|
|
695
|
-
overrides || {}
|
|
696
|
-
) as Promise<PendleJoeLpSCY>;
|
|
697
|
-
}
|
|
698
|
-
getDeployTransaction(
|
|
699
|
-
_name: string,
|
|
700
|
-
_symbol: string,
|
|
701
|
-
_joeRouter: string,
|
|
702
|
-
_joePair: string,
|
|
703
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
704
|
-
): TransactionRequest {
|
|
705
|
-
return super.getDeployTransaction(
|
|
706
|
-
_name,
|
|
707
|
-
_symbol,
|
|
708
|
-
_joeRouter,
|
|
709
|
-
_joePair,
|
|
710
|
-
overrides || {}
|
|
711
|
-
);
|
|
712
|
-
}
|
|
713
|
-
attach(address: string): PendleJoeLpSCY {
|
|
714
|
-
return super.attach(address) as PendleJoeLpSCY;
|
|
715
|
-
}
|
|
716
|
-
connect(signer: Signer): PendleJoeLpSCY__factory {
|
|
717
|
-
return super.connect(signer) as PendleJoeLpSCY__factory;
|
|
718
|
-
}
|
|
719
|
-
static readonly contractName: "PendleJoeLpSCY";
|
|
720
|
-
public readonly contractName: "PendleJoeLpSCY";
|
|
721
|
-
static readonly bytecode = _bytecode;
|
|
722
|
-
static readonly abi = _abi;
|
|
723
|
-
static createInterface(): PendleJoeLpSCYInterface {
|
|
724
|
-
return new utils.Interface(_abi) as PendleJoeLpSCYInterface;
|
|
725
|
-
}
|
|
726
|
-
static connect(
|
|
727
|
-
address: string,
|
|
728
|
-
signerOrProvider: Signer | Provider
|
|
729
|
-
): PendleJoeLpSCY {
|
|
730
|
-
return new Contract(address, _abi, signerOrProvider) as PendleJoeLpSCY;
|
|
731
|
-
}
|
|
732
|
-
}
|