@pendle/core-v2 0.15.3-mainnet → 0.16.0-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 +48 -110
- 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 +21 -75
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +0 -39
- 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 +2 -15
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -46
- 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 +8 -52
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -15
- 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/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 +17 -77
- 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/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +1018 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{base → ConvexCurveLP}/PendleConvexLPSY.sol/PendleConvexLPSY.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStaking.sol/PendleLooksStaking.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/{PendleLooksStakingSY.sol/PendleLooksStakingSY.json → PendleLooksStaking.sol/PendleLooksStaking.json} +4 -4
- 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 +2 -15
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +4 -85
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +4 -17
- 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 +38 -3
- 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 +0 -13
- 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 +35 -319
- 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/ConvexCurve/IBooster.sol/IBooster.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 +85 -39
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +53 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +45 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +0 -7
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +17 -91
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +0 -50
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +0 -20
- 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 +0 -20
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +17 -181
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +2 -12
- 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/IPYieldContractFactory.sol/IPYieldContractFactory.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 +0 -45
- 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 +2 -15
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +80 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +60 -299
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +41 -118
- 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 +24 -61
- 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 +24 -31
- 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 +24 -31
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -15
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -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 +2 -191
- 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/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +7 -18
- package/contracts/core/Market/PendleMarketFactory.sol +5 -15
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +167 -0
- package/contracts/core/StandardizedYield/implementations/Convex/{base → ConvexCurveLP}/PendleConvexLPSY.sol +4 -2
- package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +83 -0
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +4 -19
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +7 -21
- package/contracts/core/YieldContracts/PendleYieldToken.sol +21 -54
- package/contracts/core/erc20/PendleERC20.sol +7 -4
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/core/libraries/Errors.sol +2 -28
- package/contracts/core/libraries/TokenHelper.sol +0 -9
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +31 -12
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +5 -3
- package/contracts/interfaces/IPActionMintRedeem.sol +0 -2
- package/contracts/interfaces/IPMarketFactory.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +1 -1
- package/contracts/interfaces/IStETH.sol +0 -6
- package/contracts/interfaces/IStandardizedYield.sol +10 -15
- package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +30 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +173 -0
- package/contracts/offchain-helpers/RouterStatic.sol +50 -189
- package/contracts/router/ActionAddRemoveLiq.sol +52 -71
- package/contracts/router/ActionCallback.sol +8 -4
- package/contracts/router/ActionMintRedeem.sol +18 -27
- package/contracts/router/ActionSwapPT.sol +9 -8
- package/contracts/router/ActionSwapPTYT.sol +7 -3
- package/contracts/router/ActionSwapYT.sol +10 -15
- package/contracts/router/PendleRouter.sol +0 -3
- package/contracts/router/base/ActionBaseMintRedeem.sol +83 -78
- package/contracts/router/base/MarketApproxLib.sol +1 -1
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +1 -17
- package/contracts/router/kyberswap/KyberSwapHelper.sol +8 -21
- package/deployments/43113-core.json +16 -0
- package/deployments/43113-helper.json +3 -0
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +15 -0
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +2 -3
- package/typechain-types/ActionAddRemoveLiq.ts +52 -64
- package/typechain-types/ActionBaseMintRedeem.ts +8 -8
- package/typechain-types/ActionMintRedeem.ts +16 -48
- package/typechain-types/ActionSwapPT.ts +12 -34
- package/typechain-types/ActionSwapYT.ts +12 -34
- package/typechain-types/AggregationRouterHelper.ts +3 -287
- package/typechain-types/BaseSplitCodeFactoryContract.ts +0 -9
- package/typechain-types/BoringOwnableUpgradeable.ts +0 -9
- package/typechain-types/IBooster.ts +3 -9
- package/typechain-types/ICrvPool.ts +172 -69
- package/typechain-types/ILooksStaking.ts +0 -27
- package/typechain-types/IPActionAddRemoveLiq.ts +44 -56
- package/typechain-types/IPActionMintRedeem.ts +8 -40
- package/typechain-types/IPActionSwapPT.ts +4 -26
- package/typechain-types/IPActionSwapYT.ts +4 -26
- package/typechain-types/IPAllAction.ts +54 -76
- package/typechain-types/IPMarketFactory.ts +2 -2
- package/typechain-types/IPMsgSendEndpoint.ts +14 -24
- package/typechain-types/IPYieldContractFactory.ts +3 -3
- package/typechain-types/IStETH.ts +0 -56
- package/typechain-types/ImplicitSwapfeeContract.ts +17 -9
- package/typechain-types/KyberSwapHelper.ts +8 -8
- package/typechain-types/MarketMathStatic.ts +117 -0
- package/typechain-types/PendleFeeDistributor.ts +0 -9
- package/typechain-types/PendleFeeDistributorFactory.ts +0 -9
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -9
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -9
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -9
- package/typechain-types/PendleMarketFactory.ts +2 -51
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +68 -135
- package/typechain-types/PendleMsgSendEndpointUpg.ts +39 -108
- package/typechain-types/PendleMsgSenderAppUpg.ts +0 -64
- package/typechain-types/PendlePrincipalToken.ts +0 -9
- package/typechain-types/PendleRouter.ts +0 -9
- package/typechain-types/PendleVotingControllerUpg.ts +0 -64
- package/typechain-types/PendleYieldContractFactory.ts +8 -57
- package/typechain-types/PendleYieldToken.ts +0 -21
- package/typechain-types/RouterStatic.ts +20 -302
- package/typechain-types/VotingEscrowPendleMainchain.ts +6 -70
- package/typechain-types/VotingEscrowPendleSidechain.ts +0 -9
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +59 -122
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +42 -65
- 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 +42 -35
- package/typechain-types/factories/ActionSwapYT__factory.ts +42 -35
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -190
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -14
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +0 -13
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +34 -318
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +85 -39
- package/typechain-types/factories/ILooksStaking__factory.ts +0 -7
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +17 -91
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +0 -50
- package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -20
- package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -20
- package/typechain-types/factories/IPAllAction__factory.ts +17 -181
- package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +2 -12
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/IStETH__factory.ts +0 -45
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +12 -4
- package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +79 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -1
- 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 +1 -14
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleMarketFactory__factory.ts +16 -76
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +51 -113
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +23 -84
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +0 -39
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -14
- 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 +1 -14
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +2 -57
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +3 -84
- package/typechain-types/factories/PendleYieldToken__factory.ts +3 -16
- package/typechain-types/factories/RouterStatic__factory.ts +1 -244
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +8 -63
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -14
- package/typechain-types/hardhat.d.ts +39 -219
- package/typechain-types/index.ts +12 -48
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +0 -10
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +0 -10
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +0 -699
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +0 -515
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +0 -1003
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +0 -1068
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +0 -213
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +0 -119
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -39
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -173
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +0 -86
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +0 -34
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +0 -35
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
- package/contracts/core/BulkSeller/BulkSeller.sol +0 -259
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +0 -88
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +0 -143
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +0 -102
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +0 -160
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +0 -29
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +0 -215
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +0 -127
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +0 -152
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +0 -122
- package/contracts/interfaces/Curve/ITriCrvPool.sol +0 -41
- package/contracts/interfaces/ILooksFeeSharing.sol +0 -5
- package/contracts/interfaces/ILooksStaking.sol +0 -13
- package/contracts/interfaces/IPBulkSeller.sol +0 -28
- package/contracts/interfaces/IPBulkSellerFactory.sol +0 -12
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +0 -10
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +0 -43
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/deployments/1-core.json +0 -17
- package/deployments/1-markets/FRAX_30_MAR_23.json +0 -9
- package/deployments/1-markets/LOOKS_30_MAR_23.json +0 -8
- package/deployments/1-markets/STETH_MARCH_30.json +0 -8
- package/deployments/1-markets/USDD_MARCH_30.json +0 -9
- package/deployments/1-offchain-helper.json +0 -3
- package/typechain-types/AccessControl.ts +0 -360
- package/typechain-types/AccessControlUpgradeable.ts +0 -369
- package/typechain-types/BeaconProxy.ts +0 -97
- package/typechain-types/BulkSeller.ts +0 -777
- package/typechain-types/BulkSellerFactory.ts +0 -707
- package/typechain-types/BulkSellerOffchain.ts +0 -117
- package/typechain-types/ContextUpgradeable.ts +0 -68
- package/typechain-types/Curve3CrvPoolHelper.ts +0 -236
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +0 -158
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +0 -184
- package/typechain-types/ERC165.ts +0 -102
- package/typechain-types/ERC165Upgradeable.ts +0 -113
- package/typechain-types/IAccessControl.ts +0 -305
- package/typechain-types/IAccessControlUpgradeable.ts +0 -305
- package/typechain-types/IAggregationRouterHelper.ts +0 -108
- package/typechain-types/IERC165.ts +0 -102
- package/typechain-types/IERC165Upgradeable.ts +0 -102
- package/typechain-types/IPBulkSeller.ts +0 -290
- package/typechain-types/IPBulkSellerCallback.ts +0 -115
- package/typechain-types/IPBulkSellerFactory.ts +0 -147
- package/typechain-types/ITriCrvPool.ts +0 -345
- package/typechain-types/Initializable.ts +0 -68
- package/typechain-types/PendleConvex2TokensSY.ts +0 -1215
- package/typechain-types/PendleCurveFraxUsdcSY.ts +0 -1228
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +0 -1299
- package/typechain-types/PendleLooksStakingSY.ts +0 -1052
- package/typechain-types/ReentrancyGuardUpgradeable.ts +0 -68
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
- package/typechain-types/factories/AccessControl__factory.ts +0 -227
- package/typechain-types/factories/BeaconProxy__factory.ts +0 -141
- package/typechain-types/factories/BulkSellerFactory__factory.ts +0 -568
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +0 -88
- package/typechain-types/factories/BulkSeller__factory.ts +0 -749
- package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +0 -220
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +0 -146
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +0 -172
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
- package/typechain-types/factories/ERC165__factory.ts +0 -39
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
- package/typechain-types/factories/IAccessControl__factory.ts +0 -198
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +0 -54
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
- package/typechain-types/factories/IERC165__factory.ts +0 -42
- package/typechain-types/factories/IPBulkSellerCallback__factory.ts +0 -53
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +0 -101
- package/typechain-types/factories/IPBulkSeller__factory.ts +0 -185
- package/typechain-types/factories/ITriCrvPool__factory.ts +0 -225
- package/typechain-types/factories/Initializable__factory.ts +0 -36
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +0 -1093
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +0 -1068
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +0 -1133
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +0 -937
- package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
|
@@ -1,1133 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
PendleCurveUsdd3CrvSY,
|
|
8
|
-
PendleCurveUsdd3CrvSYInterface,
|
|
9
|
-
} from "../PendleCurveUsdd3CrvSY";
|
|
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: "DAI",
|
|
288
|
-
outputs: [
|
|
289
|
-
{
|
|
290
|
-
internalType: "address",
|
|
291
|
-
name: "",
|
|
292
|
-
type: "address",
|
|
293
|
-
},
|
|
294
|
-
],
|
|
295
|
-
stateMutability: "view",
|
|
296
|
-
type: "function",
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
inputs: [],
|
|
300
|
-
name: "DOMAIN_SEPARATOR",
|
|
301
|
-
outputs: [
|
|
302
|
-
{
|
|
303
|
-
internalType: "bytes32",
|
|
304
|
-
name: "",
|
|
305
|
-
type: "bytes32",
|
|
306
|
-
},
|
|
307
|
-
],
|
|
308
|
-
stateMutability: "view",
|
|
309
|
-
type: "function",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
inputs: [],
|
|
313
|
-
name: "INDEX_OF_3CRV",
|
|
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: "LP_3CRV",
|
|
327
|
-
outputs: [
|
|
328
|
-
{
|
|
329
|
-
internalType: "address",
|
|
330
|
-
name: "",
|
|
331
|
-
type: "address",
|
|
332
|
-
},
|
|
333
|
-
],
|
|
334
|
-
stateMutability: "view",
|
|
335
|
-
type: "function",
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
inputs: [],
|
|
339
|
-
name: "PID",
|
|
340
|
-
outputs: [
|
|
341
|
-
{
|
|
342
|
-
internalType: "uint256",
|
|
343
|
-
name: "",
|
|
344
|
-
type: "uint256",
|
|
345
|
-
},
|
|
346
|
-
],
|
|
347
|
-
stateMutability: "view",
|
|
348
|
-
type: "function",
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
inputs: [],
|
|
352
|
-
name: "POOL_3CRV",
|
|
353
|
-
outputs: [
|
|
354
|
-
{
|
|
355
|
-
internalType: "address",
|
|
356
|
-
name: "",
|
|
357
|
-
type: "address",
|
|
358
|
-
},
|
|
359
|
-
],
|
|
360
|
-
stateMutability: "view",
|
|
361
|
-
type: "function",
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
inputs: [],
|
|
365
|
-
name: "USDC",
|
|
366
|
-
outputs: [
|
|
367
|
-
{
|
|
368
|
-
internalType: "address",
|
|
369
|
-
name: "",
|
|
370
|
-
type: "address",
|
|
371
|
-
},
|
|
372
|
-
],
|
|
373
|
-
stateMutability: "view",
|
|
374
|
-
type: "function",
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
inputs: [],
|
|
378
|
-
name: "USDD",
|
|
379
|
-
outputs: [
|
|
380
|
-
{
|
|
381
|
-
internalType: "address",
|
|
382
|
-
name: "",
|
|
383
|
-
type: "address",
|
|
384
|
-
},
|
|
385
|
-
],
|
|
386
|
-
stateMutability: "view",
|
|
387
|
-
type: "function",
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
inputs: [],
|
|
391
|
-
name: "USDT",
|
|
392
|
-
outputs: [
|
|
393
|
-
{
|
|
394
|
-
internalType: "address",
|
|
395
|
-
name: "",
|
|
396
|
-
type: "address",
|
|
397
|
-
},
|
|
398
|
-
],
|
|
399
|
-
stateMutability: "view",
|
|
400
|
-
type: "function",
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
inputs: [
|
|
404
|
-
{
|
|
405
|
-
internalType: "address",
|
|
406
|
-
name: "user",
|
|
407
|
-
type: "address",
|
|
408
|
-
},
|
|
409
|
-
],
|
|
410
|
-
name: "accruedRewards",
|
|
411
|
-
outputs: [
|
|
412
|
-
{
|
|
413
|
-
internalType: "uint256[]",
|
|
414
|
-
name: "rewardAmounts",
|
|
415
|
-
type: "uint256[]",
|
|
416
|
-
},
|
|
417
|
-
],
|
|
418
|
-
stateMutability: "view",
|
|
419
|
-
type: "function",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
inputs: [
|
|
423
|
-
{
|
|
424
|
-
internalType: "address",
|
|
425
|
-
name: "owner",
|
|
426
|
-
type: "address",
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
internalType: "address",
|
|
430
|
-
name: "spender",
|
|
431
|
-
type: "address",
|
|
432
|
-
},
|
|
433
|
-
],
|
|
434
|
-
name: "allowance",
|
|
435
|
-
outputs: [
|
|
436
|
-
{
|
|
437
|
-
internalType: "uint256",
|
|
438
|
-
name: "",
|
|
439
|
-
type: "uint256",
|
|
440
|
-
},
|
|
441
|
-
],
|
|
442
|
-
stateMutability: "view",
|
|
443
|
-
type: "function",
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
inputs: [
|
|
447
|
-
{
|
|
448
|
-
internalType: "address",
|
|
449
|
-
name: "spender",
|
|
450
|
-
type: "address",
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
internalType: "uint256",
|
|
454
|
-
name: "amount",
|
|
455
|
-
type: "uint256",
|
|
456
|
-
},
|
|
457
|
-
],
|
|
458
|
-
name: "approve",
|
|
459
|
-
outputs: [
|
|
460
|
-
{
|
|
461
|
-
internalType: "bool",
|
|
462
|
-
name: "",
|
|
463
|
-
type: "bool",
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
stateMutability: "nonpayable",
|
|
467
|
-
type: "function",
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
inputs: [],
|
|
471
|
-
name: "assetInfo",
|
|
472
|
-
outputs: [
|
|
473
|
-
{
|
|
474
|
-
internalType: "enum IStandardizedYield.AssetType",
|
|
475
|
-
name: "assetType",
|
|
476
|
-
type: "uint8",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
internalType: "address",
|
|
480
|
-
name: "assetAddress",
|
|
481
|
-
type: "address",
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
internalType: "uint8",
|
|
485
|
-
name: "assetDecimals",
|
|
486
|
-
type: "uint8",
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
stateMutability: "view",
|
|
490
|
-
type: "function",
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
inputs: [
|
|
494
|
-
{
|
|
495
|
-
internalType: "address",
|
|
496
|
-
name: "account",
|
|
497
|
-
type: "address",
|
|
498
|
-
},
|
|
499
|
-
],
|
|
500
|
-
name: "balanceOf",
|
|
501
|
-
outputs: [
|
|
502
|
-
{
|
|
503
|
-
internalType: "uint256",
|
|
504
|
-
name: "",
|
|
505
|
-
type: "uint256",
|
|
506
|
-
},
|
|
507
|
-
],
|
|
508
|
-
stateMutability: "view",
|
|
509
|
-
type: "function",
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
inputs: [
|
|
513
|
-
{
|
|
514
|
-
internalType: "address",
|
|
515
|
-
name: "user",
|
|
516
|
-
type: "address",
|
|
517
|
-
},
|
|
518
|
-
],
|
|
519
|
-
name: "claimRewards",
|
|
520
|
-
outputs: [
|
|
521
|
-
{
|
|
522
|
-
internalType: "uint256[]",
|
|
523
|
-
name: "rewardAmounts",
|
|
524
|
-
type: "uint256[]",
|
|
525
|
-
},
|
|
526
|
-
],
|
|
527
|
-
stateMutability: "nonpayable",
|
|
528
|
-
type: "function",
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
inputs: [],
|
|
532
|
-
name: "crvLp",
|
|
533
|
-
outputs: [
|
|
534
|
-
{
|
|
535
|
-
internalType: "address",
|
|
536
|
-
name: "",
|
|
537
|
-
type: "address",
|
|
538
|
-
},
|
|
539
|
-
],
|
|
540
|
-
stateMutability: "view",
|
|
541
|
-
type: "function",
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
inputs: [],
|
|
545
|
-
name: "crvPool",
|
|
546
|
-
outputs: [
|
|
547
|
-
{
|
|
548
|
-
internalType: "address",
|
|
549
|
-
name: "",
|
|
550
|
-
type: "address",
|
|
551
|
-
},
|
|
552
|
-
],
|
|
553
|
-
stateMutability: "view",
|
|
554
|
-
type: "function",
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
inputs: [],
|
|
558
|
-
name: "cvxPid",
|
|
559
|
-
outputs: [
|
|
560
|
-
{
|
|
561
|
-
internalType: "uint256",
|
|
562
|
-
name: "",
|
|
563
|
-
type: "uint256",
|
|
564
|
-
},
|
|
565
|
-
],
|
|
566
|
-
stateMutability: "view",
|
|
567
|
-
type: "function",
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
inputs: [],
|
|
571
|
-
name: "cvxRewardManager",
|
|
572
|
-
outputs: [
|
|
573
|
-
{
|
|
574
|
-
internalType: "address",
|
|
575
|
-
name: "",
|
|
576
|
-
type: "address",
|
|
577
|
-
},
|
|
578
|
-
],
|
|
579
|
-
stateMutability: "view",
|
|
580
|
-
type: "function",
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
inputs: [],
|
|
584
|
-
name: "decimals",
|
|
585
|
-
outputs: [
|
|
586
|
-
{
|
|
587
|
-
internalType: "uint8",
|
|
588
|
-
name: "",
|
|
589
|
-
type: "uint8",
|
|
590
|
-
},
|
|
591
|
-
],
|
|
592
|
-
stateMutability: "view",
|
|
593
|
-
type: "function",
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
inputs: [
|
|
597
|
-
{
|
|
598
|
-
internalType: "address",
|
|
599
|
-
name: "receiver",
|
|
600
|
-
type: "address",
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
internalType: "address",
|
|
604
|
-
name: "tokenIn",
|
|
605
|
-
type: "address",
|
|
606
|
-
},
|
|
607
|
-
{
|
|
608
|
-
internalType: "uint256",
|
|
609
|
-
name: "amountTokenToDeposit",
|
|
610
|
-
type: "uint256",
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
internalType: "uint256",
|
|
614
|
-
name: "minSharesOut",
|
|
615
|
-
type: "uint256",
|
|
616
|
-
},
|
|
617
|
-
],
|
|
618
|
-
name: "deposit",
|
|
619
|
-
outputs: [
|
|
620
|
-
{
|
|
621
|
-
internalType: "uint256",
|
|
622
|
-
name: "amountSharesOut",
|
|
623
|
-
type: "uint256",
|
|
624
|
-
},
|
|
625
|
-
],
|
|
626
|
-
stateMutability: "payable",
|
|
627
|
-
type: "function",
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
inputs: [],
|
|
631
|
-
name: "exchangeRate",
|
|
632
|
-
outputs: [
|
|
633
|
-
{
|
|
634
|
-
internalType: "uint256",
|
|
635
|
-
name: "",
|
|
636
|
-
type: "uint256",
|
|
637
|
-
},
|
|
638
|
-
],
|
|
639
|
-
stateMutability: "view",
|
|
640
|
-
type: "function",
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
inputs: [],
|
|
644
|
-
name: "getRewardTokens",
|
|
645
|
-
outputs: [
|
|
646
|
-
{
|
|
647
|
-
internalType: "address[]",
|
|
648
|
-
name: "rewardTokens",
|
|
649
|
-
type: "address[]",
|
|
650
|
-
},
|
|
651
|
-
],
|
|
652
|
-
stateMutability: "view",
|
|
653
|
-
type: "function",
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
inputs: [],
|
|
657
|
-
name: "getTokensIn",
|
|
658
|
-
outputs: [
|
|
659
|
-
{
|
|
660
|
-
internalType: "address[]",
|
|
661
|
-
name: "res",
|
|
662
|
-
type: "address[]",
|
|
663
|
-
},
|
|
664
|
-
],
|
|
665
|
-
stateMutability: "view",
|
|
666
|
-
type: "function",
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
inputs: [],
|
|
670
|
-
name: "getTokensOut",
|
|
671
|
-
outputs: [
|
|
672
|
-
{
|
|
673
|
-
internalType: "address[]",
|
|
674
|
-
name: "res",
|
|
675
|
-
type: "address[]",
|
|
676
|
-
},
|
|
677
|
-
],
|
|
678
|
-
stateMutability: "view",
|
|
679
|
-
type: "function",
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
inputs: [
|
|
683
|
-
{
|
|
684
|
-
internalType: "address",
|
|
685
|
-
name: "token",
|
|
686
|
-
type: "address",
|
|
687
|
-
},
|
|
688
|
-
],
|
|
689
|
-
name: "isValidTokenIn",
|
|
690
|
-
outputs: [
|
|
691
|
-
{
|
|
692
|
-
internalType: "bool",
|
|
693
|
-
name: "res",
|
|
694
|
-
type: "bool",
|
|
695
|
-
},
|
|
696
|
-
],
|
|
697
|
-
stateMutability: "view",
|
|
698
|
-
type: "function",
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
inputs: [
|
|
702
|
-
{
|
|
703
|
-
internalType: "address",
|
|
704
|
-
name: "token",
|
|
705
|
-
type: "address",
|
|
706
|
-
},
|
|
707
|
-
],
|
|
708
|
-
name: "isValidTokenOut",
|
|
709
|
-
outputs: [
|
|
710
|
-
{
|
|
711
|
-
internalType: "bool",
|
|
712
|
-
name: "res",
|
|
713
|
-
type: "bool",
|
|
714
|
-
},
|
|
715
|
-
],
|
|
716
|
-
stateMutability: "view",
|
|
717
|
-
type: "function",
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
inputs: [],
|
|
721
|
-
name: "lastRewardBlock",
|
|
722
|
-
outputs: [
|
|
723
|
-
{
|
|
724
|
-
internalType: "uint256",
|
|
725
|
-
name: "",
|
|
726
|
-
type: "uint256",
|
|
727
|
-
},
|
|
728
|
-
],
|
|
729
|
-
stateMutability: "view",
|
|
730
|
-
type: "function",
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
inputs: [],
|
|
734
|
-
name: "name",
|
|
735
|
-
outputs: [
|
|
736
|
-
{
|
|
737
|
-
internalType: "string",
|
|
738
|
-
name: "",
|
|
739
|
-
type: "string",
|
|
740
|
-
},
|
|
741
|
-
],
|
|
742
|
-
stateMutability: "view",
|
|
743
|
-
type: "function",
|
|
744
|
-
},
|
|
745
|
-
{
|
|
746
|
-
inputs: [
|
|
747
|
-
{
|
|
748
|
-
internalType: "address",
|
|
749
|
-
name: "owner",
|
|
750
|
-
type: "address",
|
|
751
|
-
},
|
|
752
|
-
],
|
|
753
|
-
name: "nonces",
|
|
754
|
-
outputs: [
|
|
755
|
-
{
|
|
756
|
-
internalType: "uint256",
|
|
757
|
-
name: "",
|
|
758
|
-
type: "uint256",
|
|
759
|
-
},
|
|
760
|
-
],
|
|
761
|
-
stateMutability: "view",
|
|
762
|
-
type: "function",
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
inputs: [
|
|
766
|
-
{
|
|
767
|
-
internalType: "address",
|
|
768
|
-
name: "owner",
|
|
769
|
-
type: "address",
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
internalType: "address",
|
|
773
|
-
name: "spender",
|
|
774
|
-
type: "address",
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
internalType: "uint256",
|
|
778
|
-
name: "value",
|
|
779
|
-
type: "uint256",
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
internalType: "uint256",
|
|
783
|
-
name: "deadline",
|
|
784
|
-
type: "uint256",
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
internalType: "uint8",
|
|
788
|
-
name: "v",
|
|
789
|
-
type: "uint8",
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
internalType: "bytes32",
|
|
793
|
-
name: "r",
|
|
794
|
-
type: "bytes32",
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
internalType: "bytes32",
|
|
798
|
-
name: "s",
|
|
799
|
-
type: "bytes32",
|
|
800
|
-
},
|
|
801
|
-
],
|
|
802
|
-
name: "permit",
|
|
803
|
-
outputs: [],
|
|
804
|
-
stateMutability: "nonpayable",
|
|
805
|
-
type: "function",
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
inputs: [
|
|
809
|
-
{
|
|
810
|
-
internalType: "address",
|
|
811
|
-
name: "tokenIn",
|
|
812
|
-
type: "address",
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
internalType: "uint256",
|
|
816
|
-
name: "amountTokenToDeposit",
|
|
817
|
-
type: "uint256",
|
|
818
|
-
},
|
|
819
|
-
],
|
|
820
|
-
name: "previewDeposit",
|
|
821
|
-
outputs: [
|
|
822
|
-
{
|
|
823
|
-
internalType: "uint256",
|
|
824
|
-
name: "amountSharesOut",
|
|
825
|
-
type: "uint256",
|
|
826
|
-
},
|
|
827
|
-
],
|
|
828
|
-
stateMutability: "view",
|
|
829
|
-
type: "function",
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
inputs: [
|
|
833
|
-
{
|
|
834
|
-
internalType: "address",
|
|
835
|
-
name: "tokenOut",
|
|
836
|
-
type: "address",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "uint256",
|
|
840
|
-
name: "amountSharesToRedeem",
|
|
841
|
-
type: "uint256",
|
|
842
|
-
},
|
|
843
|
-
],
|
|
844
|
-
name: "previewRedeem",
|
|
845
|
-
outputs: [
|
|
846
|
-
{
|
|
847
|
-
internalType: "uint256",
|
|
848
|
-
name: "amountTokenOut",
|
|
849
|
-
type: "uint256",
|
|
850
|
-
},
|
|
851
|
-
],
|
|
852
|
-
stateMutability: "view",
|
|
853
|
-
type: "function",
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
inputs: [
|
|
857
|
-
{
|
|
858
|
-
internalType: "address",
|
|
859
|
-
name: "receiver",
|
|
860
|
-
type: "address",
|
|
861
|
-
},
|
|
862
|
-
{
|
|
863
|
-
internalType: "uint256",
|
|
864
|
-
name: "amountSharesToRedeem",
|
|
865
|
-
type: "uint256",
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
internalType: "address",
|
|
869
|
-
name: "tokenOut",
|
|
870
|
-
type: "address",
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
internalType: "uint256",
|
|
874
|
-
name: "minTokenOut",
|
|
875
|
-
type: "uint256",
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
internalType: "bool",
|
|
879
|
-
name: "burnFromInternalBalance",
|
|
880
|
-
type: "bool",
|
|
881
|
-
},
|
|
882
|
-
],
|
|
883
|
-
name: "redeem",
|
|
884
|
-
outputs: [
|
|
885
|
-
{
|
|
886
|
-
internalType: "uint256",
|
|
887
|
-
name: "amountTokenOut",
|
|
888
|
-
type: "uint256",
|
|
889
|
-
},
|
|
890
|
-
],
|
|
891
|
-
stateMutability: "nonpayable",
|
|
892
|
-
type: "function",
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
inputs: [],
|
|
896
|
-
name: "rewardIndexesCurrent",
|
|
897
|
-
outputs: [
|
|
898
|
-
{
|
|
899
|
-
internalType: "uint256[]",
|
|
900
|
-
name: "indexes",
|
|
901
|
-
type: "uint256[]",
|
|
902
|
-
},
|
|
903
|
-
],
|
|
904
|
-
stateMutability: "nonpayable",
|
|
905
|
-
type: "function",
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
inputs: [],
|
|
909
|
-
name: "rewardIndexesStored",
|
|
910
|
-
outputs: [
|
|
911
|
-
{
|
|
912
|
-
internalType: "uint256[]",
|
|
913
|
-
name: "indexes",
|
|
914
|
-
type: "uint256[]",
|
|
915
|
-
},
|
|
916
|
-
],
|
|
917
|
-
stateMutability: "view",
|
|
918
|
-
type: "function",
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
inputs: [
|
|
922
|
-
{
|
|
923
|
-
internalType: "address",
|
|
924
|
-
name: "",
|
|
925
|
-
type: "address",
|
|
926
|
-
},
|
|
927
|
-
],
|
|
928
|
-
name: "rewardState",
|
|
929
|
-
outputs: [
|
|
930
|
-
{
|
|
931
|
-
internalType: "uint128",
|
|
932
|
-
name: "index",
|
|
933
|
-
type: "uint128",
|
|
934
|
-
},
|
|
935
|
-
{
|
|
936
|
-
internalType: "uint128",
|
|
937
|
-
name: "lastBalance",
|
|
938
|
-
type: "uint128",
|
|
939
|
-
},
|
|
940
|
-
],
|
|
941
|
-
stateMutability: "view",
|
|
942
|
-
type: "function",
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
inputs: [],
|
|
946
|
-
name: "symbol",
|
|
947
|
-
outputs: [
|
|
948
|
-
{
|
|
949
|
-
internalType: "string",
|
|
950
|
-
name: "",
|
|
951
|
-
type: "string",
|
|
952
|
-
},
|
|
953
|
-
],
|
|
954
|
-
stateMutability: "view",
|
|
955
|
-
type: "function",
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
inputs: [],
|
|
959
|
-
name: "totalSupply",
|
|
960
|
-
outputs: [
|
|
961
|
-
{
|
|
962
|
-
internalType: "uint256",
|
|
963
|
-
name: "",
|
|
964
|
-
type: "uint256",
|
|
965
|
-
},
|
|
966
|
-
],
|
|
967
|
-
stateMutability: "view",
|
|
968
|
-
type: "function",
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
inputs: [
|
|
972
|
-
{
|
|
973
|
-
internalType: "address",
|
|
974
|
-
name: "to",
|
|
975
|
-
type: "address",
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
internalType: "uint256",
|
|
979
|
-
name: "amount",
|
|
980
|
-
type: "uint256",
|
|
981
|
-
},
|
|
982
|
-
],
|
|
983
|
-
name: "transfer",
|
|
984
|
-
outputs: [
|
|
985
|
-
{
|
|
986
|
-
internalType: "bool",
|
|
987
|
-
name: "",
|
|
988
|
-
type: "bool",
|
|
989
|
-
},
|
|
990
|
-
],
|
|
991
|
-
stateMutability: "nonpayable",
|
|
992
|
-
type: "function",
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
inputs: [
|
|
996
|
-
{
|
|
997
|
-
internalType: "address",
|
|
998
|
-
name: "from",
|
|
999
|
-
type: "address",
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
internalType: "address",
|
|
1003
|
-
name: "to",
|
|
1004
|
-
type: "address",
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
internalType: "uint256",
|
|
1008
|
-
name: "amount",
|
|
1009
|
-
type: "uint256",
|
|
1010
|
-
},
|
|
1011
|
-
],
|
|
1012
|
-
name: "transferFrom",
|
|
1013
|
-
outputs: [
|
|
1014
|
-
{
|
|
1015
|
-
internalType: "bool",
|
|
1016
|
-
name: "",
|
|
1017
|
-
type: "bool",
|
|
1018
|
-
},
|
|
1019
|
-
],
|
|
1020
|
-
stateMutability: "nonpayable",
|
|
1021
|
-
type: "function",
|
|
1022
|
-
},
|
|
1023
|
-
{
|
|
1024
|
-
inputs: [
|
|
1025
|
-
{
|
|
1026
|
-
internalType: "address",
|
|
1027
|
-
name: "",
|
|
1028
|
-
type: "address",
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
internalType: "address",
|
|
1032
|
-
name: "",
|
|
1033
|
-
type: "address",
|
|
1034
|
-
},
|
|
1035
|
-
],
|
|
1036
|
-
name: "userReward",
|
|
1037
|
-
outputs: [
|
|
1038
|
-
{
|
|
1039
|
-
internalType: "uint128",
|
|
1040
|
-
name: "index",
|
|
1041
|
-
type: "uint128",
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
internalType: "uint128",
|
|
1045
|
-
name: "accrued",
|
|
1046
|
-
type: "uint128",
|
|
1047
|
-
},
|
|
1048
|
-
],
|
|
1049
|
-
stateMutability: "view",
|
|
1050
|
-
type: "function",
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
inputs: [],
|
|
1054
|
-
name: "yieldToken",
|
|
1055
|
-
outputs: [
|
|
1056
|
-
{
|
|
1057
|
-
internalType: "address",
|
|
1058
|
-
name: "",
|
|
1059
|
-
type: "address",
|
|
1060
|
-
},
|
|
1061
|
-
],
|
|
1062
|
-
stateMutability: "view",
|
|
1063
|
-
type: "function",
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
stateMutability: "payable",
|
|
1067
|
-
type: "receive",
|
|
1068
|
-
},
|
|
1069
|
-
];
|
|
1070
|
-
|
|
1071
|
-
const _bytecode =
|
|
1072
|
-
"0x6102006040523480156200001257600080fd5b5060405162005ef138038062005ef183398101604081905262000035916200070c565b8181606073e6b5cc1b4b47305c58392ce3d359b10282fc36ea808484838282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000096573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000bc919062000776565b6040805180820190915260018152603160f81b602082015283908184846003620000e7848262000831565b506004620000f6838262000831565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001a98184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b039384166101605250505061018089905286166101c05250620001e9935086925050620003459050565b6001600160a01b039081166101a0529081166101e0819052908316146200022357604051631738e62160e11b815260040160405180910390fd5b6101e0516200024a9073f403c135812408bfbe8713b5a23a04b3d48aae3160001962000467565b505050505062000278730c10bf8fcb7bf5412187a595ab97a3609160b5c66101c0516200057e60201b60201c565b620002a1736c3f90f043a72fa612cbac8115ee7e52bde6e4906101c0516200057e60201b60201c565b620002d5736b175474e89094c44da98b954eedeac495271d0f73bebc44782c7db0a1a60cb6fe97d0b483032ff1c76200057e565b6200030973a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873bebc44782c7db0a1a60cb6fe97d0b483032ff1c76200057e565b6200033d73dac17f958d2ee523a2206206994597c13d831ec773bebc44782c7db0a1a60cb6fe97d0b483032ff1c76200057e565b505062000a37565b60008073f403c135812408bfbe8713b5a23a04b3d48aae316001600160a01b031663081e3eda6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200039b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c19190620008fd565b831115620003e257604051631738e62160e11b815260040160405180910390fd5b604051631526fe2760e01b81526004810184905273f403c135812408bfbe8713b5a23a04b3d48aae3190631526fe279060240160c060405180830381865afa15801562000433573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000459919062000945565b509397909650945050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620004c59190620009c6565b6000604051808303816000865af19150503d806000811462000504576040519150601f19603f3d011682016040523d82523d6000602084013e62000509565b606091505b50915091508180156200053757508051158062000537575080806020019051810190620005379190620009e4565b620005775760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b6001600160a01b03821662000591575050565b620005a560026001600160601b0362000a02565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620005ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006259190620008fd565b10156200063b576200063b828260001962000467565b5050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200067257818101518382015260200162000658565b50506000910152565b600082601f8301126200068d57600080fd5b81516001600160401b0380821115620006aa57620006aa6200063f565b604051601f8301601f19908116603f01168101908282118183101715620006d557620006d56200063f565b81604052838152866020858801011115620006ef57600080fd5b6200070284602083016020890162000655565b9695505050505050565b600080604083850312156200072057600080fd5b82516001600160401b03808211156200073857600080fd5b62000746868387016200067b565b935060208501519150808211156200075d57600080fd5b506200076c858286016200067b565b9150509250929050565b6000602082840312156200078957600080fd5b815160ff811681146200079b57600080fd5b9392505050565b600181811c90821680620007b757607f821691505b602082108103620007d857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200082c57600081815260208120601f850160051c81016020861015620008075750805b601f850160051c820191505b81811015620008285782815560010162000813565b5050505b505050565b81516001600160401b038111156200084d576200084d6200063f565b62000865816200085e8454620007a2565b84620007de565b602080601f8311600181146200089d5760008415620008845750858301515b600019600386901b1c1916600185901b17855562000828565b600085815260208120601f198616915b82811015620008ce57888601518255948401946001909101908401620008ad565b5085821015620008ed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200091057600080fd5b5051919050565b80516001600160a01b03811681146200092f57600080fd5b919050565b805180151581146200092f57600080fd5b60008060008060008060c087890312156200095f57600080fd5b6200096a8762000917565b95506200097a6020880162000917565b94506200098a6040880162000917565b93506200099a6060880162000917565b9250620009aa6080880162000917565b9150620009ba60a0880162000934565b90509295509295509295565b60008251620009da81846020870162000655565b9190910192915050565b600060208284031215620009f757600080fd5b6200079b8262000934565b60006001600160601b038381168062000a2b57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516153b162000b40600039600081816105dd015281816109520152818161100f015281816110c9015281816110ea015281816118590152818161204501528181612114015281816121600152818161280a015261291701526000818161070701528181610e1b01528181612895015281816129c80152612bca0152600081816102ac01528181611fcd0152612fce01526000818161042401526118b30152600061056901526000611d8a01526000611dd901526000611db401526000611d0d01526000611d3701526000611d610152600061039201526153b16000f3fe6080604052600436106102115760003560e01c806306fdde031461021d578063071bc3c914610248578063095ea7b31461026a5780630b1e10311461029a578063128fced1146102db57806318160ddd146103085780631fcc3d291461032b57806320e8c5651461034d578063213cae631461024857806323b872dd14610360578063313ce5671461038057806332c8ffa3146103c65780633644e515146103e85780633ba0b9a9146103fd57806347aea09f146104125780635cbadbe4146104465780635eaec0e4146104b257806370a08231146104c7578063759cb53b146104e757806375b0ffd11461050f578063769f8e5d1461053757806376d5de8514610557578063784367d61461058b5780637ecebe00146105ab5780637f44579b146105cb57806389a30271146105ff578063945c91421461062757806395d89b411461064f5780639c7aad3414610664578063a3abb14414610686578063a40bee501461069b578063a9059cbb146106bf578063a9f8d181146106df578063b20fdc0d146106f5578063b8f82b2614610729578063c4f59f9b14610749578063c54e44eb1461075e578063cbe52ae314610786578063d505accf146107a6578063da88ecb4146107c8578063dd62ed3e146107dd578063e0bab4c4146107fd578063ea64a82014610825578063ef5cfb8c14610866578063f8b2f99114610886578063fa5a4f061461058b57600080fd5b3661021857005b600080fd5b34801561022957600080fd5b5061023261089b565b60405161023f9190614ccf565b60405180910390f35b34801561025457600080fd5b5061025d61092d565b60405161023f9190614d46565b34801561027657600080fd5b5061028a610285366004614d75565b610b03565b604051901515815260200161023f565b3480156102a657600080fd5b506102ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405161023f9190614d9f565b3480156102e757600080fd5b506102fb6102f6366004614db3565b610b1d565b60405161023f9190614dfe565b34801561031457600080fd5b5061031d610c29565b60405190815260200161023f565b34801561033757600080fd5b506102ce60008051602061533c83398151915281565b61031d61035b366004614e11565b610c38565b34801561036c57600080fd5b5061028a61037b366004614e53565b610d8a565b34801561038c57600080fd5b506103b47f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161023f565b3480156103d257600080fd5b506102ce6000805160206152fc83398151915281565b3480156103f457600080fd5b5061031d610e08565b34801561040957600080fd5b5061031d610e17565b34801561041e57600080fd5b5061031d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561045257600080fd5b50610492610461366004614e8f565b60066020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161023f565b3480156104be57600080fd5b5061031d606081565b3480156104d357600080fd5b5061031d6104e2366004614db3565b610e9b565b3480156104f357600080fd5b506102ce734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b34801561051b57600080fd5b506102ce73f403c135812408bfbe8713b5a23a04b3d48aae3181565b34801561054357600080fd5b5061031d610552366004614ed0565b610eb6565b34801561056357600080fd5b506102ce7f000000000000000000000000000000000000000000000000000000000000000081565b34801561059757600080fd5b5061028a6105a6366004614db3565b61100b565b3480156105b757600080fd5b5061031d6105c6366004614db3565b611093565b3480156105d757600080fd5b506102ce7f000000000000000000000000000000000000000000000000000000000000000081565b34801561060b57600080fd5b506102ce73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b34801561063357600080fd5b506102ce73d533a949740bb3306d119cc777fa900ba034cd5281565b34801561065b57600080fd5b506102326110b1565b34801561067057600080fd5b506102ce60008051602061531c83398151915281565b34801561069257600080fd5b5061031d600181565b3480156106a757600080fd5b506106b06110c0565b60405161023f93929190614f41565b3480156106cb57600080fd5b5061028a6106da366004614d75565b611175565b3480156106eb57600080fd5b5061031d60075481565b34801561070157600080fd5b506102ce7f000000000000000000000000000000000000000000000000000000000000000081565b34801561073557600080fd5b5061031d610744366004614d75565b6111e7565b34801561075557600080fd5b5061025d611222565b34801561076a57600080fd5b506102ce73dac17f958d2ee523a2206206994597c13d831ec781565b34801561079257600080fd5b5061031d6107a1366004614d75565b61122c565b3480156107b257600080fd5b506107c66107c1366004614f92565b611260565b005b3480156107d457600080fd5b506102fb6113c4565b3480156107e957600080fd5b5061031d6107f8366004614e8f565b611495565b34801561080957600080fd5b506102ce736b175474e89094c44da98b954eedeac495271d0f81565b34801561083157600080fd5b50610492610840366004614db3565b6008602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561087257600080fd5b506102fb610881366004614db3565b6114c0565b34801561089257600080fd5b506102fb61157f565b6060600380546108aa90614fff565b80601f01602080910402602001604051908101604052809291908181526020018280546108d690614fff565b80156109235780601f106108f857610100808354040283529160200191610923565b820191906000526020600020905b81548152906001019060200180831161090657829003601f168201915b5050505050905090565b60408051600680825260e082019092526060916020820160c0803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061098457610984615049565b60200260200101906001600160a01b031690816001600160a01b0316815250506000805160206152fc833981519152816001815181106109c6576109c6615049565b60200260200101906001600160a01b031690816001600160a01b03168152505060008051602061531c83398151915281600281518110610a0857610a08615049565b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600381518110610a5057610a50615049565b60200260200101906001600160a01b031690816001600160a01b03168152505073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881600481518110610a9857610a98615049565b60200260200101906001600160a01b031690816001600160a01b03168152505073dac17f958d2ee523a2206206994597c13d831ec781600581518110610ae057610ae0615049565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b600033610b118185856115f1565b60019150505b92915050565b60606000610b29611715565b905080516001600160401b03811115610b4457610b44615033565b604051908082528060200260200182016040528015610b6d578160200160208202803683370190505b50915060005b8151811015610c225760066000838381518110610b9257610b92615049565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610c0f57610c0f615049565b6020908102919091010152600101610b73565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610c725760405162461bcd60e51b8152600401610c699061505f565b60405180910390fd5b600280546001600160f81b0316600160f91b179055610c908461100b565b610caf57836040516315d57ce360e31b8152600401610c699190614d9f565b82600003610cd057604051630a907f2f60e41b815260040160405180910390fd5b610cdb8433856117e9565b610ce58484611855565b905081811015610d0c578082604051635e38f95d60e11b8152600401610c69929190615096565b610d16858261194e565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610d65929190615096565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610dbb5760405162461bcd60e51b8152600401610c699061505f565b600280546001600160f81b0316600160f91b17905533610ddc858285611a64565b610de7858585611ade565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000610e12611d00565b905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bb7b8b806040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1291906150a4565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff1601610ee75760405162461bcd60e51b8152600401610c699061505f565b600280546001600160f81b0316600160f91b179055610f058461100b565b610f2457836040516388a5056160e01b8152600401610c699190614d9f565b84600003610f455760405163c3d83b0760e01b815260040160405180910390fd5b8115610f5a57610f553086611e27565b610f64565b610f643386611e27565b610f6f868587611fad565b905082811015610f965780836040516305ff726560e51b8152600401610c69929190615096565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610fe5929190615096565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148061106357506001600160a01b0382166000805160206152fc833981519152145b8061108457506001600160a01b03821660008051602061531c833981519152145b80610b175750610b178261209b565b6001600160a01b038116600090815260056020526040812054610b17565b6060600480546108aa90614fff565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116a91906150bd565b925092509250909192565b600254600090600119600160f81b90910460ff16016111a65760405162461bcd60e51b8152600401610c699061505f565b600280546001600160f81b0316600160f91b179055336111c7818585611ade565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60006111f28361100b565b61121157826040516315d57ce360e31b8152600401610c699190614d9f565b61121b8383612110565b9392505050565b6060610e12611715565b60006112378361100b565b61125657826040516388a5056160e01b8152600401610c699190614d9f565b61121b838361215c565b834211156112b05760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610c69565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112df8c6121a8565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061133a826121d0565b9050600061134a8287878761221e565b9050896001600160a01b0316816001600160a01b0316146113ad5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610c69565b6113b88a8a8a6115f1565b50505050505050505050565b606060006113d0611715565b905080516001600160401b038111156113eb576113eb615033565b604051908082528060200260200182016040528015611414578160200160208202803683370190505b50915060005b8151811015611490576008600083838151811061143957611439615049565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b039091169084908390811061147d5761147d615049565b602090810291909101015260010161141a565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff16016114f15760405162461bcd60e51b8152600401610c699061505f565b600280546001600160f81b0316600160f91b17905561150f82612246565b6115198283612254565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f61154e611715565b8360405161155d9291906150da565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff16016115b05760405162461bcd60e51b8152600401610c699061505f565b600280546001600160f81b0316600160f91b1790556115cd6124fc565b50506115d76113c4565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b0383166116535760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c69565b6001600160a01b0382166116b45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c69565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604080516003808252608082019092526060916020820183803683370190505090506000805160206152fc8339815191528160008151811061175957611759615049565b60200260200101906001600160a01b031690816001600160a01b03168152505073d533a949740bb3306d119cc777fa900ba034cd52816001815181106117a1576117a1615049565b60200260200101906001600160a01b031690816001600160a01b031681525050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81600281518110610ae057610ae0615049565b6001600160a01b03831661183a578034146118355760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610c69565b505050565b8015611835576118356001600160a01b038416833084612797565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036118975750806118a4565b6118a18383612802565b90505b6040516321d0683360e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152602481018290526001604482015273f403c135812408bfbe8713b5a23a04b3d48aae31906343a0d066906064016020604051808303816000875af1158015611923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194791906150ff565b5092915050565b6001600160a01b0382166119a45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c69565b6119b06000838361294e565b6119b981612958565b600280546000906119d49084906001600160f81b0316615132565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254611a2c9190615152565b90915550506040518181526001600160a01b0383169060009060008051602061535c8339815191529060200160405180910390a35050565b6000611a708484611495565b90506000198114611ad85781811015611acb5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c69565b611ad884848484036115f1565b50505050565b6001600160a01b038316611b425760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c69565b6001600160a01b038216611ba45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c69565b816001600160a01b0316836001600160a01b031603611bff5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610c69565b611c0a83838361294e565b6001600160a01b03831660009081526020819052604090205481811015611c825760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c69565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611cb9908490615152565b92505081905550826001600160a01b0316846001600160a01b031660008051602061535c83398151915284604051611cf391815260200190565b60405180910390a3611ad8565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611d5957507f000000000000000000000000000000000000000000000000000000000000000046145b15611d8357507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216611e875760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c69565b611e938260008361294e565b6001600160a01b03821660009081526020819052604090205481811015611f075760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c69565b6001600160a01b03831660009081526020819052604090208282039055611f2d82612958565b60028054600090611f489084906001600160f81b0316615165565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b031660008051602061535c83398151915284604051611fa091815260200190565b60405180910390a3505050565b604051636197390160e11b815260048101829052600060248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e7202906044016020604051808303816000875af115801561201e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204291906150ff565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612083575080612090565b61208d8383612972565b90505b61121b838583612aaf565b60006001600160a01b038216736b175474e89094c44da98b954eedeac495271d0f14806120e457506001600160a01b03821673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b80610b1757506001600160a01b03821673dac17f958d2ee523a2206206994597c13d831ec71492915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612152575080610b17565b61121b8383612b73565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361219e575080610b17565b61121b8383612b7f565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610b176121dd611d00565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061222f87878787612c98565b9150915061223c81612d7b565b5095945050505050565b612251816000612f2c565b50565b60606000612260611715565b905080516001600160401b0381111561227b5761227b615033565b6040519080825280602002602001820160405280156122a4578160200160208202803683370190505b50915060005b81518110156124f457600660008383815181106122c9576122c9615049565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061234657612346615049565b60200260200101818152505082818151811061236457612364615049565b60200260200101516000146124e25760006006600084848151811061238b5761238b615049565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061241f83828151811061241257612412615049565b6020026020010151612fac565b6008600084848151811061243557612435615049565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b03166124819190615185565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506124e28282815181106124ba576124ba615049565b6020026020010151858584815181106124d5576124d5615049565b6020026020010151612aaf565b806124ec816151a5565b9150506122aa565b505092915050565b606080612507611715565b915081516001600160401b0381111561252257612522615033565b60405190808252806020026020018201604052801561254b578160200160208202803683370190505b509050815160000361255b579091565b436007541461270f57436007556000612572612fc2565b905061257c612fcc565b60005b835181101561270c57600084828151811061259c5761259c615049565b6020908102919091018101516001600160a01b0381166000908152600890925260408220548751919350600160801b90046001600160801b0316906125fa908890869081106125ed576125ed615049565b602002602001015161303b565b61260491906151be565b6001600160a01b0383166000908152600860205260408120549192506001600160801b0390911690819003612637575060015b84156126545761264782866130c5565b6126519082615152565b90505b61265d81612fac565b6001600160a01b038416600090815260086020526040902080546001600160801b0319166001600160801b039290921691909117905561269c82612fac565b6001600160a01b038416600090815260086020526040902080546010906126d4908490600160801b90046001600160801b03166151d1565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555050505080612705906151a5565b905061257f565b50505b60005b8251811015612792576008600084838151811061273157612731615049565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061277557612775615049565b60209081029190910101528061278a816151a5565b915050612712565b509091565b6040516001600160a01b0380851660248301528316604482015260648101829052611ad89085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526130f4565b60008061282e7f000000000000000000000000000000000000000000000000000000000000000061303b565b9050612838614c6f565b6128418561209b565b1561285d57600061285286866131c6565b60208301525061287e565b83816128688761332f565b6002811061287857612878615049565b60200201525b604051630b4c7e4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630b4c7e4d906128cd9084906000906004016151f1565b6020604051808303816000875af11580156128ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061291091906150a4565b508161293b7f000000000000000000000000000000000000000000000000000000000000000061303b565b61294591906151be565b95945050505050565b6118358383612f2c565b60006001600160f81b0382111561296e57600080fd5b5090565b6000806001600160a01b0384166000805160206152fc833981519152146129a75760008051602061531c8339815191526129b7565b6000805160206152fc8339815191525b905060006129c48261303b565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a4d01d285612a07612a028661332f565b613362565b60006040518463ffffffff1660e01b8152600401612a2793929190615229565b6020604051808303816000875af1158015612a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6a91906150a4565b50600081612a778461303b565b612a8191906151be565b9050612a8c8661209b565b15612aa257612a9b8682613375565b9350612aa6565b8093505b50505092915050565b80600003612abc57505050565b6001600160a01b038316612b5f576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b17576040519150601f19603f3d011682016040523d82523d6000602084013e612b1c565b606091505b5050905080611ad85760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610c69565b6118356001600160a01b0384168383613489565b600061121b83836134b9565b6000806001600160a01b0384166000805160206152fc83398151915214612bb45760008051602061531c833981519152612bc4565b6000805160206152fc8339815191525b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cc2b27d785612c04612a028661332f565b6040516001600160e01b031960e085901b1681526004810192909252600f0b6024820152604401602060405180830381865afa158015612c48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6c91906150a4565b9050612c778561209b565b15612c8f57612c8685826138d8565b92505050610b17565b9150610b179050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612cc55750600090506003612d72565b8460ff16601b14158015612cdd57508460ff16601c14155b15612cee5750600090506004612d72565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612d42573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612d6b57600060019250925050612d72565b9150600090505b94509492505050565b6000816004811115612d8f57612d8f614f2b565b03612d975750565b6001816004811115612dab57612dab614f2b565b03612df35760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610c69565b6002816004811115612e0757612e07614f2b565b03612e545760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c69565b6003816004811115612e6857612e68614f2b565b03612ec05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c69565b6004816004811115612ed457612ed4614f2b565b036122515760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c69565b600080612f376124fc565b915091508151600003612f4a5750505050565b6001600160a01b03841615801590612f6b57506001600160a01b0384163014155b15612f7b57612f7b848383613963565b6001600160a01b03831615801590612f9c57506001600160a01b0383163014155b15611ad857611ad8838383613963565b60006001600160801b0382111561296e57600080fd5b6000610e12610c29565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561302757600080fd5b505af1158015611ad8573d6000803e3d6000fd5b60006001600160a01b038216156130be576040516370a0823160e01b81526001600160a01b038316906370a0823190613078903090600401614d9f565b602060405180830381865afa158015613095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b991906150a4565b610b17565b4792915050565b6000806130da670de0b6b3a764000085615242565b90508281816130eb576130eb615259565b04949350505050565b6000613149826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613be39092919063ffffffff16565b805190915015611835578080602001905181019061316791906150ff565b6118355760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c69565b6040516370a0823160e01b8152600090819060008051602061531c833981519152906370a08231906131fc903090600401614d9f565b602060405180830381865afa158015613219573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061323d91906150a4565b905060008051602061533c833981519152634515cef361325d8686613bfa565b60006040518363ffffffff1660e01b815260040161327c92919061526f565b600060405180830381600087803b15801561329657600080fd5b505af11580156132aa573d6000803e3d6000fd5b50506040516370a0823160e01b81526000925060008051602061531c83398151915291506370a08231906132e2903090600401614d9f565b602060405180830381865afa1580156132ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061332391906150a4565b905061294582826151be565b60006001600160a01b0382166000805160206152fc83398151915214613356576001613359565b60005b60ff1692915050565b6000610b1761337083613c28565b613c3e565b600080836001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016133a49190614d9f565b602060405180830381865afa1580156133c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133e591906150a4565b905060008051602061533c833981519152631a4d01d284613408612a0288613c68565b60006040518463ffffffff1660e01b815260040161342893929190615229565b600060405180830381600087803b15801561344257600080fd5b505af1158015613456573d6000803e3d6000fd5b50506040516370a0823160e01b8152600092506001600160a01b03871691506370a08231906132e2903090600401614d9f565b6040516001600160a01b03831660248201526044810182905261183590849063a9059cbb60e01b906064016127cb565b60008073e6b5cc1b4b47305c58392ce3d359b10282fc36ea6001600160a01b03166376a2f0f06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561350e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353291906150a4565b905061353c614c6f565b670de0b6b3a764000081526000805160206152fc8339815191526001600160a01b038616148061358257506001600160a01b03851660008051602061531c833981519152145b156135995761358f613d43565b60208201526135bc565b6135a38585613d91565b602083015260008051602061531c833981519152955093505b60006135c8868661423e565b905060006135d4614283565b905060006135e3848387614381565b905060006135f08361439a565b9050600073e6b5cc1b4b47305c58392ce3d359b10282fc36ea6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613646573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061366a91906150a4565b905060005b60028110156136c55785816002811061368a5761368a615049565b60200201518382600281106136a1576136a1615049565b602002018181516136b29190615152565b9052506136be816151a5565b905061366f565b5060006136d387848a614381565b90508381116136e4576136e46152a7565b6136ec614c6f565b6000806136fb600160026151be565b613706906004615242565b600273e6b5cc1b4b47305c58392ce3d359b10282fc36ea6001600160a01b031663ddca3f436040518163ffffffff1660e01b8152600401602060405180830381865afa15801561375a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061377e91906150a4565b6137889190615242565b61379291906152bd565b905060005b6002811015613896576000888a83600281106137b5576137b5615049565b60200201516137c49088615242565b6137ce91906152bd565b90506000808984600281106137e5576137e5615049565b6020020151905080831115613805576137fe81846151be565b9150613812565b61380f83826151be565b91505b6402540be4006138228387615242565b61382c91906152bd565b87856002811061383e5761383e615049565b602002015286846002811061385557613855615049565b60200201518a856002811061386c5761386c615049565b6020020181815161387d91906151be565b90525061388f92508391506151a59050565b9050613797565b5060006138a48b888e614381565b9050876138b181836151be565b6138bb9088615242565b6138c591906152bd565b9f9e505050505050505050505050505050565b600060008051602061533c83398151915263cc2b27d7836138fb612a0287613c68565b6040516001600160e01b031960e085901b1681526004810192909252600f0b6024820152604401602060405180830381865afa15801561393f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b91906150a4565b6001600160a01b0383161580159061398457506001600160a01b0383163014155b613990576139906152a7565b600061399b846143ec565b905060005b8351811015613bdc5760008482815181106139bd576139bd615049565b6020026020010151905060008483815181106139db576139db615049565b6020908102919091018101516001600160a01b038085166000908152600684526040808220928c168252919093528220549092506001600160801b031690819003613a7757613a2982612fac565b6001600160a01b039384166000908152600660209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b039094169390931790925550613bcc9050565b818103613a8657505050613bcc565b6000613a9282846151be565b90506000613aa087836143f7565b6001600160a01b038681166000908152600660209081526040808320938f1683529290529081205491925090613ae7908390600160801b90046001600160801b0316615152565b90506040518060400160405280613afd87612fac565b6001600160801b03168152602001613b1483612fac565b6001600160801b031681525060066000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b613bd5816151a5565b90506139a0565b5050505050565b6060613bf28484600085614415565b949350505050565b613c02614c8d565b8181613c0d85613c68565b60038110613c1d57613c1d615049565b602002015292915050565b60006001600160ff1b0382111561296e57600080fd5b600060016001607f1b03198212801590613c5f575060016001607f1b038213155b61296e57600080fd5b6000736b175474e89094c44da98b954eedeac495271d0e196001600160a01b03831601613c9757506000919050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb47196001600160a01b03831601613cc457506001919050565b73dac17f958d2ee523a2206206994597c13d831ec6196001600160a01b03831601613cf157506002919050565b60405162461bcd60e51b815260206004820152602160248201527f50656e646c653343727648656c7065723a206e6f742076616c696420746f6b656044820152603760f91b6064820152608401610c69565b600060008051602061533c8339815191526001600160a01b031663bb7b8b806040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e77573d6000803e3d6000fd5b6000806000613da08585613bfa565b90506000613dac614546565b9050613db6614c8d565b6000613dc4600160036151be565b613dcf906004615242565b600360008051602061533c8339815191526001600160a01b031663ddca3f436040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e4191906150a4565b613e4b9190615242565b613e5591906152bd565b9050600060008051602061533c8339815191526001600160a01b031663fee3f7f96040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ec991906150a4565b9050600060008051602061533c8339815191526001600160a01b031663f446c1d06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f3d91906150a4565b9050600060008051602061531c8339815191526001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fb191906150a4565b9050600080613fbf886146a7565b9050613fcb81856146f9565b91506000613fd8826146a7565b905060005b6003811015614033578a8160038110613ff857613ff8615049565b602002015182826003811061400f5761400f615049565b602002018181516140209190615152565b90525061402c816151a5565b9050613fdd565b50600061404082876146f9565b9050838111614051576140516152a7565b8060005b60038110156141f25760008686836003811061407357614073615049565b60200201516140829086615242565b61408c91906152bd565b905060008583600381106140a2576140a2615049565b60200201518211156140d6578583600381106140c0576140c0615049565b60200201516140cf90836151be565b90506140fb565b818684600381106140e9576140e9615049565b60200201516140f891906151be565b90505b6402540be40061410b828e615242565b61411591906152bd565b8d846003811061412757614127615049565b60200201526402540be4008b8e856003811061414557614145615049565b60200201516141549190615242565b61415e91906152bd565b86846003811061417057614170615049565b602002015161417f91906151be565b8e846003811061419157614191615049565b60200201528c83600381106141a8576141a8615049565b60200201518684600381106141bf576141bf615049565b602002018181516141d091906151be565b9052506141dd868b6146f9565b93505050806141eb906151a5565b9050614055565b50846141fe81836151be565b6142089088615242565b61421291906152bd565b9d506142298b8f886142249190615152565b61470d565b9c505050505050505050505050509250929050565b614246614c6f565b81816001600160a01b0385166000805160206152fc8339815191521461426d576001614270565b60005b60ff1660028110613c1d57613c1d615049565b61428b614c6f565b604051634903b0d160e01b81526000600482015273e6b5cc1b4b47305c58392ce3d359b10282fc36ea90634903b0d190602401602060405180830381865afa1580156142db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142ff91906150a4565b8152604051634903b0d160e01b81526001600482015273e6b5cc1b4b47305c58392ce3d359b10282fc36ea90634903b0d190602401602060405180830381865afa158015614351573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061437591906150a4565b8160015b602002015290565b60008061438e85856147ad565b90506129458184614843565b6143a2614c6f565b60005b60028110156121ca578281600281106143c0576143c0615049565b60200201518282600281106143d7576143d7615049565b60200201526143e5816151a5565b90506143a5565b6000610b1782610e9b565b6000806144048385615242565b9050670de0b6b3a7640000816130eb565b6060824710156144765760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c69565b6001600160a01b0385163b6144cd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c69565b600080866001600160a01b031685876040516144e991906152df565b60006040518083038185875af1925050503d8060008114614526576040519150601f19603f3d011682016040523d82523d6000602084013e61452b565b606091505b509150915061453b828286614a04565b979650505050505050565b61454e614c8d565b604051634903b0d160e01b81526000600482015260008051602061533c83398151915290634903b0d190602401602060405180830381865afa158015614598573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145bc91906150a4565b8152604051634903b0d160e01b81526001600482015260008051602061533c83398151915290634903b0d190602401602060405180830381865afa158015614608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061462c91906150a4565b6020820152604051634903b0d160e01b81526002600482015260008051602061533c83398151915290634903b0d190602401602060405180830381865afa15801561467b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061469f91906150a4565b816002614379565b6146af614c8d565b60005b60038110156121ca578281600381106146cd576146cd615049565b60200201518282600381106146e4576146e4615049565b60200201526146f2816151a5565b90506146b2565b600061121b61470784614a3d565b83614add565b60008060008051602061533c8339815191526001600160a01b031663f446c1d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561475c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061478091906150a4565b9050600061478e85836146f9565b9050836147a3670de0b6b3a764000083615242565b61294591906152bd565b6147b5614c6f565b6147bd614c6f565b60005b600281101561483b57670de0b6b3a76400008582600281106147e4576147e4615049565b60200201518583600281106147fb576147fb615049565b602002015161480a9190615242565b61481491906152bd565b82826002811061482657614826615049565b6020020152614834816151a5565b90506147c0565b509392505050565b60008080805b60028110156148855785816002811061486457614864615049565b60200201516148739084615152565b925061487e816151a5565b9050614849565b508160000361489957600092505050610b17565b8160006148a7600287615242565b905060005b60ff8110156149f1578260005b600281101561490b5760028a82600281106148d6576148d6615049565b60200201516148e59190615242565b6148ef8684615242565b6148f991906152bd565b9150614904816151a5565b90506148b9565b50839450806002600161491e9190615152565b6149289190615242565b60648561493582876151be565b61493f9190615242565b61494991906152bd565b6149539190615152565b8461495f600284615242565b606461496b8a88615242565b61497591906152bd565b61497f9190615152565b6149899190615242565b61499391906152bd565b9350848411156149c15760016149a986866151be565b116149bc57839650505050505050610b17565b6149e0565b60016149cd85876151be565b116149e057839650505050505050610b17565b506149ea816151a5565b90506148ac565b506149fa6152a7565b5050505092915050565b60608315614a1357508161121b565b825115614a235782518084602001fd5b8160405162461bcd60e51b8152600401610c699190614ccf565b614a45614c8d565b614a4d614c8d565b8251670de0b6b3a764000090614a639082615242565b614a6d91906152bd565b81526020830151670de0b6b3a764000090614a949068327cb2734119d3b7a9601e1b615242565b614a9e91906152bd565b60208201526040830151670de0b6b3a764000090614ac89068327cb2734119d3b7a9601e1b615242565b614ad291906152bd565b604082015292915050565b600080805b6003811015614b1e57848160038110614afd57614afd615049565b6020020151614b0c9083615152565b9150614b17816151a5565b9050614ae2565b5080600003614b31576000915050610b17565b60008181614b40600387615242565b905060005b60ff811015614c63578260005b6003811015614ba45760038a8260038110614b6f57614b6f615049565b6020020151614b7e9190615242565b614b888684615242565b614b9291906152bd565b9150614b9d816151a5565b9050614b52565b508394508060036001614bb79190615152565b614bc19190615242565b84614bcd6001866151be565b614bd79190615242565b614be19190615152565b84614bed600384615242565b614bf78987615242565b614c019190615152565b614c0b9190615242565b614c1591906152bd565b935084841115614c3b576001614c2b86866151be565b11614c365750614c63565b614c52565b6001614c4785876151be565b11614c525750614c63565b50614c5c816151a5565b9050614b45565b50909695505050505050565b60405180604001604052806002906020820280368337509192915050565b60405180606001604052806003906020820280368337509192915050565b60005b83811015614cc6578181015183820152602001614cae565b50506000910152565b6020815260008251806020840152614cee816040850160208701614cab565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015614d3b5781516001600160a01b031687529582019590820190600101614d16565b509495945050505050565b60208152600061121b6020830184614d02565b80356001600160a01b0381168114614d7057600080fd5b919050565b60008060408385031215614d8857600080fd5b614d9183614d59565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600060208284031215614dc557600080fd5b61121b82614d59565b600081518084526020808501945080840160005b83811015614d3b57815187529582019590820190600101614de2565b60208152600061121b6020830184614dce565b60008060008060808587031215614e2757600080fd5b614e3085614d59565b9350614e3e60208601614d59565b93969395505050506040820135916060013590565b600080600060608486031215614e6857600080fd5b614e7184614d59565b9250614e7f60208501614d59565b9150604084013590509250925092565b60008060408385031215614ea257600080fd5b614eab83614d59565b9150614eb960208401614d59565b90509250929050565b801515811461225157600080fd5b600080600080600060a08688031215614ee857600080fd5b614ef186614d59565b945060208601359350614f0660408701614d59565b9250606086013591506080860135614f1d81614ec2565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b6060810160028510614f6357634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff8116811461225157600080fd5b600080600080600080600060e0888a031215614fad57600080fd5b614fb688614d59565b9650614fc460208901614d59565b955060408801359450606088013593506080880135614fe281614f83565b9699959850939692959460a0840135945060c09093013592915050565b600181811c9082168061501357607f821691505b6020821081036121ca57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6000602082840312156150b657600080fd5b5051919050565b6000602082840312156150cf57600080fd5b815161121b81614f83565b6040815260006150ed6040830185614d02565b82810360208401526129458185614dce565b60006020828403121561511157600080fd5b815161121b81614ec2565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156119475761194761511c565b80820180821115610b1757610b1761511c565b6001600160f81b038281168282160390808211156119475761194761511c565b6001600160801b038281168282160390808211156119475761194761511c565b6000600182016151b7576151b761511c565b5060010190565b81810381811115610b1757610b1761511c565b6001600160801b038181168382160190808211156119475761194761511c565b60608101818460005b60028110156152195781518352602092830192909101906001016151fa565b5050508260408301529392505050565b928352600f9190910b6020830152604082015260600190565b8082028115828204841417610b1757610b1761511c565b634e487b7160e01b600052601260045260246000fd5b60808101818460005b6003811015615297578151835260209283019290910190600101615278565b5050508260608301529392505050565b634e487b7160e01b600052600160045260246000fd5b6000826152da57634e487b7160e01b600052601260045260246000fd5b500490565b600082516152f1818460208701614cab565b919091019291505056fe0000000000000000000000000c10bf8fcb7bf5412187a595ab97a3609160b5c60000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e490000000000000000000000000bebc44782c7db0a1a60cb6fe97d0b483032ff1c7ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203bcbd51f738f44c366cc49f5071e25d7fae308e9560036057179b2e4d1f8df4864736f6c63430008110033";
|
|
1073
|
-
|
|
1074
|
-
type PendleCurveUsdd3CrvSYConstructorParams =
|
|
1075
|
-
| [signer?: Signer]
|
|
1076
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1077
|
-
|
|
1078
|
-
const isSuperArgs = (
|
|
1079
|
-
xs: PendleCurveUsdd3CrvSYConstructorParams
|
|
1080
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1081
|
-
|
|
1082
|
-
export class PendleCurveUsdd3CrvSY__factory extends ContractFactory {
|
|
1083
|
-
constructor(...args: PendleCurveUsdd3CrvSYConstructorParams) {
|
|
1084
|
-
if (isSuperArgs(args)) {
|
|
1085
|
-
super(...args);
|
|
1086
|
-
} else {
|
|
1087
|
-
super(_abi, _bytecode, args[0]);
|
|
1088
|
-
}
|
|
1089
|
-
this.contractName = "PendleCurveUsdd3CrvSY";
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
deploy(
|
|
1093
|
-
_name: string,
|
|
1094
|
-
_symbol: string,
|
|
1095
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1096
|
-
): Promise<PendleCurveUsdd3CrvSY> {
|
|
1097
|
-
return super.deploy(
|
|
1098
|
-
_name,
|
|
1099
|
-
_symbol,
|
|
1100
|
-
overrides || {}
|
|
1101
|
-
) as Promise<PendleCurveUsdd3CrvSY>;
|
|
1102
|
-
}
|
|
1103
|
-
getDeployTransaction(
|
|
1104
|
-
_name: string,
|
|
1105
|
-
_symbol: string,
|
|
1106
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1107
|
-
): TransactionRequest {
|
|
1108
|
-
return super.getDeployTransaction(_name, _symbol, overrides || {});
|
|
1109
|
-
}
|
|
1110
|
-
attach(address: string): PendleCurveUsdd3CrvSY {
|
|
1111
|
-
return super.attach(address) as PendleCurveUsdd3CrvSY;
|
|
1112
|
-
}
|
|
1113
|
-
connect(signer: Signer): PendleCurveUsdd3CrvSY__factory {
|
|
1114
|
-
return super.connect(signer) as PendleCurveUsdd3CrvSY__factory;
|
|
1115
|
-
}
|
|
1116
|
-
static readonly contractName: "PendleCurveUsdd3CrvSY";
|
|
1117
|
-
public readonly contractName: "PendleCurveUsdd3CrvSY";
|
|
1118
|
-
static readonly bytecode = _bytecode;
|
|
1119
|
-
static readonly abi = _abi;
|
|
1120
|
-
static createInterface(): PendleCurveUsdd3CrvSYInterface {
|
|
1121
|
-
return new utils.Interface(_abi) as PendleCurveUsdd3CrvSYInterface;
|
|
1122
|
-
}
|
|
1123
|
-
static connect(
|
|
1124
|
-
address: string,
|
|
1125
|
-
signerOrProvider: Signer | Provider
|
|
1126
|
-
): PendleCurveUsdd3CrvSY {
|
|
1127
|
-
return new Contract(
|
|
1128
|
-
address,
|
|
1129
|
-
_abi,
|
|
1130
|
-
signerOrProvider
|
|
1131
|
-
) as PendleCurveUsdd3CrvSY;
|
|
1132
|
-
}
|
|
1133
|
-
}
|