@pendle/core-v2 0.11.4-testnet → 0.11.6-testnet
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/deployments/43113-core.json +1 -1
- package/package.json +4 -2
- package/typechain-types/BaseSplitCodeFactory.ts +118 -0
- package/typechain-types/BaseSplitCodeFactoryContract.ts +267 -0
- package/typechain-types/ERC20Permit.ts +521 -0
- package/typechain-types/IBooster.ts +275 -0
- package/typechain-types/ICrvDepositor.ts +174 -0
- package/typechain-types/ICrvPool.ts +397 -0
- package/typechain-types/ICvxCrv.ts +81 -0
- package/typechain-types/IERC20Permit.ts +175 -0
- package/typechain-types/IPFeeDistributor.ts +2 -7
- package/typechain-types/IPMsgReceiverApp.ts +104 -0
- package/typechain-types/IPMsgSendEndpoint.ts +156 -0
- package/typechain-types/IRewards.ts +539 -0
- package/typechain-types/Pendle3CrvHelper.ts +133 -0
- package/typechain-types/Pendle3CrvTokenSCY.ts +1250 -0
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1250 -0
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
- package/typechain-types/PendleConvexCurveLPSCY.ts +1212 -0
- package/typechain-types/PendleCvxCRVSCY.ts +1138 -0
- package/typechain-types/PendleERC20Permit.ts +443 -0
- package/typechain-types/PendleFeeDistributor.ts +2 -41
- package/typechain-types/PendleFeeDistributorFactory.ts +28 -1
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +491 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +250 -0
- package/typechain-types/PendleMsgSendEndpointUpg.ts +581 -0
- package/typechain-types/PendleMsgSenderAppUpg.ts +289 -0
- package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +226 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- package/typechain-types/factories/ERC20Permit__factory.ts +368 -0
- package/typechain-types/factories/IBooster__factory.ts +189 -0
- package/typechain-types/factories/ICrvDepositor__factory.ts +90 -0
- package/typechain-types/factories/ICrvPool__factory.ts +244 -0
- package/typechain-types/factories/ICvxCrv__factory.ts +36 -0
- package/typechain-types/factories/IERC20Permit__factory.ts +98 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +0 -5
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +39 -0
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +78 -0
- package/typechain-types/factories/IRewards__factory.ts +263 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +1050 -0
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1054 -0
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +892 -0
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +938 -0
- package/typechain-types/factories/PendleERC20Permit__factory.ts +405 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +30 -2
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -19
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +374 -0
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +131 -0
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +393 -0
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +154 -0
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
- package/typechain-types/hardhat.d.ts +215 -71
- package/typechain-types/index.ts +50 -16
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +0 -810
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.json +0 -10
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +0 -833
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +0 -27
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +0 -838
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +0 -723
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +0 -728
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.json +0 -705
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +0 -864
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json +0 -736
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultSCY.sol/PendleYearnVaultSCY.json +0 -718
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +0 -784
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.json +0 -671
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +0 -4
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +0 -737
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json +0 -190
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json +0 -148
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -242
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +0 -306
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +0 -369
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.json +0 -109
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +0 -865
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +0 -365
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +0 -615
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +0 -434
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.json +0 -156
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +0 -964
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +0 -379
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.json +0 -254
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +0 -4
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +0 -323
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.json +0 -35
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +0 -4
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +0 -378
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -440
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +0 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +0 -755
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +0 -1043
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +0 -58
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +0 -811
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +0 -35
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +0 -477
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +0 -477
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +0 -24
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.json +0 -10
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.json +0 -252
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +0 -87
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +0 -59
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +0 -81
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.json +0 -74
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +0 -53
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +0 -45
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +0 -318
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +0 -162
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +0 -87
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +0 -1001
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +0 -769
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +0 -35
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +0 -435
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +0 -435
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +0 -2631
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -43
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +0 -135
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +0 -158
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +0 -24
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.json +0 -35
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -703
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +0 -122
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +0 -34
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +0 -24
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +0 -347
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.json +0 -104
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +0 -130
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.json +0 -142
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +0 -232
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +0 -642
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.json +0 -350
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.json +0 -375
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.json +0 -324
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +0 -92
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.json +0 -40
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +0 -199
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +0 -168
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +0 -92
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.json +0 -137
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.json +0 -135
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.json +0 -63
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.json +0 -667
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +0 -252
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.json +0 -252
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +0 -132
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.json +0 -75
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +0 -148
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/OracleLib.sol/OracleLib.json +0 -74
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.json +0 -77
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.json +0 -40
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.json +0 -10
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.json +0 -10
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.json +0 -10
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.json +0 -10
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +0 -10
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.json +0 -10
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +0 -10
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.json +0 -10
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.json +0 -10
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -35
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +0 -136
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +0 -24
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +0 -10
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +0 -10
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +0 -10
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +0 -10
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +0 -10
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.json +0 -10
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.json +0 -10
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -93
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2152
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/SSTORE2DeployerContract.sol/SSTORE2DeployerContract.json +0 -134
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +0 -4
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +0 -86
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +0 -4
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +0 -37
|
@@ -0,0 +1,938 @@
|
|
|
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
|
+
PendleCvxCRVSCY,
|
|
8
|
+
PendleCvxCRVSCYInterface,
|
|
9
|
+
} from "../PendleCvxCRVSCY";
|
|
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: "_cvxCrv",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "_cvx",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "_baseRewards",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
internalType: "address[]",
|
|
41
|
+
name: "_currentExtraRewards",
|
|
42
|
+
type: "address[]",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "nonpayable",
|
|
46
|
+
type: "constructor",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
anonymous: false,
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
indexed: true,
|
|
53
|
+
internalType: "address",
|
|
54
|
+
name: "owner",
|
|
55
|
+
type: "address",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
indexed: true,
|
|
59
|
+
internalType: "address",
|
|
60
|
+
name: "spender",
|
|
61
|
+
type: "address",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
indexed: false,
|
|
65
|
+
internalType: "uint256",
|
|
66
|
+
name: "value",
|
|
67
|
+
type: "uint256",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "Approval",
|
|
71
|
+
type: "event",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
anonymous: false,
|
|
75
|
+
inputs: [
|
|
76
|
+
{
|
|
77
|
+
indexed: true,
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "user",
|
|
80
|
+
type: "address",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
indexed: false,
|
|
84
|
+
internalType: "address[]",
|
|
85
|
+
name: "rewardTokens",
|
|
86
|
+
type: "address[]",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
indexed: false,
|
|
90
|
+
internalType: "uint256[]",
|
|
91
|
+
name: "rewardAmounts",
|
|
92
|
+
type: "uint256[]",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
name: "ClaimRewards",
|
|
96
|
+
type: "event",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
anonymous: false,
|
|
100
|
+
inputs: [
|
|
101
|
+
{
|
|
102
|
+
indexed: true,
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "caller",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
indexed: true,
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "receiver",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
indexed: true,
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "tokenIn",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
indexed: false,
|
|
121
|
+
internalType: "uint256",
|
|
122
|
+
name: "amountDeposited",
|
|
123
|
+
type: "uint256",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
indexed: false,
|
|
127
|
+
internalType: "uint256",
|
|
128
|
+
name: "amountScyOut",
|
|
129
|
+
type: "uint256",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
name: "Deposit",
|
|
133
|
+
type: "event",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
anonymous: false,
|
|
137
|
+
inputs: [
|
|
138
|
+
{
|
|
139
|
+
indexed: true,
|
|
140
|
+
internalType: "address",
|
|
141
|
+
name: "caller",
|
|
142
|
+
type: "address",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
indexed: true,
|
|
146
|
+
internalType: "address",
|
|
147
|
+
name: "receiver",
|
|
148
|
+
type: "address",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
indexed: true,
|
|
152
|
+
internalType: "address",
|
|
153
|
+
name: "tokenOut",
|
|
154
|
+
type: "address",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
indexed: false,
|
|
158
|
+
internalType: "uint256",
|
|
159
|
+
name: "amountScyToRedeem",
|
|
160
|
+
type: "uint256",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
indexed: false,
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "amountTokenOut",
|
|
166
|
+
type: "uint256",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "Redeem",
|
|
170
|
+
type: "event",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
anonymous: false,
|
|
174
|
+
inputs: [
|
|
175
|
+
{
|
|
176
|
+
indexed: true,
|
|
177
|
+
internalType: "address",
|
|
178
|
+
name: "from",
|
|
179
|
+
type: "address",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
indexed: true,
|
|
183
|
+
internalType: "address",
|
|
184
|
+
name: "to",
|
|
185
|
+
type: "address",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
indexed: false,
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "value",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
name: "Transfer",
|
|
195
|
+
type: "event",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [],
|
|
199
|
+
name: "BASE_REWARDS",
|
|
200
|
+
outputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "address",
|
|
203
|
+
name: "",
|
|
204
|
+
type: "address",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
stateMutability: "view",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [],
|
|
212
|
+
name: "CRV",
|
|
213
|
+
outputs: [
|
|
214
|
+
{
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
stateMutability: "view",
|
|
221
|
+
type: "function",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
inputs: [],
|
|
225
|
+
name: "CRV_DEPOSITOR",
|
|
226
|
+
outputs: [
|
|
227
|
+
{
|
|
228
|
+
internalType: "address",
|
|
229
|
+
name: "",
|
|
230
|
+
type: "address",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
stateMutability: "view",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
inputs: [],
|
|
238
|
+
name: "CVX",
|
|
239
|
+
outputs: [
|
|
240
|
+
{
|
|
241
|
+
internalType: "address",
|
|
242
|
+
name: "",
|
|
243
|
+
type: "address",
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
stateMutability: "view",
|
|
247
|
+
type: "function",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
inputs: [],
|
|
251
|
+
name: "CVX_CRV",
|
|
252
|
+
outputs: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
stateMutability: "view",
|
|
260
|
+
type: "function",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
inputs: [
|
|
264
|
+
{
|
|
265
|
+
internalType: "address",
|
|
266
|
+
name: "user",
|
|
267
|
+
type: "address",
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
name: "accruedRewards",
|
|
271
|
+
outputs: [
|
|
272
|
+
{
|
|
273
|
+
internalType: "uint256[]",
|
|
274
|
+
name: "rewardAmounts",
|
|
275
|
+
type: "uint256[]",
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
stateMutability: "view",
|
|
279
|
+
type: "function",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
inputs: [
|
|
283
|
+
{
|
|
284
|
+
internalType: "address",
|
|
285
|
+
name: "owner",
|
|
286
|
+
type: "address",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "spender",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
name: "allowance",
|
|
295
|
+
outputs: [
|
|
296
|
+
{
|
|
297
|
+
internalType: "uint256",
|
|
298
|
+
name: "",
|
|
299
|
+
type: "uint256",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
stateMutability: "view",
|
|
303
|
+
type: "function",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
inputs: [
|
|
307
|
+
{
|
|
308
|
+
internalType: "address",
|
|
309
|
+
name: "spender",
|
|
310
|
+
type: "address",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
internalType: "uint256",
|
|
314
|
+
name: "amount",
|
|
315
|
+
type: "uint256",
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
name: "approve",
|
|
319
|
+
outputs: [
|
|
320
|
+
{
|
|
321
|
+
internalType: "bool",
|
|
322
|
+
name: "",
|
|
323
|
+
type: "bool",
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
stateMutability: "nonpayable",
|
|
327
|
+
type: "function",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
inputs: [],
|
|
331
|
+
name: "assetInfo",
|
|
332
|
+
outputs: [
|
|
333
|
+
{
|
|
334
|
+
internalType: "enum ISuperComposableYield.AssetType",
|
|
335
|
+
name: "assetType",
|
|
336
|
+
type: "uint8",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
internalType: "address",
|
|
340
|
+
name: "assetAddress",
|
|
341
|
+
type: "address",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
internalType: "uint8",
|
|
345
|
+
name: "assetDecimals",
|
|
346
|
+
type: "uint8",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
stateMutability: "view",
|
|
350
|
+
type: "function",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [
|
|
354
|
+
{
|
|
355
|
+
internalType: "address",
|
|
356
|
+
name: "account",
|
|
357
|
+
type: "address",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
name: "balanceOf",
|
|
361
|
+
outputs: [
|
|
362
|
+
{
|
|
363
|
+
internalType: "uint256",
|
|
364
|
+
name: "",
|
|
365
|
+
type: "uint256",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
stateMutability: "view",
|
|
369
|
+
type: "function",
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
inputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "address",
|
|
375
|
+
name: "user",
|
|
376
|
+
type: "address",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
name: "claimRewards",
|
|
380
|
+
outputs: [
|
|
381
|
+
{
|
|
382
|
+
internalType: "uint256[]",
|
|
383
|
+
name: "rewardAmounts",
|
|
384
|
+
type: "uint256[]",
|
|
385
|
+
},
|
|
386
|
+
],
|
|
387
|
+
stateMutability: "nonpayable",
|
|
388
|
+
type: "function",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
inputs: [
|
|
392
|
+
{
|
|
393
|
+
internalType: "uint256",
|
|
394
|
+
name: "",
|
|
395
|
+
type: "uint256",
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
name: "currentExtraRewards",
|
|
399
|
+
outputs: [
|
|
400
|
+
{
|
|
401
|
+
internalType: "address",
|
|
402
|
+
name: "",
|
|
403
|
+
type: "address",
|
|
404
|
+
},
|
|
405
|
+
],
|
|
406
|
+
stateMutability: "view",
|
|
407
|
+
type: "function",
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
inputs: [],
|
|
411
|
+
name: "decimals",
|
|
412
|
+
outputs: [
|
|
413
|
+
{
|
|
414
|
+
internalType: "uint8",
|
|
415
|
+
name: "",
|
|
416
|
+
type: "uint8",
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
stateMutability: "view",
|
|
420
|
+
type: "function",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
inputs: [
|
|
424
|
+
{
|
|
425
|
+
internalType: "address",
|
|
426
|
+
name: "receiver",
|
|
427
|
+
type: "address",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
internalType: "address",
|
|
431
|
+
name: "tokenIn",
|
|
432
|
+
type: "address",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
internalType: "uint256",
|
|
436
|
+
name: "amountTokenToDeposit",
|
|
437
|
+
type: "uint256",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
internalType: "uint256",
|
|
441
|
+
name: "minSharesOut",
|
|
442
|
+
type: "uint256",
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
name: "deposit",
|
|
446
|
+
outputs: [
|
|
447
|
+
{
|
|
448
|
+
internalType: "uint256",
|
|
449
|
+
name: "amountSharesOut",
|
|
450
|
+
type: "uint256",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
stateMutability: "payable",
|
|
454
|
+
type: "function",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
inputs: [],
|
|
458
|
+
name: "exchangeRate",
|
|
459
|
+
outputs: [
|
|
460
|
+
{
|
|
461
|
+
internalType: "uint256",
|
|
462
|
+
name: "",
|
|
463
|
+
type: "uint256",
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
stateMutability: "pure",
|
|
467
|
+
type: "function",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
inputs: [],
|
|
471
|
+
name: "getRewardTokens",
|
|
472
|
+
outputs: [
|
|
473
|
+
{
|
|
474
|
+
internalType: "address[]",
|
|
475
|
+
name: "rewardTokens",
|
|
476
|
+
type: "address[]",
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
stateMutability: "view",
|
|
480
|
+
type: "function",
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
inputs: [],
|
|
484
|
+
name: "getTokensIn",
|
|
485
|
+
outputs: [
|
|
486
|
+
{
|
|
487
|
+
internalType: "address[]",
|
|
488
|
+
name: "res",
|
|
489
|
+
type: "address[]",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
stateMutability: "view",
|
|
493
|
+
type: "function",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
inputs: [],
|
|
497
|
+
name: "getTokensOut",
|
|
498
|
+
outputs: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "address[]",
|
|
501
|
+
name: "res",
|
|
502
|
+
type: "address[]",
|
|
503
|
+
},
|
|
504
|
+
],
|
|
505
|
+
stateMutability: "view",
|
|
506
|
+
type: "function",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [
|
|
510
|
+
{
|
|
511
|
+
internalType: "address",
|
|
512
|
+
name: "token",
|
|
513
|
+
type: "address",
|
|
514
|
+
},
|
|
515
|
+
],
|
|
516
|
+
name: "isValidTokenIn",
|
|
517
|
+
outputs: [
|
|
518
|
+
{
|
|
519
|
+
internalType: "bool",
|
|
520
|
+
name: "res",
|
|
521
|
+
type: "bool",
|
|
522
|
+
},
|
|
523
|
+
],
|
|
524
|
+
stateMutability: "view",
|
|
525
|
+
type: "function",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
inputs: [
|
|
529
|
+
{
|
|
530
|
+
internalType: "address",
|
|
531
|
+
name: "token",
|
|
532
|
+
type: "address",
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
name: "isValidTokenOut",
|
|
536
|
+
outputs: [
|
|
537
|
+
{
|
|
538
|
+
internalType: "bool",
|
|
539
|
+
name: "res",
|
|
540
|
+
type: "bool",
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
stateMutability: "view",
|
|
544
|
+
type: "function",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
inputs: [],
|
|
548
|
+
name: "lastRewardBlock",
|
|
549
|
+
outputs: [
|
|
550
|
+
{
|
|
551
|
+
internalType: "uint256",
|
|
552
|
+
name: "",
|
|
553
|
+
type: "uint256",
|
|
554
|
+
},
|
|
555
|
+
],
|
|
556
|
+
stateMutability: "view",
|
|
557
|
+
type: "function",
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
inputs: [],
|
|
561
|
+
name: "name",
|
|
562
|
+
outputs: [
|
|
563
|
+
{
|
|
564
|
+
internalType: "string",
|
|
565
|
+
name: "",
|
|
566
|
+
type: "string",
|
|
567
|
+
},
|
|
568
|
+
],
|
|
569
|
+
stateMutability: "view",
|
|
570
|
+
type: "function",
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
inputs: [
|
|
574
|
+
{
|
|
575
|
+
internalType: "address",
|
|
576
|
+
name: "tokenIn",
|
|
577
|
+
type: "address",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
internalType: "uint256",
|
|
581
|
+
name: "amountTokenToDeposit",
|
|
582
|
+
type: "uint256",
|
|
583
|
+
},
|
|
584
|
+
],
|
|
585
|
+
name: "previewDeposit",
|
|
586
|
+
outputs: [
|
|
587
|
+
{
|
|
588
|
+
internalType: "uint256",
|
|
589
|
+
name: "amountSharesOut",
|
|
590
|
+
type: "uint256",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
stateMutability: "view",
|
|
594
|
+
type: "function",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
inputs: [
|
|
598
|
+
{
|
|
599
|
+
internalType: "address",
|
|
600
|
+
name: "tokenOut",
|
|
601
|
+
type: "address",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
internalType: "uint256",
|
|
605
|
+
name: "amountSharesToRedeem",
|
|
606
|
+
type: "uint256",
|
|
607
|
+
},
|
|
608
|
+
],
|
|
609
|
+
name: "previewRedeem",
|
|
610
|
+
outputs: [
|
|
611
|
+
{
|
|
612
|
+
internalType: "uint256",
|
|
613
|
+
name: "amountTokenOut",
|
|
614
|
+
type: "uint256",
|
|
615
|
+
},
|
|
616
|
+
],
|
|
617
|
+
stateMutability: "view",
|
|
618
|
+
type: "function",
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
inputs: [
|
|
622
|
+
{
|
|
623
|
+
internalType: "address",
|
|
624
|
+
name: "receiver",
|
|
625
|
+
type: "address",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
internalType: "uint256",
|
|
629
|
+
name: "amountSharesToRedeem",
|
|
630
|
+
type: "uint256",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
internalType: "address",
|
|
634
|
+
name: "tokenOut",
|
|
635
|
+
type: "address",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
internalType: "uint256",
|
|
639
|
+
name: "minTokenOut",
|
|
640
|
+
type: "uint256",
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
name: "redeem",
|
|
644
|
+
outputs: [
|
|
645
|
+
{
|
|
646
|
+
internalType: "uint256",
|
|
647
|
+
name: "amountTokenOut",
|
|
648
|
+
type: "uint256",
|
|
649
|
+
},
|
|
650
|
+
],
|
|
651
|
+
stateMutability: "nonpayable",
|
|
652
|
+
type: "function",
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
inputs: [
|
|
656
|
+
{
|
|
657
|
+
internalType: "address",
|
|
658
|
+
name: "receiver",
|
|
659
|
+
type: "address",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
internalType: "address",
|
|
663
|
+
name: "tokenOut",
|
|
664
|
+
type: "address",
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
internalType: "uint256",
|
|
668
|
+
name: "minTokenOut",
|
|
669
|
+
type: "uint256",
|
|
670
|
+
},
|
|
671
|
+
],
|
|
672
|
+
name: "redeemAfterTransfer",
|
|
673
|
+
outputs: [
|
|
674
|
+
{
|
|
675
|
+
internalType: "uint256",
|
|
676
|
+
name: "amountTokenOut",
|
|
677
|
+
type: "uint256",
|
|
678
|
+
},
|
|
679
|
+
],
|
|
680
|
+
stateMutability: "nonpayable",
|
|
681
|
+
type: "function",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
inputs: [],
|
|
685
|
+
name: "rewardIndexesCurrent",
|
|
686
|
+
outputs: [
|
|
687
|
+
{
|
|
688
|
+
internalType: "uint256[]",
|
|
689
|
+
name: "indexes",
|
|
690
|
+
type: "uint256[]",
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
stateMutability: "nonpayable",
|
|
694
|
+
type: "function",
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
inputs: [],
|
|
698
|
+
name: "rewardIndexesStored",
|
|
699
|
+
outputs: [
|
|
700
|
+
{
|
|
701
|
+
internalType: "uint256[]",
|
|
702
|
+
name: "indexes",
|
|
703
|
+
type: "uint256[]",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
stateMutability: "view",
|
|
707
|
+
type: "function",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
inputs: [
|
|
711
|
+
{
|
|
712
|
+
internalType: "address",
|
|
713
|
+
name: "",
|
|
714
|
+
type: "address",
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
name: "rewardState",
|
|
718
|
+
outputs: [
|
|
719
|
+
{
|
|
720
|
+
internalType: "uint128",
|
|
721
|
+
name: "index",
|
|
722
|
+
type: "uint128",
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
internalType: "uint128",
|
|
726
|
+
name: "lastBalance",
|
|
727
|
+
type: "uint128",
|
|
728
|
+
},
|
|
729
|
+
],
|
|
730
|
+
stateMutability: "view",
|
|
731
|
+
type: "function",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
inputs: [],
|
|
735
|
+
name: "symbol",
|
|
736
|
+
outputs: [
|
|
737
|
+
{
|
|
738
|
+
internalType: "string",
|
|
739
|
+
name: "",
|
|
740
|
+
type: "string",
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
stateMutability: "view",
|
|
744
|
+
type: "function",
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
inputs: [],
|
|
748
|
+
name: "totalSupply",
|
|
749
|
+
outputs: [
|
|
750
|
+
{
|
|
751
|
+
internalType: "uint256",
|
|
752
|
+
name: "",
|
|
753
|
+
type: "uint256",
|
|
754
|
+
},
|
|
755
|
+
],
|
|
756
|
+
stateMutability: "view",
|
|
757
|
+
type: "function",
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
inputs: [
|
|
761
|
+
{
|
|
762
|
+
internalType: "address",
|
|
763
|
+
name: "to",
|
|
764
|
+
type: "address",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
internalType: "uint256",
|
|
768
|
+
name: "amount",
|
|
769
|
+
type: "uint256",
|
|
770
|
+
},
|
|
771
|
+
],
|
|
772
|
+
name: "transfer",
|
|
773
|
+
outputs: [
|
|
774
|
+
{
|
|
775
|
+
internalType: "bool",
|
|
776
|
+
name: "",
|
|
777
|
+
type: "bool",
|
|
778
|
+
},
|
|
779
|
+
],
|
|
780
|
+
stateMutability: "nonpayable",
|
|
781
|
+
type: "function",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
inputs: [
|
|
785
|
+
{
|
|
786
|
+
internalType: "address",
|
|
787
|
+
name: "from",
|
|
788
|
+
type: "address",
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
internalType: "address",
|
|
792
|
+
name: "to",
|
|
793
|
+
type: "address",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
internalType: "uint256",
|
|
797
|
+
name: "amount",
|
|
798
|
+
type: "uint256",
|
|
799
|
+
},
|
|
800
|
+
],
|
|
801
|
+
name: "transferFrom",
|
|
802
|
+
outputs: [
|
|
803
|
+
{
|
|
804
|
+
internalType: "bool",
|
|
805
|
+
name: "",
|
|
806
|
+
type: "bool",
|
|
807
|
+
},
|
|
808
|
+
],
|
|
809
|
+
stateMutability: "nonpayable",
|
|
810
|
+
type: "function",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
inputs: [
|
|
814
|
+
{
|
|
815
|
+
internalType: "address",
|
|
816
|
+
name: "",
|
|
817
|
+
type: "address",
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
internalType: "address",
|
|
821
|
+
name: "",
|
|
822
|
+
type: "address",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
name: "userReward",
|
|
826
|
+
outputs: [
|
|
827
|
+
{
|
|
828
|
+
internalType: "uint128",
|
|
829
|
+
name: "index",
|
|
830
|
+
type: "uint128",
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
internalType: "uint128",
|
|
834
|
+
name: "accrued",
|
|
835
|
+
type: "uint128",
|
|
836
|
+
},
|
|
837
|
+
],
|
|
838
|
+
stateMutability: "view",
|
|
839
|
+
type: "function",
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
inputs: [],
|
|
843
|
+
name: "yieldToken",
|
|
844
|
+
outputs: [
|
|
845
|
+
{
|
|
846
|
+
internalType: "address",
|
|
847
|
+
name: "",
|
|
848
|
+
type: "address",
|
|
849
|
+
},
|
|
850
|
+
],
|
|
851
|
+
stateMutability: "view",
|
|
852
|
+
type: "function",
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
stateMutability: "payable",
|
|
856
|
+
type: "receive",
|
|
857
|
+
},
|
|
858
|
+
];
|
|
859
|
+
|
|
860
|
+
const _bytecode =
|
|
861
|
+
"0x6101606040523480156200001257600080fd5b506040516200395d3803806200395d83398101604081905262000035916200052b565b858585838383838282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000080573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a6919062000668565b6003620000b4848262000723565b506004620000c3838262000723565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b031660a05250600093505050505b81518110156200017157818181518110620001155762000115620007ef565b602002602001015160088281548110620001335762000133620007ef565b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905580620001688162000805565b915050620000f6565b5050506001600160a01b0385169150620001aa90505760405162461bcd60e51b8152600401620001a1906200082d565b60405180910390fd5b6001600160a01b038216620001d35760405162461bcd60e51b8152600401620001a1906200082d565b6001600160a01b038085166101408190528482166101205290831660e0526040805163570ca73560e01b8152905163570ca735916004808201926020929091908290030181865afa1580156200022d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000253919062000853565b6001600160a01b031660c081905260408051636a4874a160e01b81529051636a4874a1916004808201926020929091908290030181865afa1580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c3919062000853565b6001600160a01b031661010081905260c051620002e491906000196200030a565b620002fe6101405160c0516000196200030a60201b60201c565b505050505050620008b3565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000368919062000871565b6000604051808303816000865af19150503d8060008114620003a7576040519150601f19603f3d011682016040523d82523d6000602084013e620003ac565b606091505b5091509150818015620003da575080511580620003da575080806020019051810190620003da91906200088f565b620004175760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620001a1565b5050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200045f576200045f6200041e565b604052919050565b60005b83811015620004845781810151838201526020016200046a565b8381111562000494576000848401525b50505050565b600082601f830112620004ac57600080fd5b81516001600160401b03811115620004c857620004c86200041e565b620004dd601f8201601f191660200162000434565b818152846020838601011115620004f357600080fd5b6200050682602083016020870162000467565b949350505050565b80516001600160a01b03811681146200052657600080fd5b919050565b60008060008060008060c087890312156200054557600080fd5b86516001600160401b03808211156200055d57600080fd5b6200056b8a838b016200049a565b97506020915081890151818111156200058357600080fd5b620005918b828c016200049a565b975050620005a260408a016200050e565b9550620005b260608a016200050e565b9450620005c260808a016200050e565b935060a089015181811115620005d757600080fd5b8901601f81018b13620005e957600080fd5b805182811115620005fe57620005fe6200041e565b8060051b92506200061184840162000434565b818152928201840192848101908d8511156200062c57600080fd5b928501925b84841015620006555762000645846200050e565b8252928501929085019062000631565b8096505050505050509295509295509295565b6000602082840312156200067b57600080fd5b815160ff811681146200068d57600080fd5b9392505050565b600181811c90821680620006a957607f821691505b602082108103620006ca57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200071e57600081815260208120601f850160051c81016020861015620006f95750805b601f850160051c820191505b818110156200071a5782815560010162000705565b5050505b505050565b81516001600160401b038111156200073f576200073f6200041e565b620007578162000750845462000694565b84620006d0565b602080601f8311600181146200078f5760008415620007765750858301515b600019600386901b1c1916600185901b1785556200071a565b600085815260208120601f198616915b82811015620007c0578886015182559484019460019091019084016200079f565b5085821015620007df5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000600182016200082657634e487b7160e01b600052601160045260246000fd5b5060010190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6000602082840312156200086657600080fd5b6200068d826200050e565b600082516200088581846020870162000467565b9190910192915050565b600060208284031215620008a257600080fd5b815180151581146200068d57600080fd5b60805160a05160c05160e051610100516101205161014051612fed62000970600039600081816104b5015281816107b001528181610b7f01528181610c4c01528181610d4401528181610d6501526111b8015260006103f90152600081816104e901528181610b2b0152818161117d01526113e701526000818161028301528181611443015281816114e3015281816121c201526123a5015260008181610481015261146b0152600061042d0152600061030c0152612fed6000f3fe6080604052600436106101985760003560e01c806306fdde03146101a4578063071bc3c9146101cf578063095ea7b3146101f1578063128fced11461022157806318160ddd1461024e5780631d73b7ea1461027157806320e8c565146102b2578063213cae63146102c557806323b872dd146102da578063313ce567146102fa5780633ba0b9a9146103405780635cbadbe41461035b57806370a08231146103c7578063759cb53b146103e757806376d5de851461041b578063784367d61461044f5780637b38277d1461046f5780638d701ae9146104a3578063945c9142146104d757806395d89b411461050b578063a23c982a14610520578063a2bbcf1314610540578063a40bee5014610560578063a9059cbb14610584578063a9f8d181146105a4578063b8f82b26146105ba578063c4f59f9b146105da578063cbe52ae3146105ef578063da88ecb41461060f578063dd62ed3e14610624578063ea64a82014610644578063ef5cfb8c14610685578063f3f094a1146106a5578063f8b2f991146106c5578063fa5a4f06146106da57600080fd5b3661019f57005b600080fd5b3480156101b057600080fd5b506101b96106fa565b6040516101c69190612a12565b60405180910390f35b3480156101db57600080fd5b506101e461078c565b6040516101c69190612a89565b3480156101fd57600080fd5b5061021161020c366004612ab8565b610805565b60405190151581526020016101c6565b34801561022d57600080fd5b5061024161023c366004612ae2565b61081d565b6040516101c69190612b2d565b34801561025a57600080fd5b50610263610929565b6040519081526020016101c6565b34801561027d57600080fd5b506102a57f000000000000000000000000000000000000000000000000000000000000000081565b6040516101c69190612b40565b6102636102c0366004612b54565b610938565b3480156102d157600080fd5b506101e4610b09565b3480156102e657600080fd5b506102116102f5366004612b96565b610bb1565b34801561030657600080fd5b5061032e7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101c6565b34801561034c57600080fd5b50670de0b6b3a7640000610263565b34801561036757600080fd5b506103a7610376366004612bd2565b60056020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101c6565b3480156103d357600080fd5b506102636103e2366004612ae2565b610c2f565b3480156103f357600080fd5b506102a57f000000000000000000000000000000000000000000000000000000000000000081565b34801561042757600080fd5b506102a57f000000000000000000000000000000000000000000000000000000000000000081565b34801561045b57600080fd5b5061021161046a366004612ae2565b610c4a565b34801561047b57600080fd5b506102a57f000000000000000000000000000000000000000000000000000000000000000081565b3480156104af57600080fd5b506102a57f000000000000000000000000000000000000000000000000000000000000000081565b3480156104e357600080fd5b506102a57f000000000000000000000000000000000000000000000000000000000000000081565b34801561051757600080fd5b506101b9610c7c565b34801561052c57600080fd5b506102a561053b366004612c05565b610c8b565b34801561054c57600080fd5b5061026361055b366004612b96565b610cb5565b34801561056c57600080fd5b50610575610d3c565b6040516101c693929190612c1e565b34801561059057600080fd5b5061021161059f366004612ab8565b610df0565b3480156105b057600080fd5b5061026360065481565b3480156105c657600080fd5b506102636105d5366004612ab8565b610e62565b3480156105e657600080fd5b506101e4610e92565b3480156105fb57600080fd5b5061026361060a366004612ab8565b610ea1565b34801561061b57600080fd5b50610241610ef0565b34801561063057600080fd5b5061026361063f366004612bd2565b610fc1565b34801561065057600080fd5b506103a761065f366004612ae2565b6007602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561069157600080fd5b506102416106a0366004612ae2565b610fec565b3480156106b157600080fd5b506102636106c0366004612c60565b6110ab565b3480156106d157600080fd5b50610241611107565b3480156106e657600080fd5b506102116106f5366004612ae2565b611179565b60606003805461070990612ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461073590612ca4565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b5050505050905090565b604080516001808252818301909252606091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106107e2576107e2612cee565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6000336108138185856111f2565b5060019392505050565b60606000610829611316565b905080516001600160401b0381111561084457610844612cd8565b60405190808252806020026020018201604052801561086d578160200160208202803683370190505b50915060005b8151811015610922576005600083838151811061089257610892612cee565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061090f5761090f612cee565b6020908102919091010152600101610873565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff16016109725760405162461bcd60e51b815260040161096990612d04565b60405180910390fd5b600280546001600160f81b0316600160f91b17905561099084611179565b6109ac5760405162461bcd60e51b815260040161096990612d3b565b82600003610a0a5760405162461bcd60e51b815260206004820152602560248201527f5343593a20616d6f756e74546f6b656e546f4465706f7369742063616e6e6f74604482015264020626520360dc1b6064820152608401610969565b6001600160a01b038416610a6057823414610a5b5760405162461bcd60e51b81526020600482015260116024820152700a686b27440cae8d040dad2e6dac2e8c6d607b1b6044820152606401610969565b610a6b565b610a6b843385611377565b610a7584846113e3565b905081811015610a975760405162461bcd60e51b815260040161096990612d69565b610aa18582611553565b60408051848152602081018390526001600160a01b03808716929088169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59910160405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b60408051600280825260608083018452926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610b5d57610b5d612cee565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106107e2576107e2612cee565b600254600090600119600160f81b90910460ff1601610be25760405162461bcd60e51b815260040161096990612d04565b600280546001600160f81b0316600160f91b17905533610c03858285611669565b610c0e8585856116e3565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6001600160a01b031660009081526020819052604090205490565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b60606004805461070990612ca4565b60088181548110610c9b57600080fd5b6000918252602090912001546001600160a01b0316905081565b600254600090600119600160f81b90910460ff1601610ce65760405162461bcd60e51b815260040161096990612d04565b600280546001600160f81b0316600160f91b1790556000610d0630610c2f565b9050610d123082611905565b610d1e85828686611a8b565b600280546001600160f81b0316600160f81b17905595945050505050565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de59190612d98565b925092509250909192565b600254600090600119600160f81b90910460ff1601610e215760405162461bcd60e51b815260040161096990612d04565b600280546001600160f81b0316600160f91b17905533610e428185856116e3565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610e6d83611179565b610e895760405162461bcd60e51b815260040161096990612d3b565b815b9392505050565b6060610e9c611316565b905090565b6000610eac83610c4a565b610e895760405162461bcd60e51b815260206004820152601560248201527414d0d64e88125b9d985b1a59081d1bdad95b93dd5d605a1b6044820152606401610969565b60606000610efc611316565b905080516001600160401b03811115610f1757610f17612cd8565b604051908082528060200260200182016040528015610f40578160200160208202803683370190505b50915060005b8151811015610fbc5760076000838381518110610f6557610f65612cee565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110610fa957610fa9612cee565b6020908102919091010152600101610f46565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff160161101d5760405162461bcd60e51b815260040161096990612d04565b600280546001600160f81b0316600160f91b17905561103b82611bc2565b6110458283611bd0565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f61107a611316565b83604051611089929190612dbb565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254600090600119600160f81b90910460ff16016110dc5760405162461bcd60e51b815260040161096990612d04565b600280546001600160f81b0316600160f91b1790556110fb3385611905565b610d1e85858585611a8b565b600254606090600119600160f81b90910460ff16016111385760405162461bcd60e51b815260040161096990612d04565b600280546001600160f81b0316600160f91b179055611155611e78565b505061115f610ef0565b9050600280546001600160f81b0316600160f81b17905590565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806111ec57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b92915050565b6001600160a01b0383166112545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610969565b6001600160a01b0382166112b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610969565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6060600880548060200260200160405190810160405280929190818152602001828054801561078257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611350575050505050905090565b6001600160a01b0383166113c8578034146113c35760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610969565b505050565b80156113c3576113c36001600160a01b038416833084612113565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036114cc5760405163203b5c7960e21b815260048101839052600060248201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660448301527f000000000000000000000000000000000000000000000000000000000000000016906380ed71e490606401600060405180830381600087803b1580156114af57600080fd5b505af11580156114c3573d6000803e3d6000fd5b5050505061154d565b6040516305dc812160e31b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632ee409089061151a9030908690600401612de9565b600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505050505b50919050565b6001600160a01b0382166115a95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610969565b6115b56000838361217e565b6115be81612188565b600280546000906115d99084906001600160f81b0316612e18565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546116319190612e43565b90915550506040518181526001600160a01b03831690600090600080516020612f988339815191529060200160405180910390a35050565b60006116758484610fc1565b905060001981146116dd57818110156116d05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610969565b6116dd84848484036111f2565b50505050565b6001600160a01b0383166117475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610969565b6001600160a01b0382166117a95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610969565b816001600160a01b0316836001600160a01b0316036118045760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610969565b61180f83838361217e565b6001600160a01b038316600090815260208190526040902054818110156118875760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610969565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118be908490612e43565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612f98833981519152846040516118f891815260200190565b60405180910390a36116dd565b6001600160a01b0382166119655760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610969565b6119718260008361217e565b6001600160a01b038216600090815260208190526040902054818110156119e55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610969565b6001600160a01b03831660009081526020819052604090208282039055611a0b82612188565b60028054600090611a269084906001600160f81b0316612e5b565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612f9883398151915284604051611a7e91815260200190565b60405180910390a3505050565b6000611a9683610c4a565b611ada5760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b6044820152606401610969565b83600003611b385760405162461bcd60e51b815260206004820152602560248201527f5343593a20616d6f756e74536861726573546f52656465656d2063616e6e6f74604482015264020626520360dc1b6064820152608401610969565b611b4283856121a2565b905081811015611b645760405162461bcd60e51b815260040161096990612d69565b611b6f83868361223f565b60408051858152602081018390526001600160a01b03808616929088169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c910160405180910390a4949350505050565b611bcd816000612303565b50565b60606000611bdc611316565b905080516001600160401b03811115611bf757611bf7612cd8565b604051908082528060200260200182016040528015611c20578160200160208202803683370190505b50915060005b8151811015611e705760056000838381518110611c4557611c45612cee565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110611cc257611cc2612cee565b602002602001018181525050828181518110611ce057611ce0612cee565b6020026020010151600014611e5e57600060056000848481518110611d0757611d07612cee565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b03160217905550611d9b838281518110611d8e57611d8e612cee565b6020026020010151612383565b60076000848481518110611db157611db1612cee565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b0316611dfd9190612e83565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550611e5e828281518110611e3657611e36612cee565b602002602001015185858481518110611e5157611e51612cee565b602002602001015161223f565b80611e6881612ea3565b915050611c26565b505092915050565b606080611e83611316565b915081516001600160401b03811115611e9e57611e9e612cd8565b604051908082528060200260200182016040528015611ec7578160200160208202803683370190505b5090508151600003611ed7579091565b436006541461208b57436006556000611eee612399565b9050611ef86123a3565b60005b8351811015612088576000848281518110611f1857611f18612cee565b6020908102919091018101516001600160a01b0381166000908152600790925260408220548751919350600160801b90046001600160801b031690611f7690889086908110611f6957611f69612cee565b6020026020010151612412565b611f809190612ebc565b6001600160a01b0383166000908152600760205260408120549192506001600160801b0390911690819003611fb3575060015b8415611fd057611fc3828661249c565b611fcd9082612e43565b90505b611fd981612383565b6001600160a01b038416600090815260076020526040902080546001600160801b0319166001600160801b039290921691909117905561201882612383565b6001600160a01b03841660009081526007602052604090208054601090612050908490600160801b90046001600160801b0316612ed3565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505050508061208190612ea3565b9050611efb565b50505b60005b825181101561210e57600760008483815181106120ad576120ad612cee565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b03909116908390839081106120f1576120f1612cee565b60209081029190910101528061210681612ea3565b91505061208e565b509091565b6040516001600160a01b03808516602483015283166044820152606481018290526116dd9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526124cb565b6113c38383612303565b60006001600160f81b0382111561219e57600080fd5b5090565b604051631c683a1b60e11b815260048101829052600060248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906338d07436906044016020604051808303816000875af1158015612213573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122379190612ef5565b509092915050565b8060000361224c57505050565b6001600160a01b0383166122ef576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146122a7576040519150601f19603f3d011682016040523d82523d6000602084013e6122ac565b606091505b50509050806116dd5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610969565b6113c36001600160a01b038416838361259d565b60008061230e611e78565b9150915081516000036123215750505050565b6001600160a01b0384161580159061234257506001600160a01b0384163014155b15612352576123528483836125bc565b6001600160a01b0383161580159061237357506001600160a01b0383163014155b156116dd576116dd8383836125bc565b60006001600160801b0382111561219e57600080fd5b6000610e9c610929565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156123fe57600080fd5b505af11580156116dd573d6000803e3d6000fd5b60006001600160a01b03821615612495576040516370a0823160e01b81526001600160a01b038316906370a082319061244f903090600401612b40565b602060405180830381865afa15801561246c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124909190612f17565b6111ec565b4792915050565b6000806124b1670de0b6b3a764000085612f30565b90508281816124c2576124c2612f4f565b04949350505050565b6000612520826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661283c9092919063ffffffff16565b8051909150156113c3578080602001905181019061253e9190612ef5565b6113c35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610969565b6113c38363a9059cbb60e01b8484604051602401612147929190612de9565b6001600160a01b038316158015906125dd57506001600160a01b0383163014155b6125e9576125e9612f65565b60006125f484612853565b905060005b835181101561283557600084828151811061261657612616612cee565b60200260200101519050600084838151811061263457612634612cee565b6020908102919091018101516001600160a01b038085166000908152600584526040808220928c168252919093528220549092506001600160801b0316908190036126d05761268282612383565b6001600160a01b039384166000908152600560209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506128259050565b8181036126df57505050612825565b60006126eb8284612ebc565b905060006126f9878361285e565b6001600160a01b038681166000908152600560209081526040808320938f1683529290529081205491925090612740908390600160801b90046001600160801b0316612e43565b9050604051806040016040528061275687612383565b6001600160801b0316815260200161276d83612383565b6001600160801b031681525060056000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61282e81612ea3565b90506125f9565b5050505050565b606061284b848460008561287c565b949350505050565b60006111ec82610c2f565b60008061286b8385612f30565b9050670de0b6b3a7640000816124c2565b6060824710156128dd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610969565b6001600160a01b0385163b6129345760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610969565b600080866001600160a01b031685876040516129509190612f7b565b60006040518083038185875af1925050503d806000811461298d576040519150601f19603f3d011682016040523d82523d6000602084013e612992565b606091505b50915091506129a28282866129ad565b979650505050505050565b606083156129bc575081610e8b565b8251156129cc5782518084602001fd5b8160405162461bcd60e51b81526004016109699190612a12565b60005b83811015612a015781810151838201526020016129e9565b838111156116dd5750506000910152565b6020815260008251806020840152612a318160408501602087016129e6565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015612a7e5781516001600160a01b031687529582019590820190600101612a59565b509495945050505050565b602081526000610e8b6020830184612a45565b80356001600160a01b0381168114612ab357600080fd5b919050565b60008060408385031215612acb57600080fd5b612ad483612a9c565b946020939093013593505050565b600060208284031215612af457600080fd5b610e8b82612a9c565b600081518084526020808501945080840160005b83811015612a7e57815187529582019590820190600101612b11565b602081526000610e8b6020830184612afd565b6001600160a01b0391909116815260200190565b60008060008060808587031215612b6a57600080fd5b612b7385612a9c565b9350612b8160208601612a9c565b93969395505050506040820135916060013590565b600080600060608486031215612bab57600080fd5b612bb484612a9c565b9250612bc260208501612a9c565b9150604084013590509250925092565b60008060408385031215612be557600080fd5b612bee83612a9c565b9150612bfc60208401612a9c565b90509250929050565b600060208284031215612c1757600080fd5b5035919050565b6060810160028510612c4057634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60008060008060808587031215612c7657600080fd5b612c7f85612a9c565b935060208501359250612c9460408601612a9c565b9396929550929360600135925050565b600181811c90821680612cb857607f821691505b60208210810361154d57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526014908201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b604082015260600190565b60208082526015908201527414d0d64e881a5b9cdd59999a58da595b9d081bdd5d605a1b604082015260600190565b600060208284031215612daa57600080fd5b815160ff81168114610e8b57600080fd5b604081526000612dce6040830185612a45565b8281036020840152612de08185612afd565b95945050505050565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b600052601160045260246000fd5b60006001600160f81b03828116848216808303821115612e3a57612e3a612e02565b01949350505050565b60008219821115612e5657612e56612e02565b500190565b60006001600160f81b0383811690831681811015612e7b57612e7b612e02565b039392505050565b60006001600160801b0383811690831681811015612e7b57612e7b612e02565b600060018201612eb557612eb5612e02565b5060010190565b600082821015612ece57612ece612e02565b500390565b60006001600160801b03828116848216808303821115612e3a57612e3a612e02565b600060208284031215612f0757600080fd5b81518015158114610e8b57600080fd5b600060208284031215612f2957600080fd5b5051919050565b6000816000190483118215151615612f4a57612f4a612e02565b500290565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052600160045260246000fd5b60008251612f8d8184602087016129e6565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122051688b9340e17fd4cff487c6dde256c3a27534a1e089bb41fbadd24bd920571664736f6c634300080f0033";
|
|
862
|
+
|
|
863
|
+
type PendleCvxCRVSCYConstructorParams =
|
|
864
|
+
| [signer?: Signer]
|
|
865
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
866
|
+
|
|
867
|
+
const isSuperArgs = (
|
|
868
|
+
xs: PendleCvxCRVSCYConstructorParams
|
|
869
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
870
|
+
|
|
871
|
+
export class PendleCvxCRVSCY__factory extends ContractFactory {
|
|
872
|
+
constructor(...args: PendleCvxCRVSCYConstructorParams) {
|
|
873
|
+
if (isSuperArgs(args)) {
|
|
874
|
+
super(...args);
|
|
875
|
+
} else {
|
|
876
|
+
super(_abi, _bytecode, args[0]);
|
|
877
|
+
}
|
|
878
|
+
this.contractName = "PendleCvxCRVSCY";
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
deploy(
|
|
882
|
+
_name: string,
|
|
883
|
+
_symbol: string,
|
|
884
|
+
_cvxCrv: string,
|
|
885
|
+
_cvx: string,
|
|
886
|
+
_baseRewards: string,
|
|
887
|
+
_currentExtraRewards: string[],
|
|
888
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
889
|
+
): Promise<PendleCvxCRVSCY> {
|
|
890
|
+
return super.deploy(
|
|
891
|
+
_name,
|
|
892
|
+
_symbol,
|
|
893
|
+
_cvxCrv,
|
|
894
|
+
_cvx,
|
|
895
|
+
_baseRewards,
|
|
896
|
+
_currentExtraRewards,
|
|
897
|
+
overrides || {}
|
|
898
|
+
) as Promise<PendleCvxCRVSCY>;
|
|
899
|
+
}
|
|
900
|
+
getDeployTransaction(
|
|
901
|
+
_name: string,
|
|
902
|
+
_symbol: string,
|
|
903
|
+
_cvxCrv: string,
|
|
904
|
+
_cvx: string,
|
|
905
|
+
_baseRewards: string,
|
|
906
|
+
_currentExtraRewards: string[],
|
|
907
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
908
|
+
): TransactionRequest {
|
|
909
|
+
return super.getDeployTransaction(
|
|
910
|
+
_name,
|
|
911
|
+
_symbol,
|
|
912
|
+
_cvxCrv,
|
|
913
|
+
_cvx,
|
|
914
|
+
_baseRewards,
|
|
915
|
+
_currentExtraRewards,
|
|
916
|
+
overrides || {}
|
|
917
|
+
);
|
|
918
|
+
}
|
|
919
|
+
attach(address: string): PendleCvxCRVSCY {
|
|
920
|
+
return super.attach(address) as PendleCvxCRVSCY;
|
|
921
|
+
}
|
|
922
|
+
connect(signer: Signer): PendleCvxCRVSCY__factory {
|
|
923
|
+
return super.connect(signer) as PendleCvxCRVSCY__factory;
|
|
924
|
+
}
|
|
925
|
+
static readonly contractName: "PendleCvxCRVSCY";
|
|
926
|
+
public readonly contractName: "PendleCvxCRVSCY";
|
|
927
|
+
static readonly bytecode = _bytecode;
|
|
928
|
+
static readonly abi = _abi;
|
|
929
|
+
static createInterface(): PendleCvxCRVSCYInterface {
|
|
930
|
+
return new utils.Interface(_abi) as PendleCvxCRVSCYInterface;
|
|
931
|
+
}
|
|
932
|
+
static connect(
|
|
933
|
+
address: string,
|
|
934
|
+
signerOrProvider: Signer | Provider
|
|
935
|
+
): PendleCvxCRVSCY {
|
|
936
|
+
return new Contract(address, _abi, signerOrProvider) as PendleCvxCRVSCY;
|
|
937
|
+
}
|
|
938
|
+
}
|