@pendle/core-v2 2.1.2-mainnet → 2.2.0-mainnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/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/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- 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 +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +1192 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -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 +2 -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/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
- 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/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
- 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/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- 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 +2 -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 +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -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 +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/libraries/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/BaseSplitCodeFactory.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -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/StringLib.sol/StringLib.json +2 -2
- 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/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- 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/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 +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- 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/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.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/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +269 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +1260 -0
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IAToken.sol/IAToken.json → IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json} +114 -93
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +184 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.json +40 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- 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/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/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- 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/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.json +55 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2322 -0
- 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 +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.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/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- 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/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +333 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1397 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +310 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +228 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json +10 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +4 -5
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +3 -5
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +7 -10
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +8 -10
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +16 -8
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +3 -5
- package/contracts/LiquidityMining/README.md +49 -46
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +9 -14
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +4 -10
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +23 -36
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +18 -24
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +3 -4
- package/contracts/LiquidityMining/libraries/VeBalanceLib.sol +20 -26
- package/contracts/core/BulkSeller/BulkSeller.sol +1 -5
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +4 -5
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +20 -25
- package/contracts/core/Market/MarketMathCore.sol +23 -69
- package/contracts/core/Market/OracleLib.sol +4 -4
- package/contracts/core/Market/PendleGauge.sol +7 -20
- package/contracts/core/Market/PendleMarket.sol +5 -15
- package/contracts/core/Market/PendleMarketFactory.sol +3 -9
- package/contracts/core/RewardManager/RewardManager.sol +4 -6
- package/contracts/core/RewardManager/RewardManagerAbstract.sol +4 -4
- package/contracts/core/StandardizedYield/PYIndex.sol +7 -36
- package/contracts/core/StandardizedYield/SYBase.sol +20 -26
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +7 -19
- package/contracts/core/StandardizedYield/SYUtils.sol +4 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +12 -16
- package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +14 -24
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +126 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +12 -20
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +12 -20
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +1 -5
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +28 -44
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +28 -47
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +6 -10
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +6 -10
- package/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol +13 -22
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +20 -27
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +20 -27
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +4 -4
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +32 -40
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +10 -12
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +14 -18
- package/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol +32 -48
- package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +6 -7
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +14 -24
- package/contracts/core/StandardizedYield/implementations/GLP/README.md +15 -13
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +12 -38
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +13 -23
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +13 -23
- package/contracts/core/YieldContracts/PendleYieldToken.sol +28 -44
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +4 -4
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +1 -1
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +24 -38
- package/contracts/core/erc20/PendleERC20.sol +14 -44
- package/contracts/core/libraries/ArrayLib.sol +20 -9
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +5 -7
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -5
- package/contracts/core/libraries/Errors.sol +0 -2
- package/contracts/core/libraries/StringLib.sol +14 -20
- package/contracts/core/libraries/TokenHelper.sol +6 -31
- package/contracts/core/libraries/math/LogExpMath.sol +2 -2
- package/contracts/core/libraries/math/Math.sol +3 -15
- package/contracts/interfaces/Balancer/IComposableStable.sol +4 -14
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +4 -13
- package/contracts/interfaces/Balancer/IVault.sol +4 -6
- package/contracts/interfaces/ConvexCurve/IBooster.sol +4 -16
- package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +1 -5
- package/contracts/interfaces/ConvexCurve/IRewards.sol +1 -4
- package/contracts/interfaces/Curve/ICrvPool.sol +12 -11
- package/contracts/interfaces/Curve/ITriCrvPool.sol +4 -4
- package/contracts/interfaces/GMX/IGMXVault.sol +4 -4
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +4 -4
- package/contracts/interfaces/IApeStaking.sol +3 -4
- package/contracts/interfaces/IDiamondLoupe.sol +3 -1
- package/contracts/interfaces/IERC4626.sol +1 -5
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +2 -15
- package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +34 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +335 -0
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +55 -0
- package/contracts/interfaces/IPActionStorageStatic.sol +24 -0
- package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +1 -5
- package/contracts/interfaces/IPFeeDistributor.sol +4 -3
- package/contracts/interfaces/IPGaugeController.sol +3 -9
- package/contracts/interfaces/IPInterestManagerYT.sol +3 -4
- package/contracts/interfaces/IPInterestManagerYTV2.sol +4 -6
- package/contracts/interfaces/IPMarket.sol +5 -16
- package/contracts/interfaces/IPMarketFactory.sol +3 -8
- package/contracts/interfaces/IPMarketSwapCallback.sol +1 -5
- package/contracts/interfaces/IPMiniDiamond.sol +12 -0
- package/contracts/interfaces/IPRouterStatic.sol +19 -0
- package/contracts/interfaces/IPVotingController.sol +5 -6
- package/contracts/interfaces/IPVotingEscrowMainchain.sol +8 -7
- package/contracts/interfaces/IPYieldToken.sol +4 -3
- package/contracts/interfaces/IPYieldTokenV2.sol +4 -3
- package/contracts/interfaces/IRewardManager.sol +4 -4
- package/contracts/interfaces/IStETH.sol +4 -3
- package/contracts/interfaces/IStandardizedYield.sol +10 -14
- package/contracts/interfaces/IStargateRouter.sol +1 -5
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +4 -1
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +7 -11
- package/contracts/offchain-helpers/Multicall2.sol +14 -24
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +122 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +165 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +780 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +158 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +76 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +21 -0
- package/contracts/router/ActionAddRemoveLiq.sol +2 -17
- package/contracts/router/ActionSwapYT.sol +9 -3
- package/contracts/router/base/ActionBaseCallback.sol +2 -2
- package/contracts/router/base/ActionBaseMintRedeem.sol +4 -5
- package/contracts/router/base/CallbackHelper.sol +16 -27
- package/contracts/router/base/MarketApproxLib.sol +18 -82
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +4 -10
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +4 -5
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -5
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +1 -5
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +4 -5
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +9 -9
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +3 -4
- package/deployments/1-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/package.json +5 -4
- package/typechain-types/ActionMarketCoreStatic.ts +0 -4
- package/typechain-types/ActionStorageStatic.ts +5 -3
- package/typechain-types/IPActionMarketCoreStatic.ts +0 -4
- package/typechain-types/IPActionStorageStatic.ts +5 -3
- package/typechain-types/IPRouterStatic.ts +5 -7
- package/typechain-types/{SYBaseAutoCompound.ts → PendleAuraWethAnkrethSY.ts} +335 -15
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -11
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +3 -3
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AddressProvider__factory.ts +1 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__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/Errors__factory.ts +1 -1
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +0 -10
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +2 -2
- package/typechain-types/factories/IPRouterStatic__factory.ts +2 -12
- package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
- package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
- package/typechain-types/factories/Multicall2__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1265 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
- 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 +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +36 -63
- package/typechain-types/index.ts +10 -10
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +0 -87
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +0 -59
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +0 -34
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +0 -162
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +0 -87
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +0 -24
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +0 -24
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +0 -92
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +0 -199
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +0 -168
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +0 -252
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +0 -132
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +0 -148
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -259
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2825
- package/contracts/interfaces/IAToken.sol +0 -44
- package/contracts/interfaces/IAavePool.sol +0 -41
- package/contracts/interfaces/IAaveRewardsController.sol +0 -32
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
- package/contracts/interfaces/IEulerEToken.sol +0 -60
- package/contracts/interfaces/IEulerMarkets.sol +0 -46
- package/contracts/interfaces/IPGovernanceManager.sol +0 -28
- package/contracts/interfaces/IPPermissionsV2Upg.sol +0 -28
- package/contracts/interfaces/IREDACTEDStaking.sol +0 -35
- package/contracts/interfaces/ISAvax.sol +0 -61
- package/contracts/interfaces/ISJoe.sol +0 -57
- package/contracts/interfaces/IWAvax.sol +0 -34
- package/contracts/interfaces/IWXBTRFLY.sol +0 -39
- package/contracts/interfaces/IYearnVault.sol +0 -46
- package/contracts/offchain-helpers/MarketMathStatic.sol +0 -572
- package/contracts/offchain-helpers/RouterStatic.sol +0 -929
- package/typechain-types/AccessControl.ts +0 -360
- package/typechain-types/ActionBaseMintRedeem.ts +0 -87
- package/typechain-types/ActionCallback.ts +0 -134
- package/typechain-types/ActionCore.ts +0 -1758
- package/typechain-types/ActionSCYAndPTBase.ts +0 -87
- package/typechain-types/ActionSCYAndPYBase.ts +0 -87
- package/typechain-types/ActionSCYAndYTBase.ts +0 -87
- package/typechain-types/ActionSwapPTYT.ts +0 -237
- package/typechain-types/ActionYT.ts +0 -509
- package/typechain-types/AggregationRouterHelper.ts +0 -392
- package/typechain-types/BaseSplitCodeFactory.ts +0 -118
- package/typechain-types/BoringOwnable.ts +0 -194
- package/typechain-types/BoringOwnableData.ts +0 -100
- package/typechain-types/BribeDistributor.ts +0 -363
- package/typechain-types/CelerReceiverUpg.ts +0 -372
- package/typechain-types/CelerSenderUpg.ts +0 -321
- package/typechain-types/Curve3CrvPoolHelper.ts +0 -236
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +0 -158
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +0 -184
- package/typechain-types/DistributorBase.ts +0 -363
- package/typechain-types/ERC165.ts +0 -102
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +0 -97
- package/typechain-types/EpochResultManager.ts +0 -261
- package/typechain-types/FeeDistributor.ts +0 -416
- package/typechain-types/FeeDistributorAbstract.ts +0 -240
- package/typechain-types/FeeDistributorVePendle.ts +0 -81
- package/typechain-types/FeeDistributorVoting.ts +0 -272
- package/typechain-types/FeeDistributorVotingFactory.ts +0 -293
- package/typechain-types/GMXPreviewHelper.ts +0 -121
- package/typechain-types/IAccessControl.ts +0 -305
- package/typechain-types/IAggregationRouterHelper.ts +0 -108
- package/typechain-types/IBeaconUpgradeable.ts +0 -87
- package/typechain-types/ICelerMessageBus.ts +0 -134
- package/typechain-types/ICelerMessageReceiverApp.ts +0 -120
- package/typechain-types/IERC165.ts +0 -102
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +0 -87
- package/typechain-types/IERC20Upgradeable.ts +0 -300
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +0 -109
- package/typechain-types/IMetaAggregationRouter.ts +0 -213
- package/typechain-types/IMultihopRouter.ts +0 -209
- package/typechain-types/IMultihopRouterEthereum.ts +0 -209
- package/typechain-types/IPActionCore.ts +0 -1739
- package/typechain-types/IPActionSwapPTYT.ts +0 -237
- package/typechain-types/IPActionYT.ts +0 -490
- package/typechain-types/IPBatchSeller.ts +0 -234
- package/typechain-types/IPFeeDistributorFactory.ts +0 -101
- package/typechain-types/IPVotingControllerStorage.ts +0 -169
- package/typechain-types/IPVotingEscrow.ts +0 -344
- package/typechain-types/ISuperComposableYield.ts +0 -895
- package/typechain-types/ISwapAggregator.ts +0 -124
- package/typechain-types/ImplicitSwapfeeContract.ts +0 -149
- package/typechain-types/KyberSwapHelper.ts +0 -87
- package/typechain-types/OwnableUpgradeable.ts +0 -165
- package/typechain-types/Pendle3CrvAndTokenSCY.ts +0 -1215
- package/typechain-types/Pendle3CrvAndTokenSY.ts +0 -1243
- package/typechain-types/Pendle3CrvHelper.ts +0 -133
- package/typechain-types/Pendle3CrvTokenSCY.ts +0 -1150
- package/typechain-types/PendleAaveV3SCY.ts +0 -1088
- package/typechain-types/PendleApeStakingSY.ts +0 -1135
- package/typechain-types/PendleBatchSeller.ts +0 -648
- package/typechain-types/PendleConvex2TokensSY.ts +0 -1215
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +0 -1215
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +0 -1269
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +0 -1288
- package/typechain-types/PendleConvexCurveLPSCY.ts +0 -1189
- package/typechain-types/PendleCvxCRVSCY.ts +0 -1104
- package/typechain-types/PendleERC4626SCY.ts +0 -950
- package/typechain-types/PendleEulerSCY.ts +0 -965
- package/typechain-types/PendleFeeDistributorAbstract.ts +0 -289
- package/typechain-types/PendleFeeDistributorFactory.ts +0 -591
- package/typechain-types/PendleFeeDistributorVoting.ts +0 -321
- package/typechain-types/PendleFeeDistributorVotingFactory.ts +0 -294
- package/typechain-types/PendleGovernanceManager.ts +0 -187
- package/typechain-types/PendleLooksStaking.ts +0 -1052
- package/typechain-types/PendleQiSAvaxSCY.ts +0 -1098
- package/typechain-types/PendleQiTokenSCY.ts +0 -1166
- package/typechain-types/PendleSAvaxSCY.ts +0 -962
- package/typechain-types/PendleSJoeSCY.ts +0 -1053
- package/typechain-types/PendleStargateSCY.ts +0 -1135
- package/typechain-types/PendleWstEthSCY.ts +0 -1040
- package/typechain-types/PendleYearnVaultSCY.ts +0 -963
- package/typechain-types/PermissionsV2Upg.ts +0 -87
- package/typechain-types/PtAMMArb.ts +0 -587
- package/typechain-types/SCYBase.ts +0 -1001
- package/typechain-types/SCYBaseWithDynamicRewards.ts +0 -1063
- package/typechain-types/SCYBaseWithRewards.ts +0 -1094
- package/typechain-types/SSTORE2DeployerContract.ts +0 -242
- package/typechain-types/StEthHelper.ts +0 -107
- package/typechain-types/SwapAggregator.ts +0 -406
- package/typechain-types/factories/AccessControl__factory.ts +0 -227
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +0 -43
- package/typechain-types/factories/ActionCallback__factory.ts +0 -223
- package/typechain-types/factories/ActionCore__factory.ts +0 -1863
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +0 -39
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +0 -39
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +0 -39
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +0 -396
- package/typechain-types/factories/ActionYT__factory.ts +0 -499
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +0 -281
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +0 -102
- package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
- package/typechain-types/factories/BoringOwnable__factory.ts +0 -141
- package/typechain-types/factories/BribeDistributor__factory.ts +0 -303
- package/typechain-types/factories/CelerReceiverUpg__factory.ts +0 -205
- package/typechain-types/factories/CelerSenderUpg__factory.ts +0 -163
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +0 -220
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +0 -146
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +0 -172
- package/typechain-types/factories/DistributorBase__factory.ts +0 -249
- package/typechain-types/factories/ERC165__factory.ts +0 -39
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +0 -75
- package/typechain-types/factories/EpochResultManager__factory.ts +0 -146
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +0 -127
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +0 -97
- package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +0 -211
- package/typechain-types/factories/FeeDistributorVoting__factory.ts +0 -219
- package/typechain-types/factories/FeeDistributor__factory.ts +0 -339
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +0 -65
- package/typechain-types/factories/IAccessControl__factory.ts +0 -198
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +0 -54
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/ICelerMessageBus__factory.ts +0 -68
- package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +0 -64
- package/typechain-types/factories/IERC165__factory.ts +0 -42
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +0 -43
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +0 -209
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +0 -56
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +0 -202
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +0 -155
- package/typechain-types/factories/IMultihopRouter__factory.ts +0 -151
- package/typechain-types/factories/IPActionCore__factory.ts +0 -1784
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +0 -205
- package/typechain-types/factories/IPActionYT__factory.ts +0 -435
- package/typechain-types/factories/IPBatchSeller__factory.ts +0 -132
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +0 -86
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +0 -107
- package/typechain-types/factories/IPVotingEscrow__factory.ts +0 -250
- package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -662
- package/typechain-types/factories/ISwapAggregator__factory.ts +0 -66
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +0 -239
- package/typechain-types/factories/KyberSwapHelper__factory.ts +0 -39
- package/typechain-types/factories/OwnableUpgradeable__factory.ts +0 -78
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +0 -1130
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +0 -1106
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +0 -129
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +0 -996
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +0 -874
- package/typechain-types/factories/PendleApeStakingSY__factory.ts +0 -981
- package/typechain-types/factories/PendleBatchSeller__factory.ts +0 -480
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +0 -1093
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +0 -1125
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +0 -1067
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +0 -1080
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +0 -967
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +0 -910
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +0 -774
- package/typechain-types/factories/PendleEulerSCY__factory.ts +0 -805
- package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +0 -183
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +0 -485
- package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +0 -213
- package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +0 -275
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +0 -149
- package/typechain-types/factories/PendleLooksStaking__factory.ts +0 -933
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +0 -917
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +0 -1095
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +0 -796
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +0 -845
- package/typechain-types/factories/PendleStargateSCY__factory.ts +0 -952
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +0 -924
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +0 -787
- package/typechain-types/factories/PermissionsV2Upg__factory.ts +0 -39
- package/typechain-types/factories/PtAMMArb__factory.ts +0 -525
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +0 -775
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -867
- package/typechain-types/factories/SCYBase__factory.ts +0 -798
- package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +0 -191
- package/typechain-types/factories/SYBaseAutoCompound__factory.ts +0 -942
- package/typechain-types/factories/StEthHelper__factory.ts +0 -62
- package/typechain-types/factories/SwapAggregator__factory.ts +0 -309
|
@@ -1,1130 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
Signer,
|
|
6
|
-
utils,
|
|
7
|
-
Contract,
|
|
8
|
-
ContractFactory,
|
|
9
|
-
Overrides,
|
|
10
|
-
BigNumberish,
|
|
11
|
-
} from "ethers";
|
|
12
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
-
import type {
|
|
14
|
-
Pendle3CrvAndTokenSCY,
|
|
15
|
-
Pendle3CrvAndTokenSCYInterface,
|
|
16
|
-
} from "../Pendle3CrvAndTokenSCY";
|
|
17
|
-
|
|
18
|
-
const _abi = [
|
|
19
|
-
{
|
|
20
|
-
inputs: [
|
|
21
|
-
{
|
|
22
|
-
internalType: "string",
|
|
23
|
-
name: "_name",
|
|
24
|
-
type: "string",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
internalType: "string",
|
|
28
|
-
name: "_symbol",
|
|
29
|
-
type: "string",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "uint256",
|
|
33
|
-
name: "_pid",
|
|
34
|
-
type: "uint256",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
internalType: "address",
|
|
38
|
-
name: "_convexBooster",
|
|
39
|
-
type: "address",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
internalType: "address",
|
|
43
|
-
name: "_crvLpToken",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "_cvx",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "_baseCrvPool",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
internalType: "address[]",
|
|
58
|
-
name: "_basePoolTokens",
|
|
59
|
-
type: "address[]",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
stateMutability: "nonpayable",
|
|
63
|
-
type: "constructor",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
inputs: [],
|
|
67
|
-
name: "ArrayLengthMismatch",
|
|
68
|
-
type: "error",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
inputs: [],
|
|
72
|
-
name: "SCYCurve3crvPoolNotFound",
|
|
73
|
-
type: "error",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
inputs: [],
|
|
77
|
-
name: "SCYCurveInvalidPid",
|
|
78
|
-
type: "error",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
inputs: [
|
|
82
|
-
{
|
|
83
|
-
internalType: "uint256",
|
|
84
|
-
name: "actualSharesOut",
|
|
85
|
-
type: "uint256",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
internalType: "uint256",
|
|
89
|
-
name: "requiredSharesOut",
|
|
90
|
-
type: "uint256",
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
name: "SCYInsufficientSharesOut",
|
|
94
|
-
type: "error",
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
inputs: [
|
|
98
|
-
{
|
|
99
|
-
internalType: "uint256",
|
|
100
|
-
name: "actualTokenOut",
|
|
101
|
-
type: "uint256",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
internalType: "uint256",
|
|
105
|
-
name: "requiredTokenOut",
|
|
106
|
-
type: "uint256",
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
name: "SCYInsufficientTokenOut",
|
|
110
|
-
type: "error",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
inputs: [
|
|
114
|
-
{
|
|
115
|
-
internalType: "address",
|
|
116
|
-
name: "token",
|
|
117
|
-
type: "address",
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
name: "SCYInvalidTokenIn",
|
|
121
|
-
type: "error",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
inputs: [
|
|
125
|
-
{
|
|
126
|
-
internalType: "address",
|
|
127
|
-
name: "token",
|
|
128
|
-
type: "address",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
name: "SCYInvalidTokenOut",
|
|
132
|
-
type: "error",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
inputs: [],
|
|
136
|
-
name: "SCYZeroDeposit",
|
|
137
|
-
type: "error",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
inputs: [],
|
|
141
|
-
name: "SCYZeroRedeem",
|
|
142
|
-
type: "error",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
anonymous: false,
|
|
146
|
-
inputs: [
|
|
147
|
-
{
|
|
148
|
-
indexed: true,
|
|
149
|
-
internalType: "address",
|
|
150
|
-
name: "owner",
|
|
151
|
-
type: "address",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
indexed: true,
|
|
155
|
-
internalType: "address",
|
|
156
|
-
name: "spender",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
indexed: false,
|
|
161
|
-
internalType: "uint256",
|
|
162
|
-
name: "value",
|
|
163
|
-
type: "uint256",
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
name: "Approval",
|
|
167
|
-
type: "event",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
anonymous: false,
|
|
171
|
-
inputs: [
|
|
172
|
-
{
|
|
173
|
-
indexed: true,
|
|
174
|
-
internalType: "address",
|
|
175
|
-
name: "user",
|
|
176
|
-
type: "address",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
indexed: false,
|
|
180
|
-
internalType: "address[]",
|
|
181
|
-
name: "rewardTokens",
|
|
182
|
-
type: "address[]",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
indexed: false,
|
|
186
|
-
internalType: "uint256[]",
|
|
187
|
-
name: "rewardAmounts",
|
|
188
|
-
type: "uint256[]",
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
name: "ClaimRewards",
|
|
192
|
-
type: "event",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
anonymous: false,
|
|
196
|
-
inputs: [
|
|
197
|
-
{
|
|
198
|
-
indexed: true,
|
|
199
|
-
internalType: "address",
|
|
200
|
-
name: "caller",
|
|
201
|
-
type: "address",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
indexed: true,
|
|
205
|
-
internalType: "address",
|
|
206
|
-
name: "receiver",
|
|
207
|
-
type: "address",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
indexed: true,
|
|
211
|
-
internalType: "address",
|
|
212
|
-
name: "tokenIn",
|
|
213
|
-
type: "address",
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
indexed: false,
|
|
217
|
-
internalType: "uint256",
|
|
218
|
-
name: "amountDeposited",
|
|
219
|
-
type: "uint256",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
indexed: false,
|
|
223
|
-
internalType: "uint256",
|
|
224
|
-
name: "amountScyOut",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
name: "Deposit",
|
|
229
|
-
type: "event",
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
anonymous: false,
|
|
233
|
-
inputs: [
|
|
234
|
-
{
|
|
235
|
-
indexed: true,
|
|
236
|
-
internalType: "address",
|
|
237
|
-
name: "caller",
|
|
238
|
-
type: "address",
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
indexed: true,
|
|
242
|
-
internalType: "address",
|
|
243
|
-
name: "receiver",
|
|
244
|
-
type: "address",
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
indexed: true,
|
|
248
|
-
internalType: "address",
|
|
249
|
-
name: "tokenOut",
|
|
250
|
-
type: "address",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
indexed: false,
|
|
254
|
-
internalType: "uint256",
|
|
255
|
-
name: "amountScyToRedeem",
|
|
256
|
-
type: "uint256",
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
indexed: false,
|
|
260
|
-
internalType: "uint256",
|
|
261
|
-
name: "amountTokenOut",
|
|
262
|
-
type: "uint256",
|
|
263
|
-
},
|
|
264
|
-
],
|
|
265
|
-
name: "Redeem",
|
|
266
|
-
type: "event",
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
anonymous: false,
|
|
270
|
-
inputs: [
|
|
271
|
-
{
|
|
272
|
-
indexed: true,
|
|
273
|
-
internalType: "address",
|
|
274
|
-
name: "from",
|
|
275
|
-
type: "address",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
indexed: true,
|
|
279
|
-
internalType: "address",
|
|
280
|
-
name: "to",
|
|
281
|
-
type: "address",
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
indexed: false,
|
|
285
|
-
internalType: "uint256",
|
|
286
|
-
name: "value",
|
|
287
|
-
type: "uint256",
|
|
288
|
-
},
|
|
289
|
-
],
|
|
290
|
-
name: "Transfer",
|
|
291
|
-
type: "event",
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
inputs: [],
|
|
295
|
-
name: "CRV",
|
|
296
|
-
outputs: [
|
|
297
|
-
{
|
|
298
|
-
internalType: "address",
|
|
299
|
-
name: "",
|
|
300
|
-
type: "address",
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
stateMutability: "view",
|
|
304
|
-
type: "function",
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
inputs: [],
|
|
308
|
-
name: "CVX",
|
|
309
|
-
outputs: [
|
|
310
|
-
{
|
|
311
|
-
internalType: "address",
|
|
312
|
-
name: "",
|
|
313
|
-
type: "address",
|
|
314
|
-
},
|
|
315
|
-
],
|
|
316
|
-
stateMutability: "view",
|
|
317
|
-
type: "function",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
inputs: [],
|
|
321
|
-
name: "DOMAIN_SEPARATOR",
|
|
322
|
-
outputs: [
|
|
323
|
-
{
|
|
324
|
-
internalType: "bytes32",
|
|
325
|
-
name: "",
|
|
326
|
-
type: "bytes32",
|
|
327
|
-
},
|
|
328
|
-
],
|
|
329
|
-
stateMutability: "view",
|
|
330
|
-
type: "function",
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
inputs: [],
|
|
334
|
-
name: "LP",
|
|
335
|
-
outputs: [
|
|
336
|
-
{
|
|
337
|
-
internalType: "address",
|
|
338
|
-
name: "",
|
|
339
|
-
type: "address",
|
|
340
|
-
},
|
|
341
|
-
],
|
|
342
|
-
stateMutability: "view",
|
|
343
|
-
type: "function",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
inputs: [
|
|
347
|
-
{
|
|
348
|
-
internalType: "address",
|
|
349
|
-
name: "user",
|
|
350
|
-
type: "address",
|
|
351
|
-
},
|
|
352
|
-
],
|
|
353
|
-
name: "accruedRewards",
|
|
354
|
-
outputs: [
|
|
355
|
-
{
|
|
356
|
-
internalType: "uint256[]",
|
|
357
|
-
name: "rewardAmounts",
|
|
358
|
-
type: "uint256[]",
|
|
359
|
-
},
|
|
360
|
-
],
|
|
361
|
-
stateMutability: "view",
|
|
362
|
-
type: "function",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
inputs: [
|
|
366
|
-
{
|
|
367
|
-
internalType: "address",
|
|
368
|
-
name: "owner",
|
|
369
|
-
type: "address",
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
internalType: "address",
|
|
373
|
-
name: "spender",
|
|
374
|
-
type: "address",
|
|
375
|
-
},
|
|
376
|
-
],
|
|
377
|
-
name: "allowance",
|
|
378
|
-
outputs: [
|
|
379
|
-
{
|
|
380
|
-
internalType: "uint256",
|
|
381
|
-
name: "",
|
|
382
|
-
type: "uint256",
|
|
383
|
-
},
|
|
384
|
-
],
|
|
385
|
-
stateMutability: "view",
|
|
386
|
-
type: "function",
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
inputs: [
|
|
390
|
-
{
|
|
391
|
-
internalType: "address",
|
|
392
|
-
name: "spender",
|
|
393
|
-
type: "address",
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
internalType: "uint256",
|
|
397
|
-
name: "amount",
|
|
398
|
-
type: "uint256",
|
|
399
|
-
},
|
|
400
|
-
],
|
|
401
|
-
name: "approve",
|
|
402
|
-
outputs: [
|
|
403
|
-
{
|
|
404
|
-
internalType: "bool",
|
|
405
|
-
name: "",
|
|
406
|
-
type: "bool",
|
|
407
|
-
},
|
|
408
|
-
],
|
|
409
|
-
stateMutability: "nonpayable",
|
|
410
|
-
type: "function",
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
inputs: [],
|
|
414
|
-
name: "assetInfo",
|
|
415
|
-
outputs: [
|
|
416
|
-
{
|
|
417
|
-
internalType: "enum ISuperComposableYield.AssetType",
|
|
418
|
-
name: "assetType",
|
|
419
|
-
type: "uint8",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
internalType: "address",
|
|
423
|
-
name: "assetAddress",
|
|
424
|
-
type: "address",
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
internalType: "uint8",
|
|
428
|
-
name: "assetDecimals",
|
|
429
|
-
type: "uint8",
|
|
430
|
-
},
|
|
431
|
-
],
|
|
432
|
-
stateMutability: "view",
|
|
433
|
-
type: "function",
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
inputs: [
|
|
437
|
-
{
|
|
438
|
-
internalType: "address",
|
|
439
|
-
name: "account",
|
|
440
|
-
type: "address",
|
|
441
|
-
},
|
|
442
|
-
],
|
|
443
|
-
name: "balanceOf",
|
|
444
|
-
outputs: [
|
|
445
|
-
{
|
|
446
|
-
internalType: "uint256",
|
|
447
|
-
name: "",
|
|
448
|
-
type: "uint256",
|
|
449
|
-
},
|
|
450
|
-
],
|
|
451
|
-
stateMutability: "view",
|
|
452
|
-
type: "function",
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
inputs: [],
|
|
456
|
-
name: "baseRewards",
|
|
457
|
-
outputs: [
|
|
458
|
-
{
|
|
459
|
-
internalType: "address",
|
|
460
|
-
name: "",
|
|
461
|
-
type: "address",
|
|
462
|
-
},
|
|
463
|
-
],
|
|
464
|
-
stateMutability: "view",
|
|
465
|
-
type: "function",
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
inputs: [],
|
|
469
|
-
name: "booster",
|
|
470
|
-
outputs: [
|
|
471
|
-
{
|
|
472
|
-
internalType: "address",
|
|
473
|
-
name: "",
|
|
474
|
-
type: "address",
|
|
475
|
-
},
|
|
476
|
-
],
|
|
477
|
-
stateMutability: "view",
|
|
478
|
-
type: "function",
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
inputs: [
|
|
482
|
-
{
|
|
483
|
-
internalType: "address",
|
|
484
|
-
name: "user",
|
|
485
|
-
type: "address",
|
|
486
|
-
},
|
|
487
|
-
],
|
|
488
|
-
name: "claimRewards",
|
|
489
|
-
outputs: [
|
|
490
|
-
{
|
|
491
|
-
internalType: "uint256[]",
|
|
492
|
-
name: "rewardAmounts",
|
|
493
|
-
type: "uint256[]",
|
|
494
|
-
},
|
|
495
|
-
],
|
|
496
|
-
stateMutability: "nonpayable",
|
|
497
|
-
type: "function",
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
inputs: [],
|
|
501
|
-
name: "crvPool",
|
|
502
|
-
outputs: [
|
|
503
|
-
{
|
|
504
|
-
internalType: "address",
|
|
505
|
-
name: "",
|
|
506
|
-
type: "address",
|
|
507
|
-
},
|
|
508
|
-
],
|
|
509
|
-
stateMutability: "view",
|
|
510
|
-
type: "function",
|
|
511
|
-
},
|
|
512
|
-
{
|
|
513
|
-
inputs: [],
|
|
514
|
-
name: "decimals",
|
|
515
|
-
outputs: [
|
|
516
|
-
{
|
|
517
|
-
internalType: "uint8",
|
|
518
|
-
name: "",
|
|
519
|
-
type: "uint8",
|
|
520
|
-
},
|
|
521
|
-
],
|
|
522
|
-
stateMutability: "view",
|
|
523
|
-
type: "function",
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
inputs: [
|
|
527
|
-
{
|
|
528
|
-
internalType: "address",
|
|
529
|
-
name: "receiver",
|
|
530
|
-
type: "address",
|
|
531
|
-
},
|
|
532
|
-
{
|
|
533
|
-
internalType: "address",
|
|
534
|
-
name: "tokenIn",
|
|
535
|
-
type: "address",
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
internalType: "uint256",
|
|
539
|
-
name: "amountTokenToDeposit",
|
|
540
|
-
type: "uint256",
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
internalType: "uint256",
|
|
544
|
-
name: "minSharesOut",
|
|
545
|
-
type: "uint256",
|
|
546
|
-
},
|
|
547
|
-
],
|
|
548
|
-
name: "deposit",
|
|
549
|
-
outputs: [
|
|
550
|
-
{
|
|
551
|
-
internalType: "uint256",
|
|
552
|
-
name: "amountSharesOut",
|
|
553
|
-
type: "uint256",
|
|
554
|
-
},
|
|
555
|
-
],
|
|
556
|
-
stateMutability: "payable",
|
|
557
|
-
type: "function",
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
inputs: [],
|
|
561
|
-
name: "exchangeRate",
|
|
562
|
-
outputs: [
|
|
563
|
-
{
|
|
564
|
-
internalType: "uint256",
|
|
565
|
-
name: "",
|
|
566
|
-
type: "uint256",
|
|
567
|
-
},
|
|
568
|
-
],
|
|
569
|
-
stateMutability: "view",
|
|
570
|
-
type: "function",
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
inputs: [],
|
|
574
|
-
name: "getRewardTokens",
|
|
575
|
-
outputs: [
|
|
576
|
-
{
|
|
577
|
-
internalType: "address[]",
|
|
578
|
-
name: "rewardTokens",
|
|
579
|
-
type: "address[]",
|
|
580
|
-
},
|
|
581
|
-
],
|
|
582
|
-
stateMutability: "view",
|
|
583
|
-
type: "function",
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
inputs: [],
|
|
587
|
-
name: "getTokensIn",
|
|
588
|
-
outputs: [
|
|
589
|
-
{
|
|
590
|
-
internalType: "address[]",
|
|
591
|
-
name: "res",
|
|
592
|
-
type: "address[]",
|
|
593
|
-
},
|
|
594
|
-
],
|
|
595
|
-
stateMutability: "view",
|
|
596
|
-
type: "function",
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
inputs: [],
|
|
600
|
-
name: "getTokensOut",
|
|
601
|
-
outputs: [
|
|
602
|
-
{
|
|
603
|
-
internalType: "address[]",
|
|
604
|
-
name: "res",
|
|
605
|
-
type: "address[]",
|
|
606
|
-
},
|
|
607
|
-
],
|
|
608
|
-
stateMutability: "view",
|
|
609
|
-
type: "function",
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
inputs: [
|
|
613
|
-
{
|
|
614
|
-
internalType: "address",
|
|
615
|
-
name: "token",
|
|
616
|
-
type: "address",
|
|
617
|
-
},
|
|
618
|
-
],
|
|
619
|
-
name: "isValidTokenIn",
|
|
620
|
-
outputs: [
|
|
621
|
-
{
|
|
622
|
-
internalType: "bool",
|
|
623
|
-
name: "res",
|
|
624
|
-
type: "bool",
|
|
625
|
-
},
|
|
626
|
-
],
|
|
627
|
-
stateMutability: "view",
|
|
628
|
-
type: "function",
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
inputs: [
|
|
632
|
-
{
|
|
633
|
-
internalType: "address",
|
|
634
|
-
name: "token",
|
|
635
|
-
type: "address",
|
|
636
|
-
},
|
|
637
|
-
],
|
|
638
|
-
name: "isValidTokenOut",
|
|
639
|
-
outputs: [
|
|
640
|
-
{
|
|
641
|
-
internalType: "bool",
|
|
642
|
-
name: "res",
|
|
643
|
-
type: "bool",
|
|
644
|
-
},
|
|
645
|
-
],
|
|
646
|
-
stateMutability: "view",
|
|
647
|
-
type: "function",
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
inputs: [],
|
|
651
|
-
name: "lastRewardBlock",
|
|
652
|
-
outputs: [
|
|
653
|
-
{
|
|
654
|
-
internalType: "uint256",
|
|
655
|
-
name: "",
|
|
656
|
-
type: "uint256",
|
|
657
|
-
},
|
|
658
|
-
],
|
|
659
|
-
stateMutability: "view",
|
|
660
|
-
type: "function",
|
|
661
|
-
},
|
|
662
|
-
{
|
|
663
|
-
inputs: [],
|
|
664
|
-
name: "name",
|
|
665
|
-
outputs: [
|
|
666
|
-
{
|
|
667
|
-
internalType: "string",
|
|
668
|
-
name: "",
|
|
669
|
-
type: "string",
|
|
670
|
-
},
|
|
671
|
-
],
|
|
672
|
-
stateMutability: "view",
|
|
673
|
-
type: "function",
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
inputs: [
|
|
677
|
-
{
|
|
678
|
-
internalType: "address",
|
|
679
|
-
name: "owner",
|
|
680
|
-
type: "address",
|
|
681
|
-
},
|
|
682
|
-
],
|
|
683
|
-
name: "nonces",
|
|
684
|
-
outputs: [
|
|
685
|
-
{
|
|
686
|
-
internalType: "uint256",
|
|
687
|
-
name: "",
|
|
688
|
-
type: "uint256",
|
|
689
|
-
},
|
|
690
|
-
],
|
|
691
|
-
stateMutability: "view",
|
|
692
|
-
type: "function",
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
inputs: [
|
|
696
|
-
{
|
|
697
|
-
internalType: "address",
|
|
698
|
-
name: "owner",
|
|
699
|
-
type: "address",
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
internalType: "address",
|
|
703
|
-
name: "spender",
|
|
704
|
-
type: "address",
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
internalType: "uint256",
|
|
708
|
-
name: "value",
|
|
709
|
-
type: "uint256",
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
internalType: "uint256",
|
|
713
|
-
name: "deadline",
|
|
714
|
-
type: "uint256",
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
internalType: "uint8",
|
|
718
|
-
name: "v",
|
|
719
|
-
type: "uint8",
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
internalType: "bytes32",
|
|
723
|
-
name: "r",
|
|
724
|
-
type: "bytes32",
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
internalType: "bytes32",
|
|
728
|
-
name: "s",
|
|
729
|
-
type: "bytes32",
|
|
730
|
-
},
|
|
731
|
-
],
|
|
732
|
-
name: "permit",
|
|
733
|
-
outputs: [],
|
|
734
|
-
stateMutability: "nonpayable",
|
|
735
|
-
type: "function",
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
inputs: [],
|
|
739
|
-
name: "pid",
|
|
740
|
-
outputs: [
|
|
741
|
-
{
|
|
742
|
-
internalType: "uint256",
|
|
743
|
-
name: "",
|
|
744
|
-
type: "uint256",
|
|
745
|
-
},
|
|
746
|
-
],
|
|
747
|
-
stateMutability: "view",
|
|
748
|
-
type: "function",
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
inputs: [
|
|
752
|
-
{
|
|
753
|
-
internalType: "address",
|
|
754
|
-
name: "tokenIn",
|
|
755
|
-
type: "address",
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
internalType: "uint256",
|
|
759
|
-
name: "amountTokenToDeposit",
|
|
760
|
-
type: "uint256",
|
|
761
|
-
},
|
|
762
|
-
],
|
|
763
|
-
name: "previewDeposit",
|
|
764
|
-
outputs: [
|
|
765
|
-
{
|
|
766
|
-
internalType: "uint256",
|
|
767
|
-
name: "amountSharesOut",
|
|
768
|
-
type: "uint256",
|
|
769
|
-
},
|
|
770
|
-
],
|
|
771
|
-
stateMutability: "view",
|
|
772
|
-
type: "function",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
inputs: [
|
|
776
|
-
{
|
|
777
|
-
internalType: "address",
|
|
778
|
-
name: "tokenOut",
|
|
779
|
-
type: "address",
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
internalType: "uint256",
|
|
783
|
-
name: "amountSharesToRedeem",
|
|
784
|
-
type: "uint256",
|
|
785
|
-
},
|
|
786
|
-
],
|
|
787
|
-
name: "previewRedeem",
|
|
788
|
-
outputs: [
|
|
789
|
-
{
|
|
790
|
-
internalType: "uint256",
|
|
791
|
-
name: "amountTokenOut",
|
|
792
|
-
type: "uint256",
|
|
793
|
-
},
|
|
794
|
-
],
|
|
795
|
-
stateMutability: "view",
|
|
796
|
-
type: "function",
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
inputs: [
|
|
800
|
-
{
|
|
801
|
-
internalType: "address",
|
|
802
|
-
name: "receiver",
|
|
803
|
-
type: "address",
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
internalType: "uint256",
|
|
807
|
-
name: "amountSharesToRedeem",
|
|
808
|
-
type: "uint256",
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
internalType: "address",
|
|
812
|
-
name: "tokenOut",
|
|
813
|
-
type: "address",
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
internalType: "uint256",
|
|
817
|
-
name: "minTokenOut",
|
|
818
|
-
type: "uint256",
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
internalType: "bool",
|
|
822
|
-
name: "burnFromInternalBalance",
|
|
823
|
-
type: "bool",
|
|
824
|
-
},
|
|
825
|
-
],
|
|
826
|
-
name: "redeem",
|
|
827
|
-
outputs: [
|
|
828
|
-
{
|
|
829
|
-
internalType: "uint256",
|
|
830
|
-
name: "amountTokenOut",
|
|
831
|
-
type: "uint256",
|
|
832
|
-
},
|
|
833
|
-
],
|
|
834
|
-
stateMutability: "nonpayable",
|
|
835
|
-
type: "function",
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
inputs: [],
|
|
839
|
-
name: "rewardIndexesCurrent",
|
|
840
|
-
outputs: [
|
|
841
|
-
{
|
|
842
|
-
internalType: "uint256[]",
|
|
843
|
-
name: "indexes",
|
|
844
|
-
type: "uint256[]",
|
|
845
|
-
},
|
|
846
|
-
],
|
|
847
|
-
stateMutability: "nonpayable",
|
|
848
|
-
type: "function",
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
inputs: [],
|
|
852
|
-
name: "rewardIndexesStored",
|
|
853
|
-
outputs: [
|
|
854
|
-
{
|
|
855
|
-
internalType: "uint256[]",
|
|
856
|
-
name: "indexes",
|
|
857
|
-
type: "uint256[]",
|
|
858
|
-
},
|
|
859
|
-
],
|
|
860
|
-
stateMutability: "view",
|
|
861
|
-
type: "function",
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
inputs: [
|
|
865
|
-
{
|
|
866
|
-
internalType: "address",
|
|
867
|
-
name: "",
|
|
868
|
-
type: "address",
|
|
869
|
-
},
|
|
870
|
-
],
|
|
871
|
-
name: "rewardState",
|
|
872
|
-
outputs: [
|
|
873
|
-
{
|
|
874
|
-
internalType: "uint128",
|
|
875
|
-
name: "index",
|
|
876
|
-
type: "uint128",
|
|
877
|
-
},
|
|
878
|
-
{
|
|
879
|
-
internalType: "uint128",
|
|
880
|
-
name: "lastBalance",
|
|
881
|
-
type: "uint128",
|
|
882
|
-
},
|
|
883
|
-
],
|
|
884
|
-
stateMutability: "view",
|
|
885
|
-
type: "function",
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
inputs: [],
|
|
889
|
-
name: "symbol",
|
|
890
|
-
outputs: [
|
|
891
|
-
{
|
|
892
|
-
internalType: "string",
|
|
893
|
-
name: "",
|
|
894
|
-
type: "string",
|
|
895
|
-
},
|
|
896
|
-
],
|
|
897
|
-
stateMutability: "view",
|
|
898
|
-
type: "function",
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
inputs: [],
|
|
902
|
-
name: "token1",
|
|
903
|
-
outputs: [
|
|
904
|
-
{
|
|
905
|
-
internalType: "address",
|
|
906
|
-
name: "",
|
|
907
|
-
type: "address",
|
|
908
|
-
},
|
|
909
|
-
],
|
|
910
|
-
stateMutability: "view",
|
|
911
|
-
type: "function",
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
inputs: [],
|
|
915
|
-
name: "token2",
|
|
916
|
-
outputs: [
|
|
917
|
-
{
|
|
918
|
-
internalType: "address",
|
|
919
|
-
name: "",
|
|
920
|
-
type: "address",
|
|
921
|
-
},
|
|
922
|
-
],
|
|
923
|
-
stateMutability: "view",
|
|
924
|
-
type: "function",
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
inputs: [],
|
|
928
|
-
name: "totalSupply",
|
|
929
|
-
outputs: [
|
|
930
|
-
{
|
|
931
|
-
internalType: "uint256",
|
|
932
|
-
name: "",
|
|
933
|
-
type: "uint256",
|
|
934
|
-
},
|
|
935
|
-
],
|
|
936
|
-
stateMutability: "view",
|
|
937
|
-
type: "function",
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
inputs: [
|
|
941
|
-
{
|
|
942
|
-
internalType: "address",
|
|
943
|
-
name: "to",
|
|
944
|
-
type: "address",
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
internalType: "uint256",
|
|
948
|
-
name: "amount",
|
|
949
|
-
type: "uint256",
|
|
950
|
-
},
|
|
951
|
-
],
|
|
952
|
-
name: "transfer",
|
|
953
|
-
outputs: [
|
|
954
|
-
{
|
|
955
|
-
internalType: "bool",
|
|
956
|
-
name: "",
|
|
957
|
-
type: "bool",
|
|
958
|
-
},
|
|
959
|
-
],
|
|
960
|
-
stateMutability: "nonpayable",
|
|
961
|
-
type: "function",
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
inputs: [
|
|
965
|
-
{
|
|
966
|
-
internalType: "address",
|
|
967
|
-
name: "from",
|
|
968
|
-
type: "address",
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
internalType: "address",
|
|
972
|
-
name: "to",
|
|
973
|
-
type: "address",
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
internalType: "uint256",
|
|
977
|
-
name: "amount",
|
|
978
|
-
type: "uint256",
|
|
979
|
-
},
|
|
980
|
-
],
|
|
981
|
-
name: "transferFrom",
|
|
982
|
-
outputs: [
|
|
983
|
-
{
|
|
984
|
-
internalType: "bool",
|
|
985
|
-
name: "",
|
|
986
|
-
type: "bool",
|
|
987
|
-
},
|
|
988
|
-
],
|
|
989
|
-
stateMutability: "nonpayable",
|
|
990
|
-
type: "function",
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
inputs: [
|
|
994
|
-
{
|
|
995
|
-
internalType: "address",
|
|
996
|
-
name: "",
|
|
997
|
-
type: "address",
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
internalType: "address",
|
|
1001
|
-
name: "",
|
|
1002
|
-
type: "address",
|
|
1003
|
-
},
|
|
1004
|
-
],
|
|
1005
|
-
name: "userReward",
|
|
1006
|
-
outputs: [
|
|
1007
|
-
{
|
|
1008
|
-
internalType: "uint128",
|
|
1009
|
-
name: "index",
|
|
1010
|
-
type: "uint128",
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
internalType: "uint128",
|
|
1014
|
-
name: "accrued",
|
|
1015
|
-
type: "uint128",
|
|
1016
|
-
},
|
|
1017
|
-
],
|
|
1018
|
-
stateMutability: "view",
|
|
1019
|
-
type: "function",
|
|
1020
|
-
},
|
|
1021
|
-
{
|
|
1022
|
-
inputs: [],
|
|
1023
|
-
name: "yieldToken",
|
|
1024
|
-
outputs: [
|
|
1025
|
-
{
|
|
1026
|
-
internalType: "address",
|
|
1027
|
-
name: "",
|
|
1028
|
-
type: "address",
|
|
1029
|
-
},
|
|
1030
|
-
],
|
|
1031
|
-
stateMutability: "view",
|
|
1032
|
-
type: "function",
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
stateMutability: "payable",
|
|
1036
|
-
type: "receive",
|
|
1037
|
-
},
|
|
1038
|
-
];
|
|
1039
|
-
|
|
1040
|
-
const _bytecode =
|
|
1041
|
-
"0x6102c06040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610160523480156200003757600080fd5b50604051620052d0380380620052d08339810160408190526200005a916200097c565b8787878787878787878787878787878686848282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d6919062000a62565b6040805180820190915260018152603160f81b60208201528390818484600362000101848262000b1d565b50600462000110838262000b1d565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001c38184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b03938416610180525050506101a08b9052878116610240528681166102005289166101c05250620002119350889250506200042d9050565b6001600160a01b03908116610220529081166101e05290811661026081905290841614620002525760405163166a453760e31b815260040160405180910390fd5b6200026d610260516101c051600019620005ab60201b60201c565b505050505050508051600214620002975760405163512509d360e11b815260040160405180910390fd5b80600081518110620002ad57620002ad62000be9565b60200260200101516001600160a01b0316610280816001600160a01b03168152505080600181518110620002e557620002e562000be9565b60209081029190910101516001600160a01b03166102a0526102805161020051620003149190600019620005ab565b6200032f6102a05161020051600019620005ab60201b60201c565b505050505050505062000365736c3f90f043a72fa612cbac8115ee7e52bde6e49082620006c260201b6200158d1790919060201c565b6200038357604051632785722560e21b815260040160405180910390fd5b620003b7736b175474e89094c44da98b954eedeac495271d0f73bebc44782c7db0a1a60cb6fe97d0b483032ff1c76200072a565b620003eb73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873bebc44782c7db0a1a60cb6fe97d0b483032ff1c76200072a565b6200041f73dac17f958d2ee523a2206206994597c13d831ec773bebc44782c7db0a1a60cb6fe97d0b483032ff1c76200072a565b505050505050505062000d3a565b60008060006101c0516001600160a01b031663081e3eda6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000474573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200049a919062000bff565b841115620004bb5760405163166a453760e31b815260040160405180910390fd5b6101c051604051631526fe2760e01b8152600481018690526001600160a01b0390911690631526fe279060240160c060405180830381865afa15801562000506573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200052c919062000c2a565b50506101c05160408051636a4874a160e01b815290519598509196506001600160a01b031693636a4874a19350600480830193506020928290030181865afa1580156200057d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a3919062000cab565b929491935050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000609919062000cc9565b6000604051808303816000865af19150503d806000811462000648576040519150601f19603f3d011682016040523d82523d6000602084013e6200064d565b606091505b50915091508180156200067b5750805115806200067b5750808060200190518101906200067b919062000ce7565b620006bb5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b8151600090815b818110156200071d57836001600160a01b0316858281518110620006f157620006f162000be9565b60200260200101516001600160a01b031603620007145760019250505062000724565b600101620006c9565b5060009150505b92915050565b6001600160a01b0382166200073d575050565b6200075160026001600160601b0362000d05565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620007ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007d1919062000bff565b1015620007e757620007e78282600019620005ab565b5050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200082c576200082c620007eb565b604052919050565b60005b838110156200085157818101518382015260200162000837565b50506000910152565b600082601f8301126200086c57600080fd5b81516001600160401b03811115620008885762000888620007eb565b6200089d601f8201601f191660200162000801565b818152846020838601011115620008b357600080fd5b620008c682602083016020870162000834565b949350505050565b80516001600160a01b0381168114620008e657600080fd5b919050565b600082601f830112620008fd57600080fd5b815160206001600160401b038211156200091b576200091b620007eb565b8160051b6200092c82820162000801565b92835284810182019282810190878511156200094757600080fd5b83870192505b8483101562000971576200096183620008ce565b825291830191908301906200094d565b979650505050505050565b600080600080600080600080610100898b0312156200099a57600080fd5b88516001600160401b0380821115620009b257600080fd5b620009c08c838d016200085a565b995060208b0151915080821115620009d757600080fd5b620009e58c838d016200085a565b985060408b01519750620009fc60608c01620008ce565b965062000a0c60808c01620008ce565b955062000a1c60a08c01620008ce565b945062000a2c60c08c01620008ce565b935060e08b015191508082111562000a4357600080fd5b5062000a528b828c01620008eb565b9150509295985092959890939650565b60006020828403121562000a7557600080fd5b815160ff8116811462000a8757600080fd5b9392505050565b600181811c9082168062000aa357607f821691505b60208210810362000ac457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b1857600081815260208120601f850160051c8101602086101562000af35750805b601f850160051c820191505b8181101562000b145782815560010162000aff565b5050505b505050565b81516001600160401b0381111562000b395762000b39620007eb565b62000b518162000b4a845462000a8e565b8462000aca565b602080601f83116001811462000b89576000841562000b705750858301515b600019600386901b1c1916600185901b17855562000b14565b600085815260208120601f198616915b8281101562000bba5788860151825594840194600190910190840162000b99565b508582101562000bd95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000c1257600080fd5b5051919050565b80518015158114620008e657600080fd5b60008060008060008060c0878903121562000c4457600080fd5b62000c4f87620008ce565b955062000c5f60208801620008ce565b945062000c6f60408801620008ce565b935062000c7f60608801620008ce565b925062000c8f60808801620008ce565b915062000c9f60a0880162000c19565b90509295509295509295565b60006020828403121562000cbe57600080fd5b62000a8782620008ce565b6000825162000cdd81846020870162000834565b9190910192915050565b60006020828403121562000cfa57600080fd5b62000a878262000c19565b60006001600160601b038381168062000d2e57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516143f762000ed96000396000818161032e0152818161093c01528181610fec015261363e0152600081816106ba015281816108e801528181610fb001528181613603015261367b0152600081816105fd0152818161089401528181610f7501528181611065015281816110860152818161281e015281816129190152818161294f01528181612e3e0152612eb201526000818161045e015261178601526000818161052601526117320152600081816105c901528181610d8101528181612b0b01528181612ef301528181613590015261382201526000818161026a01528181612a78015261332b0152600081816106660152818161286c01526129970152600081816107a60152818161289901526129c4015260006104b20152600061125001526000611cb501526000611d0401526000611cdf01526000611c3801526000611c6201526000611c8c0152600061036201526143f76000f3fe6080604052600436106101cf5760003560e01c806306fdde03146101db578063071bc3c914610206578063095ea7b3146102285780630ef7d13914610258578063128fced11461029957806318160ddd146102c657806320e8c565146102e9578063213cae631461020657806323b872dd146102fc57806325be124e1461031c578063313ce567146103505780633644e515146103965780633ba0b9a9146103ab5780635cbadbe4146103c057806370a082311461042c578063759cb53b1461044c578063769f8e5d1461048057806376d5de85146104a0578063784367d6146104d45780637ecebe00146104f4578063945c91421461051457806395d89b4114610548578063a40bee501461055d578063a9059cbb14610581578063a9f8d181146105a1578063b20fdc0d146105b7578063b6fccf8a146105eb578063b8f82b261461061f578063c4f59f9b1461063f578063c6def07614610654578063cbe52ae314610688578063d21220a7146106a8578063d505accf146106dc578063da88ecb4146106fe578063dd62ed3e14610713578063ea64a82014610733578063ef5cfb8c14610774578063f106845414610794578063f8b2f991146107c8578063fa5a4f06146104d457600080fd5b366101d657005b600080fd5b3480156101e757600080fd5b506101f06107dd565b6040516101fd9190613d1c565b60405180910390f35b34801561021257600080fd5b5061021b61086f565b6040516101fd9190613d93565b34801561023457600080fd5b50610248610243366004613dbd565b610a69565b60405190151581526020016101fd565b34801561026457600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101fd9190613de7565b3480156102a557600080fd5b506102b96102b4366004613dfb565b610a83565b6040516101fd9190613e46565b3480156102d257600080fd5b506102db610b8f565b6040519081526020016101fd565b6102db6102f7366004613e59565b610b9e565b34801561030857600080fd5b50610248610317366004613e9b565b610cf0565b34801561032857600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561035c57600080fd5b506103847f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101fd565b3480156103a257600080fd5b506102db610d6e565b3480156103b757600080fd5b506102db610d7d565b3480156103cc57600080fd5b5061040c6103db366004613ed7565b60066020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101fd565b34801561043857600080fd5b506102db610447366004613dfb565b610e01565b34801561045857600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561048c57600080fd5b506102db61049b366004613f18565b610e1c565b3480156104ac57600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104e057600080fd5b506102486104ef366004613dfb565b610f71565b34801561050057600080fd5b506102db61050f366004613dfb565b61102f565b34801561052057600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561055457600080fd5b506101f061104d565b34801561056957600080fd5b5061057261105c565b6040516101fd93929190613f89565b34801561058d57600080fd5b5061024861059c366004613dbd565b611111565b3480156105ad57600080fd5b506102db60075481565b3480156105c357600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105f757600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561062b57600080fd5b506102db61063a366004613dbd565b611183565b34801561064b57600080fd5b5061021b6111be565b34801561066057600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b34801561069457600080fd5b506102db6106a3366004613dbd565b6111c8565b3480156106b457600080fd5b5061028c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106e857600080fd5b506106fc6106f7366004613fda565b6111fc565b005b34801561070a57600080fd5b506102b9611360565b34801561071f57600080fd5b506102db61072e366004613ed7565b611431565b34801561073f57600080fd5b5061040c61074e366004613dfb565b6008602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561078057600080fd5b506102b961078f366004613dfb565b61145c565b3480156107a057600080fd5b506102db7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107d457600080fd5b506102b961151b565b6060600380546107ec90614047565b80601f016020809104026020016040519081016040528092919081815260200182805461081890614047565b80156108655780601f1061083a57610100808354040283529160200191610865565b820191906000526020600020905b81548152906001019060200180831161084857829003601f168201915b5050505050905090565b60408051600680825260e082019092526060916020820160c0803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106108c6576108c6614091565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061091a5761091a614091565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061096e5761096e614091565b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f816003815181106109b6576109b6614091565b60200260200101906001600160a01b031690816001600160a01b03168152505073a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48816004815181106109fe576109fe614091565b60200260200101906001600160a01b031690816001600160a01b03168152505073dac17f958d2ee523a2206206994597c13d831ec781600581518110610a4657610a46614091565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b600033610a778185856115ec565b60019150505b92915050565b60606000610a8f611710565b905080516001600160401b03811115610aaa57610aaa61407b565b604051908082528060200260200182016040528015610ad3578160200160208202803683370190505b50915060005b8151811015610b885760066000838381518110610af857610af8614091565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610b7557610b75614091565b6020908102919091010152600101610ad9565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610bd85760405162461bcd60e51b8152600401610bcf906140a7565b60405180910390fd5b600280546001600160f81b0316600160f91b179055610bf684610f71565b610c1557836040516315cc2f3f60e01b8152600401610bcf9190613de7565b82600003610c365760405163180d30e160e11b815260040160405180910390fd5b610c418433856117b8565b610c4b8484611824565b905081811015610c7257808260405163844765e160e01b8152600401610bcf9291906140de565b610c7c8582611879565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610ccb9291906140de565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610d215760405162461bcd60e51b8152600401610bcf906140a7565b600280546001600160f81b0316600160f91b17905533610d4285828561198f565b610d4d858585611a09565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000610d78611c2b565b905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bb7b8b806040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ddd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7891906140ec565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff1601610e4d5760405162461bcd60e51b8152600401610bcf906140a7565b600280546001600160f81b0316600160f91b179055610e6b84610f71565b610e8a578360405163796dabcb60e01b8152600401610bcf9190613de7565b84600003610eab576040516337f84b5960e11b815260040160405180910390fd5b8115610ec057610ebb3086611d52565b610eca565b610eca3386611d52565b610ed5868587611ed8565b905082811015610efc578083604051631e2bda7560e11b8152600401610bcf9291906140de565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610f4b9291906140de565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610fe457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b8061102057507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b80610a7d5750610a7d82611f3b565b6001600160a01b038116600090815260056020526040812054610a7d565b6060600480546107ec90614047565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111069190614105565b925092509250909192565b600254600090600119600160f81b90910460ff16016111425760405162461bcd60e51b8152600401610bcf906140a7565b600280546001600160f81b0316600160f91b17905533611163818585611a09565b6001915050600280546001600160f81b0316600160f81b17905592915050565b600061118e83610f71565b6111ad57826040516315cc2f3f60e01b8152600401610bcf9190613de7565b6111b78383611fb0565b9392505050565b6060610d78611710565b60006111d383610f71565b6111f2578260405163796dabcb60e01b8152600401610bcf9190613de7565b6111b78383611ff6565b8342111561124c5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610bcf565b60007f000000000000000000000000000000000000000000000000000000000000000088888861127b8c61203c565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006112d682612064565b905060006112e6828787876120b2565b9050896001600160a01b0316816001600160a01b0316146113495760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610bcf565b6113548a8a8a6115ec565b50505050505050505050565b6060600061136c611710565b905080516001600160401b038111156113875761138761407b565b6040519080825280602002602001820160405280156113b0578160200160208202803683370190505b50915060005b815181101561142c57600860008383815181106113d5576113d5614091565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b039091169084908390811061141957611419614091565b60209081029190910101526001016113b6565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff160161148d5760405162461bcd60e51b8152600401610bcf906140a7565b600280546001600160f81b0316600160f91b1790556114ab826120da565b6114b582836120e8565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f6114ea611710565b836040516114f9929190614122565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff160161154c5760405162461bcd60e51b8152600401610bcf906140a7565b600280546001600160f81b0316600160f91b179055611569612390565b5050611573611360565b9050600280546001600160f81b0316600160f81b17905590565b8151600090815b818110156115e157836001600160a01b03168582815181106115b8576115b8614091565b60200260200101516001600160a01b0316036115d957600192505050610a7d565b600101611594565b506000949350505050565b6001600160a01b03831661164e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610bcf565b6001600160a01b0382166116af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610bcf565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60408051600280825260608083018452926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061176457611764614091565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610a4657610a46614091565b6001600160a01b038316611809578034146118045760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610bcf565b505050565b8015611804576118046001600160a01b03841683308461262b565b600061182f83611f3b565b156118685760006118408484612696565b9050611860736c3f90f043a72fa612cbac8115ee7e52bde6e4908261281a565b915050610a7d565b611872838361281a565b9050610a7d565b6001600160a01b0382166118cf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610bcf565b6118db60008383612a34565b6118e481612a3e565b600280546000906118ff9084906001600160f81b031661415d565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b031681526020019081526020016000206000828254611957919061417d565b90915550506040518181526001600160a01b038316906000906000805160206143a28339815191529060200160405180910390a35050565b600061199b8484611431565b90506000198114611a0357818110156119f65760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610bcf565b611a0384848484036115ec565b50505050565b6001600160a01b038316611a6d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610bcf565b6001600160a01b038216611acf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610bcf565b816001600160a01b0316836001600160a01b031603611b2a5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610bcf565b611b35838383612a34565b6001600160a01b03831660009081526020819052604090205481811015611bad5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610bcf565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611be490849061417d565b92505081905550826001600160a01b0316846001600160a01b03166000805160206143a283398151915284604051611c1e91815260200190565b60405180910390a3611a03565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611c8457507f000000000000000000000000000000000000000000000000000000000000000046145b15611cae57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038216611db25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610bcf565b611dbe82600083612a34565b6001600160a01b03821660009081526020819052604090205481811015611e325760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610bcf565b6001600160a01b03831660009081526020819052604090208282039055611e5882612a3e565b60028054600090611e739084906001600160f81b0316614190565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206143a283398151915284604051611ecb91815260200190565b60405180910390a3505050565b6000611ee383611f3b565b15611f28576000611f0930736c3f90f043a72fa612cbac8115ee7e52bde6e49085612a58565b9050611f158482612bd6565b9150611f22848684612cf0565b506111b7565b611f33848484612a58565b949350505050565b60006001600160a01b038216736b175474e89094c44da98b954eedeac495271d0f1480611f8457506001600160a01b03821673a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48145b80610a7d57506001600160a01b03821673dac17f958d2ee523a2206206994597c13d831ec71492915050565b6000611fbb83611f3b565b15611fec576000611fcc8484612db4565b9050611860736c3f90f043a72fa612cbac8115ee7e52bde6e49082612e3a565b6118728383612e3a565b600061200183611f3b565b15612032576000612026736c3f90f043a72fa612cbac8115ee7e52bde6e49084612e86565b90506118608482612fa0565b6118728383612e86565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610a7d612071611c2b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006120c387878787612ff5565b915091506120d0816130d8565b5095945050505050565b6120e5816000613289565b50565b606060006120f4611710565b905080516001600160401b0381111561210f5761210f61407b565b604051908082528060200260200182016040528015612138578160200160208202803683370190505b50915060005b8151811015612388576006600083838151811061215d5761215d614091565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b03168382815181106121da576121da614091565b6020026020010181815250508281815181106121f8576121f8614091565b60200260200101516000146123765760006006600084848151811061221f5761221f614091565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b031602179055506122b38382815181106122a6576122a6614091565b6020026020010151613309565b600860008484815181106122c9576122c9614091565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b031661231591906141b0565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555061237682828151811061234e5761234e614091565b60200260200101518585848151811061236957612369614091565b6020026020010151612cf0565b80612380816141d0565b91505061213e565b505092915050565b60608061239b611710565b915081516001600160401b038111156123b6576123b661407b565b6040519080825280602002602001820160405280156123df578160200160208202803683370190505b50905081516000036123ef579091565b43600754146125a35743600755600061240661331f565b9050612410613329565b60005b83518110156125a057600084828151811061243057612430614091565b6020908102919091018101516001600160a01b0381166000908152600890925260408220548751919350600160801b90046001600160801b03169061248e9088908690811061248157612481614091565b6020026020010151613398565b61249891906141e9565b6001600160a01b0383166000908152600860205260408120549192506001600160801b03909116908190036124cb575060015b84156124e8576124db8286613422565b6124e5908261417d565b90505b6124f181613309565b6001600160a01b038416600090815260086020526040902080546001600160801b0319166001600160801b039290921691909117905561253082613309565b6001600160a01b03841660009081526008602052604090208054601090612568908490600160801b90046001600160801b03166141fc565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555050505080612599906141d0565b9050612413565b50505b60005b825181101561262657600860008483815181106125c5576125c5614091565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061260957612609614091565b60209081029190910101528061261e816141d0565b9150506125a6565b509091565b6040516001600160a01b0380851660248301528316604482015260648101829052611a039085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613451565b6040516370a0823160e01b81526000908190736c3f90f043a72fa612cbac8115ee7e52bde6e490906370a08231906126d2903090600401613de7565b602060405180830381865afa1580156126ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271391906140ec565b905073bebc44782c7db0a1a60cb6fe97d0b483032ff1c7634515cef36127398686613523565b60006040518363ffffffff1660e01b815260040161275892919061423f565b600060405180830381600087803b15801561277257600080fd5b505af1158015612786573d6000803e3d6000fd5b50506040516370a0823160e01b815260009250736c3f90f043a72fa612cbac8115ee7e52bde6e49091506370a08231906127c4903090600401613de7565b602060405180830381865afa1580156127e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280591906140ec565b905061281182826141e9565b95945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612912576040516321d0683360e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906343a0d066906128c6907f000000000000000000000000000000000000000000000000000000000000000090869060019060040161425a565b6020604051808303816000875af11580156128e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129099190614272565b50819050610a7d565b600061293d7f0000000000000000000000000000000000000000000000000000000000000000613398565b90506129498484613551565b806129737f0000000000000000000000000000000000000000000000000000000000000000613398565b61297d91906141e9565b6040516321d0683360e11b81529092506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906343a0d066906129f1907f000000000000000000000000000000000000000000000000000000000000000090869060019060040161425a565b6020604051808303816000875af1158015612a10573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123889190614272565b6118048383613289565b60006001600160f81b03821115612a5457600080fd5b5090565b604051636197390160e11b815260048101829052600060248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c32e7202906044016020604051808303816000875af1158015612ac9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aed9190614272565b50612af7836135ff565b15612bb8576000612b0784613398565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a4d01d284612b4a612b4588613677565b6136c3565b60006040518463ffffffff1660e01b8152600401612b6a9392919061428f565b600060405180830381600087803b158015612b8457600080fd5b505af1158015612b98573d6000803e3d6000fd5b5050505080612ba685613398565b612bb091906141e9565b915050612bbb565b50805b6001600160a01b03841630146111b7576111b7838583612cf0565b600080836001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401612c059190613de7565b602060405180830381865afa158015612c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4691906140ec565b905073bebc44782c7db0a1a60cb6fe97d0b483032ff1c7631a4d01d284612c6f612b45886136d6565b60006040518463ffffffff1660e01b8152600401612c8f9392919061428f565b600060405180830381600087803b158015612ca957600080fd5b505af1158015612cbd573d6000803e3d6000fd5b50506040516370a0823160e01b8152600092506001600160a01b03871691506370a08231906127c4903090600401613de7565b80600003612cfd57505050565b6001600160a01b038316612da0576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612d58576040519150601f19603f3d011682016040523d82523d6000602084013e612d5d565b606091505b5050905080611a035760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610bcf565b6118046001600160a01b03841683836137b1565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c7633883e119612dda8585613523565b60016040518363ffffffff1660e01b8152600401612df99291906142a8565b602060405180830381865afa158015612e16573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b791906140ec565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612e7c575080610a7d565b6111b783836137e1565b600080670de0b6b3a7640000612e9a610d7d565b612ea490856142c5565b612eae91906142f2565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603612ef157809150612f99565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663cc2b27d782612f2d612b4588613677565b6040516001600160e01b031960e085901b1681526004810192909252600f0b60248201526044015b602060405180830381865afa158015612f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f9691906140ec565b91505b5092915050565b600073bebc44782c7db0a1a60cb6fe97d0b483032ff1c763cc2b27d783612fc9612b45876136d6565b6040516001600160e01b031960e085901b1681526004810192909252600f0b6024820152604401612df9565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561302257506000905060036130cf565b8460ff16601b1415801561303a57508460ff16601c14155b1561304b57506000905060046130cf565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa15801561309f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166130c8576000600192509250506130cf565b9150600090505b94509492505050565b60008160048111156130ec576130ec613f73565b036130f45750565b600181600481111561310857613108613f73565b036131505760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610bcf565b600281600481111561316457613164613f73565b036131b15760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bcf565b60038160048111156131c5576131c5613f73565b0361321d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bcf565b600481600481111561323157613231613f73565b036120e55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bcf565b600080613294612390565b9150915081516000036132a75750505050565b6001600160a01b038416158015906132c857506001600160a01b0384163014155b156132d8576132d884838361385a565b6001600160a01b038316158015906132f957506001600160a01b0383163014155b15611a0357611a0383838361385a565b60006001600160801b03821115612a5457600080fd5b6000610d78610b8f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561338457600080fd5b505af1158015611a03573d6000803e3d6000fd5b60006001600160a01b0382161561341b576040516370a0823160e01b81526001600160a01b038316906370a08231906133d5903090600401613de7565b602060405180830381865afa1580156133f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061341691906140ec565b610a7d565b4792915050565b600080613437670de0b6b3a7640000856142c5565b9050828181613448576134486142dc565b04949350505050565b60006134a6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613ada9092919063ffffffff16565b80519091501561180457808060200190518101906134c49190614272565b6118045760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610bcf565b61352b613cbc565b8181613536856136d6565b6003811061354657613546614091565b602002015292915050565b613559613cda565b818161356485613677565b6002811061357457613574614091565b6020020152604051630b4c7e4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630b4c7e4d906135c8908490600090600401614337565b600060405180830381600087803b1580156135e257600080fd5b505af11580156135f6573d6000803e3d6000fd5b50505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480610a7d57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036136ba57506000919050565b5060015b919050565b6000610a7d6136d183613ae9565b613aff565b6000736b175474e89094c44da98b954eedeac495271d0e196001600160a01b0383160161370557506000919050565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb47196001600160a01b0383160161373257506001919050565b73dac17f958d2ee523a2206206994597c13d831ec6196001600160a01b0383160161375f57506002919050565b60405162461bcd60e51b815260206004820152602160248201527f50656e646c653343727648656c7065723a206e6f742076616c696420746f6b656044820152603760f91b6064820152608401610bcf565b6040516001600160a01b03831660248201526044810182905261180490849063a9059cbb60e01b9060640161265f565b60006137eb613cda565b82816137f686613677565b6002811061380657613806614091565b602002015260405163ed8e84f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ed8e84f390612f55908490600190600401614352565b6001600160a01b0383161580159061387b57506001600160a01b0383163014155b6138875761388761436f565b600061389284613b29565b905060005b8351811015613ad35760008482815181106138b4576138b4614091565b6020026020010151905060008483815181106138d2576138d2614091565b6020908102919091018101516001600160a01b038085166000908152600684526040808220928c168252919093528220549092506001600160801b03169081900361396e5761392082613309565b6001600160a01b039384166000908152600660209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b039094169390931790925550613ac39050565b81810361397d57505050613ac3565b600061398982846141e9565b905060006139978783613b34565b6001600160a01b038681166000908152600660209081526040808320938f16835292905290812054919250906139de908390600160801b90046001600160801b031661417d565b905060405180604001604052806139f487613309565b6001600160801b03168152602001613a0b83613309565b6001600160801b031681525060066000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b613acc816141d0565b9050613897565b5050505050565b6060611f338484600085613b52565b60006001600160ff1b03821115612a5457600080fd5b600060016001607f1b03198212801590613b20575060016001607f1b038213155b612a5457600080fd5b6000610a7d82610e01565b600080613b4183856142c5565b9050670de0b6b3a764000081613448565b606082471015613bb35760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610bcf565b6001600160a01b0385163b613c0a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bcf565b600080866001600160a01b03168587604051613c269190614385565b60006040518083038185875af1925050503d8060008114613c63576040519150601f19603f3d011682016040523d82523d6000602084013e613c68565b606091505b5091509150613c78828286613c83565b979650505050505050565b60608315613c925750816111b7565b825115613ca25782518084602001fd5b8160405162461bcd60e51b8152600401610bcf9190613d1c565b60405180606001604052806003906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b60005b83811015613d13578181015183820152602001613cfb565b50506000910152565b6020815260008251806020840152613d3b816040850160208701613cf8565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015613d885781516001600160a01b031687529582019590820190600101613d63565b509495945050505050565b6020815260006111b76020830184613d4f565b80356001600160a01b03811681146136be57600080fd5b60008060408385031215613dd057600080fd5b613dd983613da6565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600060208284031215613e0d57600080fd5b6111b782613da6565b600081518084526020808501945080840160005b83811015613d8857815187529582019590820190600101613e2a565b6020815260006111b76020830184613e16565b60008060008060808587031215613e6f57600080fd5b613e7885613da6565b9350613e8660208601613da6565b93969395505050506040820135916060013590565b600080600060608486031215613eb057600080fd5b613eb984613da6565b9250613ec760208501613da6565b9150604084013590509250925092565b60008060408385031215613eea57600080fd5b613ef383613da6565b9150613f0160208401613da6565b90509250929050565b80151581146120e557600080fd5b600080600080600060a08688031215613f3057600080fd5b613f3986613da6565b945060208601359350613f4e60408701613da6565b9250606086013591506080860135613f6581613f0a565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b6060810160028510613fab57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff811681146120e557600080fd5b600080600080600080600060e0888a031215613ff557600080fd5b613ffe88613da6565b965061400c60208901613da6565b95506040880135945060608801359350608088013561402a81613fcb565b9699959850939692959460a0840135945060c09093013592915050565b600181811c9082168061405b57607f821691505b60208210810361205e57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6000602082840312156140fe57600080fd5b5051919050565b60006020828403121561411757600080fd5b81516111b781613fcb565b6040815260006141356040830185613d4f565b82810360208401526128118185613e16565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b03818116838216019080821115612f9957612f99614147565b80820180821115610a7d57610a7d614147565b6001600160f81b03828116828216039080821115612f9957612f99614147565b6001600160801b03828116828216039080821115612f9957612f99614147565b6000600182016141e2576141e2614147565b5060010190565b81810381811115610a7d57610a7d614147565b6001600160801b03818116838216019080821115612f9957612f99614147565b8060005b6003811015611a03578151845260209384019390910190600101614220565b6080810161424d828561421c565b8260608301529392505050565b92835260208301919091521515604082015260600190565b60006020828403121561428457600080fd5b81516111b781613f0a565b928352600f9190910b6020830152604082015260600190565b608081016142b6828561421c565b82151560608301529392505050565b8082028115828204841417610a7d57610a7d614147565b634e487b7160e01b600052601260045260246000fd5b60008261430f57634e487b7160e01b600052601260045260246000fd5b500490565b8060005b6002811015611a03578151845260209384019390910190600101614318565b606081016143458285614314565b8260408301529392505050565b606081016143608285614314565b82151560408301529392505050565b634e487b7160e01b600052600160045260246000fd5b60008251614397818460208701613cf8565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207bf49bd320333a81d02b1c27e233254c908c3f2883d85ecd3a803a7d76f0e70164736f6c63430008110033";
|
|
1042
|
-
|
|
1043
|
-
type Pendle3CrvAndTokenSCYConstructorParams =
|
|
1044
|
-
| [signer?: Signer]
|
|
1045
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1046
|
-
|
|
1047
|
-
const isSuperArgs = (
|
|
1048
|
-
xs: Pendle3CrvAndTokenSCYConstructorParams
|
|
1049
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1050
|
-
|
|
1051
|
-
export class Pendle3CrvAndTokenSCY__factory extends ContractFactory {
|
|
1052
|
-
constructor(...args: Pendle3CrvAndTokenSCYConstructorParams) {
|
|
1053
|
-
if (isSuperArgs(args)) {
|
|
1054
|
-
super(...args);
|
|
1055
|
-
} else {
|
|
1056
|
-
super(_abi, _bytecode, args[0]);
|
|
1057
|
-
}
|
|
1058
|
-
this.contractName = "Pendle3CrvAndTokenSCY";
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
deploy(
|
|
1062
|
-
_name: string,
|
|
1063
|
-
_symbol: string,
|
|
1064
|
-
_pid: BigNumberish,
|
|
1065
|
-
_convexBooster: string,
|
|
1066
|
-
_crvLpToken: string,
|
|
1067
|
-
_cvx: string,
|
|
1068
|
-
_baseCrvPool: string,
|
|
1069
|
-
_basePoolTokens: string[],
|
|
1070
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1071
|
-
): Promise<Pendle3CrvAndTokenSCY> {
|
|
1072
|
-
return super.deploy(
|
|
1073
|
-
_name,
|
|
1074
|
-
_symbol,
|
|
1075
|
-
_pid,
|
|
1076
|
-
_convexBooster,
|
|
1077
|
-
_crvLpToken,
|
|
1078
|
-
_cvx,
|
|
1079
|
-
_baseCrvPool,
|
|
1080
|
-
_basePoolTokens,
|
|
1081
|
-
overrides || {}
|
|
1082
|
-
) as Promise<Pendle3CrvAndTokenSCY>;
|
|
1083
|
-
}
|
|
1084
|
-
getDeployTransaction(
|
|
1085
|
-
_name: string,
|
|
1086
|
-
_symbol: string,
|
|
1087
|
-
_pid: BigNumberish,
|
|
1088
|
-
_convexBooster: string,
|
|
1089
|
-
_crvLpToken: string,
|
|
1090
|
-
_cvx: string,
|
|
1091
|
-
_baseCrvPool: string,
|
|
1092
|
-
_basePoolTokens: string[],
|
|
1093
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1094
|
-
): TransactionRequest {
|
|
1095
|
-
return super.getDeployTransaction(
|
|
1096
|
-
_name,
|
|
1097
|
-
_symbol,
|
|
1098
|
-
_pid,
|
|
1099
|
-
_convexBooster,
|
|
1100
|
-
_crvLpToken,
|
|
1101
|
-
_cvx,
|
|
1102
|
-
_baseCrvPool,
|
|
1103
|
-
_basePoolTokens,
|
|
1104
|
-
overrides || {}
|
|
1105
|
-
);
|
|
1106
|
-
}
|
|
1107
|
-
attach(address: string): Pendle3CrvAndTokenSCY {
|
|
1108
|
-
return super.attach(address) as Pendle3CrvAndTokenSCY;
|
|
1109
|
-
}
|
|
1110
|
-
connect(signer: Signer): Pendle3CrvAndTokenSCY__factory {
|
|
1111
|
-
return super.connect(signer) as Pendle3CrvAndTokenSCY__factory;
|
|
1112
|
-
}
|
|
1113
|
-
static readonly contractName: "Pendle3CrvAndTokenSCY";
|
|
1114
|
-
public readonly contractName: "Pendle3CrvAndTokenSCY";
|
|
1115
|
-
static readonly bytecode = _bytecode;
|
|
1116
|
-
static readonly abi = _abi;
|
|
1117
|
-
static createInterface(): Pendle3CrvAndTokenSCYInterface {
|
|
1118
|
-
return new utils.Interface(_abi) as Pendle3CrvAndTokenSCYInterface;
|
|
1119
|
-
}
|
|
1120
|
-
static connect(
|
|
1121
|
-
address: string,
|
|
1122
|
-
signerOrProvider: Signer | Provider
|
|
1123
|
-
): Pendle3CrvAndTokenSCY {
|
|
1124
|
-
return new Contract(
|
|
1125
|
-
address,
|
|
1126
|
-
_abi,
|
|
1127
|
-
signerOrProvider
|
|
1128
|
-
) as Pendle3CrvAndTokenSCY;
|
|
1129
|
-
}
|
|
1130
|
-
}
|