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