@pendle/core-v2 1.0.2-mainnet → 1.1.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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +592 -0
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- 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 +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +1257 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +1244 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1192 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +133 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
- 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 +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GMX/GMXPreviewHelper.sol/GMXPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GMX/GMXPreviewHelper.sol/GMXPreviewHelper.json +50 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GMX/PendleGlpSY.sol/PendleGlpSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GMX/PendleGlpSY.sol/PendleGlpSY.json +1163 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +143 -2
- 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 +143 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.json +66 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +476 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +590 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +1017 -0
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.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 +171 -5
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json → Balancer/IGauge.sol/IGauge.json} +18 -33
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
- package/build/artifacts/contracts/{router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json → interfaces/Balancer/IRateProvider.sol/IRateProvider.json} +5 -5
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +278 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.json +308 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.json +43 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/{LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.json → interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.json} +80 -46
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.json +45 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.json +93 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +87 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +338 -16
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +105 -224
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +56 -12
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +52 -8
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +231 -8
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +675 -241
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +43 -32
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.json +40 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.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/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.json +679 -0
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -28
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +144 -60
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +345 -62
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +107 -260
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +57 -18
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +54 -65
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +338 -45
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +76 -67
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +4 -0
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.json +141 -0
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -15
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.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/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +56 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +97 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +388 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +7 -9
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +224 -0
- package/contracts/core/BulkSeller/BulkSeller.sol +1 -1
- package/contracts/core/StandardizedYield/SYBase.sol +23 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +71 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +170 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +162 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +289 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +618 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +68 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +322 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +390 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +329 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +30 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +189 -0
- package/contracts/core/StandardizedYield/implementations/GMX/GMXPreviewHelper.sol +142 -0
- package/contracts/core/StandardizedYield/implementations/GMX/PendleGlpSY.sol +244 -0
- package/contracts/core/StandardizedYield/implementations/GMX/README.md +61 -0
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +10 -0
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +114 -0
- package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +63 -0
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +200 -0
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +485 -0
- package/contracts/core/libraries/ArrayLib.sol +12 -0
- package/contracts/core/libraries/Errors.sol +18 -2
- package/contracts/core/libraries/TokenHelper.sol +10 -0
- package/contracts/interfaces/Balancer/IAsset.sol +4 -0
- package/contracts/interfaces/Balancer/IBalancerFees.sol +6 -0
- package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +22 -0
- package/contracts/interfaces/Balancer/IBasePool.sol +30 -0
- package/contracts/interfaces/Balancer/IComposableStable.sol +39 -0
- package/contracts/interfaces/Balancer/IGauge.sol +10 -0
- package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +6 -0
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +31 -0
- package/contracts/interfaces/Balancer/IRateProvider.sol +6 -0
- package/contracts/interfaces/Balancer/IVault.sol +78 -0
- package/contracts/interfaces/ConvexCurve/IRewards.sol +5 -0
- package/contracts/interfaces/GMX/IGMXVault.sol +47 -0
- package/contracts/interfaces/GMX/IGlpManager.sol +8 -0
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +35 -0
- package/contracts/interfaces/GMX/IVaultPriceFeed.sol +11 -0
- package/contracts/interfaces/IDiamondCut.sol +36 -0
- package/contracts/interfaces/IDiamondLoupe.sol +38 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +36 -1
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -55
- package/contracts/interfaces/IPActionMisc.sol +20 -3
- package/contracts/interfaces/IPActionSwapPT.sol +1 -1
- package/contracts/interfaces/IPActionSwapYT.sol +28 -4
- package/contracts/interfaces/IPAllAction.sol +5 -3
- package/contracts/interfaces/IPFeeDistributor.sol +12 -10
- package/contracts/interfaces/IPInterestManagerYTV2.sol +13 -0
- package/contracts/interfaces/IPYieldTokenV2.sol +66 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +16 -1
- package/contracts/offchain-helpers/Multicall2.sol +103 -0
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/offchain-helpers/RouterStatic.sol +22 -0
- package/contracts/router/ActionAddRemoveLiq.sol +116 -6
- package/contracts/router/ActionMintRedeem.sol +12 -202
- package/contracts/router/ActionMisc.sol +45 -19
- package/contracts/router/ActionSwapPT.sol +0 -5
- package/contracts/router/ActionSwapYT.sol +98 -13
- package/contracts/router/PendleRouter.sol +211 -72
- package/contracts/router/{ActionCallback.sol → base/ActionBaseCallback.sol} +47 -47
- package/contracts/router/base/ActionBaseMintRedeem.sol +105 -60
- package/contracts/router/base/CallbackHelper.sol +137 -44
- package/contracts/router/base/MarketApproxLib.sol +227 -350
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +69 -0
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +30 -0
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +63 -0
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +214 -0
- package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +147 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +191 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/43113-core.json +30 -0
- package/deployments/43113-markets/APE-30-MARCH.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND-2024.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND.json +10 -0
- package/deployments/43113-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/43113-markets/WETH-FEB-2ND.json +11 -0
- package/deployments/43113-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/43113-offchain-helper.json +4 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +29 -0
- package/deployments/80001-markets/GLP-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/80001-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/80001-offchain-helper.json +4 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +6 -6
- package/typechain-types/ActionAddRemoveLiq.ts +203 -23
- package/typechain-types/ActionBaseCallback.ts +115 -0
- package/typechain-types/ActionMintRedeem.ts +29 -230
- package/typechain-types/ActionMisc.ts +78 -27
- package/typechain-types/ActionSwapPT.ts +26 -31
- package/typechain-types/ActionSwapYT.ts +202 -21
- package/typechain-types/BribeDistributor.ts +363 -0
- package/typechain-types/ComposableStablePreview.ts +217 -0
- package/typechain-types/DistributorBase.ts +363 -0
- package/typechain-types/FeeDistributor.ts +416 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IBalancerFees.ts +89 -0
- package/typechain-types/IBalancerStablePreview.ts +217 -0
- package/typechain-types/IBasePool.ts +482 -0
- package/typechain-types/IComposableStable.ts +730 -0
- package/typechain-types/IDiamondCut.ts +152 -0
- package/typechain-types/IDiamondLoupe.ts +190 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGauge.ts +160 -0
- package/typechain-types/IGlpManager.ts +115 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IMetaStablePool.ts +619 -0
- package/typechain-types/IMultihopRouterEthereum.ts +209 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +213 -14
- package/typechain-types/IPActionMintRedeem.ts +29 -211
- package/typechain-types/IPActionMisc.ts +78 -27
- package/typechain-types/IPActionSwapPT.ts +26 -12
- package/typechain-types/IPActionSwapYT.ts +168 -12
- package/typechain-types/IPAllAction.ts +445 -227
- package/typechain-types/IPFeeDistributor.ts +61 -78
- package/typechain-types/IPFeeDistributorFactory.ts +53 -139
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPSwapAggregator.ts +126 -0
- package/typechain-types/IPYieldTokenV2.ts +901 -0
- package/typechain-types/IRateProvider.ts +81 -0
- package/typechain-types/IRewardRouterV2.ts +303 -0
- package/typechain-types/IRewards.ts +35 -5
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/IVault.ts +410 -0
- package/typechain-types/IVaultPriceFeed.ts +114 -0
- package/typechain-types/InterestManagerYTV2.ts +157 -0
- package/typechain-types/MetaStableMath.ts +113 -0
- package/typechain-types/MetaStablePreview.ts +501 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/PendleAura3EthSY.ts +1600 -0
- package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
- package/typechain-types/PendleAuraCbethWstethSY.ts +1587 -0
- package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
- package/typechain-types/PendleAuraWethWstethSY.ts +1523 -0
- package/typechain-types/PendleConvexLPSY.ts +204 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
- package/typechain-types/PendleFeeDistributor.ts +409 -117
- package/typechain-types/PendleGlpSY.ts +1463 -0
- package/typechain-types/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleMulticall.ts +110 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleRouter.ts +109 -131
- package/typechain-types/PendleSwapAggregator.ts +167 -0
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
- package/typechain-types/PendleYieldTokenV2.ts +1298 -0
- package/typechain-types/RouterStatic.ts +92 -0
- package/typechain-types/SAPE.ts +204 -0
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/StablePreviewBase.ts +217 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +346 -68
- package/typechain-types/factories/ActionBaseCallback__factory.ts +156 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +108 -266
- package/typechain-types/factories/ActionMisc__factory.ts +56 -17
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +55 -71
- package/typechain-types/factories/ActionSwapYT__factory.ts +341 -48
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BribeDistributor__factory.ts +303 -0
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/ComposableStablePreview__factory.ts +190 -0
- package/typechain-types/factories/DistributorBase__factory.ts +249 -0
- package/typechain-types/factories/Errors__factory.ts +170 -4
- package/typechain-types/factories/FeeDistributor__factory.ts +339 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
- package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
- package/typechain-types/factories/IBasePool__factory.ts +340 -0
- package/typechain-types/factories/IComposableStable__factory.ts +482 -0
- package/typechain-types/factories/IDiamondCut__factory.ts +105 -0
- package/typechain-types/factories/IDiamondLoupe__factory.ts +99 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/IGMXVault__factory.ts +320 -0
- package/typechain-types/factories/IGauge__factory.ts +70 -0
- package/typechain-types/factories/IGlpManager__factory.ts +55 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +155 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +338 -16
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +105 -224
- package/typechain-types/factories/IPActionMisc__factory.ts +55 -11
- package/typechain-types/factories/IPActionSwapPT__factory.ts +52 -8
- package/typechain-types/factories/IPActionSwapYT__factory.ts +231 -8
- package/typechain-types/factories/IPAllAction__factory.ts +675 -241
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +25 -34
- package/typechain-types/factories/IPFeeDistributor__factory.ts +42 -31
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPSwapAggregator__factory.ts +71 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
- package/typechain-types/factories/IRateProvider__factory.ts +36 -0
- package/typechain-types/factories/IRewardRouterV2__factory.ts +180 -0
- package/typechain-types/factories/IRewards__factory.ts +18 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
- package/typechain-types/factories/IVault__factory.ts +287 -0
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +81 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -27
- package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
- package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1326 -0
- package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1317 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1265 -0
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +341 -66
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1249 -0
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticall__factory.ts +100 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +75 -74
- package/typechain-types/factories/PendleSwapAggregator__factory.ts +154 -0
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1109 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +69 -1
- package/typechain-types/factories/SAPE__factory.ts +142 -1
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +365 -86
- package/typechain-types/index.ts +86 -24
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -310
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +0 -389
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +0 -190
- package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +0 -165
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -343
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -224
- 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/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +0 -136
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +0 -159
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +0 -99
- package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +0 -70
- package/contracts/interfaces/IPActionSwapPTYT.sol +0 -31
- package/contracts/interfaces/IPFeeDistributorFactory.sol +0 -14
- package/contracts/router/ActionSwapPTYT.sol +0 -108
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -317
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/contracts/router/kyberswap/IMultihopRouter.sol +0 -139
- package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
- package/deployments/1-core.json +0 -29
- package/deployments/1-markets/APE-JUNE-29.json +0 -7
- package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +0 -11
- package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +0 -10
- package/deployments/1-markets/STETH-JUNE29.json +0 -10
- package/deployments/1-markets/STETH-MARCH30.json +0 -10
|
@@ -0,0 +1,1249 @@
|
|
|
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 { PendleGlpSY, PendleGlpSYInterface } from "../PendleGlpSY";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "string",
|
|
13
|
+
name: "_name",
|
|
14
|
+
type: "string",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "string",
|
|
18
|
+
name: "_symbol",
|
|
19
|
+
type: "string",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_glp",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "_fsGlp",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "address",
|
|
33
|
+
name: "_stakedGlp",
|
|
34
|
+
type: "address",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_rewardRouter",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "_glpRouter",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "_vault",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
stateMutability: "nonpayable",
|
|
53
|
+
type: "constructor",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "actualSharesOut",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "requiredSharesOut",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "SYInsufficientSharesOut",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: "uint256",
|
|
75
|
+
name: "actualTokenOut",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "requiredTokenOut",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "SYInsufficientTokenOut",
|
|
85
|
+
type: "error",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "token",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
name: "SYInvalidTokenIn",
|
|
96
|
+
type: "error",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [
|
|
100
|
+
{
|
|
101
|
+
internalType: "address",
|
|
102
|
+
name: "token",
|
|
103
|
+
type: "address",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
name: "SYInvalidTokenOut",
|
|
107
|
+
type: "error",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
inputs: [],
|
|
111
|
+
name: "SYZeroDeposit",
|
|
112
|
+
type: "error",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "SYZeroRedeem",
|
|
117
|
+
type: "error",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
anonymous: false,
|
|
121
|
+
inputs: [
|
|
122
|
+
{
|
|
123
|
+
indexed: true,
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "owner",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "spender",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
indexed: false,
|
|
136
|
+
internalType: "uint256",
|
|
137
|
+
name: "value",
|
|
138
|
+
type: "uint256",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "Approval",
|
|
142
|
+
type: "event",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
anonymous: false,
|
|
146
|
+
inputs: [
|
|
147
|
+
{
|
|
148
|
+
indexed: true,
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "user",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
indexed: false,
|
|
155
|
+
internalType: "address[]",
|
|
156
|
+
name: "rewardTokens",
|
|
157
|
+
type: "address[]",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
indexed: false,
|
|
161
|
+
internalType: "uint256[]",
|
|
162
|
+
name: "rewardAmounts",
|
|
163
|
+
type: "uint256[]",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: "ClaimRewards",
|
|
167
|
+
type: "event",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
anonymous: false,
|
|
171
|
+
inputs: [
|
|
172
|
+
{
|
|
173
|
+
indexed: true,
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "caller",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
indexed: true,
|
|
180
|
+
internalType: "address",
|
|
181
|
+
name: "receiver",
|
|
182
|
+
type: "address",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
indexed: true,
|
|
186
|
+
internalType: "address",
|
|
187
|
+
name: "tokenIn",
|
|
188
|
+
type: "address",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
indexed: false,
|
|
192
|
+
internalType: "uint256",
|
|
193
|
+
name: "amountDeposited",
|
|
194
|
+
type: "uint256",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
indexed: false,
|
|
198
|
+
internalType: "uint256",
|
|
199
|
+
name: "amountSyOut",
|
|
200
|
+
type: "uint256",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "Deposit",
|
|
204
|
+
type: "event",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
anonymous: false,
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
indexed: false,
|
|
211
|
+
internalType: "uint8",
|
|
212
|
+
name: "version",
|
|
213
|
+
type: "uint8",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
name: "Initialized",
|
|
217
|
+
type: "event",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
anonymous: false,
|
|
221
|
+
inputs: [
|
|
222
|
+
{
|
|
223
|
+
indexed: true,
|
|
224
|
+
internalType: "address",
|
|
225
|
+
name: "previousOwner",
|
|
226
|
+
type: "address",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
indexed: true,
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "newOwner",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
name: "OwnershipTransferred",
|
|
236
|
+
type: "event",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
anonymous: false,
|
|
240
|
+
inputs: [
|
|
241
|
+
{
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: "address",
|
|
244
|
+
name: "account",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
name: "Paused",
|
|
249
|
+
type: "event",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
anonymous: false,
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
indexed: true,
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "caller",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: true,
|
|
262
|
+
internalType: "address",
|
|
263
|
+
name: "receiver",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
indexed: true,
|
|
268
|
+
internalType: "address",
|
|
269
|
+
name: "tokenOut",
|
|
270
|
+
type: "address",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
indexed: false,
|
|
274
|
+
internalType: "uint256",
|
|
275
|
+
name: "amountSyToRedeem",
|
|
276
|
+
type: "uint256",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
indexed: false,
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "amountTokenOut",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
name: "Redeem",
|
|
286
|
+
type: "event",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
anonymous: false,
|
|
290
|
+
inputs: [
|
|
291
|
+
{
|
|
292
|
+
indexed: true,
|
|
293
|
+
internalType: "address",
|
|
294
|
+
name: "from",
|
|
295
|
+
type: "address",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
indexed: true,
|
|
299
|
+
internalType: "address",
|
|
300
|
+
name: "to",
|
|
301
|
+
type: "address",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
indexed: false,
|
|
305
|
+
internalType: "uint256",
|
|
306
|
+
name: "value",
|
|
307
|
+
type: "uint256",
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
name: "Transfer",
|
|
311
|
+
type: "event",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
anonymous: false,
|
|
315
|
+
inputs: [
|
|
316
|
+
{
|
|
317
|
+
indexed: false,
|
|
318
|
+
internalType: "address",
|
|
319
|
+
name: "account",
|
|
320
|
+
type: "address",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
name: "Unpaused",
|
|
324
|
+
type: "event",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [],
|
|
328
|
+
name: "BASIS_POINTS_DIVISOR",
|
|
329
|
+
outputs: [
|
|
330
|
+
{
|
|
331
|
+
internalType: "uint256",
|
|
332
|
+
name: "",
|
|
333
|
+
type: "uint256",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
stateMutability: "view",
|
|
337
|
+
type: "function",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
inputs: [],
|
|
341
|
+
name: "DOMAIN_SEPARATOR",
|
|
342
|
+
outputs: [
|
|
343
|
+
{
|
|
344
|
+
internalType: "bytes32",
|
|
345
|
+
name: "",
|
|
346
|
+
type: "bytes32",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
stateMutability: "view",
|
|
350
|
+
type: "function",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [],
|
|
354
|
+
name: "PRICE_PRECISION",
|
|
355
|
+
outputs: [
|
|
356
|
+
{
|
|
357
|
+
internalType: "uint256",
|
|
358
|
+
name: "",
|
|
359
|
+
type: "uint256",
|
|
360
|
+
},
|
|
361
|
+
],
|
|
362
|
+
stateMutability: "view",
|
|
363
|
+
type: "function",
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
inputs: [
|
|
367
|
+
{
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "user",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
name: "accruedRewards",
|
|
374
|
+
outputs: [
|
|
375
|
+
{
|
|
376
|
+
internalType: "uint256[]",
|
|
377
|
+
name: "rewardAmounts",
|
|
378
|
+
type: "uint256[]",
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
stateMutability: "view",
|
|
382
|
+
type: "function",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
inputs: [
|
|
386
|
+
{
|
|
387
|
+
internalType: "address",
|
|
388
|
+
name: "owner",
|
|
389
|
+
type: "address",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
internalType: "address",
|
|
393
|
+
name: "spender",
|
|
394
|
+
type: "address",
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
name: "allowance",
|
|
398
|
+
outputs: [
|
|
399
|
+
{
|
|
400
|
+
internalType: "uint256",
|
|
401
|
+
name: "",
|
|
402
|
+
type: "uint256",
|
|
403
|
+
},
|
|
404
|
+
],
|
|
405
|
+
stateMutability: "view",
|
|
406
|
+
type: "function",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
inputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "address",
|
|
412
|
+
name: "spender",
|
|
413
|
+
type: "address",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
name: "amount",
|
|
418
|
+
type: "uint256",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
name: "approve",
|
|
422
|
+
outputs: [
|
|
423
|
+
{
|
|
424
|
+
internalType: "bool",
|
|
425
|
+
name: "",
|
|
426
|
+
type: "bool",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
stateMutability: "nonpayable",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [],
|
|
434
|
+
name: "approveAllWhitelisted",
|
|
435
|
+
outputs: [],
|
|
436
|
+
stateMutability: "nonpayable",
|
|
437
|
+
type: "function",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
inputs: [],
|
|
441
|
+
name: "assetInfo",
|
|
442
|
+
outputs: [
|
|
443
|
+
{
|
|
444
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
445
|
+
name: "assetType",
|
|
446
|
+
type: "uint8",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
internalType: "address",
|
|
450
|
+
name: "assetAddress",
|
|
451
|
+
type: "address",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
internalType: "uint8",
|
|
455
|
+
name: "assetDecimals",
|
|
456
|
+
type: "uint8",
|
|
457
|
+
},
|
|
458
|
+
],
|
|
459
|
+
stateMutability: "view",
|
|
460
|
+
type: "function",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
inputs: [
|
|
464
|
+
{
|
|
465
|
+
internalType: "address",
|
|
466
|
+
name: "account",
|
|
467
|
+
type: "address",
|
|
468
|
+
},
|
|
469
|
+
],
|
|
470
|
+
name: "balanceOf",
|
|
471
|
+
outputs: [
|
|
472
|
+
{
|
|
473
|
+
internalType: "uint256",
|
|
474
|
+
name: "",
|
|
475
|
+
type: "uint256",
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
stateMutability: "view",
|
|
479
|
+
type: "function",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
inputs: [],
|
|
483
|
+
name: "claimOwnership",
|
|
484
|
+
outputs: [],
|
|
485
|
+
stateMutability: "nonpayable",
|
|
486
|
+
type: "function",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
inputs: [
|
|
490
|
+
{
|
|
491
|
+
internalType: "address",
|
|
492
|
+
name: "user",
|
|
493
|
+
type: "address",
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
name: "claimRewards",
|
|
497
|
+
outputs: [
|
|
498
|
+
{
|
|
499
|
+
internalType: "uint256[]",
|
|
500
|
+
name: "rewardAmounts",
|
|
501
|
+
type: "uint256[]",
|
|
502
|
+
},
|
|
503
|
+
],
|
|
504
|
+
stateMutability: "nonpayable",
|
|
505
|
+
type: "function",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
inputs: [],
|
|
509
|
+
name: "decimals",
|
|
510
|
+
outputs: [
|
|
511
|
+
{
|
|
512
|
+
internalType: "uint8",
|
|
513
|
+
name: "",
|
|
514
|
+
type: "uint8",
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
stateMutability: "view",
|
|
518
|
+
type: "function",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
inputs: [
|
|
522
|
+
{
|
|
523
|
+
internalType: "address",
|
|
524
|
+
name: "receiver",
|
|
525
|
+
type: "address",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "address",
|
|
529
|
+
name: "tokenIn",
|
|
530
|
+
type: "address",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "uint256",
|
|
534
|
+
name: "amountTokenToDeposit",
|
|
535
|
+
type: "uint256",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
internalType: "uint256",
|
|
539
|
+
name: "minSharesOut",
|
|
540
|
+
type: "uint256",
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
name: "deposit",
|
|
544
|
+
outputs: [
|
|
545
|
+
{
|
|
546
|
+
internalType: "uint256",
|
|
547
|
+
name: "amountSharesOut",
|
|
548
|
+
type: "uint256",
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
stateMutability: "payable",
|
|
552
|
+
type: "function",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
inputs: [],
|
|
556
|
+
name: "exchangeRate",
|
|
557
|
+
outputs: [
|
|
558
|
+
{
|
|
559
|
+
internalType: "uint256",
|
|
560
|
+
name: "",
|
|
561
|
+
type: "uint256",
|
|
562
|
+
},
|
|
563
|
+
],
|
|
564
|
+
stateMutability: "view",
|
|
565
|
+
type: "function",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
inputs: [],
|
|
569
|
+
name: "getRewardTokens",
|
|
570
|
+
outputs: [
|
|
571
|
+
{
|
|
572
|
+
internalType: "address[]",
|
|
573
|
+
name: "rewardTokens",
|
|
574
|
+
type: "address[]",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
stateMutability: "view",
|
|
578
|
+
type: "function",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
inputs: [],
|
|
582
|
+
name: "getTokensIn",
|
|
583
|
+
outputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "address[]",
|
|
586
|
+
name: "res",
|
|
587
|
+
type: "address[]",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
stateMutability: "view",
|
|
591
|
+
type: "function",
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
inputs: [],
|
|
595
|
+
name: "getTokensOut",
|
|
596
|
+
outputs: [
|
|
597
|
+
{
|
|
598
|
+
internalType: "address[]",
|
|
599
|
+
name: "res",
|
|
600
|
+
type: "address[]",
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
stateMutability: "view",
|
|
604
|
+
type: "function",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
inputs: [],
|
|
608
|
+
name: "glp",
|
|
609
|
+
outputs: [
|
|
610
|
+
{
|
|
611
|
+
internalType: "address",
|
|
612
|
+
name: "",
|
|
613
|
+
type: "address",
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
stateMutability: "view",
|
|
617
|
+
type: "function",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
inputs: [],
|
|
621
|
+
name: "glpManager",
|
|
622
|
+
outputs: [
|
|
623
|
+
{
|
|
624
|
+
internalType: "address",
|
|
625
|
+
name: "",
|
|
626
|
+
type: "address",
|
|
627
|
+
},
|
|
628
|
+
],
|
|
629
|
+
stateMutability: "view",
|
|
630
|
+
type: "function",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
inputs: [],
|
|
634
|
+
name: "glpRouter",
|
|
635
|
+
outputs: [
|
|
636
|
+
{
|
|
637
|
+
internalType: "address",
|
|
638
|
+
name: "",
|
|
639
|
+
type: "address",
|
|
640
|
+
},
|
|
641
|
+
],
|
|
642
|
+
stateMutability: "view",
|
|
643
|
+
type: "function",
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
inputs: [
|
|
647
|
+
{
|
|
648
|
+
internalType: "address",
|
|
649
|
+
name: "token",
|
|
650
|
+
type: "address",
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
name: "isValidTokenIn",
|
|
654
|
+
outputs: [
|
|
655
|
+
{
|
|
656
|
+
internalType: "bool",
|
|
657
|
+
name: "",
|
|
658
|
+
type: "bool",
|
|
659
|
+
},
|
|
660
|
+
],
|
|
661
|
+
stateMutability: "view",
|
|
662
|
+
type: "function",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
inputs: [
|
|
666
|
+
{
|
|
667
|
+
internalType: "address",
|
|
668
|
+
name: "token",
|
|
669
|
+
type: "address",
|
|
670
|
+
},
|
|
671
|
+
],
|
|
672
|
+
name: "isValidTokenOut",
|
|
673
|
+
outputs: [
|
|
674
|
+
{
|
|
675
|
+
internalType: "bool",
|
|
676
|
+
name: "",
|
|
677
|
+
type: "bool",
|
|
678
|
+
},
|
|
679
|
+
],
|
|
680
|
+
stateMutability: "view",
|
|
681
|
+
type: "function",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
inputs: [],
|
|
685
|
+
name: "lastRewardBlock",
|
|
686
|
+
outputs: [
|
|
687
|
+
{
|
|
688
|
+
internalType: "uint256",
|
|
689
|
+
name: "",
|
|
690
|
+
type: "uint256",
|
|
691
|
+
},
|
|
692
|
+
],
|
|
693
|
+
stateMutability: "view",
|
|
694
|
+
type: "function",
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
inputs: [],
|
|
698
|
+
name: "name",
|
|
699
|
+
outputs: [
|
|
700
|
+
{
|
|
701
|
+
internalType: "string",
|
|
702
|
+
name: "",
|
|
703
|
+
type: "string",
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
stateMutability: "view",
|
|
707
|
+
type: "function",
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
inputs: [
|
|
711
|
+
{
|
|
712
|
+
internalType: "address",
|
|
713
|
+
name: "owner",
|
|
714
|
+
type: "address",
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
name: "nonces",
|
|
718
|
+
outputs: [
|
|
719
|
+
{
|
|
720
|
+
internalType: "uint256",
|
|
721
|
+
name: "",
|
|
722
|
+
type: "uint256",
|
|
723
|
+
},
|
|
724
|
+
],
|
|
725
|
+
stateMutability: "view",
|
|
726
|
+
type: "function",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
inputs: [],
|
|
730
|
+
name: "owner",
|
|
731
|
+
outputs: [
|
|
732
|
+
{
|
|
733
|
+
internalType: "address",
|
|
734
|
+
name: "",
|
|
735
|
+
type: "address",
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
stateMutability: "view",
|
|
739
|
+
type: "function",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
inputs: [],
|
|
743
|
+
name: "pause",
|
|
744
|
+
outputs: [],
|
|
745
|
+
stateMutability: "nonpayable",
|
|
746
|
+
type: "function",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
inputs: [],
|
|
750
|
+
name: "paused",
|
|
751
|
+
outputs: [
|
|
752
|
+
{
|
|
753
|
+
internalType: "bool",
|
|
754
|
+
name: "",
|
|
755
|
+
type: "bool",
|
|
756
|
+
},
|
|
757
|
+
],
|
|
758
|
+
stateMutability: "view",
|
|
759
|
+
type: "function",
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
inputs: [],
|
|
763
|
+
name: "pendingOwner",
|
|
764
|
+
outputs: [
|
|
765
|
+
{
|
|
766
|
+
internalType: "address",
|
|
767
|
+
name: "",
|
|
768
|
+
type: "address",
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
stateMutability: "view",
|
|
772
|
+
type: "function",
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
inputs: [
|
|
776
|
+
{
|
|
777
|
+
internalType: "address",
|
|
778
|
+
name: "owner",
|
|
779
|
+
type: "address",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
internalType: "address",
|
|
783
|
+
name: "spender",
|
|
784
|
+
type: "address",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
internalType: "uint256",
|
|
788
|
+
name: "value",
|
|
789
|
+
type: "uint256",
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
internalType: "uint256",
|
|
793
|
+
name: "deadline",
|
|
794
|
+
type: "uint256",
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
internalType: "uint8",
|
|
798
|
+
name: "v",
|
|
799
|
+
type: "uint8",
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
internalType: "bytes32",
|
|
803
|
+
name: "r",
|
|
804
|
+
type: "bytes32",
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
internalType: "bytes32",
|
|
808
|
+
name: "s",
|
|
809
|
+
type: "bytes32",
|
|
810
|
+
},
|
|
811
|
+
],
|
|
812
|
+
name: "permit",
|
|
813
|
+
outputs: [],
|
|
814
|
+
stateMutability: "nonpayable",
|
|
815
|
+
type: "function",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
inputs: [
|
|
819
|
+
{
|
|
820
|
+
internalType: "address",
|
|
821
|
+
name: "tokenIn",
|
|
822
|
+
type: "address",
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
internalType: "uint256",
|
|
826
|
+
name: "amountTokenToDeposit",
|
|
827
|
+
type: "uint256",
|
|
828
|
+
},
|
|
829
|
+
],
|
|
830
|
+
name: "previewDeposit",
|
|
831
|
+
outputs: [
|
|
832
|
+
{
|
|
833
|
+
internalType: "uint256",
|
|
834
|
+
name: "amountSharesOut",
|
|
835
|
+
type: "uint256",
|
|
836
|
+
},
|
|
837
|
+
],
|
|
838
|
+
stateMutability: "view",
|
|
839
|
+
type: "function",
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
inputs: [
|
|
843
|
+
{
|
|
844
|
+
internalType: "address",
|
|
845
|
+
name: "tokenOut",
|
|
846
|
+
type: "address",
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
internalType: "uint256",
|
|
850
|
+
name: "amountSharesToRedeem",
|
|
851
|
+
type: "uint256",
|
|
852
|
+
},
|
|
853
|
+
],
|
|
854
|
+
name: "previewRedeem",
|
|
855
|
+
outputs: [
|
|
856
|
+
{
|
|
857
|
+
internalType: "uint256",
|
|
858
|
+
name: "amountTokenOut",
|
|
859
|
+
type: "uint256",
|
|
860
|
+
},
|
|
861
|
+
],
|
|
862
|
+
stateMutability: "view",
|
|
863
|
+
type: "function",
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
inputs: [
|
|
867
|
+
{
|
|
868
|
+
internalType: "address",
|
|
869
|
+
name: "receiver",
|
|
870
|
+
type: "address",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
internalType: "uint256",
|
|
874
|
+
name: "amountSharesToRedeem",
|
|
875
|
+
type: "uint256",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
internalType: "address",
|
|
879
|
+
name: "tokenOut",
|
|
880
|
+
type: "address",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
internalType: "uint256",
|
|
884
|
+
name: "minTokenOut",
|
|
885
|
+
type: "uint256",
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
internalType: "bool",
|
|
889
|
+
name: "burnFromInternalBalance",
|
|
890
|
+
type: "bool",
|
|
891
|
+
},
|
|
892
|
+
],
|
|
893
|
+
name: "redeem",
|
|
894
|
+
outputs: [
|
|
895
|
+
{
|
|
896
|
+
internalType: "uint256",
|
|
897
|
+
name: "amountTokenOut",
|
|
898
|
+
type: "uint256",
|
|
899
|
+
},
|
|
900
|
+
],
|
|
901
|
+
stateMutability: "nonpayable",
|
|
902
|
+
type: "function",
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
inputs: [],
|
|
906
|
+
name: "rewardIndexesCurrent",
|
|
907
|
+
outputs: [
|
|
908
|
+
{
|
|
909
|
+
internalType: "uint256[]",
|
|
910
|
+
name: "indexes",
|
|
911
|
+
type: "uint256[]",
|
|
912
|
+
},
|
|
913
|
+
],
|
|
914
|
+
stateMutability: "nonpayable",
|
|
915
|
+
type: "function",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
inputs: [],
|
|
919
|
+
name: "rewardIndexesStored",
|
|
920
|
+
outputs: [
|
|
921
|
+
{
|
|
922
|
+
internalType: "uint256[]",
|
|
923
|
+
name: "indexes",
|
|
924
|
+
type: "uint256[]",
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
stateMutability: "view",
|
|
928
|
+
type: "function",
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
inputs: [],
|
|
932
|
+
name: "rewardRouter",
|
|
933
|
+
outputs: [
|
|
934
|
+
{
|
|
935
|
+
internalType: "address",
|
|
936
|
+
name: "",
|
|
937
|
+
type: "address",
|
|
938
|
+
},
|
|
939
|
+
],
|
|
940
|
+
stateMutability: "view",
|
|
941
|
+
type: "function",
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
inputs: [
|
|
945
|
+
{
|
|
946
|
+
internalType: "address",
|
|
947
|
+
name: "",
|
|
948
|
+
type: "address",
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
name: "rewardState",
|
|
952
|
+
outputs: [
|
|
953
|
+
{
|
|
954
|
+
internalType: "uint128",
|
|
955
|
+
name: "index",
|
|
956
|
+
type: "uint128",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
internalType: "uint128",
|
|
960
|
+
name: "lastBalance",
|
|
961
|
+
type: "uint128",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
stateMutability: "view",
|
|
965
|
+
type: "function",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
inputs: [],
|
|
969
|
+
name: "stakedGlp",
|
|
970
|
+
outputs: [
|
|
971
|
+
{
|
|
972
|
+
internalType: "address",
|
|
973
|
+
name: "",
|
|
974
|
+
type: "address",
|
|
975
|
+
},
|
|
976
|
+
],
|
|
977
|
+
stateMutability: "view",
|
|
978
|
+
type: "function",
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
inputs: [],
|
|
982
|
+
name: "symbol",
|
|
983
|
+
outputs: [
|
|
984
|
+
{
|
|
985
|
+
internalType: "string",
|
|
986
|
+
name: "",
|
|
987
|
+
type: "string",
|
|
988
|
+
},
|
|
989
|
+
],
|
|
990
|
+
stateMutability: "view",
|
|
991
|
+
type: "function",
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
inputs: [],
|
|
995
|
+
name: "totalSupply",
|
|
996
|
+
outputs: [
|
|
997
|
+
{
|
|
998
|
+
internalType: "uint256",
|
|
999
|
+
name: "",
|
|
1000
|
+
type: "uint256",
|
|
1001
|
+
},
|
|
1002
|
+
],
|
|
1003
|
+
stateMutability: "view",
|
|
1004
|
+
type: "function",
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
inputs: [
|
|
1008
|
+
{
|
|
1009
|
+
internalType: "address",
|
|
1010
|
+
name: "to",
|
|
1011
|
+
type: "address",
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "uint256",
|
|
1015
|
+
name: "amount",
|
|
1016
|
+
type: "uint256",
|
|
1017
|
+
},
|
|
1018
|
+
],
|
|
1019
|
+
name: "transfer",
|
|
1020
|
+
outputs: [
|
|
1021
|
+
{
|
|
1022
|
+
internalType: "bool",
|
|
1023
|
+
name: "",
|
|
1024
|
+
type: "bool",
|
|
1025
|
+
},
|
|
1026
|
+
],
|
|
1027
|
+
stateMutability: "nonpayable",
|
|
1028
|
+
type: "function",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
inputs: [
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "address",
|
|
1034
|
+
name: "from",
|
|
1035
|
+
type: "address",
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
internalType: "address",
|
|
1039
|
+
name: "to",
|
|
1040
|
+
type: "address",
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
internalType: "uint256",
|
|
1044
|
+
name: "amount",
|
|
1045
|
+
type: "uint256",
|
|
1046
|
+
},
|
|
1047
|
+
],
|
|
1048
|
+
name: "transferFrom",
|
|
1049
|
+
outputs: [
|
|
1050
|
+
{
|
|
1051
|
+
internalType: "bool",
|
|
1052
|
+
name: "",
|
|
1053
|
+
type: "bool",
|
|
1054
|
+
},
|
|
1055
|
+
],
|
|
1056
|
+
stateMutability: "nonpayable",
|
|
1057
|
+
type: "function",
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
inputs: [
|
|
1061
|
+
{
|
|
1062
|
+
internalType: "address",
|
|
1063
|
+
name: "newOwner",
|
|
1064
|
+
type: "address",
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
internalType: "bool",
|
|
1068
|
+
name: "direct",
|
|
1069
|
+
type: "bool",
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "bool",
|
|
1073
|
+
name: "renounce",
|
|
1074
|
+
type: "bool",
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
name: "transferOwnership",
|
|
1078
|
+
outputs: [],
|
|
1079
|
+
stateMutability: "nonpayable",
|
|
1080
|
+
type: "function",
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
inputs: [],
|
|
1084
|
+
name: "unpause",
|
|
1085
|
+
outputs: [],
|
|
1086
|
+
stateMutability: "nonpayable",
|
|
1087
|
+
type: "function",
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
inputs: [
|
|
1091
|
+
{
|
|
1092
|
+
internalType: "address",
|
|
1093
|
+
name: "",
|
|
1094
|
+
type: "address",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
internalType: "address",
|
|
1098
|
+
name: "",
|
|
1099
|
+
type: "address",
|
|
1100
|
+
},
|
|
1101
|
+
],
|
|
1102
|
+
name: "userReward",
|
|
1103
|
+
outputs: [
|
|
1104
|
+
{
|
|
1105
|
+
internalType: "uint128",
|
|
1106
|
+
name: "index",
|
|
1107
|
+
type: "uint128",
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
internalType: "uint128",
|
|
1111
|
+
name: "accrued",
|
|
1112
|
+
type: "uint128",
|
|
1113
|
+
},
|
|
1114
|
+
],
|
|
1115
|
+
stateMutability: "view",
|
|
1116
|
+
type: "function",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
inputs: [],
|
|
1120
|
+
name: "vault",
|
|
1121
|
+
outputs: [
|
|
1122
|
+
{
|
|
1123
|
+
internalType: "contract IGMXVault",
|
|
1124
|
+
name: "",
|
|
1125
|
+
type: "address",
|
|
1126
|
+
},
|
|
1127
|
+
],
|
|
1128
|
+
stateMutability: "view",
|
|
1129
|
+
type: "function",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
inputs: [],
|
|
1133
|
+
name: "weth",
|
|
1134
|
+
outputs: [
|
|
1135
|
+
{
|
|
1136
|
+
internalType: "address",
|
|
1137
|
+
name: "",
|
|
1138
|
+
type: "address",
|
|
1139
|
+
},
|
|
1140
|
+
],
|
|
1141
|
+
stateMutability: "view",
|
|
1142
|
+
type: "function",
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
inputs: [],
|
|
1146
|
+
name: "yieldToken",
|
|
1147
|
+
outputs: [
|
|
1148
|
+
{
|
|
1149
|
+
internalType: "address",
|
|
1150
|
+
name: "",
|
|
1151
|
+
type: "address",
|
|
1152
|
+
},
|
|
1153
|
+
],
|
|
1154
|
+
stateMutability: "view",
|
|
1155
|
+
type: "function",
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
stateMutability: "payable",
|
|
1159
|
+
type: "receive",
|
|
1160
|
+
},
|
|
1161
|
+
];
|
|
1162
|
+
|
|
1163
|
+
const _bytecode =
|
|
1164
|
+
"0x6102806040523480156200001257600080fd5b506040516200644a3803806200644a83398101604081905262000035916200099d565b808888878282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a3919062000a77565b6040805180820190915260018152603160f81b602082015283908184846003620000ce848262000b32565b506004620000dd838262000b32565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001908184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001d757506007546001600160a01b90910460ff16105b806200020e5750620001f430620004b660201b62001f331760201c565b1580156200020e5750600754600160a01b900460ff166001145b620002775760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002a5576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002bd620004c5565b801562000306576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b0385166101808190526040805163f5b91b7b60e01b8152905191955063f5b91b7b94506004808201945060209350908290030181865afa15801562000359573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037f919062000bfe565b6001600160a01b039081166101a0528781166101c0528581166101e05284811661020052831661022081905260408051633e9b6c6f60e21b8152905191925063fa6db1bc9160048083019260209291908290030181865afa158015620003e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200040f919062000bfe565b6001600160a01b0316610240816001600160a01b031681525050610220516001600160a01b0316633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200046b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000491919062000bfe565b6001600160a01b031661026052620004a862000548565b505050505050505062000cd5565b6001600160a01b03163b151590565b600754600160a81b900460ff16620005345760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200026e565b600680546001600160a01b03191633179055565b6000610180516001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200058c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005b2919062000c1c565b905060005b81811015620006d55761018051604051630e468baf60e41b8152600481018390526000916001600160a01b03169063e468baf090602401602060405180830381865afa1580156200060c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000632919062000bfe565b61018051604051630daf9c2160e41b81526001600160a01b03808416600483015292935091169063daf9c21090602401602060405180830381865afa15801562000680573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a6919062000c36565b15620006c157620006c18161024051620006d960201b60201c565b50620006cd8162000c5a565b9050620005b7565b5050565b6001600160a01b038216620006ec575050565b6200070060026001600160601b0362000c82565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156200075a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000780919062000c1c565b1015620006d55762000795828260006200079f565b620006d582826000195b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620007fd919062000cb7565b6000604051808303816000865af19150503d80600081146200083c576040519150601f19603f3d011682016040523d82523d6000602084013e62000841565b606091505b50915091508180156200086f5750805115806200086f5750808060200190518101906200086f919062000c36565b620008ac5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016200026e565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620008e6578181015183820152602001620008cc565b50506000910152565b600082601f8301126200090157600080fd5b81516001600160401b03808211156200091e576200091e620008b3565b604051601f8301601f19908116603f01168101908282118183101715620009495762000949620008b3565b816040528381528660208588010111156200096357600080fd5b62000976846020830160208901620008c9565b9695505050505050565b80516001600160a01b03811681146200099857600080fd5b919050565b600080600080600080600080610100898b031215620009bb57600080fd5b88516001600160401b0380821115620009d357600080fd5b620009e18c838d01620008ef565b995060208b0151915080821115620009f857600080fd5b5062000a078b828c01620008ef565b97505062000a1860408a0162000980565b955062000a2860608a0162000980565b945062000a3860808a0162000980565b935062000a4860a08a0162000980565b925062000a5860c08a0162000980565b915062000a6860e08a0162000980565b90509295985092959890939650565b60006020828403121562000a8a57600080fd5b815160ff8116811462000a9c57600080fd5b9392505050565b600181811c9082168062000ab857607f821691505b60208210810362000ad957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b2d57600081815260208120601f850160051c8101602086101562000b085750805b601f850160051c820191505b8181101562000b295782815560010162000b14565b5050505b505050565b81516001600160401b0381111562000b4e5762000b4e620008b3565b62000b668162000b5f845462000aa3565b8462000adf565b602080601f83116001811462000b9e576000841562000b855750858301515b600019600386901b1c1916600185901b17855562000b29565b600085815260208120601f198616915b8281101562000bcf5788860151825594840194600190910190840162000bae565b508582101562000bee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c1157600080fd5b62000a9c8262000980565b60006020828403121562000c2f57600080fd5b5051919050565b60006020828403121562000c4957600080fd5b8151801515811462000a9c57600080fd5b60006001820162000c7b57634e487b7160e01b600052601160045260246000fd5b5060010190565b60006001600160601b038381168062000cab57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000825162000ccb818460208701620008c9565b9190910192915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161555262000ef86000396000818161045e0152818161208b01528181612c660152612e2b01526000818161089401528181611af501528181612ca10152612e660152600081816107ca015281816121ae01528181612266015281816129f90152612aa20152600081816104a701526142580152600081816102e401528181610a500152818161117c015281816116df0152818161214b0152818161297501528181612c180152612ddd0152600081816105f30152818161181f0152818161184001528181612d1a0152612edf01526000818161398901528181613be701528181613c630152614ad00152600081816108c80152818161098001528181610ae101528181610b8701528181610c14015281816110ac0152818161120d015281816112b3015281816113400152818161174101528181611941015281816119e701528181611a74015281816138a30152818161395801528181613a5f01528181613ae101528181613bb601528181613cb401528181613d9f01528181613e210152818161447401528181614515015281816145ab0152818161465001528181614b880152614c020152600061059f0152600061270f0152600061275e0152600061273901526000612692015260006126bc015260006126e6015260006103d301526155526000f3fe6080604052600436106102275760003560e01c806306fdde0314610233578063071bc3c91461025e578063078dfbe714610280578063095ea7b3146102a25780630ddc56d3146102d2578063126082cf14610313578063128fced11461033757806318160ddd1461036457806320e8c56514610379578063213cae631461038c57806323b872dd146103a1578063313ce567146103c15780633644e515146104075780633ba0b9a91461041c5780633f4ba83a146104375780633fc8cef31461044c5780634e71e0c8146104805780635a3bb989146104955780635c975abb146104c95780635cbadbe4146104e157806370a082311461054d578063769f8e5d1461056d57806376d5de851461058d578063784367d6146105c157806378a207ee146105e15780637ecebe00146106155780638456cb59146106355780638da5cb5b1461064a57806395082d251461066a57806395d89b411461068a578063a40bee501461069f578063a9059cbb146106c3578063a9f8d181146106e3578063b8e387ce146106f9578063b8f82b261461070e578063c4f59f9b1461072e578063cbe52ae314610743578063d505accf14610763578063da88ecb414610783578063dd62ed3e14610798578063e016e44b146107b8578063e30c3978146107ec578063ea64a8201461080c578063ef5cfb8c1461084d578063f8b2f9911461086d578063fa5a4f06146105c1578063fa6db1bc14610882578063fbfa77cf146108b657600080fd5b3661022e57005b600080fd5b34801561023f57600080fd5b506102486108ea565b6040516102559190614e31565b60405180910390f35b34801561026a57600080fd5b5061027361097c565b6040516102559190614ea8565b34801561028c57600080fd5b506102a061029b366004614ede565b610d2d565b005b3480156102ae57600080fd5b506102c26102bd366004614f29565b610e2a565b6040519015158152602001610255565b3480156102de57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b6040516102559190614f55565b34801561031f57600080fd5b5061032961271081565b604051908152602001610255565b34801561034357600080fd5b50610357610352366004614f69565b610e44565b6040516102559190614fb6565b34801561037057600080fd5b50610329610f50565b610329610387366004614fc9565b610f5f565b34801561039857600080fd5b506102736110a8565b3480156103ad57600080fd5b506102c26103bc36600461500f565b6113fe565b3480156103cd57600080fd5b506103f57f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610255565b34801561041357600080fd5b5061032961147c565b34801561042857600080fd5b50670de0b6b3a7640000610329565b34801561044357600080fd5b506102a061148b565b34801561045857600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b34801561048c57600080fd5b506102a06114bf565b3480156104a157600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156104d557600080fd5b5060385460ff166102c2565b3480156104ed57600080fd5b5061052d6104fc366004615050565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610255565b34801561055957600080fd5b50610329610568366004614f69565b61156b565b34801561057957600080fd5b50610329610588366004615089565b611586565b34801561059957600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156105cd57600080fd5b506102c26105dc366004614f69565b6116db565b3480156105ed57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b34801561062157600080fd5b50610329610630366004614f69565b6117b7565b34801561064157600080fd5b506102a06117d5565b34801561065657600080fd5b50600654610306906001600160a01b031681565b34801561067657600080fd5b5061032968327cb2734119d3b7a9601e1b81565b34801561069657600080fd5b50610248611807565b3480156106ab57600080fd5b506106b4611816565b604051610255939291906150fe565b3480156106cf57600080fd5b506102c26106de366004614f29565b6118cb565b3480156106ef57600080fd5b50610329603a5481565b34801561070557600080fd5b506102a061193d565b34801561071a57600080fd5b50610329610729366004614f29565b611b2e565b34801561073a57600080fd5b50610273611b69565b34801561074f57600080fd5b5061032961075e366004614f29565b611b73565b34801561076f57600080fd5b506102a061077e36600461514f565b611ba7565b34801561078f57600080fd5b50610357611d0b565b3480156107a457600080fd5b506103296107b3366004615050565b611dd7565b3480156107c457600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156107f857600080fd5b50600754610306906001600160a01b031681565b34801561081857600080fd5b5061052d610827366004614f69565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561085957600080fd5b50610357610868366004614f69565b611e02565b34801561087957600080fd5b50610357611ec1565b34801561088e57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156108c257600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b6060600380546108f9906151c0565b80601f0160208091040260200160405190810160405280929190818152602001828054610925906151c0565b80156109725780601f1061094757610100808354040283529160200191610972565b820191906000526020600020905b81548152906001019060200180831161095557829003601f168201915b5050505050905090565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166362287a326040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0091906151f4565b610a0b906002615223565b6001600160401b03811115610a2257610a22615236565b604051908082528060200260200182016040528015610a4b578160200160208202803683370190505b5090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610a8257610a8261524c565b60200260200101906001600160a01b031690816001600160a01b031681525050600081600181518110610ab757610ab761524c565b60200260200101906001600160a01b031690816001600160a01b03168152505060006002905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6191906151f4565b905060005b81811015610cd257604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190615262565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c21090610c49908490600401614f55565b602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8a919061527f565b15610cc95780858581518110610ca257610ca261524c565b60200260200101906001600160a01b031690816001600160a01b0316815250508360010193505b50600101610b66565b5082518214610d285760405162461bcd60e51b815260206004820152601e60248201527f57726f6e672077686974656c697374656420746f6b656e7320636f756e74000060448201526064015b60405180910390fd5b505090565b6006546001600160a01b03163314610d575760405162461bcd60e51b8152600401610d1f9061529c565b8115610e09576001600160a01b038316151580610d715750805b610db55760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610d1f565b6006546040516001600160a01b038086169216906000805160206154dd83398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610e38818585611f42565b60019150505b92915050565b60606000610e50612067565b905080516001600160401b03811115610e6b57610e6b615236565b604051908082528060200260200182016040528015610e94578160200160208202803683370190505b50915060005b8151811015610f495760396000838381518110610eb957610eb961524c565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610f3657610f3661524c565b6020908102919091010152600101610e9a565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610f905760405162461bcd60e51b8152600401610d1f906152d1565b600280546001600160f81b0316600160f91b179055610fae846116db565b610fcd57836040516315d57ce360e31b8152600401610d1f9190614f55565b82600003610fee57604051630a907f2f60e41b815260040160405180910390fd5b610ff98433856120e0565b6110038484612147565b90508181101561102a578082604051635e38f95d60e11b8152600401610d1f929190615308565b61103485826122d3565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051611083929190615308565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166362287a326040518163ffffffff1660e01b8152600401602060405180830381865afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906151f4565b611137906002615223565b6001600160401b0381111561114e5761114e615236565b604051908082528060200260200182016040528015611177578160200160208202803683370190505b5090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106111ae576111ae61524c565b60200260200101906001600160a01b031690816001600160a01b0316815250506000816001815181106111e3576111e361524c565b60200260200101906001600160a01b031690816001600160a01b03168152505060006002905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa158015611269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128d91906151f4565b905060005b81811015610cd257604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa158015611302573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113269190615262565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c21090611375908490600401614f55565b602060405180830381865afa158015611392573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b6919061527f565b156113f557808585815181106113ce576113ce61524c565b60200260200101906001600160a01b031690816001600160a01b0316815250508360010193505b50600101611292565b600254600090600119600160f81b90910460ff160161142f5760405162461bcd60e51b8152600401610d1f906152d1565b600280546001600160f81b0316600160f91b179055336114508582856123e9565b61145b858585612463565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000611486612685565b905090565b6006546001600160a01b031633146114b55760405162461bcd60e51b8152600401610d1f9061529c565b6114bd6127ac565b565b6007546001600160a01b031633811461151a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610d1f565b6006546040516001600160a01b038084169216906000805160206154dd83398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff16016115b75760405162461bcd60e51b8152600401610d1f906152d1565b600280546001600160f81b0316600160f91b1790556115d5846116db565b6115f457836040516388a5056160e01b8152600401610d1f9190614f55565b846000036116155760405163c3d83b0760e01b815260040160405180910390fd5b811561162a5761162530866127f8565b611634565b61163433866127f8565b61163f868587612971565b9050828110156116665780836040516305ff726560e51b8152600401610d1f929190615308565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c88856040516116b5929190615308565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148061172457506001600160a01b038216155b80610e3e5750604051630daf9c2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c21090611776908590600401614f55565b602060405180830381865afa158015611793573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e919061527f565b6001600160a01b038116600090815260056020526040812054610e3e565b6006546001600160a01b031633146117ff5760405162461bcd60e51b8152600401610d1f9061529c565b6114bd612b17565b6060600480546108f9906151c0565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561189c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c09190615316565b925092509250909192565b600254600090600119600160f81b90910460ff16016118fc5760405162461bcd60e51b8152600401610d1f906152d1565b600280546001600160f81b0316600160f91b1790553361191d818585612463565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c191906151f4565b905060005b81811015611b2a57604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa158015611a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a5a9190615262565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c21090611aa9908490600401614f55565b602060405180830381865afa158015611ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aea919061527f565b15611b1957611b19817f0000000000000000000000000000000000000000000000000000000000000000612b54565b50611b2381615333565b90506119c6565b5050565b6000611b39836116db565b611b5857826040516315d57ce360e31b8152600401610d1f9190614f55565b611b628383612c14565b9392505050565b6060611486612067565b6000611b7e836116db565b611b9d57826040516388a5056160e01b8152600401610d1f9190614f55565b611b628383612dd9565b83421115611bf75760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610d1f565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611c268c612f86565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611c8182612fae565b90506000611c9182878787612ffc565b9050896001600160a01b0316816001600160a01b031614611cf45760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610d1f565b611cff8a8a8a611f42565b50505050505050505050565b60606000611d17612067565b905080516001600160401b03811115611d3257611d32615236565b604051908082528060200260200182016040528015611d5b578160200160208202803683370190505b50915060005b8151811015610d2857603b6000838381518110611d8057611d8061524c565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110611dc457611dc461524c565b6020908102919091010152600101611d61565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff1601611e335760405162461bcd60e51b8152600401610d1f906152d1565b600280546001600160f81b0316600160f91b179055611e5182613024565b611e5b8283613032565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611e90612067565b83604051611e9f92919061534c565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff1601611ef25760405162461bcd60e51b8152600401610d1f906152d1565b600280546001600160f81b0316600160f91b179055611f0f6132da565b5050611f19611d0b565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b03163b151590565b6001600160a01b038316611fa45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d1f565b6001600160a01b0382166120055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d1f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b604080516001808252818301909252606091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106120bd576120bd61524c565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6001600160a01b03831661212c57803414610e255760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610d1f565b8015610e2557610e256001600160a01b038416833084613575565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612189575080610e3e565b6001600160a01b038316612232576040516353a8aa0360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906353a8aa039034906121e8906000908190600401615308565b60206040518083038185885af1158015612206573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061222b91906151f4565b9050610e3e565b60405163364e231160e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301527f0000000000000000000000000000000000000000000000000000000000000000169063364e2311906084016020604051808303816000875af11580156122af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6291906151f4565b6001600160a01b0382166123295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610d1f565b612335600083836135e0565b61233e816135ea565b600280546000906123599084906001600160f81b0316615371565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546123b19190615223565b90915550506040518181526001600160a01b038316906000906000805160206154fd8339815191529060200160405180910390a35050565b60006123f58484611dd7565b9050600019811461245d57818110156124505760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610d1f565b61245d8484848403611f42565b50505050565b6001600160a01b0383166124c75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d1f565b6001600160a01b0382166125295760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d1f565b816001600160a01b0316836001600160a01b0316036125845760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610d1f565b61258f8383836135e0565b6001600160a01b038316600090815260208190526040902054818110156126075760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610d1f565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061263e908490615223565b92505081905550826001600160a01b0316846001600160a01b03166000805160206154fd8339815191528460405161267891815260200190565b60405180910390a361245d565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156126de57507f000000000000000000000000000000000000000000000000000000000000000046145b1561270857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6127b4613604565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516127ee9190614f55565b60405180910390a1565b6001600160a01b0382166128585760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610d1f565b612864826000836135e0565b6001600160a01b038216600090815260208190526040902054818110156128d85760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610d1f565b6001600160a01b038316600090815260208190526040902082820390556128fe826135ea565b600280546000906129199084906001600160f81b0316615398565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206154fd8339815191528460405161205a91815260200190565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036129be5750806129b983858361364d565b611b62565b6001600160a01b038316612a6d576040516355daf2f160e11b815260048101839052600060248201526001600160a01b0385811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063abb5e5e2906064016020604051808303816000875af1158015612a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6691906151f4565b9050611b62565b6040516303cea95560e21b81526001600160a01b038481166004830152602482018490526000604483015285811660648301527f00000000000000000000000000000000000000000000000000000000000000001690630f3aa554906084016020604051808303816000875af1158015612aeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0f91906151f4565b949350505050565b612b1f613711565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127e13390565b6001600160a01b038216612b66575050565b612b7860026001600160601b036153ce565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015612bd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf591906151f4565b1015611b2a57612c0782826000613757565b611b2a8282600019613757565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612c56575080610e3e565b6001600160a01b038316612c88577f000000000000000000000000000000000000000000000000000000000000000092505b604051630345051f60e51b8152600160048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906368a0a3e090602401602060405180830381865afa158015612cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1491906151f4565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9a91906151f4565b90506000612da8868661386b565b905060008315612dcc5783612dbd84846153f4565b612dc7919061540b565b612dce565b815b979650505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612e1b575080610e3e565b6001600160a01b038316612e4d577f000000000000000000000000000000000000000000000000000000000000000092505b604051630345051f60e51b8152600060048201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906368a0a3e090602401602060405180830381865afa158015612eb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed991906151f4565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f91906151f4565b9050600081612f6e84876153f4565b612f78919061540b565b90506000612dce8783613c5c565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610e3e612fbb612685565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061300d87878787613f22565b9150915061301a81614005565b5095945050505050565b61302f8160006141b6565b50565b6060600061303e612067565b905080516001600160401b0381111561305957613059615236565b604051908082528060200260200182016040528015613082578160200160208202803683370190505b50915060005b81518110156132d257603960008383815181106130a7576130a761524c565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b03168382815181106131245761312461524c565b6020026020010181815250508281815181106131425761314261524c565b60200260200101516000146132c0576000603960008484815181106131695761316961524c565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b031602179055506131fd8382815181106131f0576131f061524c565b6020026020010151614236565b603b60008484815181106132135761321361524c565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b031661325f919061541f565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506132c08282815181106132985761329861524c565b6020026020010151858584815181106132b3576132b361524c565b602002602001015161364d565b806132ca81615333565b915050613088565b505092915050565b6060806132e5612067565b915081516001600160401b0381111561330057613300615236565b604051908082528060200260200182016040528015613329578160200160208202803683370190505b5090508151600003613339579091565b43603a54146134ed5743603a55600061335061424c565b905061335a614256565b60005b83518110156134ea57600084828151811061337a5761337a61524c565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b0316906133d8908890869081106133cb576133cb61524c565b60200260200101516142c5565b6133e2919061543f565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b0390911690819003613415575060015b841561343257613425828661434f565b61342f9082615223565b90505b61343b81614236565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b039290921691909117905561347a82614236565b6001600160a01b0384166000908152603b6020526040902080546010906134b2908490600160801b90046001600160801b0316615452565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550505050806134e390615333565b905061335d565b50505b60005b825181101561357057603b600084838151811061350f5761350f61524c565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b03909116908390839081106135535761355361524c565b60209081029190910101528061356881615333565b9150506134f0565b509091565b6040516001600160a01b038085166024830152831660448201526064810182905261245d9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261437e565b610e2583836141b6565b60006001600160f81b0382111561360057600080fd5b5090565b60385460ff166114bd5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610d1f565b8060000361365a57505050565b6001600160a01b0383166136fd576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146136b5576040519150601f19603f3d011682016040523d82523d6000602084013e6136ba565b606091505b505090508061245d5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610d1f565b610e256001600160a01b0384168383614450565b60385460ff16156114bd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d1f565b600080846001600160a01b031663095ea7b360e01b858560405160240161377f929190615472565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516137bd919061548b565b6000604051808303816000865af19150503d80600081146137fa576040519150601f19603f3d011682016040523d82523d6000602084013e6137ff565b606091505b5091509150818015613829575080511580613829575080806020019051810190613829919061527f565b6138645760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610d1f565b5050505050565b6000613877838361446f565b915060008211613889576138896154a7565b6040516340d3096b60e11b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906381a612d6906138d8908790600401614f55565b602060405180830381865afa1580156138f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391991906151f4565b9050600068327cb2734119d3b7a9601e1b61393483866153f4565b61393e919061540b565b604051634215287360e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342152873906139b190849089907f0000000000000000000000000000000000000000000000000000000000000000906004016154bd565b602060405180830381865afa1580156139ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139f291906151f4565b905060008111613a545760405162461bcd60e51b815260206004820152602760248201527f7072657669657720627579555344473a2075736467416d6f756e74206d7573746044820152660206265203e20360cc1b6064820152608401610d1f565b6000613b68868360007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634d47b3046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613adf91906151f4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a210a2b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b6191906151f4565b60016145a7565b90506000613b7787878461481e565b9050600068327cb2734119d3b7a9601e1b613b9286846153f4565b613b9c919061540b565b604051634215287360e01b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690634215287390613c0f9084908c907f0000000000000000000000000000000000000000000000000000000000000000906004016154bd565b602060405180830381865afa158015613c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c5091906151f4565b98975050505050505050565b6000613c887f00000000000000000000000000000000000000000000000000000000000000008361446f565b915060008211613c9a57613c9a6154a7565b604051632c668ec160e01b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632c668ec190613ceb9087908790600401615472565b602060405180830381865afa158015613d08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2c91906151f4565b905060008111613d955760405162461bcd60e51b815260206004820152602e60248201527f707265766965772073656c6c555344473a20726564656d7074696f6e416d6f7560448201526d06e74206d757374206265203e20360941b6064820152608401610d1f565b6000613ea88585867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634d47b3046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e1f91906151f4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a210a2b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ea191906151f4565b60006145a7565b90506000613eb786848461481e565b905060008111613f195760405162461bcd60e51b815260206004820152602760248201527f707265766965772073656c6c555344473a20616d6f756e744f7574206d7573746044820152660206265203e20360cc1b6064820152608401610d1f565b95945050505050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115613f4f5750600090506003613ffc565b8460ff16601b14158015613f6757508460ff16601c14155b15613f785750600090506004613ffc565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613fcc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613ff557600060019250925050613ffc565b9150600090505b94509492505050565b6000816004811115614019576140196150e8565b036140215750565b6001816004811115614035576140356150e8565b0361407d5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610d1f565b6002816004811115614091576140916150e8565b036140de5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d1f565b60038160048111156140f2576140f26150e8565b0361414a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d1f565b600481600481111561415e5761415e6150e8565b0361302f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d1f565b6000806141c16132da565b9150915081516000036141d45750505050565b6001600160a01b038416158015906141f557506001600160a01b0384163014155b1561420557614205848383614842565b6001600160a01b0383161580159061422657506001600160a01b0383163014155b1561245d5761245d838383614842565b60006001600160801b0382111561360057600080fd5b6000611486610f50565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634e71d92d6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156142b157600080fd5b505af115801561245d573d6000803e3d6000fd5b60006001600160a01b03821615614348576040516370a0823160e01b81526001600160a01b038316906370a0823190614302903090600401614f55565b602060405180830381865afa15801561431f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061434391906151f4565b610e3e565b4792915050565b600080614364670de0b6b3a7640000856153f4565b9050828181614375576143756153b8565b04949350505050565b60006143d3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614abb9092919063ffffffff16565b805190915015610e2557808060200190518101906143f1919061527f565b610e255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d1f565b610e258363a9059cbb60e01b84846040516024016135a9929190615472565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663523fba7f856040518263ffffffff1660e01b81526004016144be9190614f55565b602060405180830381865afa1580156144db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144ff91906151f4565b9050600083856001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016145509190614f55565b602060405180830381865afa15801561456d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061459191906151f4565b61459b9190615223565b9050613f19828261543f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639f392eb36040518163ffffffff1660e01b8152600401602060405180830381865afa158015614607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061462b919061527f565b614636575082614814565b604051631aa4ace560e01b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631aa4ace590614685908b90600401614f55565b602060405180830381865afa1580156146a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146c691906151f4565b9050858110156146d75760006146e1565b6146e1868261543f565b905060006146ef8883615223565b9050836147125781881161470c57614707888361543f565b61470f565b60005b90505b600061471e8a89614aca565b90508060000361473357869350505050614814565b600081841161474b57614746848361543f565b614755565b614755828561543f565b9050600082841161476f5761476a848461543f565b614779565b614779838561543f565b9050818110156147c257600083614790848b6153f4565b61479a919061540b565b90508981116147b2576147ad818b61543f565b6147b5565b60005b9650505050505050614814565b600060026147d08385615223565b6147da919061540b565b9050838111156147e75750825b6000846147f4838c6153f4565b6147fe919061540b565b905061480a818c615223565b9750505050505050505b9695505050505050565b60008061271061482e848261543f565b61483890866153f4565b613f19919061540b565b6001600160a01b0383161580159061486357506001600160a01b0383163014155b61486f5761486f6154a7565b600061487a84614c8c565b905060005b835181101561386457600084828151811061489c5761489c61524c565b6020026020010151905060008483815181106148ba576148ba61524c565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b0316908190036149565761490882614236565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b039094169390931790925550614aab9050565b81810361496557505050614aab565b6000614971828461543f565b9050600061497f8783614c97565b6001600160a01b038681166000908152603960209081526040808320938f16835292905290812054919250906149c6908390600160801b90046001600160801b0316615223565b905060405180604001604052806149dc87614236565b6001600160801b031681526020016149f383614236565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b614ab481615333565b905061487f565b6060612b0f8484600085614cb5565b600080827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b5091906151f4565b614b5a919061543f565b905080600003614b6e576000915050610e3e565b604051632acbceb560e21b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ab2f3ad490614bbd908890600401614f55565b602060405180830381865afa158015614bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bfe91906151f4565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dc8f5fac6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614c5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c8291906151f4565b61483883836153f4565b6000610e3e8261156b565b600080614ca483856153f4565b9050670de0b6b3a764000081614375565b606082471015614d165760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610d1f565b614d1f85611f33565b614d6b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d1f565b600080866001600160a01b03168587604051614d87919061548b565b60006040518083038185875af1925050503d8060008114614dc4576040519150601f19603f3d011682016040523d82523d6000602084013e614dc9565b606091505b5091509150612dce82828660608315614de3575081611b62565b825115614df35782518084602001fd5b8160405162461bcd60e51b8152600401610d1f9190614e31565b60005b83811015614e28578181015183820152602001614e10565b50506000910152565b6020815260008251806020840152614e50816040850160208701614e0d565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015614e9d5781516001600160a01b031687529582019590820190600101614e78565b509495945050505050565b602081526000611b626020830184614e64565b6001600160a01b038116811461302f57600080fd5b801515811461302f57600080fd5b600080600060608486031215614ef357600080fd5b8335614efe81614ebb565b92506020840135614f0e81614ed0565b91506040840135614f1e81614ed0565b809150509250925092565b60008060408385031215614f3c57600080fd5b8235614f4781614ebb565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600060208284031215614f7b57600080fd5b8135611b6281614ebb565b600081518084526020808501945080840160005b83811015614e9d57815187529582019590820190600101614f9a565b602081526000611b626020830184614f86565b60008060008060808587031215614fdf57600080fd5b8435614fea81614ebb565b93506020850135614ffa81614ebb565b93969395505050506040820135916060013590565b60008060006060848603121561502457600080fd5b833561502f81614ebb565b9250602084013561503f81614ebb565b929592945050506040919091013590565b6000806040838503121561506357600080fd5b823561506e81614ebb565b9150602083013561507e81614ebb565b809150509250929050565b600080600080600060a086880312156150a157600080fd5b85356150ac81614ebb565b94506020860135935060408601356150c381614ebb565b92506060860135915060808601356150da81614ed0565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b606081016002851061512057634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff8116811461302f57600080fd5b600080600080600080600060e0888a03121561516a57600080fd5b873561517581614ebb565b9650602088013561518581614ebb565b9550604088013594506060880135935060808801356151a381615140565b9699959850939692959460a0840135945060c09093013592915050565b600181811c908216806151d457607f821691505b602082108103612fa857634e487b7160e01b600052602260045260246000fd5b60006020828403121561520657600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610e3e57610e3e61520d565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561527457600080fd5b8151611b6281614ebb565b60006020828403121561529157600080fd5b8151611b6281614ed0565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b60006020828403121561532857600080fd5b8151611b6281615140565b6000600182016153455761534561520d565b5060010190565b60408152600061535f6040830185614e64565b8281036020840152613f198185614f86565b6001600160f81b038181168382160190808211156153915761539161520d565b5092915050565b6001600160f81b038281168282160390808211156153915761539161520d565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b03838116806153e8576153e86153b8565b92169190910492915050565b8082028115828204841417610e3e57610e3e61520d565b60008261541a5761541a6153b8565b500490565b6001600160801b038281168282160390808211156153915761539161520d565b81810381811115610e3e57610e3e61520d565b6001600160801b038181168382160190808211156153915761539161520d565b6001600160a01b03929092168252602082015260400190565b6000825161549d818460208701614e0d565b9190910192915050565b634e487b7160e01b600052600160045260246000fd5b9283526001600160a01b0391821660208401521660408201526060019056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220543966cc8f0e731484507ad7824129fe638e7e6b3522f1a906a764dbb86b2ecd64736f6c63430008110033";
|
|
1165
|
+
|
|
1166
|
+
type PendleGlpSYConstructorParams =
|
|
1167
|
+
| [signer?: Signer]
|
|
1168
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1169
|
+
|
|
1170
|
+
const isSuperArgs = (
|
|
1171
|
+
xs: PendleGlpSYConstructorParams
|
|
1172
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1173
|
+
|
|
1174
|
+
export class PendleGlpSY__factory extends ContractFactory {
|
|
1175
|
+
constructor(...args: PendleGlpSYConstructorParams) {
|
|
1176
|
+
if (isSuperArgs(args)) {
|
|
1177
|
+
super(...args);
|
|
1178
|
+
} else {
|
|
1179
|
+
super(_abi, _bytecode, args[0]);
|
|
1180
|
+
}
|
|
1181
|
+
this.contractName = "PendleGlpSY";
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
deploy(
|
|
1185
|
+
_name: string,
|
|
1186
|
+
_symbol: string,
|
|
1187
|
+
_glp: string,
|
|
1188
|
+
_fsGlp: string,
|
|
1189
|
+
_stakedGlp: string,
|
|
1190
|
+
_rewardRouter: string,
|
|
1191
|
+
_glpRouter: string,
|
|
1192
|
+
_vault: string,
|
|
1193
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1194
|
+
): Promise<PendleGlpSY> {
|
|
1195
|
+
return super.deploy(
|
|
1196
|
+
_name,
|
|
1197
|
+
_symbol,
|
|
1198
|
+
_glp,
|
|
1199
|
+
_fsGlp,
|
|
1200
|
+
_stakedGlp,
|
|
1201
|
+
_rewardRouter,
|
|
1202
|
+
_glpRouter,
|
|
1203
|
+
_vault,
|
|
1204
|
+
overrides || {}
|
|
1205
|
+
) as Promise<PendleGlpSY>;
|
|
1206
|
+
}
|
|
1207
|
+
getDeployTransaction(
|
|
1208
|
+
_name: string,
|
|
1209
|
+
_symbol: string,
|
|
1210
|
+
_glp: string,
|
|
1211
|
+
_fsGlp: string,
|
|
1212
|
+
_stakedGlp: string,
|
|
1213
|
+
_rewardRouter: string,
|
|
1214
|
+
_glpRouter: string,
|
|
1215
|
+
_vault: string,
|
|
1216
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1217
|
+
): TransactionRequest {
|
|
1218
|
+
return super.getDeployTransaction(
|
|
1219
|
+
_name,
|
|
1220
|
+
_symbol,
|
|
1221
|
+
_glp,
|
|
1222
|
+
_fsGlp,
|
|
1223
|
+
_stakedGlp,
|
|
1224
|
+
_rewardRouter,
|
|
1225
|
+
_glpRouter,
|
|
1226
|
+
_vault,
|
|
1227
|
+
overrides || {}
|
|
1228
|
+
);
|
|
1229
|
+
}
|
|
1230
|
+
attach(address: string): PendleGlpSY {
|
|
1231
|
+
return super.attach(address) as PendleGlpSY;
|
|
1232
|
+
}
|
|
1233
|
+
connect(signer: Signer): PendleGlpSY__factory {
|
|
1234
|
+
return super.connect(signer) as PendleGlpSY__factory;
|
|
1235
|
+
}
|
|
1236
|
+
static readonly contractName: "PendleGlpSY";
|
|
1237
|
+
public readonly contractName: "PendleGlpSY";
|
|
1238
|
+
static readonly bytecode = _bytecode;
|
|
1239
|
+
static readonly abi = _abi;
|
|
1240
|
+
static createInterface(): PendleGlpSYInterface {
|
|
1241
|
+
return new utils.Interface(_abi) as PendleGlpSYInterface;
|
|
1242
|
+
}
|
|
1243
|
+
static connect(
|
|
1244
|
+
address: string,
|
|
1245
|
+
signerOrProvider: Signer | Provider
|
|
1246
|
+
): PendleGlpSY {
|
|
1247
|
+
return new Contract(address, _abi, signerOrProvider) as PendleGlpSY;
|
|
1248
|
+
}
|
|
1249
|
+
}
|