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