@pendle/core-v2 1.2.0-mainnet → 1.2.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/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.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/ExcessivelySafeCall.sol/ExcessivelySafeCall.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 +3 -3
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +34 -2
- 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 +3 -3
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +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/PYIndex.sol/PYIndexLib.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/SYUtils.sol/SYUtils.dbg.json +1 -1
- 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/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/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/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- 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/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.json +50 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/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/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- 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/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +87 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.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/Balancer/IGauge.sol/IGauge.json +61 -0
- 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/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- 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/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- 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/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.json +201 -0
- 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/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.json +48 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.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/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.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 +19 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- 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/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.json +679 -0
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +143 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- 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 +342 -44
- 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 +72 -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/PendleMsgReceiverAppUpg.sol +0 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -9
- package/contracts/core/RewardManager/RewardManager.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/PendleAuraWethRethSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -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/GLP/GLPPreviewHelper.sol +142 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +224 -0
- package/contracts/core/StandardizedYield/implementations/GLP/README.md +61 -0
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +138 -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 +27 -12
- package/contracts/core/libraries/Errors.sol +8 -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 +12 -0
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +43 -0
- package/contracts/interfaces/GMX/IVaultPriceFeed.sol +11 -0
- package/contracts/interfaces/IAddressProvider.sol +7 -0
- package/contracts/interfaces/IDiamondCut.sol +36 -0
- package/contracts/interfaces/IDiamondLoupe.sol +38 -0
- package/contracts/interfaces/IERC4626.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +36 -1
- package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +30 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +317 -0
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -55
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +60 -0
- package/contracts/interfaces/IPActionMisc.sol +18 -4
- package/contracts/interfaces/IPActionStorageStatic.sol +25 -0
- package/contracts/interfaces/IPActionSwapPT.sol +1 -1
- package/contracts/interfaces/IPActionSwapYT.sol +28 -4
- package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
- package/contracts/interfaces/IPAllAction.sol +5 -3
- package/contracts/interfaces/IPInterestManagerYTV2.sol +13 -0
- package/contracts/interfaces/IPMiniDiamond.sol +12 -0
- package/contracts/interfaces/IPMsgReceiverApp.sol +1 -1
- package/contracts/interfaces/IPRouterStatic.sol +19 -0
- package/contracts/interfaces/IPVotingController.sol +6 -0
- package/contracts/interfaces/IPYieldTokenV2.sol +66 -0
- package/contracts/interfaces/IStandardizedYield.sol +1 -1
- package/contracts/offchain-helpers/AddressProvider.sol +16 -0
- package/contracts/offchain-helpers/Broadcaster.sol +48 -0
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/offchain-helpers/{MarketMathStatic.sol → legacy/MarketMathStatic.sol} +2 -2
- package/contracts/offchain-helpers/{RouterStatic.sol → legacy/RouterStatic.sol} +7 -7
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/StorageLayout.sol +21 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +125 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +769 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +75 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -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 +103 -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 +25 -0
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +46 -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 +9 -10
- 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 +77 -27
- package/typechain-types/ActionSwapPT.ts +26 -31
- package/typechain-types/ActionSwapYT.ts +202 -21
- package/typechain-types/AddressProvider.ts +280 -0
- package/typechain-types/ComposableStablePreview.ts +217 -0
- package/typechain-types/GLPPreviewHelper.ts +121 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAddressProvider.ts +123 -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/IPActionAddRemoveLiq.ts +213 -14
- package/typechain-types/IPActionMintRedeem.ts +29 -211
- package/typechain-types/IPActionMisc.ts +77 -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 +18 -0
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMsgReceiverApp.ts +5 -5
- 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 +346 -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 +37 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +4 -4
- package/typechain-types/PendleGlpSY.ts +1463 -0
- package/typechain-types/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +5 -5
- 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 +126 -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/VotingEscrowPendleSidechain.ts +4 -5
- 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 +356 -48
- package/typechain-types/factories/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- 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/Errors__factory.ts +86 -1
- package/typechain-types/factories/GLPPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAddressProvider__factory.ts +63 -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/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/IPFeeDistributor__factory.ts +19 -0
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +1 -1
- 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 +216 -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 +33 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +2 -2
- 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/PendleMsgReceiverAppUpg__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 +129 -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 +2 -2
- package/typechain-types/hardhat.d.ts +369 -54
- package/typechain-types/index.ts +88 -18
- 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/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/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
- package/contracts/interfaces/IPActionSwapPTYT.sol +0 -31
- package/contracts/router/ActionSwapPTYT.sol +0 -108
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -331
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
- package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
- package/deployments/1-core.json +0 -30
- package/deployments/1-markets/APE-JUNE-29.json +0 -8
- 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
|
+
"0x6102806040523480156200001257600080fd5b50604051620060c8380380620060c883398101604081905262000035916200099d565b808888878282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a3919062000a77565b6040805180820190915260018152603160f81b602082015283908184846003620000ce848262000b32565b506004620000dd838262000b32565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001908184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001d757506007546001600160a01b90910460ff16105b806200020e5750620001f430620004b660201b6200182f1760201c565b1580156200020e5750600754600160a01b900460ff166001145b620002775760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002a5576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002bd620004c5565b801562000306576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b0385166101808190526040805163f5b91b7b60e01b8152905191955063f5b91b7b94506004808201945060209350908290030181865afa15801562000359573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037f919062000bfe565b6001600160a01b039081166101a0528781166101c0528581166101e05284811661020052831661022081905260408051633e9b6c6f60e21b8152905191925063fa6db1bc9160048083019260209291908290030181865afa158015620003e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200040f919062000bfe565b6001600160a01b0316610240816001600160a01b031681525050610220516001600160a01b0316633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200046b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000491919062000bfe565b6001600160a01b031661026052620004a862000548565b505050505050505062000cd5565b6001600160a01b03163b151590565b600754600160a81b900460ff16620005345760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200026e565b600680546001600160a01b03191633179055565b6000610180516001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200058c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005b2919062000c1c565b905060005b81811015620006d55761018051604051630e468baf60e41b8152600481018390526000916001600160a01b03169063e468baf090602401602060405180830381865afa1580156200060c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000632919062000bfe565b61018051604051630daf9c2160e41b81526001600160a01b03808416600483015292935091169063daf9c21090602401602060405180830381865afa15801562000680573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a6919062000c36565b15620006c157620006c18161024051620006d960201b60201c565b50620006cd8162000c5a565b9050620005b7565b5050565b6001600160a01b038216620006ec575050565b6200070060026001600160601b0362000c82565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156200075a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000780919062000c1c565b1015620006d55762000795828260006200079f565b620006d582826000195b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620007fd919062000cb7565b6000604051808303816000865af19150503d80600081146200083c576040519150601f19603f3d011682016040523d82523d6000602084013e62000841565b606091505b50915091508180156200086f5750805115806200086f5750808060200190518101906200086f919062000c36565b620008ac5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016200026e565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620008e6578181015183820152602001620008cc565b50506000910152565b600082601f8301126200090157600080fd5b81516001600160401b03808211156200091e576200091e620008b3565b604051601f8301601f19908116603f01168101908282118183101715620009495762000949620008b3565b816040528381528660208588010111156200096357600080fd5b62000976846020830160208901620008c9565b9695505050505050565b80516001600160a01b03811681146200099857600080fd5b919050565b600080600080600080600080610100898b031215620009bb57600080fd5b88516001600160401b0380821115620009d357600080fd5b620009e18c838d01620008ef565b995060208b0151915080821115620009f857600080fd5b5062000a078b828c01620008ef565b97505062000a1860408a0162000980565b955062000a2860608a0162000980565b945062000a3860808a0162000980565b935062000a4860a08a0162000980565b925062000a5860c08a0162000980565b915062000a6860e08a0162000980565b90509295985092959890939650565b60006020828403121562000a8a57600080fd5b815160ff8116811462000a9c57600080fd5b9392505050565b600181811c9082168062000ab857607f821691505b60208210810362000ad957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b2d57600081815260208120601f850160051c8101602086101562000b085750805b601f850160051c820191505b8181101562000b295782815560010162000b14565b5050505b505050565b81516001600160401b0381111562000b4e5762000b4e620008b3565b62000b668162000b5f845462000aa3565b8462000adf565b602080601f83116001811462000b9e576000841562000b855750858301515b600019600386901b1c1916600185901b17855562000b29565b600085815260208120601f198616915b8281101562000bcf5788860151825594840194600190910190840162000bae565b508582101562000bee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c1157600080fd5b62000a9c8262000980565b60006020828403121562000c2f57600080fd5b5051919050565b60006020828403121562000c4957600080fd5b8151801515811462000a9c57600080fd5b60006001820162000c7b57634e487b7160e01b600052601160045260246000fd5b5060010190565b60006001600160601b038381168062000cab57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000825162000ccb818460208701620008c9565b9190910192915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516151fa62000ece6000396000818161044901528181611bbe01528181612799015261295e01526000818161087f015281816113ec015281816127d401526129990152600081816107b501528181611ce101528181611d990152818161252c01526125d50152600081816104920152613f0d0152600081816102e401528181610fd601528181611a3e01528181611c7e015281816124a80152818161274b01526129100152600081816105de01528181611116015281816111370152818161284d0152612a120152600081816136000152818161385e015281816138da01526147780152600081816108b30152818161103801528181611238015281816112de0152818161136b01528181611858015281816118fe0152818161198b0152818161351a015281816135cf015281816136d6015281816137580152818161382d0152818161392b01528181613a1601528181613a980152818161411c015281816141bd01528181614253015281816142f80152818161483001526148aa0152600061058a01526000612242015260006122910152600061226c015260006121c5015260006121ef01526000612219015260006103be01526151fa6000f3fe6080604052600436106102275760003560e01c806306fdde0314610233578063071bc3c91461025e578063078dfbe714610280578063095ea7b3146102a25780630ddc56d3146102d2578063126082cf14610313578063128fced11461033757806318160ddd1461036457806320e8c56514610379578063213cae631461025e57806323b872dd1461038c578063313ce567146103ac5780633644e515146103f25780633ba0b9a9146104075780633f4ba83a146104225780633fc8cef3146104375780634e71e0c81461046b5780635a3bb989146104805780635c975abb146104b45780635cbadbe4146104cc57806370a0823114610538578063769f8e5d1461055857806376d5de8514610578578063784367d6146105ac57806378a207ee146105cc5780637ecebe00146106005780638456cb59146106205780638da5cb5b1461063557806395082d251461065557806395d89b4114610675578063a40bee501461068a578063a9059cbb146106ae578063a9f8d181146106ce578063b8e387ce146106e4578063b8f82b26146106f9578063c4f59f9b14610719578063cbe52ae31461072e578063d505accf1461074e578063da88ecb41461076e578063dd62ed3e14610783578063e016e44b146107a3578063e30c3978146107d7578063ea64a820146107f7578063ef5cfb8c14610838578063f8b2f99114610858578063fa5a4f06146105ac578063fa6db1bc1461086d578063fbfa77cf146108a157600080fd5b3661022e57005b600080fd5b34801561023f57600080fd5b506102486108d5565b6040516102559190614ad9565b60405180910390f35b34801561026a57600080fd5b50610273610967565b6040516102559190614b50565b34801561028c57600080fd5b506102a061029b366004614b86565b610976565b005b3480156102ae57600080fd5b506102c26102bd366004614bd1565b610a7c565b6040519015158152602001610255565b3480156102de57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b6040516102559190614bfd565b34801561031f57600080fd5b5061032961271081565b604051908152602001610255565b34801561034357600080fd5b50610357610352366004614c11565b610a96565b6040516102559190614c5e565b34801561037057600080fd5b50610329610ba2565b610329610387366004614c71565b610bb1565b34801561039857600080fd5b506102c26103a7366004614cb7565b610cfa565b3480156103b857600080fd5b506103e07f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610255565b3480156103fe57600080fd5b50610329610d78565b34801561041357600080fd5b50670de0b6b3a7640000610329565b34801561042e57600080fd5b506102a0610d82565b34801561044357600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b34801561047757600080fd5b506102a0610db6565b34801561048c57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c057600080fd5b5060385460ff166102c2565b3480156104d857600080fd5b506105186104e7366004614cf8565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610255565b34801561054457600080fd5b50610329610553366004614c11565b610e62565b34801561056457600080fd5b50610329610573366004614d31565b610e7d565b34801561058457600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156105b857600080fd5b506102c26105c7366004614c11565b610fd2565b3480156105d857600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b34801561060c57600080fd5b5061032961061b366004614c11565b6110ae565b34801561062c57600080fd5b506102a06110cc565b34801561064157600080fd5b50600654610306906001600160a01b031681565b34801561066157600080fd5b5061032968327cb2734119d3b7a9601e1b81565b34801561068157600080fd5b506102486110fe565b34801561069657600080fd5b5061069f61110d565b60405161025593929190614da6565b3480156106ba57600080fd5b506102c26106c9366004614bd1565b6111c2565b3480156106da57600080fd5b50610329603a5481565b3480156106f057600080fd5b506102a0611234565b34801561070557600080fd5b50610329610714366004614bd1565b611425565b34801561072557600080fd5b50610273611460565b34801561073a57600080fd5b50610329610749366004614bd1565b61146a565b34801561075a57600080fd5b506102a0610769366004614df7565b61149e565b34801561077a57600080fd5b50610357611602565b34801561078f57600080fd5b5061032961079e366004614cf8565b6116d3565b3480156107af57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156107e357600080fd5b50600754610306906001600160a01b031681565b34801561080357600080fd5b50610518610812366004614c11565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561084457600080fd5b50610357610853366004614c11565b6116fe565b34801561086457600080fd5b506103576117bd565b34801561087957600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b3480156108ad57600080fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b6060600380546108e490614e68565b80601f016020809104026020016040519081016040528092919081815260200182805461091090614e68565b801561095d5780601f106109325761010080835404028352916020019161095d565b820191906000526020600020905b81548152906001019060200180831161094057829003601f168201915b5050505050905090565b606061097161183e565b905090565b6006546001600160a01b031633146109a95760405162461bcd60e51b81526004016109a090614e9c565b60405180910390fd5b8115610a5b576001600160a01b0383161515806109c35750805b610a075760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016109a0565b6006546040516001600160a01b0380861692169060008051602061518583398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610a8a818585611a75565b60019150505b92915050565b60606000610aa2611b9a565b905080516001600160401b03811115610abd57610abd614ed1565b604051908082528060200260200182016040528015610ae6578160200160208202803683370190505b50915060005b8151811015610b9b5760396000838381518110610b0b57610b0b614ee7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610b8857610b88614ee7565b6020908102919091010152600101610aec565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610be25760405162461bcd60e51b81526004016109a090614efd565b600280546001600160f81b0316600160f91b179055610c0084610fd2565b610c1f57836040516315d57ce360e31b81526004016109a09190614bfd565b82600003610c4057604051630a907f2f60e41b815260040160405180910390fd5b610c4b843385611c13565b610c558484611c7a565b905081811015610c7c578082604051635e38f95d60e11b81526004016109a0929190614f34565b610c868582611e06565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610cd5929190614f34565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610d2b5760405162461bcd60e51b81526004016109a090614efd565b600280546001600160f81b0316600160f91b17905533610d4c858285611f1c565b610d57858585611f96565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60006109716121b8565b6006546001600160a01b03163314610dac5760405162461bcd60e51b81526004016109a090614e9c565b610db46122df565b565b6007546001600160a01b0316338114610e115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016109a0565b6006546040516001600160a01b0380841692169060008051602061518583398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff1601610eae5760405162461bcd60e51b81526004016109a090614efd565b600280546001600160f81b0316600160f91b179055610ecc84610fd2565b610eeb57836040516388a5056160e01b81526004016109a09190614bfd565b84600003610f0c5760405163c3d83b0760e01b815260040160405180910390fd5b8115610f2157610f1c308661232b565b610f2b565b610f2b338661232b565b610f368685876124a4565b905082811015610f5d5780836040516305ff726560e51b81526004016109a0929190614f34565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610fac929190614f34565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316148061101b57506001600160a01b038216155b80610a905750604051630daf9c2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c2109061106d908590600401614bfd565b602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a909190614f42565b6001600160a01b038116600090815260056020526040812054610a90565b6006546001600160a01b031633146110f65760405162461bcd60e51b81526004016109a090614e9c565b610db461264a565b6060600480546108e490614e68565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611193573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b79190614f5f565b925092509250909192565b600254600090600119600160f81b90910460ff16016111f35760405162461bcd60e51b81526004016109a090614efd565b600280546001600160f81b0316600160f91b17905533611214818585611f96565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa158015611294573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b89190614f7c565b905060005b8181101561142157604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa15801561132d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113519190614f95565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c210906113a0908490600401614bfd565b602060405180830381865afa1580156113bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e19190614f42565b1561141057611410817f0000000000000000000000000000000000000000000000000000000000000000612687565b5061141a81614fc8565b90506112bd565b5050565b600061143083610fd2565b61144f57826040516315d57ce360e31b81526004016109a09190614bfd565b6114598383612747565b9392505050565b6060610971611b9a565b600061147583610fd2565b61149457826040516388a5056160e01b81526004016109a09190614bfd565b611459838361290c565b834211156114ee5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016109a0565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861151d8c612ab9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061157882612ae1565b9050600061158882878787612b2f565b9050896001600160a01b0316816001600160a01b0316146115eb5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016109a0565b6115f68a8a8a611a75565b50505050505050505050565b6060600061160e611b9a565b905080516001600160401b0381111561162957611629614ed1565b604051908082528060200260200182016040528015611652578160200160208202803683370190505b50915060005b81518110156116ce57603b600083838151811061167757611677614ee7565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b03909116908490839081106116bb576116bb614ee7565b6020908102919091010152600101611658565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff160161172f5760405162461bcd60e51b81526004016109a090614efd565b600280546001600160f81b0316600160f91b17905561174d82612b57565b6117578283612b65565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f61178c611b9a565b8360405161179b929190614fe1565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff16016117ee5760405162461bcd60e51b81526004016109a090614efd565b600280546001600160f81b0316600160f91b17905561180b612e0d565b5050611815611602565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b03163b151590565b6040805160008082526020820190925260609150905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d89190614f7c565b905060005b81811015611a3757604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa15801561194d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119719190614f95565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c210906119c0908490600401614bfd565b602060405180830381865afa1580156119dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a019190614f42565b8015611a145750611a1284826130a8565b155b15611a2657611a238482613107565b93505b50611a3081614fc8565b90506118dd565b50611a62827f0000000000000000000000000000000000000000000000000000000000000000613107565b9150611a6f826000613107565b91505090565b6001600160a01b038316611ad75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109a0565b6001600160a01b038216611b385760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109a0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611bf057611bf0614ee7565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6001600160a01b038316611c5f57803414610a775760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016109a0565b8015610a7757610a776001600160a01b0384168330846131ec565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611cbc575080610a90565b6001600160a01b038316611d65576040516353a8aa0360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906353a8aa03903490611d1b906000908190600401614f34565b60206040518083038185885af1158015611d39573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d5e9190614f7c565b9050610a90565b60405163364e231160e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301527f0000000000000000000000000000000000000000000000000000000000000000169063364e2311906084016020604051808303816000875af1158015611de2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114599190614f7c565b6001600160a01b038216611e5c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109a0565b611e6860008383613257565b611e7181613261565b60028054600090611e8c9084906001600160f81b0316615006565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254611ee4919061502d565b90915550506040518181526001600160a01b038316906000906000805160206151a58339815191529060200160405180910390a35050565b6000611f2884846116d3565b90506000198114611f905781811015611f835760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109a0565b611f908484848403611a75565b50505050565b6001600160a01b038316611ffa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109a0565b6001600160a01b03821661205c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109a0565b816001600160a01b0316836001600160a01b0316036120b75760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016109a0565b6120c2838383613257565b6001600160a01b0383166000908152602081905260409020548181101561213a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109a0565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061217190849061502d565b92505081905550826001600160a01b0316846001600160a01b03166000805160206151a5833981519152846040516121ab91815260200190565b60405180910390a3611f90565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561221157507f000000000000000000000000000000000000000000000000000000000000000046145b1561223b57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6122e761327b565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516123219190614bfd565b60405180910390a1565b6001600160a01b03821661238b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109a0565b61239782600083613257565b6001600160a01b0382166000908152602081905260409020548181101561240b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109a0565b6001600160a01b0383166000908152602081905260409020828203905561243182613261565b6002805460009061244c9084906001600160f81b0316615040565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206151a583398151915284604051611b8d91815260200190565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036124f15750806124ec8385836132c4565b611459565b6001600160a01b0383166125a0576040516355daf2f160e11b815260048101839052600060248201526001600160a01b0385811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063abb5e5e2906064016020604051808303816000875af1158015612575573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125999190614f7c565b9050611459565b6040516303cea95560e21b81526001600160a01b038481166004830152602482018490526000604483015285811660648301527f00000000000000000000000000000000000000000000000000000000000000001690630f3aa554906084016020604051808303816000875af115801561261e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126429190614f7c565b949350505050565b612652613388565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123143390565b6001600160a01b038216612699575050565b6126ab60026001600160601b03615076565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015612704573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127289190614f7c565b10156114215761273a828260006133ce565b61142182826000196133ce565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612789575080610a90565b6001600160a01b0383166127bb577f000000000000000000000000000000000000000000000000000000000000000092505b604051630345051f60e51b8152600160048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906368a0a3e090602401602060405180830381865afa158015612823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128479190614f7c565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128cd9190614f7c565b905060006128db86866134e2565b9050600083156128ff57836128f0848461509c565b6128fa91906150b3565b612901565b815b979650505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361294e575080610a90565b6001600160a01b038316612980577f000000000000000000000000000000000000000000000000000000000000000092505b604051630345051f60e51b8152600060048201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906368a0a3e090602401602060405180830381865afa1580156129e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0c9190614f7c565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a929190614f7c565b9050600081612aa1848761509c565b612aab91906150b3565b9050600061290187836138d3565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610a90612aee6121b8565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612b4087878787613b99565b91509150612b4d81613c7c565b5095945050505050565b612b62816000613e2d565b50565b60606000612b71611b9a565b905080516001600160401b03811115612b8c57612b8c614ed1565b604051908082528060200260200182016040528015612bb5578160200160208202803683370190505b50915060005b8151811015612e055760396000838381518110612bda57612bda614ee7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110612c5757612c57614ee7565b602002602001018181525050828181518110612c7557612c75614ee7565b6020026020010151600014612df357600060396000848481518110612c9c57612c9c614ee7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b03160217905550612d30838281518110612d2357612d23614ee7565b6020026020010151613ead565b603b6000848481518110612d4657612d46614ee7565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b0316612d9291906150c7565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612df3828281518110612dcb57612dcb614ee7565b602002602001015185858481518110612de657612de6614ee7565b60200260200101516132c4565b80612dfd81614fc8565b915050612bbb565b505092915050565b606080612e18611b9a565b915081516001600160401b03811115612e3357612e33614ed1565b604051908082528060200260200182016040528015612e5c578160200160208202803683370190505b5090508151600003612e6c579091565b43603a54146130205743603a556000612e83613ec3565b9050612e8d613ecd565b60005b835181101561301d576000848281518110612ead57612ead614ee7565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b031690612f0b90889086908110612efe57612efe614ee7565b6020026020010151613f6d565b612f1591906150e7565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b0390911690819003612f48575060015b8415612f6557612f588286613ff7565b612f62908261502d565b90505b612f6e81613ead565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b0392909216919091179055612fad82613ead565b6001600160a01b0384166000908152603b602052604090208054601090612fe5908490600160801b90046001600160801b03166150fa565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505050508061301690614fc8565b9050612e90565b50505b60005b82518110156130a357603b600084838151811061304257613042614ee7565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061308657613086614ee7565b60209081029190910101528061309b81614fc8565b915050613023565b509091565b8151600090815b818110156130fc57836001600160a01b03168582815181106130d3576130d3614ee7565b60200260200101516001600160a01b0316036130f457600192505050610a90565b6001016130af565b506000949350505050565b815160609061311781600161502d565b6001600160401b0381111561312e5761312e614ed1565b604051908082528060200260200182016040528015613157578160200160208202803683370190505b50915060005b818110156131b15784818151811061317757613177614ee7565b602002602001015183828151811061319157613191614ee7565b6001600160a01b039092166020928302919091019091015260010161315d565b50828282815181106131c5576131c5614ee7565b60200260200101906001600160a01b031690816001600160a01b0316815250505092915050565b6040516001600160a01b0380851660248301528316604482015260648101829052611f909085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614026565b610a778383613e2d565b60006001600160f81b0382111561327757600080fd5b5090565b60385460ff16610db45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109a0565b806000036132d157505050565b6001600160a01b038316613374576000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461332c576040519150601f19603f3d011682016040523d82523d6000602084013e613331565b606091505b5050905080611f905760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016109a0565b610a776001600160a01b03841683836140f8565b60385460ff1615610db45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109a0565b600080846001600160a01b031663095ea7b360e01b85856040516024016133f692919061511a565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516134349190615133565b6000604051808303816000865af19150503d8060008114613471576040519150601f19603f3d011682016040523d82523d6000602084013e613476565b606091505b50915091508180156134a05750805115806134a05750808060200190518101906134a09190614f42565b6134db5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016109a0565b5050505050565b60006134ee8383614117565b9150600082116135005761350061514f565b6040516340d3096b60e11b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906381a612d69061354f908790600401614bfd565b602060405180830381865afa15801561356c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135909190614f7c565b9050600068327cb2734119d3b7a9601e1b6135ab838661509c565b6135b591906150b3565b604051634215287360e01b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063421528739061362890849089907f000000000000000000000000000000000000000000000000000000000000000090600401615165565b602060405180830381865afa158015613645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136699190614f7c565b9050600081116136cb5760405162461bcd60e51b815260206004820152602760248201527f7072657669657720627579555344473a2075736467416d6f756e74206d7573746044820152660206265203e20360cc1b60648201526084016109a0565b60006137df868360007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634d47b3046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137569190614f7c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a210a2b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d89190614f7c565b600161424f565b905060006137ee8787846144c6565b9050600068327cb2734119d3b7a9601e1b613809868461509c565b61381391906150b3565b604051634215287360e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342152873906138869084908c907f000000000000000000000000000000000000000000000000000000000000000090600401615165565b602060405180830381865afa1580156138a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c79190614f7c565b98975050505050505050565b60006138ff7f000000000000000000000000000000000000000000000000000000000000000083614117565b9150600082116139115761391161514f565b604051632c668ec160e01b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632c668ec190613962908790879060040161511a565b602060405180830381865afa15801561397f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139a39190614f7c565b905060008111613a0c5760405162461bcd60e51b815260206004820152602e60248201527f707265766965772073656c6c555344473a20726564656d7074696f6e416d6f7560448201526d06e74206d757374206265203e20360941b60648201526084016109a0565b6000613b1f8585867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634d47b3046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a969190614f7c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a210a2b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613af4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b189190614f7c565b600061424f565b90506000613b2e8684846144c6565b905060008111613b905760405162461bcd60e51b815260206004820152602760248201527f707265766965772073656c6c555344473a20616d6f756e744f7574206d7573746044820152660206265203e20360cc1b60648201526084016109a0565b95945050505050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115613bc65750600090506003613c73565b8460ff16601b14158015613bde57508460ff16601c14155b15613bef5750600090506004613c73565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613c43573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613c6c57600060019250925050613c73565b9150600090505b94509492505050565b6000816004811115613c9057613c90614d90565b03613c985750565b6001816004811115613cac57613cac614d90565b03613cf45760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016109a0565b6002816004811115613d0857613d08614d90565b03613d555760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109a0565b6003816004811115613d6957613d69614d90565b03613dc15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109a0565b6004816004811115613dd557613dd5614d90565b03612b625760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109a0565b600080613e38612e0d565b915091508151600003613e4b5750505050565b6001600160a01b03841615801590613e6c57506001600160a01b0384163014155b15613e7c57613e7c8483836144ea565b6001600160a01b03831615801590613e9d57506001600160a01b0383163014155b15611f9057611f908383836144ea565b60006001600160801b0382111561327757600080fd5b6000610971610ba2565b60405163185b800160e11b815260006004820181905260248201819052600160448301819052606483018190526084830182905260a483015260c48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906330b700029060e401600060405180830381600087803b158015613f5957600080fd5b505af1158015611f90573d6000803e3d6000fd5b60006001600160a01b03821615613ff0576040516370a0823160e01b81526001600160a01b038316906370a0823190613faa903090600401614bfd565b602060405180830381865afa158015613fc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613feb9190614f7c565b610a90565b4792915050565b60008061400c670de0b6b3a76400008561509c565b905082818161401d5761401d615060565b04949350505050565b600061407b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166147639092919063ffffffff16565b805190915015610a7757808060200190518101906140999190614f42565b610a775760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109a0565b610a778363a9059cbb60e01b848460405160240161322092919061511a565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663523fba7f856040518263ffffffff1660e01b81526004016141669190614bfd565b602060405180830381865afa158015614183573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141a79190614f7c565b9050600083856001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016141f89190614bfd565b602060405180830381865afa158015614215573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142399190614f7c565b614243919061502d565b9050613b9082826150e7565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639f392eb36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142d39190614f42565b6142de5750826144bc565b604051631aa4ace560e01b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631aa4ace59061432d908b90600401614bfd565b602060405180830381865afa15801561434a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061436e9190614f7c565b90508581101561437f576000614389565b61438986826150e7565b90506000614397888361502d565b9050836143ba578188116143b4576143af88836150e7565b6143b7565b60005b90505b60006143c68a89614772565b9050806000036143db578693505050506144bc565b60008184116143f3576143ee84836150e7565b6143fd565b6143fd82856150e7565b905060008284116144175761441284846150e7565b614421565b61442183856150e7565b90508181101561446a57600083614438848b61509c565b61444291906150b3565b905089811161445a57614455818b6150e7565b61445d565b60005b96505050505050506144bc565b60006002614478838561502d565b61448291906150b3565b90508381111561448f5750825b60008461449c838c61509c565b6144a691906150b3565b90506144b2818c61502d565b9750505050505050505b9695505050505050565b6000806127106144d684826150e7565b6144e0908661509c565b613b9091906150b3565b6001600160a01b0383161580159061450b57506001600160a01b0383163014155b6145175761451761514f565b600061452284614934565b905060005b83518110156134db57600084828151811061454457614544614ee7565b60200260200101519050600084838151811061456257614562614ee7565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b0316908190036145fe576145b082613ead565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506147539050565b81810361460d57505050614753565b600061461982846150e7565b90506000614627878361493f565b6001600160a01b038681166000908152603960209081526040808320938f168352929052908120549192509061466e908390600160801b90046001600160801b031661502d565b9050604051806040016040528061468487613ead565b6001600160801b0316815260200161469b83613ead565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61475c81614fc8565b9050614527565b6060612642848460008561495d565b600080827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156147d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147f89190614f7c565b61480291906150e7565b905080600003614816576000915050610a90565b604051632acbceb560e21b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ab2f3ad490614865908890600401614bfd565b602060405180830381865afa158015614882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148a69190614f7c565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dc8f5fac6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614906573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061492a9190614f7c565b6144e0838361509c565b6000610a9082610e62565b60008061494c838561509c565b9050670de0b6b3a76400008161401d565b6060824710156149be5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109a0565b6149c78561182f565b614a135760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109a0565b600080866001600160a01b03168587604051614a2f9190615133565b60006040518083038185875af1925050503d8060008114614a6c576040519150601f19603f3d011682016040523d82523d6000602084013e614a71565b606091505b509150915061290182828660608315614a8b575081611459565b825115614a9b5782518084602001fd5b8160405162461bcd60e51b81526004016109a09190614ad9565b60005b83811015614ad0578181015183820152602001614ab8565b50506000910152565b6020815260008251806020840152614af8816040850160208701614ab5565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015614b455781516001600160a01b031687529582019590820190600101614b20565b509495945050505050565b6020815260006114596020830184614b0c565b6001600160a01b0381168114612b6257600080fd5b8015158114612b6257600080fd5b600080600060608486031215614b9b57600080fd5b8335614ba681614b63565b92506020840135614bb681614b78565b91506040840135614bc681614b78565b809150509250925092565b60008060408385031215614be457600080fd5b8235614bef81614b63565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600060208284031215614c2357600080fd5b813561145981614b63565b600081518084526020808501945080840160005b83811015614b4557815187529582019590820190600101614c42565b6020815260006114596020830184614c2e565b60008060008060808587031215614c8757600080fd5b8435614c9281614b63565b93506020850135614ca281614b63565b93969395505050506040820135916060013590565b600080600060608486031215614ccc57600080fd5b8335614cd781614b63565b92506020840135614ce781614b63565b929592945050506040919091013590565b60008060408385031215614d0b57600080fd5b8235614d1681614b63565b91506020830135614d2681614b63565b809150509250929050565b600080600080600060a08688031215614d4957600080fd5b8535614d5481614b63565b9450602086013593506040860135614d6b81614b63565b9250606086013591506080860135614d8281614b78565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b6060810160028510614dc857634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff81168114612b6257600080fd5b600080600080600080600060e0888a031215614e1257600080fd5b8735614e1d81614b63565b96506020880135614e2d81614b63565b955060408801359450606088013593506080880135614e4b81614de8565b9699959850939692959460a0840135945060c09093013592915050565b600181811c90821680614e7c57607f821691505b602082108103612adb57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b600060208284031215614f5457600080fd5b815161145981614b78565b600060208284031215614f7157600080fd5b815161145981614de8565b600060208284031215614f8e57600080fd5b5051919050565b600060208284031215614fa757600080fd5b815161145981614b63565b634e487b7160e01b600052601160045260246000fd5b600060018201614fda57614fda614fb2565b5060010190565b604081526000614ff46040830185614b0c565b8281036020840152613b908185614c2e565b6001600160f81b0381811683821601908082111561502657615026614fb2565b5092915050565b80820180821115610a9057610a90614fb2565b6001600160f81b0382811682821603908082111561502657615026614fb2565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b038381168061509057615090615060565b92169190910492915050565b8082028115828204841417610a9057610a90614fb2565b6000826150c2576150c2615060565b500490565b6001600160801b0382811682821603908082111561502657615026614fb2565b81810381811115610a9057610a90614fb2565b6001600160801b0381811683821601908082111561502657615026614fb2565b6001600160a01b03929092168252602082015260400190565b60008251615145818460208701614ab5565b9190910192915050565b634e487b7160e01b600052600160045260246000fd5b9283526001600160a01b0391821660208401521660408201526060019056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122067031f00f82d7b22af3ebea869291db6aa8f35873b4a4f2da42193baab21fedd64736f6c63430008110033";
|
|
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
|
+
}
|