@pendle/core-v2 0.11.3-testnet → 0.11.5-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/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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +950 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP3PoolSCY.sol/PendleConvexCurveLP3PoolSCY.json +963 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLP4PoolSCY.sol/PendleConvexCurveLP4PoolSCY.json +976 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json +873 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/Pendle3CrvTokenSCY.sol/Pendle3CrvTokenSCY.json +950 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Convex/PendleCvxCRVSCY.sol/PendleCvxCRVSCY.json +857 -0
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.json +2 -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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -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 +2 -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 +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.dbg.json +4 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithDynamicRewards.sol/SCYBaseWithDynamicRewards.json +756 -0
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +294 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.json → CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.json} +7 -85
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +331 -0
- package/build/artifacts/contracts/core/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/LiquidityMining/{CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.json → CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json} +8 -21
- 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 +7 -7
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +9 -9
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +18 -91
- 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 +20 -28
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- 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 +26 -41
- 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 +14 -93
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +84 -9
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +68 -14
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +4 -0
- package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.json +329 -0
- 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 +77 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +76 -21
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +113 -2
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +52 -4
- 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/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMintRedeem.sol/ActionMintRedeem.json +22 -4
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapPT.sol/ActionSwapPT.json +52 -4
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionSwapYT.sol/ActionSwapYT.json +52 -4
- package/build/artifacts/contracts/core/actions/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +177 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.json +78 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +4 -0
- package/build/artifacts/contracts/{periphery/PermissionsV2Upg.sol/PermissionsV2Upg.json → interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.json} +3 -3
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +251 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +232 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +30 -0
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +30 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +30 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +90 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.json +7 -7
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.json +7 -7
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +13 -0
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +24 -0
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +63 -0
- 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/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +2 -2
- 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/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/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +45 -0
- package/build/artifacts/contracts/libraries/helpers/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/helpers/{SSTORE2Deployer.sol/SSTORE2Deployer.json → BaseSplitCodeFactory.sol/CodeDeployer.json} +4 -4
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +35 -0
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
- package/build/artifacts/contracts/libraries/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxPtOutLib.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/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +167 -0
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +86 -63
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +2 -2
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/periphery/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/deployments/43113-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiq.ts +18 -6
- package/typechain-types/ActionSwapPT.ts +18 -6
- package/typechain-types/ActionSwapYT.ts +18 -6
- 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/IPActionAddRemoveLiq.ts +18 -6
- package/typechain-types/IPActionSwapPT.ts +18 -6
- package/typechain-types/IPActionSwapYT.ts +18 -6
- package/typechain-types/IPAllAction.ts +54 -18
- package/typechain-types/IPFeeDistributor.ts +2 -7
- package/typechain-types/IPGaugeController.ts +26 -26
- package/typechain-types/IPGaugeControllerMainchain.ts +26 -26
- package/typechain-types/IPMarket.ts +13 -0
- 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/PendleGaugeControllerBaseUpg.ts +27 -27
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +27 -27
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +44 -165
- package/typechain-types/PendleMarket.ts +104 -0
- package/typechain-types/PendleMarketFactory.ts +74 -16
- 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/PendlePrincipalToken.ts +104 -0
- package/typechain-types/PendleVotingControllerUpg.ts +21 -53
- package/typechain-types/PendleYieldContractFactory.ts +86 -28
- package/typechain-types/PendleYieldToken.ts +175 -0
- package/typechain-types/RouterStatic.ts +58 -29
- package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
- package/typechain-types/VotingEscrowPendleMainchain.ts +24 -80
- package/typechain-types/VotingEscrowPendleSidechain.ts +26 -171
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +66 -4
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +36 -4
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +66 -4
- package/typechain-types/factories/ActionSwapYT__factory.ts +66 -4
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +226 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +4 -42
- 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/IPActionAddRemoveLiq__factory.ts +30 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +30 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +30 -0
- package/typechain-types/factories/IPAllAction__factory.ts +90 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +0 -5
- package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +7 -7
- package/typechain-types/factories/IPGaugeController__factory.ts +7 -7
- package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/IPMarket__factory.ts +13 -0
- 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/ISJoe__factory.ts +2 -2
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +1050 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- 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/PendleERC4626SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleEulerSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +30 -2
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -19
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +7 -7
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +8 -8
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +26 -91
- package/typechain-types/factories/PendleMarketFactory__factory.ts +95 -15
- package/typechain-types/factories/PendleMarket__factory.ts +76 -1
- 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/PendlePrincipalToken__factory.ts +76 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +27 -28
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +105 -23
- package/typechain-types/factories/PendleYieldToken__factory.ts +112 -1
- package/typechain-types/factories/RouterStatic__factory.ts +31 -8
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +33 -41
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +20 -93
- package/typechain-types/hardhat.d.ts +223 -79
- package/typechain-types/index.ts +54 -20
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +0 -4
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +0 -4
- 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/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +0 -4
- package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +0 -87
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +0 -4
|
@@ -0,0 +1,1050 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
Pendle3CrvTokenSCY,
|
|
15
|
+
Pendle3CrvTokenSCYInterface,
|
|
16
|
+
} from "../Pendle3CrvTokenSCY";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "string",
|
|
23
|
+
name: "_name",
|
|
24
|
+
type: "string",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "string",
|
|
28
|
+
name: "_symbol",
|
|
29
|
+
type: "string",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "uint256",
|
|
33
|
+
name: "_pid",
|
|
34
|
+
type: "uint256",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_convexBooster",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "_wrappedLpToken",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "_cvx",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "_baseCrvPool",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
internalType: "address[]",
|
|
58
|
+
name: "_currentExtraRewards",
|
|
59
|
+
type: "address[]",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
internalType: "address[]",
|
|
63
|
+
name: "_basePoolTokens",
|
|
64
|
+
type: "address[]",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
stateMutability: "nonpayable",
|
|
68
|
+
type: "constructor",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
anonymous: false,
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
indexed: true,
|
|
75
|
+
internalType: "address",
|
|
76
|
+
name: "owner",
|
|
77
|
+
type: "address",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
indexed: true,
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "spender",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
indexed: false,
|
|
87
|
+
internalType: "uint256",
|
|
88
|
+
name: "value",
|
|
89
|
+
type: "uint256",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
name: "Approval",
|
|
93
|
+
type: "event",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
anonymous: false,
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
indexed: true,
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "user",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
indexed: false,
|
|
106
|
+
internalType: "address[]",
|
|
107
|
+
name: "rewardTokens",
|
|
108
|
+
type: "address[]",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
indexed: false,
|
|
112
|
+
internalType: "uint256[]",
|
|
113
|
+
name: "rewardAmounts",
|
|
114
|
+
type: "uint256[]",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "ClaimRewards",
|
|
118
|
+
type: "event",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
anonymous: false,
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
indexed: true,
|
|
125
|
+
internalType: "address",
|
|
126
|
+
name: "caller",
|
|
127
|
+
type: "address",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
indexed: true,
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "receiver",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: true,
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "tokenIn",
|
|
139
|
+
type: "address",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
indexed: false,
|
|
143
|
+
internalType: "uint256",
|
|
144
|
+
name: "amountDeposited",
|
|
145
|
+
type: "uint256",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
indexed: false,
|
|
149
|
+
internalType: "uint256",
|
|
150
|
+
name: "amountScyOut",
|
|
151
|
+
type: "uint256",
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
name: "Deposit",
|
|
155
|
+
type: "event",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
anonymous: false,
|
|
159
|
+
inputs: [
|
|
160
|
+
{
|
|
161
|
+
indexed: true,
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "caller",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
indexed: true,
|
|
168
|
+
internalType: "address",
|
|
169
|
+
name: "receiver",
|
|
170
|
+
type: "address",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
indexed: true,
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "tokenOut",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
indexed: false,
|
|
180
|
+
internalType: "uint256",
|
|
181
|
+
name: "amountScyToRedeem",
|
|
182
|
+
type: "uint256",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
indexed: false,
|
|
186
|
+
internalType: "uint256",
|
|
187
|
+
name: "amountTokenOut",
|
|
188
|
+
type: "uint256",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
name: "Redeem",
|
|
192
|
+
type: "event",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
anonymous: false,
|
|
196
|
+
inputs: [
|
|
197
|
+
{
|
|
198
|
+
indexed: true,
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "from",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
indexed: true,
|
|
205
|
+
internalType: "address",
|
|
206
|
+
name: "to",
|
|
207
|
+
type: "address",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
indexed: false,
|
|
211
|
+
internalType: "uint256",
|
|
212
|
+
name: "value",
|
|
213
|
+
type: "uint256",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
name: "Transfer",
|
|
217
|
+
type: "event",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
inputs: [],
|
|
221
|
+
name: "BASEPOOL_TOKEN_1",
|
|
222
|
+
outputs: [
|
|
223
|
+
{
|
|
224
|
+
internalType: "address",
|
|
225
|
+
name: "",
|
|
226
|
+
type: "address",
|
|
227
|
+
},
|
|
228
|
+
],
|
|
229
|
+
stateMutability: "view",
|
|
230
|
+
type: "function",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
inputs: [],
|
|
234
|
+
name: "BASEPOOL_TOKEN_2",
|
|
235
|
+
outputs: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "address",
|
|
238
|
+
name: "",
|
|
239
|
+
type: "address",
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
stateMutability: "view",
|
|
243
|
+
type: "function",
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
inputs: [],
|
|
247
|
+
name: "BASE_CRV_POOL",
|
|
248
|
+
outputs: [
|
|
249
|
+
{
|
|
250
|
+
internalType: "address",
|
|
251
|
+
name: "",
|
|
252
|
+
type: "address",
|
|
253
|
+
},
|
|
254
|
+
],
|
|
255
|
+
stateMutability: "view",
|
|
256
|
+
type: "function",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
inputs: [],
|
|
260
|
+
name: "BASE_REWARDS",
|
|
261
|
+
outputs: [
|
|
262
|
+
{
|
|
263
|
+
internalType: "address",
|
|
264
|
+
name: "",
|
|
265
|
+
type: "address",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
stateMutability: "view",
|
|
269
|
+
type: "function",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
inputs: [],
|
|
273
|
+
name: "BOOSTER",
|
|
274
|
+
outputs: [
|
|
275
|
+
{
|
|
276
|
+
internalType: "address",
|
|
277
|
+
name: "",
|
|
278
|
+
type: "address",
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
stateMutability: "view",
|
|
282
|
+
type: "function",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
inputs: [],
|
|
286
|
+
name: "CRV",
|
|
287
|
+
outputs: [
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
stateMutability: "view",
|
|
295
|
+
type: "function",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
inputs: [],
|
|
299
|
+
name: "CRV_LP_TOKEN",
|
|
300
|
+
outputs: [
|
|
301
|
+
{
|
|
302
|
+
internalType: "address",
|
|
303
|
+
name: "",
|
|
304
|
+
type: "address",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
stateMutability: "view",
|
|
308
|
+
type: "function",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
inputs: [],
|
|
312
|
+
name: "CVX",
|
|
313
|
+
outputs: [
|
|
314
|
+
{
|
|
315
|
+
internalType: "address",
|
|
316
|
+
name: "",
|
|
317
|
+
type: "address",
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
stateMutability: "view",
|
|
321
|
+
type: "function",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
inputs: [],
|
|
325
|
+
name: "PID",
|
|
326
|
+
outputs: [
|
|
327
|
+
{
|
|
328
|
+
internalType: "uint256",
|
|
329
|
+
name: "",
|
|
330
|
+
type: "uint256",
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
stateMutability: "view",
|
|
334
|
+
type: "function",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
inputs: [],
|
|
338
|
+
name: "W_CRV_LP_TOKEN",
|
|
339
|
+
outputs: [
|
|
340
|
+
{
|
|
341
|
+
internalType: "address",
|
|
342
|
+
name: "",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
],
|
|
346
|
+
stateMutability: "view",
|
|
347
|
+
type: "function",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
inputs: [
|
|
351
|
+
{
|
|
352
|
+
internalType: "address",
|
|
353
|
+
name: "user",
|
|
354
|
+
type: "address",
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
name: "accruedRewards",
|
|
358
|
+
outputs: [
|
|
359
|
+
{
|
|
360
|
+
internalType: "uint256[]",
|
|
361
|
+
name: "rewardAmounts",
|
|
362
|
+
type: "uint256[]",
|
|
363
|
+
},
|
|
364
|
+
],
|
|
365
|
+
stateMutability: "view",
|
|
366
|
+
type: "function",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
inputs: [
|
|
370
|
+
{
|
|
371
|
+
internalType: "address",
|
|
372
|
+
name: "owner",
|
|
373
|
+
type: "address",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
internalType: "address",
|
|
377
|
+
name: "spender",
|
|
378
|
+
type: "address",
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
name: "allowance",
|
|
382
|
+
outputs: [
|
|
383
|
+
{
|
|
384
|
+
internalType: "uint256",
|
|
385
|
+
name: "",
|
|
386
|
+
type: "uint256",
|
|
387
|
+
},
|
|
388
|
+
],
|
|
389
|
+
stateMutability: "view",
|
|
390
|
+
type: "function",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
inputs: [
|
|
394
|
+
{
|
|
395
|
+
internalType: "address",
|
|
396
|
+
name: "spender",
|
|
397
|
+
type: "address",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
internalType: "uint256",
|
|
401
|
+
name: "amount",
|
|
402
|
+
type: "uint256",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
name: "approve",
|
|
406
|
+
outputs: [
|
|
407
|
+
{
|
|
408
|
+
internalType: "bool",
|
|
409
|
+
name: "",
|
|
410
|
+
type: "bool",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
stateMutability: "nonpayable",
|
|
414
|
+
type: "function",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
inputs: [],
|
|
418
|
+
name: "assetInfo",
|
|
419
|
+
outputs: [
|
|
420
|
+
{
|
|
421
|
+
internalType: "enum ISuperComposableYield.AssetType",
|
|
422
|
+
name: "assetType",
|
|
423
|
+
type: "uint8",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
internalType: "address",
|
|
427
|
+
name: "assetAddress",
|
|
428
|
+
type: "address",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
internalType: "uint8",
|
|
432
|
+
name: "assetDecimals",
|
|
433
|
+
type: "uint8",
|
|
434
|
+
},
|
|
435
|
+
],
|
|
436
|
+
stateMutability: "view",
|
|
437
|
+
type: "function",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
inputs: [
|
|
441
|
+
{
|
|
442
|
+
internalType: "address",
|
|
443
|
+
name: "account",
|
|
444
|
+
type: "address",
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
name: "balanceOf",
|
|
448
|
+
outputs: [
|
|
449
|
+
{
|
|
450
|
+
internalType: "uint256",
|
|
451
|
+
name: "",
|
|
452
|
+
type: "uint256",
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
stateMutability: "view",
|
|
456
|
+
type: "function",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
inputs: [
|
|
460
|
+
{
|
|
461
|
+
internalType: "address",
|
|
462
|
+
name: "user",
|
|
463
|
+
type: "address",
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
name: "claimRewards",
|
|
467
|
+
outputs: [
|
|
468
|
+
{
|
|
469
|
+
internalType: "uint256[]",
|
|
470
|
+
name: "rewardAmounts",
|
|
471
|
+
type: "uint256[]",
|
|
472
|
+
},
|
|
473
|
+
],
|
|
474
|
+
stateMutability: "nonpayable",
|
|
475
|
+
type: "function",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
inputs: [
|
|
479
|
+
{
|
|
480
|
+
internalType: "uint256",
|
|
481
|
+
name: "",
|
|
482
|
+
type: "uint256",
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
name: "currentExtraRewards",
|
|
486
|
+
outputs: [
|
|
487
|
+
{
|
|
488
|
+
internalType: "address",
|
|
489
|
+
name: "",
|
|
490
|
+
type: "address",
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
stateMutability: "view",
|
|
494
|
+
type: "function",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
inputs: [],
|
|
498
|
+
name: "decimals",
|
|
499
|
+
outputs: [
|
|
500
|
+
{
|
|
501
|
+
internalType: "uint8",
|
|
502
|
+
name: "",
|
|
503
|
+
type: "uint8",
|
|
504
|
+
},
|
|
505
|
+
],
|
|
506
|
+
stateMutability: "view",
|
|
507
|
+
type: "function",
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
inputs: [
|
|
511
|
+
{
|
|
512
|
+
internalType: "address",
|
|
513
|
+
name: "receiver",
|
|
514
|
+
type: "address",
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
internalType: "address",
|
|
518
|
+
name: "tokenIn",
|
|
519
|
+
type: "address",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
internalType: "uint256",
|
|
523
|
+
name: "amountTokenToDeposit",
|
|
524
|
+
type: "uint256",
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
internalType: "uint256",
|
|
528
|
+
name: "minSharesOut",
|
|
529
|
+
type: "uint256",
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
name: "deposit",
|
|
533
|
+
outputs: [
|
|
534
|
+
{
|
|
535
|
+
internalType: "uint256",
|
|
536
|
+
name: "amountSharesOut",
|
|
537
|
+
type: "uint256",
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
stateMutability: "payable",
|
|
541
|
+
type: "function",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
inputs: [],
|
|
545
|
+
name: "exchangeRate",
|
|
546
|
+
outputs: [
|
|
547
|
+
{
|
|
548
|
+
internalType: "uint256",
|
|
549
|
+
name: "",
|
|
550
|
+
type: "uint256",
|
|
551
|
+
},
|
|
552
|
+
],
|
|
553
|
+
stateMutability: "view",
|
|
554
|
+
type: "function",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
inputs: [],
|
|
558
|
+
name: "getBaseTokenPoolLength",
|
|
559
|
+
outputs: [
|
|
560
|
+
{
|
|
561
|
+
internalType: "uint256",
|
|
562
|
+
name: "length",
|
|
563
|
+
type: "uint256",
|
|
564
|
+
},
|
|
565
|
+
],
|
|
566
|
+
stateMutability: "pure",
|
|
567
|
+
type: "function",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
inputs: [],
|
|
571
|
+
name: "getRewardTokens",
|
|
572
|
+
outputs: [
|
|
573
|
+
{
|
|
574
|
+
internalType: "address[]",
|
|
575
|
+
name: "rewardTokens",
|
|
576
|
+
type: "address[]",
|
|
577
|
+
},
|
|
578
|
+
],
|
|
579
|
+
stateMutability: "view",
|
|
580
|
+
type: "function",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
inputs: [],
|
|
584
|
+
name: "getTokensIn",
|
|
585
|
+
outputs: [
|
|
586
|
+
{
|
|
587
|
+
internalType: "address[]",
|
|
588
|
+
name: "res",
|
|
589
|
+
type: "address[]",
|
|
590
|
+
},
|
|
591
|
+
],
|
|
592
|
+
stateMutability: "view",
|
|
593
|
+
type: "function",
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
inputs: [],
|
|
597
|
+
name: "getTokensOut",
|
|
598
|
+
outputs: [
|
|
599
|
+
{
|
|
600
|
+
internalType: "address[]",
|
|
601
|
+
name: "res",
|
|
602
|
+
type: "address[]",
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
stateMutability: "view",
|
|
606
|
+
type: "function",
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
inputs: [
|
|
610
|
+
{
|
|
611
|
+
internalType: "address",
|
|
612
|
+
name: "token",
|
|
613
|
+
type: "address",
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
name: "isValidTokenIn",
|
|
617
|
+
outputs: [
|
|
618
|
+
{
|
|
619
|
+
internalType: "bool",
|
|
620
|
+
name: "res",
|
|
621
|
+
type: "bool",
|
|
622
|
+
},
|
|
623
|
+
],
|
|
624
|
+
stateMutability: "view",
|
|
625
|
+
type: "function",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
inputs: [
|
|
629
|
+
{
|
|
630
|
+
internalType: "address",
|
|
631
|
+
name: "token",
|
|
632
|
+
type: "address",
|
|
633
|
+
},
|
|
634
|
+
],
|
|
635
|
+
name: "isValidTokenOut",
|
|
636
|
+
outputs: [
|
|
637
|
+
{
|
|
638
|
+
internalType: "bool",
|
|
639
|
+
name: "res",
|
|
640
|
+
type: "bool",
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
stateMutability: "view",
|
|
644
|
+
type: "function",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
inputs: [],
|
|
648
|
+
name: "lastRewardBlock",
|
|
649
|
+
outputs: [
|
|
650
|
+
{
|
|
651
|
+
internalType: "uint256",
|
|
652
|
+
name: "",
|
|
653
|
+
type: "uint256",
|
|
654
|
+
},
|
|
655
|
+
],
|
|
656
|
+
stateMutability: "view",
|
|
657
|
+
type: "function",
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
inputs: [],
|
|
661
|
+
name: "name",
|
|
662
|
+
outputs: [
|
|
663
|
+
{
|
|
664
|
+
internalType: "string",
|
|
665
|
+
name: "",
|
|
666
|
+
type: "string",
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
stateMutability: "view",
|
|
670
|
+
type: "function",
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
inputs: [
|
|
674
|
+
{
|
|
675
|
+
internalType: "address",
|
|
676
|
+
name: "tokenIn",
|
|
677
|
+
type: "address",
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
internalType: "uint256",
|
|
681
|
+
name: "amountTokenToDeposit",
|
|
682
|
+
type: "uint256",
|
|
683
|
+
},
|
|
684
|
+
],
|
|
685
|
+
name: "previewDeposit",
|
|
686
|
+
outputs: [
|
|
687
|
+
{
|
|
688
|
+
internalType: "uint256",
|
|
689
|
+
name: "amountSharesOut",
|
|
690
|
+
type: "uint256",
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
stateMutability: "view",
|
|
694
|
+
type: "function",
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
inputs: [
|
|
698
|
+
{
|
|
699
|
+
internalType: "address",
|
|
700
|
+
name: "tokenOut",
|
|
701
|
+
type: "address",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
internalType: "uint256",
|
|
705
|
+
name: "amountSharesToRedeem",
|
|
706
|
+
type: "uint256",
|
|
707
|
+
},
|
|
708
|
+
],
|
|
709
|
+
name: "previewRedeem",
|
|
710
|
+
outputs: [
|
|
711
|
+
{
|
|
712
|
+
internalType: "uint256",
|
|
713
|
+
name: "amountTokenOut",
|
|
714
|
+
type: "uint256",
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
stateMutability: "view",
|
|
718
|
+
type: "function",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
inputs: [
|
|
722
|
+
{
|
|
723
|
+
internalType: "address",
|
|
724
|
+
name: "receiver",
|
|
725
|
+
type: "address",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
internalType: "uint256",
|
|
729
|
+
name: "amountSharesToRedeem",
|
|
730
|
+
type: "uint256",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
internalType: "address",
|
|
734
|
+
name: "tokenOut",
|
|
735
|
+
type: "address",
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
internalType: "uint256",
|
|
739
|
+
name: "minTokenOut",
|
|
740
|
+
type: "uint256",
|
|
741
|
+
},
|
|
742
|
+
],
|
|
743
|
+
name: "redeem",
|
|
744
|
+
outputs: [
|
|
745
|
+
{
|
|
746
|
+
internalType: "uint256",
|
|
747
|
+
name: "amountTokenOut",
|
|
748
|
+
type: "uint256",
|
|
749
|
+
},
|
|
750
|
+
],
|
|
751
|
+
stateMutability: "nonpayable",
|
|
752
|
+
type: "function",
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
inputs: [
|
|
756
|
+
{
|
|
757
|
+
internalType: "address",
|
|
758
|
+
name: "receiver",
|
|
759
|
+
type: "address",
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
internalType: "address",
|
|
763
|
+
name: "tokenOut",
|
|
764
|
+
type: "address",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
internalType: "uint256",
|
|
768
|
+
name: "minTokenOut",
|
|
769
|
+
type: "uint256",
|
|
770
|
+
},
|
|
771
|
+
],
|
|
772
|
+
name: "redeemAfterTransfer",
|
|
773
|
+
outputs: [
|
|
774
|
+
{
|
|
775
|
+
internalType: "uint256",
|
|
776
|
+
name: "amountTokenOut",
|
|
777
|
+
type: "uint256",
|
|
778
|
+
},
|
|
779
|
+
],
|
|
780
|
+
stateMutability: "nonpayable",
|
|
781
|
+
type: "function",
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
inputs: [],
|
|
785
|
+
name: "rewardIndexesCurrent",
|
|
786
|
+
outputs: [
|
|
787
|
+
{
|
|
788
|
+
internalType: "uint256[]",
|
|
789
|
+
name: "indexes",
|
|
790
|
+
type: "uint256[]",
|
|
791
|
+
},
|
|
792
|
+
],
|
|
793
|
+
stateMutability: "nonpayable",
|
|
794
|
+
type: "function",
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
inputs: [],
|
|
798
|
+
name: "rewardIndexesStored",
|
|
799
|
+
outputs: [
|
|
800
|
+
{
|
|
801
|
+
internalType: "uint256[]",
|
|
802
|
+
name: "indexes",
|
|
803
|
+
type: "uint256[]",
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
stateMutability: "view",
|
|
807
|
+
type: "function",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
inputs: [
|
|
811
|
+
{
|
|
812
|
+
internalType: "address",
|
|
813
|
+
name: "",
|
|
814
|
+
type: "address",
|
|
815
|
+
},
|
|
816
|
+
],
|
|
817
|
+
name: "rewardState",
|
|
818
|
+
outputs: [
|
|
819
|
+
{
|
|
820
|
+
internalType: "uint128",
|
|
821
|
+
name: "index",
|
|
822
|
+
type: "uint128",
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
internalType: "uint128",
|
|
826
|
+
name: "lastBalance",
|
|
827
|
+
type: "uint128",
|
|
828
|
+
},
|
|
829
|
+
],
|
|
830
|
+
stateMutability: "view",
|
|
831
|
+
type: "function",
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
inputs: [],
|
|
835
|
+
name: "symbol",
|
|
836
|
+
outputs: [
|
|
837
|
+
{
|
|
838
|
+
internalType: "string",
|
|
839
|
+
name: "",
|
|
840
|
+
type: "string",
|
|
841
|
+
},
|
|
842
|
+
],
|
|
843
|
+
stateMutability: "view",
|
|
844
|
+
type: "function",
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
inputs: [],
|
|
848
|
+
name: "totalSupply",
|
|
849
|
+
outputs: [
|
|
850
|
+
{
|
|
851
|
+
internalType: "uint256",
|
|
852
|
+
name: "",
|
|
853
|
+
type: "uint256",
|
|
854
|
+
},
|
|
855
|
+
],
|
|
856
|
+
stateMutability: "view",
|
|
857
|
+
type: "function",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
inputs: [
|
|
861
|
+
{
|
|
862
|
+
internalType: "address",
|
|
863
|
+
name: "to",
|
|
864
|
+
type: "address",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
internalType: "uint256",
|
|
868
|
+
name: "amount",
|
|
869
|
+
type: "uint256",
|
|
870
|
+
},
|
|
871
|
+
],
|
|
872
|
+
name: "transfer",
|
|
873
|
+
outputs: [
|
|
874
|
+
{
|
|
875
|
+
internalType: "bool",
|
|
876
|
+
name: "",
|
|
877
|
+
type: "bool",
|
|
878
|
+
},
|
|
879
|
+
],
|
|
880
|
+
stateMutability: "nonpayable",
|
|
881
|
+
type: "function",
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
inputs: [
|
|
885
|
+
{
|
|
886
|
+
internalType: "address",
|
|
887
|
+
name: "from",
|
|
888
|
+
type: "address",
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
internalType: "address",
|
|
892
|
+
name: "to",
|
|
893
|
+
type: "address",
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
internalType: "uint256",
|
|
897
|
+
name: "amount",
|
|
898
|
+
type: "uint256",
|
|
899
|
+
},
|
|
900
|
+
],
|
|
901
|
+
name: "transferFrom",
|
|
902
|
+
outputs: [
|
|
903
|
+
{
|
|
904
|
+
internalType: "bool",
|
|
905
|
+
name: "",
|
|
906
|
+
type: "bool",
|
|
907
|
+
},
|
|
908
|
+
],
|
|
909
|
+
stateMutability: "nonpayable",
|
|
910
|
+
type: "function",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
inputs: [
|
|
914
|
+
{
|
|
915
|
+
internalType: "address",
|
|
916
|
+
name: "",
|
|
917
|
+
type: "address",
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
internalType: "address",
|
|
921
|
+
name: "",
|
|
922
|
+
type: "address",
|
|
923
|
+
},
|
|
924
|
+
],
|
|
925
|
+
name: "userReward",
|
|
926
|
+
outputs: [
|
|
927
|
+
{
|
|
928
|
+
internalType: "uint128",
|
|
929
|
+
name: "index",
|
|
930
|
+
type: "uint128",
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
internalType: "uint128",
|
|
934
|
+
name: "accrued",
|
|
935
|
+
type: "uint128",
|
|
936
|
+
},
|
|
937
|
+
],
|
|
938
|
+
stateMutability: "view",
|
|
939
|
+
type: "function",
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
inputs: [],
|
|
943
|
+
name: "yieldToken",
|
|
944
|
+
outputs: [
|
|
945
|
+
{
|
|
946
|
+
internalType: "address",
|
|
947
|
+
name: "",
|
|
948
|
+
type: "address",
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
stateMutability: "view",
|
|
952
|
+
type: "function",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
stateMutability: "payable",
|
|
956
|
+
type: "receive",
|
|
957
|
+
},
|
|
958
|
+
];
|
|
959
|
+
|
|
960
|
+
const _bytecode =
|
|
961
|
+
"0x6102006040523480156200001257600080fd5b5060405162004e3b38038062004e3b8339810160408190526200003591620009f6565b8888888888888888888888888888888888878785838383838282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000091573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b7919062000b04565b6003620000c5848262000bbf565b506004620000d4838262000bbf565b5060ff166080525050600280546001600160f81b0316600160f81b1790556001600160a01b031660a05250600093505050505b8151811015620001825781818151811062000126576200012662000c8b565b60200260200101516008828154811062000144576200014462000c8b565b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905580620001798162000ca1565b91505062000107565b5050506001600160a01b0385169150620001bb90505760405162461bcd60e51b8152600401620001b29062000cc9565b60405180910390fd5b6001600160a01b038216620001e45760405162461bcd60e51b8152600401620001b29062000cc9565b60c08690526001600160a01b03808416610160528481166101a05282811661012052851660e052620002168662000482565b6001600160a01b0390811661014052908116610100521661018081905260e0516200024591906000196200061b565b6200025f6101a05160e0516000196200061b60201b60201c565b50505050505050508051600214620002ba5760405162461bcd60e51b815260206004820152601e60248201527f62617365506f6f6c546f6b656e73206c656e677468206d69736d6174636800006044820152606401620001b2565b80600081518110620002d057620002d062000c8b565b60200260200101516001600160a01b03166101c0816001600160a01b0316815250508060018151811062000308576200030862000c8b565b60209081029190910101516001600160a01b03166101e0526101c051610120516200033791906000196200061b565b620003526101e051610120516000196200061b60201b60201c565b50505050505050505062000389736c3f90f043a72fa612cbac8115ee7e52bde6e490826200072f60201b620015271790919060201c565b620003d75760405162461bcd60e51b815260206004820152601b60248201527f3343727620506f6f6c2061646472657373206e6f7420666f756e6400000000006044820152606401620001b2565b6200040b736b175474e89094c44da98b954eedeac495271d0f73bebc44782c7db0a1a60cb6fe97d0b483032ff1c762000797565b6200043f73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873bebc44782c7db0a1a60cb6fe97d0b483032ff1c762000797565b6200047373dac17f958d2ee523a2206206994597c13d831ec773bebc44782c7db0a1a60cb6fe97d0b483032ff1c762000797565b50505050505050505062000e2a565b600080600060e0516001600160a01b031663081e3eda6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ee919062000cef565b8411156200052d5760405162461bcd60e51b815260206004820152600b60248201526a1a5b9d985b1a59081c1a5960aa1b6044820152606401620001b2565b60e051604051631526fe2760e01b8152600481018690526001600160a01b0390911690631526fe279060240160c060405180830381865afa15801562000577573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200059d919062000d1a565b505060e05160408051636a4874a160e01b815290519598509196506001600160a01b031693636a4874a19350600480830193506020928290030181865afa158015620005ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000613919062000d9b565b929491935050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000679919062000db9565b6000604051808303816000865af19150503d8060008114620006b8576040519150601f19603f3d011682016040523d82523d6000602084013e620006bd565b606091505b5091509150818015620006eb575080511580620006eb575080806020019051810190620006eb919062000dd7565b620007285760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620001b2565b5050505050565b8151600090815b818110156200078a57836001600160a01b03168582815181106200075e576200075e62000c8b565b60200260200101516001600160a01b031603620007815760019250505062000791565b60010162000736565b5060009150505b92915050565b6001600160a01b038216620007aa575050565b620007be60026001600160601b0362000df5565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801562000818573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200083e919062000cef565b101562000854576200085482826000196200061b565b5050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000899576200089962000858565b604052919050565b60005b83811015620008be578181015183820152602001620008a4565b83811115620008ce576000848401525b50505050565b600082601f830112620008e657600080fd5b81516001600160401b0381111562000902576200090262000858565b62000917601f8201601f19166020016200086e565b8181528460208386010111156200092d57600080fd5b62000940826020830160208701620008a1565b949350505050565b80516001600160a01b03811681146200096057600080fd5b919050565b600082601f8301126200097757600080fd5b815160206001600160401b0382111562000995576200099562000858565b8160051b620009a68282016200086e565b9283528481018201928281019087851115620009c157600080fd5b83870192505b84831015620009eb57620009db8362000948565b82529183019190830190620009c7565b979650505050505050565b60008060008060008060008060006101208a8c03121562000a1657600080fd5b89516001600160401b038082111562000a2e57600080fd5b62000a3c8d838e01620008d4565b9a5060208c015191508082111562000a5357600080fd5b62000a618d838e01620008d4565b995060408c0151985062000a7860608d0162000948565b975062000a8860808d0162000948565b965062000a9860a08d0162000948565b955062000aa860c08d0162000948565b945060e08c015191508082111562000abf57600080fd5b62000acd8d838e0162000965565b93506101008c015191508082111562000ae557600080fd5b5062000af48c828d0162000965565b9150509295985092959850929598565b60006020828403121562000b1757600080fd5b815160ff8116811462000b2957600080fd5b9392505050565b600181811c9082168062000b4557607f821691505b60208210810362000b6657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000bba57600081815260208120601f850160051c8101602086101562000b955750805b601f850160051c820191505b8181101562000bb65782815560010162000ba1565b5050505b505050565b81516001600160401b0381111562000bdb5762000bdb62000858565b62000bf38162000bec845462000b30565b8462000b6c565b602080601f83116001811462000c2b576000841562000c125750858301515b600019600386901b1c1916600185901b17855562000bb6565b600085815260208120601f198616915b8281101562000c5c5788860151825594840194600190910190840162000c3b565b508582101562000c7b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60006001820162000cc257634e487b7160e01b600052601160045260246000fd5b5060010190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b60006020828403121562000d0257600080fd5b5051919050565b805180151581146200096057600080fd5b60008060008060008060c0878903121562000d3457600080fd5b62000d3f8762000948565b955062000d4f6020880162000948565b945062000d5f6040880162000948565b935062000d6f6060880162000948565b925062000d7f6080880162000948565b915062000d8f60a0880162000d09565b90509295509295509295565b60006020828403121562000dae57600080fd5b62000b298262000948565b6000825162000dcd818460208701620008a1565b9190910192915050565b60006020828403121562000dea57600080fd5b62000b298262000d09565b60006001600160601b038381168062000e1e57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e051613e9862000fa360003960008181610245015281816109cd01528181610fd901526135d20152600081816106e30152818161097901528181610f9d015281816131c601526135970152600081816103b30152818161092501528181610f610152818161258601528181612a2901528181612b090152612f8501526000818161068f015281816108d101528181610f26015281816110e5015281816111060152818161264701528181612a640152612b44015260006104bc015260006105780152600081816105c101528181610e820152818161276101528181612aa601528181612b8701526130b3015260008181610306015281816125d401528181612d2f01528181612fd9015261302d0152600081816104f00152818161269501526127f8015260008181610468015281816126c20152612825015260006105240152600061036d0152613e986000f3fe6080604052600436106101da5760003560e01c806306fdde03146101e6578063071bc3c91461021157806308bd7a1c14610233578063095ea7b314610274578063128fced1146102a457806318160ddd146102d15780631d73b7ea146102f457806320e8c56514610328578063213cae631461021157806323b872dd1461033b578063313ce5671461035b5780633a9dc7df146103a15780633ba0b9a9146103d55780635cbadbe4146103ea5780635eaec0e41461045657806370a082311461048a578063759cb53b146104aa57806375b0ffd1146104de57806376d5de8514610512578063784367d614610546578063945c91421461056657806395d89b411461059a578063a2004087146105af578063a23c982a146105e3578063a2bbcf1314610603578063a40bee5014610623578063a9059cbb14610647578063a9f8d18114610667578063b3b1cd341461067d578063b8f82b26146106b1578063bfa73160146106d1578063c1809d6014610705578063c4f59f9b14610719578063cbe52ae31461072e578063da88ecb41461074e578063dd62ed3e14610763578063ea64a82014610783578063ef5cfb8c146107c4578063f3f094a1146107e4578063f8b2f99114610804578063fa5a4f061461054657600080fd5b366101e157005b600080fd5b3480156101f257600080fd5b506101fb610819565b604051610208919061380a565b60405180910390f35b34801561021d57600080fd5b506102266108ab565b6040516102089190613881565b34801561023f57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b6040516102089190613894565b34801561028057600080fd5b5061029461028f3660046138bf565b610afa565b6040519015158152602001610208565b3480156102b057600080fd5b506102c46102bf3660046138e9565b610b14565b6040516102089190613934565b3480156102dd57600080fd5b506102e6610c20565b604051908152602001610208565b34801561030057600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b6102e6610336366004613947565b610c2f565b34801561034757600080fd5b50610294610356366004613989565b610e00565b34801561036757600080fd5b5061038f7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610208565b3480156103ad57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e157600080fd5b506102e6610e7e565b3480156103f657600080fd5b506104366104053660046139c5565b60056020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610208565b34801561046257600080fd5b506102e67f000000000000000000000000000000000000000000000000000000000000000081565b34801561049657600080fd5b506102e66104a53660046138e9565b610f07565b3480156104b657600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ea57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b34801561051e57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b34801561055257600080fd5b506102946105613660046138e9565b610f22565b34801561057257600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a657600080fd5b506101fb61101c565b3480156105bb57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ef57600080fd5b506102676105fe3660046139f8565b61102b565b34801561060f57600080fd5b506102e661061e366004613989565b611055565b34801561062f57600080fd5b506106386110dc565b60405161020893929190613a11565b34801561065357600080fd5b506102946106623660046138bf565b611191565b34801561067357600080fd5b506102e660065481565b34801561068957600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b3480156106bd57600080fd5b506102e66106cc3660046138bf565b611203565b3480156106dd57600080fd5b506102677f000000000000000000000000000000000000000000000000000000000000000081565b34801561071157600080fd5b5060026102e6565b34801561072557600080fd5b5061022661123b565b34801561073a57600080fd5b506102e66107493660046138bf565b611245565b34801561075a57600080fd5b506102c461129e565b34801561076f57600080fd5b506102e661077e3660046139c5565b61136f565b34801561078f57600080fd5b5061043661079e3660046138e9565b6007602052600090815260409020546001600160801b0380821691600160801b90041682565b3480156107d057600080fd5b506102c46107df3660046138e9565b61139a565b3480156107f057600080fd5b506102e66107ff366004613a53565b611459565b34801561081057600080fd5b506102c46114b5565b60606003805461082890613a97565b80601f016020809104026020016040519081016040528092919081815260200182805461085490613a97565b80156108a15780601f10610876576101008083540402835291602001916108a1565b820191906000526020600020905b81548152906001019060200180831161088457829003601f168201915b5050505050905090565b60408051600780825261010082019092526060916020820160e0803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061090357610903613ae1565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061095757610957613ae1565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816002815181106109ab576109ab613ae1565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816003815181106109ff576109ff613ae1565b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600481518110610a4757610a47613ae1565b60200260200101906001600160a01b031690816001600160a01b03168152505073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881600581518110610a8f57610a8f613ae1565b60200260200101906001600160a01b031690816001600160a01b03168152505073dac17f958d2ee523a2206206994597c13d831ec781600681518110610ad757610ad7613ae1565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b600033610b08818585611586565b60019150505b92915050565b60606000610b206116aa565b905080516001600160401b03811115610b3b57610b3b613acb565b604051908082528060200260200182016040528015610b64578160200160208202803683370190505b50915060005b8151811015610c195760056000838381518110610b8957610b89613ae1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610c0657610c06613ae1565b6020908102919091010152600101610b6a565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610c695760405162461bcd60e51b8152600401610c6090613af7565b60405180910390fd5b600280546001600160f81b0316600160f91b179055610c8784610f22565b610ca35760405162461bcd60e51b8152600401610c6090613b2e565b82600003610d015760405162461bcd60e51b815260206004820152602560248201527f5343593a20616d6f756e74546f6b656e546f4465706f7369742063616e6e6f74604482015264020626520360dc1b6064820152608401610c60565b6001600160a01b038416610d5757823414610d525760405162461bcd60e51b81526020600482015260116024820152700a686b27440cae8d040dad2e6dac2e8c6d607b1b6044820152606401610c60565b610d62565b610d6284338561170b565b610d6c8484611777565b905081811015610d8e5760405162461bcd60e51b8152600401610c6090613b5c565b610d9885826117cc565b60408051848152602081018390526001600160a01b03808716929088169133917f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59910160405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610e315760405162461bcd60e51b8152600401610c6090613af7565b600280546001600160f81b0316600160f91b17905533610e528582856118e2565b610e5d85858561195c565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bb7b8b806040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f029190613b8b565b905090565b6001600160a01b031660009081526020819052604090205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610f9557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b80610fd157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061100d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b80610b0e5750610b0e82611b7e565b60606004805461082890613a97565b6008818154811061103b57600080fd5b6000918252602090912001546001600160a01b0316905081565b600254600090600119600160f81b90910460ff16016110865760405162461bcd60e51b8152600401610c6090613af7565b600280546001600160f81b0316600160f91b17905560006110a630610f07565b90506110b23082611bf3565b6110be85828686611d79565b600280546001600160f81b0316600160f81b17905595945050505050565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111869190613ba4565b925092509250909192565b600254600090600119600160f81b90910460ff16016111c25760405162461bcd60e51b8152600401610c6090613af7565b600280546001600160f81b0316600160f91b179055336111e381858561195c565b6001915050600280546001600160f81b0316600160f81b17905592915050565b600061120e83610f22565b61122a5760405162461bcd60e51b8152600401610c6090613b2e565b6112348383611eb0565b9392505050565b6060610f026116aa565b600061125083610f22565b6112945760405162461bcd60e51b815260206004820152601560248201527414d0d64e88125b9d985b1a59081d1bdad95b93dd5d605a1b6044820152606401610c60565b6112348383611ef6565b606060006112aa6116aa565b905080516001600160401b038111156112c5576112c5613acb565b6040519080825280602002602001820160405280156112ee578160200160208202803683370190505b50915060005b815181101561136a576007600083838151811061131357611313613ae1565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b039091169084908390811061135757611357613ae1565b60209081029190910101526001016112f4565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff16016113cb5760405162461bcd60e51b8152600401610c6090613af7565b600280546001600160f81b0316600160f91b1790556113e982611f3c565b6113f38283611f4a565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f6114286116aa565b83604051611437929190613bc7565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254600090600119600160f81b90910460ff160161148a5760405162461bcd60e51b8152600401610c6090613af7565b600280546001600160f81b0316600160f91b1790556114a93385611bf3565b6110be85858585611d79565b600254606090600119600160f81b90910460ff16016114e65760405162461bcd60e51b8152600401610c6090613af7565b600280546001600160f81b0316600160f91b1790556115036121f2565b505061150d61129e565b9050600280546001600160f81b0316600160f81b17905590565b8151600090815b8181101561157b57836001600160a01b031685828151811061155257611552613ae1565b60200260200101516001600160a01b03160361157357600192505050610b0e565b60010161152e565b506000949350505050565b6001600160a01b0383166115e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c60565b6001600160a01b0382166116495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c60565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b606060088054806020026020016040519081016040528092919081815260200182805480156108a157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116116e4575050505050905090565b6001600160a01b03831661175c578034146117575760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610c60565b505050565b8015611757576117576001600160a01b03841683308461248d565b600061178283611b7e565b156117bb57600061179384846124f8565b90506117b3736c3f90f043a72fa612cbac8115ee7e52bde6e49082612582565b915050610b0e565b6117c58383612582565b9050610b0e565b6001600160a01b0382166118225760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c60565b61182e60008383612895565b6118378161289f565b600280546000906118529084906001600160f81b0316613c0b565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546118aa9190613c36565b90915550506040518181526001600160a01b03831690600090600080516020613e438339815191529060200160405180910390a35050565b60006118ee848461136f565b9050600019811461195657818110156119495760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c60565b6119568484848403611586565b50505050565b6001600160a01b0383166119c05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c60565b6001600160a01b038216611a225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c60565b816001600160a01b0316836001600160a01b031603611a7d5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610c60565b611a88838383612895565b6001600160a01b03831660009081526020819052604090205481811015611b005760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c60565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611b37908490613c36565b92505081905550826001600160a01b0316846001600160a01b0316600080516020613e4383398151915284604051611b7191815260200190565b60405180910390a3611956565b60006001600160a01b038216736b175474e89094c44da98b954eedeac495271d0f1480611bc757506001600160a01b03821673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b80610b0e57506001600160a01b03821673dac17f958d2ee523a2206206994597c13d831ec71492915050565b6001600160a01b038216611c535760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c60565b611c5f82600083612895565b6001600160a01b03821660009081526020819052604090205481811015611cd35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c60565b6001600160a01b03831660009081526020819052604090208282039055611cf98261289f565b60028054600090611d149084906001600160f81b0316613c4e565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020613e4383398151915284604051611d6c91815260200190565b60405180910390a3505050565b6000611d8483610f22565b611dc85760405162461bcd60e51b815260206004820152601560248201527414d0d64e881a5b9d985b1a59081d1bdad95b93dd5d605a1b6044820152606401610c60565b83600003611e265760405162461bcd60e51b815260206004820152602560248201527f5343593a20616d6f756e74536861726573546f52656465656d2063616e6e6f74604482015264020626520360dc1b6064820152608401610c60565b611e3083856128b9565b905081811015611e525760405162461bcd60e51b8152600401610c6090613b5c565b611e5d8386836128ff565b60408051858152602081018390526001600160a01b03808616929088169133917faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c910160405180910390a4949350505050565b6000611ebb83611b7e565b15611eec576000611ecc84846129c3565b90506117b3736c3f90f043a72fa612cbac8115ee7e52bde6e49082612a25565b6117c58383612a25565b6000611f0183611b7e565b15611f32576000611f26736c3f90f043a72fa612cbac8115ee7e52bde6e49084612add565b90506117b38482612c38565b6117c58383612add565b611f47816000612c8d565b50565b60606000611f566116aa565b905080516001600160401b03811115611f7157611f71613acb565b604051908082528060200260200182016040528015611f9a578160200160208202803683370190505b50915060005b81518110156121ea5760056000838381518110611fbf57611fbf613ae1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061203c5761203c613ae1565b60200260200101818152505082818151811061205a5761205a613ae1565b60200260200101516000146121d85760006005600084848151811061208157612081613ae1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061211583828151811061210857612108613ae1565b6020026020010151612d0d565b6007600084848151811061212b5761212b613ae1565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b03166121779190613c76565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506121d88282815181106121b0576121b0613ae1565b6020026020010151858584815181106121cb576121cb613ae1565b60200260200101516128ff565b806121e281613c96565b915050611fa0565b505092915050565b6060806121fd6116aa565b915081516001600160401b0381111561221857612218613acb565b604051908082528060200260200182016040528015612241578160200160208202803683370190505b5090508151600003612251579091565b436006541461240557436006556000612268612d23565b9050612272612d2d565b60005b835181101561240257600084828151811061229257612292613ae1565b6020908102919091018101516001600160a01b0381166000908152600790925260408220548751919350600160801b90046001600160801b0316906122f0908890869081106122e3576122e3613ae1565b6020026020010151612d9c565b6122fa9190613caf565b6001600160a01b0383166000908152600760205260408120549192506001600160801b039091169081900361232d575060015b841561234a5761233d8286612e26565b6123479082613c36565b90505b61235381612d0d565b6001600160a01b038416600090815260076020526040902080546001600160801b0319166001600160801b039290921691909117905561239282612d0d565b6001600160a01b038416600090815260076020526040902080546010906123ca908490600160801b90046001600160801b0316613cc6565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550505050806123fb90613c96565b9050612275565b50505b60005b8251811015612488576007600084838151811061242757612427613ae1565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061246b5761246b613ae1565b60209081029190910101528061248081613c96565b915050612408565b509091565b6040516001600160a01b03808516602483015283166044820152606481018290526119569085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612e55565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c763a7256d0961251e8585612f27565b6000306040518463ffffffff1660e01b815260040161253f93929190613ce8565b6020604051808303816000875af115801561255e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112349190613b8b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612645576040516305dc812160e31b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632ee409089061260b9030908690600401613d1b565b600060405180830381600087803b15801561262557600080fd5b505af1158015612639573d6000803e3d6000fd5b50505050819050610b0e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361273b576040516321d0683360e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906343a0d066906126ef907f0000000000000000000000000000000000000000000000000000000000000000908690600190600401613d34565b6020604051808303816000875af115801561270e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127329190613d4c565b50819050610b0e565b60006127478484612f56565b60405163a7256d0960e01b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7256d099061279b9084906000903090600401613ce8565b6020604051808303816000875af11580156127ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127de9190613b8b565b6040516321d0683360e11b81529092506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906343a0d06690612852907f0000000000000000000000000000000000000000000000000000000000000000908690600190600401613d34565b6020604051808303816000875af1158015612871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ea9190613d4c565b6117578383612c8d565b60006001600160f81b038211156128b557600080fd5b5090565b60006128c483611b7e565b156128f55760006128e9736c3f90f043a72fa612cbac8115ee7e52bde6e49084612f81565b90506117b38482613158565b6117c58383612f81565b8060000361290c57505050565b6001600160a01b0383166129af576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612967576040519150601f19603f3d011682016040523d82523d6000602084013e61296c565b606091505b50509050806119565760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610c60565b6117576001600160a01b03841683836131a3565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c7633db06dd86129e98585612f27565b60016040518363ffffffff1660e01b8152600401612a08929190613d6e565b602060405180830381865afa15801561255e573d6000803e3d6000fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161480612a9857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316145b15612aa4575080610b0e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633db06dd86129e98585612f56565b600080670de0b6b3a7640000612af1610e7e565b612afb9085613d92565b612b059190613dc7565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b03161480612b7857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316145b15612b8557809150612c31565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cc2b27d782612bc6612bc1886131c2565b61320e565b6040516001600160e01b031960e085901b1681526004810192909252600f0b6024820152604401602060405180830381865afa158015612c0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2e9190613b8b565b91505b5092915050565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c763cc2b27d783612c61612bc187613221565b6040516001600160e01b031960e085901b1681526004810192909252600f0b6024820152604401612a08565b600080612c986121f2565b915091508151600003612cab5750505050565b6001600160a01b03841615801590612ccc57506001600160a01b0384163014155b15612cdc57612cdc8483836132fc565b6001600160a01b03831615801590612cfd57506001600160a01b0383163014155b15611956576119568383836132fc565b60006001600160801b038211156128b557600080fd5b6000610f02610c20565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612d8857600080fd5b505af1158015611956573d6000803e3d6000fd5b60006001600160a01b03821615612e1f576040516370a0823160e01b81526001600160a01b038316906370a0823190612dd9903090600401613894565b602060405180830381865afa158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a9190613b8b565b610b0e565b4792915050565b600080612e3b670de0b6b3a764000085613d92565b9050828181612e4c57612e4c613db1565b04949350505050565b6000612eaa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661357c9092919063ffffffff16565b8051909150156117575780806020019051810190612ec89190613d4c565b6117575760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c60565b60608181612f3485613221565b81518110612f4457612f44613ae1565b60200260200101818152505092915050565b60408051600280825260608083018452926020830190803683370190505090508181612f34856131c2565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361301057604051631c683a1b60e11b815260048101839052600060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906338d07436906044016126ef565b604051636197390160e11b815260048101839052600060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e7202906044016020604051808303816000875af115801561307e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a29190613d4c565b506130ac83613593565b15613152577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663081579a5836130ed612bc1876131c2565b6000306040518563ffffffff1660e01b815260040161310f9493929190613de9565b6020604051808303816000875af115801561312e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c59190613b8b565b50919050565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c763081579a583613181612bc187613221565b6000306040518563ffffffff1660e01b815260040161253f9493929190613de9565b6117578363a9059cbb60e01b84846040516024016124c1929190613d1b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361320557506000919050565b5060015b919050565b6000610b0e61321c8361360b565b613621565b6000736b175474e89094c44da98b954eedeac495271d0e196001600160a01b0383160161325057506000919050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb47196001600160a01b0383160161327d57506001919050565b73dac17f958d2ee523a2206206994597c13d831ec6196001600160a01b038316016132aa57506002919050565b60405162461bcd60e51b815260206004820152602160248201527f50656e646c653343727648656c7065723a206e6f742076616c696420746f6b656044820152603760f91b6064820152608401610c60565b6001600160a01b0383161580159061331d57506001600160a01b0383163014155b61332957613329613e10565b60006133348461364b565b905060005b835181101561357557600084828151811061335657613356613ae1565b60200260200101519050600084838151811061337457613374613ae1565b6020908102919091018101516001600160a01b038085166000908152600584526040808220928c168252919093528220549092506001600160801b031690819003613410576133c282612d0d565b6001600160a01b039384166000908152600560209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506135659050565b81810361341f57505050613565565b600061342b8284613caf565b905060006134398783613656565b6001600160a01b038681166000908152600560209081526040808320938f1683529290529081205491925090613480908390600160801b90046001600160801b0316613c36565b9050604051806040016040528061349687612d0d565b6001600160801b031681526020016134ad83612d0d565b6001600160801b031681525060056000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61356e81613c96565b9050613339565b5050505050565b606061358b8484600085613674565b949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610b0e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b60006001600160ff1b038211156128b557600080fd5b600060016001607f1b03198212801590613642575060016001607f1b038213155b6128b557600080fd5b6000610b0e82610f07565b6000806136638385613d92565b9050670de0b6b3a764000081612e4c565b6060824710156136d55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c60565b6001600160a01b0385163b61372c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c60565b600080866001600160a01b031685876040516137489190613e26565b60006040518083038185875af1925050503d8060008114613785576040519150601f19603f3d011682016040523d82523d6000602084013e61378a565b606091505b509150915061379a8282866137a5565b979650505050505050565b606083156137b4575081611234565b8251156137c45782518084602001fd5b8160405162461bcd60e51b8152600401610c60919061380a565b60005b838110156137f95781810151838201526020016137e1565b838111156119565750506000910152565b60208152600082518060208401526138298160408501602087016137de565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b838110156138765781516001600160a01b031687529582019590820190600101613851565b509495945050505050565b602081526000611234602083018461383d565b6001600160a01b0391909116815260200190565b80356001600160a01b038116811461320957600080fd5b600080604083850312156138d257600080fd5b6138db836138a8565b946020939093013593505050565b6000602082840312156138fb57600080fd5b611234826138a8565b600081518084526020808501945080840160005b8381101561387657815187529582019590820190600101613918565b6020815260006112346020830184613904565b6000806000806080858703121561395d57600080fd5b613966856138a8565b9350613974602086016138a8565b93969395505050506040820135916060013590565b60008060006060848603121561399e57600080fd5b6139a7846138a8565b92506139b5602085016138a8565b9150604084013590509250925092565b600080604083850312156139d857600080fd5b6139e1836138a8565b91506139ef602084016138a8565b90509250929050565b600060208284031215613a0a57600080fd5b5035919050565b6060810160028510613a3357634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60008060008060808587031215613a6957600080fd5b613a72856138a8565b935060208501359250613a87604086016138a8565b9396929550929360600135925050565b600181811c90821680613aab57607f821691505b60208210810361315257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526014908201527329a1ac9d1024b73b30b634b2103a37b5b2b724b760611b604082015260600190565b60208082526015908201527414d0d64e881a5b9cdd59999a58da595b9d081bdd5d605a1b604082015260600190565b600060208284031215613b9d57600080fd5b5051919050565b600060208284031215613bb657600080fd5b815160ff8116811461123457600080fd5b604081526000613bda604083018561383d565b8281036020840152613bec8185613904565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160f81b03828116848216808303821115613c2d57613c2d613bf5565b01949350505050565b60008219821115613c4957613c49613bf5565b500190565b60006001600160f81b0383811690831681811015613c6e57613c6e613bf5565b039392505050565b60006001600160801b0383811690831681811015613c6e57613c6e613bf5565b600060018201613ca857613ca8613bf5565b5060010190565b600082821015613cc157613cc1613bf5565b500390565b60006001600160801b03828116848216808303821115613c2d57613c2d613bf5565b606081526000613cfb6060830186613904565b6020830194909452506001600160a01b0391909116604090910152919050565b6001600160a01b03929092168252602082015260400190565b92835260208301919091521515604082015260600190565b600060208284031215613d5e57600080fd5b8151801515811461123457600080fd5b604081526000613d816040830185613904565b905082151560208301529392505050565b6000816000190483118215151615613dac57613dac613bf5565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613de457634e487b7160e01b600052601260045260246000fd5b500490565b938452600f9290920b602084015260408301526001600160a01b0316606082015260800190565b634e487b7160e01b600052600160045260246000fd5b60008251613e388184602087016137de565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122084c5d1b530725f4426c9741769c6f8a8cce9e150c8a0a12d4408e7ece445e0eb64736f6c634300080f0033";
|
|
962
|
+
|
|
963
|
+
type Pendle3CrvTokenSCYConstructorParams =
|
|
964
|
+
| [signer?: Signer]
|
|
965
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
966
|
+
|
|
967
|
+
const isSuperArgs = (
|
|
968
|
+
xs: Pendle3CrvTokenSCYConstructorParams
|
|
969
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
970
|
+
|
|
971
|
+
export class Pendle3CrvTokenSCY__factory extends ContractFactory {
|
|
972
|
+
constructor(...args: Pendle3CrvTokenSCYConstructorParams) {
|
|
973
|
+
if (isSuperArgs(args)) {
|
|
974
|
+
super(...args);
|
|
975
|
+
} else {
|
|
976
|
+
super(_abi, _bytecode, args[0]);
|
|
977
|
+
}
|
|
978
|
+
this.contractName = "Pendle3CrvTokenSCY";
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
deploy(
|
|
982
|
+
_name: string,
|
|
983
|
+
_symbol: string,
|
|
984
|
+
_pid: BigNumberish,
|
|
985
|
+
_convexBooster: string,
|
|
986
|
+
_wrappedLpToken: string,
|
|
987
|
+
_cvx: string,
|
|
988
|
+
_baseCrvPool: string,
|
|
989
|
+
_currentExtraRewards: string[],
|
|
990
|
+
_basePoolTokens: string[],
|
|
991
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
992
|
+
): Promise<Pendle3CrvTokenSCY> {
|
|
993
|
+
return super.deploy(
|
|
994
|
+
_name,
|
|
995
|
+
_symbol,
|
|
996
|
+
_pid,
|
|
997
|
+
_convexBooster,
|
|
998
|
+
_wrappedLpToken,
|
|
999
|
+
_cvx,
|
|
1000
|
+
_baseCrvPool,
|
|
1001
|
+
_currentExtraRewards,
|
|
1002
|
+
_basePoolTokens,
|
|
1003
|
+
overrides || {}
|
|
1004
|
+
) as Promise<Pendle3CrvTokenSCY>;
|
|
1005
|
+
}
|
|
1006
|
+
getDeployTransaction(
|
|
1007
|
+
_name: string,
|
|
1008
|
+
_symbol: string,
|
|
1009
|
+
_pid: BigNumberish,
|
|
1010
|
+
_convexBooster: string,
|
|
1011
|
+
_wrappedLpToken: string,
|
|
1012
|
+
_cvx: string,
|
|
1013
|
+
_baseCrvPool: string,
|
|
1014
|
+
_currentExtraRewards: string[],
|
|
1015
|
+
_basePoolTokens: string[],
|
|
1016
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1017
|
+
): TransactionRequest {
|
|
1018
|
+
return super.getDeployTransaction(
|
|
1019
|
+
_name,
|
|
1020
|
+
_symbol,
|
|
1021
|
+
_pid,
|
|
1022
|
+
_convexBooster,
|
|
1023
|
+
_wrappedLpToken,
|
|
1024
|
+
_cvx,
|
|
1025
|
+
_baseCrvPool,
|
|
1026
|
+
_currentExtraRewards,
|
|
1027
|
+
_basePoolTokens,
|
|
1028
|
+
overrides || {}
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
attach(address: string): Pendle3CrvTokenSCY {
|
|
1032
|
+
return super.attach(address) as Pendle3CrvTokenSCY;
|
|
1033
|
+
}
|
|
1034
|
+
connect(signer: Signer): Pendle3CrvTokenSCY__factory {
|
|
1035
|
+
return super.connect(signer) as Pendle3CrvTokenSCY__factory;
|
|
1036
|
+
}
|
|
1037
|
+
static readonly contractName: "Pendle3CrvTokenSCY";
|
|
1038
|
+
public readonly contractName: "Pendle3CrvTokenSCY";
|
|
1039
|
+
static readonly bytecode = _bytecode;
|
|
1040
|
+
static readonly abi = _abi;
|
|
1041
|
+
static createInterface(): Pendle3CrvTokenSCYInterface {
|
|
1042
|
+
return new utils.Interface(_abi) as Pendle3CrvTokenSCYInterface;
|
|
1043
|
+
}
|
|
1044
|
+
static connect(
|
|
1045
|
+
address: string,
|
|
1046
|
+
signerOrProvider: Signer | Provider
|
|
1047
|
+
): Pendle3CrvTokenSCY {
|
|
1048
|
+
return new Contract(address, _abi, signerOrProvider) as Pendle3CrvTokenSCY;
|
|
1049
|
+
}
|
|
1050
|
+
}
|