@pendle/core-v2 0.15.3-mainnet → 0.16.0-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +48 -110
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +21 -75
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +0 -39
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +0 -13
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -46
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +8 -52
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -15
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +17 -77
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +1018 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{base → ConvexCurveLP}/PendleConvexLPSY.sol/PendleConvexLPSY.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +76 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStaking.sol/PendleLooksStaking.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/{PendleLooksStakingSY.sol/PendleLooksStakingSY.json → PendleLooksStaking.sol/PendleLooksStaking.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -15
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +4 -85
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +4 -17
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +38 -3
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +0 -13
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +35 -319
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +85 -39
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +53 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +45 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +0 -7
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +17 -91
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +0 -50
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +0 -20
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +0 -20
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +17 -181
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +2 -12
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +0 -45
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -15
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +80 -2
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +60 -299
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +41 -118
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +24 -61
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +24 -31
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +24 -31
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -15
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -191
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +1 -1
- package/contracts/core/Market/PendleMarket.sol +7 -18
- package/contracts/core/Market/PendleMarketFactory.sol +5 -15
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +167 -0
- package/contracts/core/StandardizedYield/implementations/Convex/{base → ConvexCurveLP}/PendleConvexLPSY.sol +4 -2
- package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +83 -0
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +4 -19
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +7 -21
- package/contracts/core/YieldContracts/PendleYieldToken.sol +21 -54
- package/contracts/core/erc20/PendleERC20.sol +7 -4
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/core/libraries/Errors.sol +2 -28
- package/contracts/core/libraries/TokenHelper.sol +0 -9
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +31 -12
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +5 -3
- package/contracts/interfaces/IPActionMintRedeem.sol +0 -2
- package/contracts/interfaces/IPMarketFactory.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +1 -1
- package/contracts/interfaces/IStETH.sol +0 -6
- package/contracts/interfaces/IStandardizedYield.sol +10 -15
- package/contracts/offchain-helpers/ImplicitSwapfeeContract.sol +30 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +173 -0
- package/contracts/offchain-helpers/RouterStatic.sol +50 -189
- package/contracts/router/ActionAddRemoveLiq.sol +52 -71
- package/contracts/router/ActionCallback.sol +8 -4
- package/contracts/router/ActionMintRedeem.sol +18 -27
- package/contracts/router/ActionSwapPT.sol +9 -8
- package/contracts/router/ActionSwapPTYT.sol +7 -3
- package/contracts/router/ActionSwapYT.sol +10 -15
- package/contracts/router/PendleRouter.sol +0 -3
- package/contracts/router/base/ActionBaseMintRedeem.sol +83 -78
- package/contracts/router/base/MarketApproxLib.sol +1 -1
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +1 -17
- package/contracts/router/kyberswap/KyberSwapHelper.sol +8 -21
- package/deployments/43113-core.json +16 -0
- package/deployments/43113-helper.json +3 -0
- package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +15 -0
- package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +8 -0
- package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +8 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +2 -3
- package/typechain-types/ActionAddRemoveLiq.ts +52 -64
- package/typechain-types/ActionBaseMintRedeem.ts +8 -8
- package/typechain-types/ActionMintRedeem.ts +16 -48
- package/typechain-types/ActionSwapPT.ts +12 -34
- package/typechain-types/ActionSwapYT.ts +12 -34
- package/typechain-types/AggregationRouterHelper.ts +3 -287
- package/typechain-types/BaseSplitCodeFactoryContract.ts +0 -9
- package/typechain-types/BoringOwnableUpgradeable.ts +0 -9
- package/typechain-types/IBooster.ts +3 -9
- package/typechain-types/ICrvPool.ts +172 -69
- package/typechain-types/ILooksStaking.ts +0 -27
- package/typechain-types/IPActionAddRemoveLiq.ts +44 -56
- package/typechain-types/IPActionMintRedeem.ts +8 -40
- package/typechain-types/IPActionSwapPT.ts +4 -26
- package/typechain-types/IPActionSwapYT.ts +4 -26
- package/typechain-types/IPAllAction.ts +54 -76
- package/typechain-types/IPMarketFactory.ts +2 -2
- package/typechain-types/IPMsgSendEndpoint.ts +14 -24
- package/typechain-types/IPYieldContractFactory.ts +3 -3
- package/typechain-types/IStETH.ts +0 -56
- package/typechain-types/ImplicitSwapfeeContract.ts +17 -9
- package/typechain-types/KyberSwapHelper.ts +8 -8
- package/typechain-types/MarketMathStatic.ts +117 -0
- package/typechain-types/PendleFeeDistributor.ts +0 -9
- package/typechain-types/PendleFeeDistributorFactory.ts +0 -9
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -9
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -9
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -9
- package/typechain-types/PendleMarketFactory.ts +2 -51
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +68 -135
- package/typechain-types/PendleMsgSendEndpointUpg.ts +39 -108
- package/typechain-types/PendleMsgSenderAppUpg.ts +0 -64
- package/typechain-types/PendlePrincipalToken.ts +0 -9
- package/typechain-types/PendleRouter.ts +0 -9
- package/typechain-types/PendleVotingControllerUpg.ts +0 -64
- package/typechain-types/PendleYieldContractFactory.ts +8 -57
- package/typechain-types/PendleYieldToken.ts +0 -21
- package/typechain-types/RouterStatic.ts +20 -302
- package/typechain-types/VotingEscrowPendleMainchain.ts +6 -70
- package/typechain-types/VotingEscrowPendleSidechain.ts +0 -9
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +59 -122
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +42 -65
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +42 -35
- package/typechain-types/factories/ActionSwapYT__factory.ts +42 -35
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -190
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -14
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +0 -13
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +34 -318
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +85 -39
- package/typechain-types/factories/ILooksStaking__factory.ts +0 -7
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +17 -91
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +0 -50
- package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -20
- package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -20
- package/typechain-types/factories/IPAllAction__factory.ts +17 -181
- package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +2 -12
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/IStETH__factory.ts +0 -45
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +12 -4
- package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +79 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -14
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -13
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -14
- package/typechain-types/factories/PendleMarketFactory__factory.ts +16 -76
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +51 -113
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +23 -84
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +0 -39
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -14
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -14
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +2 -57
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +3 -84
- package/typechain-types/factories/PendleYieldToken__factory.ts +3 -16
- package/typechain-types/factories/RouterStatic__factory.ts +1 -244
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +8 -63
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -14
- package/typechain-types/hardhat.d.ts +39 -219
- package/typechain-types/index.ts +12 -48
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +0 -10
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +0 -4
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +0 -10
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +0 -699
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +0 -515
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +0 -4
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +0 -1003
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +0 -1068
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +0 -10
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +0 -213
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +0 -119
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -39
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +0 -173
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +0 -86
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +0 -34
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +0 -35
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
- package/contracts/core/BulkSeller/BulkSeller.sol +0 -259
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +0 -88
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +0 -143
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +0 -102
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +0 -160
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +0 -29
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +0 -215
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +0 -127
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +0 -152
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +0 -122
- package/contracts/interfaces/Curve/ITriCrvPool.sol +0 -41
- package/contracts/interfaces/ILooksFeeSharing.sol +0 -5
- package/contracts/interfaces/ILooksStaking.sol +0 -13
- package/contracts/interfaces/IPBulkSeller.sol +0 -28
- package/contracts/interfaces/IPBulkSellerFactory.sol +0 -12
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +0 -10
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +0 -43
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/deployments/1-core.json +0 -17
- package/deployments/1-markets/FRAX_30_MAR_23.json +0 -9
- package/deployments/1-markets/LOOKS_30_MAR_23.json +0 -8
- package/deployments/1-markets/STETH_MARCH_30.json +0 -8
- package/deployments/1-markets/USDD_MARCH_30.json +0 -9
- package/deployments/1-offchain-helper.json +0 -3
- package/typechain-types/AccessControl.ts +0 -360
- package/typechain-types/AccessControlUpgradeable.ts +0 -369
- package/typechain-types/BeaconProxy.ts +0 -97
- package/typechain-types/BulkSeller.ts +0 -777
- package/typechain-types/BulkSellerFactory.ts +0 -707
- package/typechain-types/BulkSellerOffchain.ts +0 -117
- package/typechain-types/ContextUpgradeable.ts +0 -68
- package/typechain-types/Curve3CrvPoolHelper.ts +0 -236
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +0 -158
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +0 -184
- package/typechain-types/ERC165.ts +0 -102
- package/typechain-types/ERC165Upgradeable.ts +0 -113
- package/typechain-types/IAccessControl.ts +0 -305
- package/typechain-types/IAccessControlUpgradeable.ts +0 -305
- package/typechain-types/IAggregationRouterHelper.ts +0 -108
- package/typechain-types/IERC165.ts +0 -102
- package/typechain-types/IERC165Upgradeable.ts +0 -102
- package/typechain-types/IPBulkSeller.ts +0 -290
- package/typechain-types/IPBulkSellerCallback.ts +0 -115
- package/typechain-types/IPBulkSellerFactory.ts +0 -147
- package/typechain-types/ITriCrvPool.ts +0 -345
- package/typechain-types/Initializable.ts +0 -68
- package/typechain-types/PendleConvex2TokensSY.ts +0 -1215
- package/typechain-types/PendleCurveFraxUsdcSY.ts +0 -1228
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +0 -1299
- package/typechain-types/PendleLooksStakingSY.ts +0 -1052
- package/typechain-types/ReentrancyGuardUpgradeable.ts +0 -68
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
- package/typechain-types/factories/AccessControl__factory.ts +0 -227
- package/typechain-types/factories/BeaconProxy__factory.ts +0 -141
- package/typechain-types/factories/BulkSellerFactory__factory.ts +0 -568
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +0 -88
- package/typechain-types/factories/BulkSeller__factory.ts +0 -749
- package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +0 -220
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +0 -146
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +0 -172
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
- package/typechain-types/factories/ERC165__factory.ts +0 -39
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
- package/typechain-types/factories/IAccessControl__factory.ts +0 -198
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +0 -54
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
- package/typechain-types/factories/IERC165__factory.ts +0 -42
- package/typechain-types/factories/IPBulkSellerCallback__factory.ts +0 -53
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +0 -101
- package/typechain-types/factories/IPBulkSeller__factory.ts +0 -185
- package/typechain-types/factories/ITriCrvPool__factory.ts +0 -225
- package/typechain-types/factories/Initializable__factory.ts +0 -36
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +0 -1093
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +0 -1068
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +0 -1133
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +0 -937
- package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
|
@@ -1,937 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
PendleLooksStakingSY,
|
|
8
|
-
PendleLooksStakingSYInterface,
|
|
9
|
-
} from "../PendleLooksStakingSY";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "string",
|
|
16
|
-
name: "_name",
|
|
17
|
-
type: "string",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "string",
|
|
21
|
-
name: "_symbol",
|
|
22
|
-
type: "string",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "address",
|
|
26
|
-
name: "_looks",
|
|
27
|
-
type: "address",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "address",
|
|
31
|
-
name: "_stakingContract",
|
|
32
|
-
type: "address",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
internalType: "address",
|
|
36
|
-
name: "_feeSharingContract",
|
|
37
|
-
type: "address",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
stateMutability: "nonpayable",
|
|
41
|
-
type: "constructor",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inputs: [
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "actualSharesOut",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "requiredSharesOut",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "SYInsufficientSharesOut",
|
|
57
|
-
type: "error",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
inputs: [
|
|
61
|
-
{
|
|
62
|
-
internalType: "uint256",
|
|
63
|
-
name: "actualTokenOut",
|
|
64
|
-
type: "uint256",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
internalType: "uint256",
|
|
68
|
-
name: "requiredTokenOut",
|
|
69
|
-
type: "uint256",
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
name: "SYInsufficientTokenOut",
|
|
73
|
-
type: "error",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
inputs: [
|
|
77
|
-
{
|
|
78
|
-
internalType: "address",
|
|
79
|
-
name: "token",
|
|
80
|
-
type: "address",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
name: "SYInvalidTokenIn",
|
|
84
|
-
type: "error",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
inputs: [
|
|
88
|
-
{
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "token",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
name: "SYInvalidTokenOut",
|
|
95
|
-
type: "error",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
inputs: [],
|
|
99
|
-
name: "SYZeroDeposit",
|
|
100
|
-
type: "error",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
inputs: [],
|
|
104
|
-
name: "SYZeroRedeem",
|
|
105
|
-
type: "error",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
anonymous: false,
|
|
109
|
-
inputs: [
|
|
110
|
-
{
|
|
111
|
-
indexed: true,
|
|
112
|
-
internalType: "address",
|
|
113
|
-
name: "owner",
|
|
114
|
-
type: "address",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
indexed: true,
|
|
118
|
-
internalType: "address",
|
|
119
|
-
name: "spender",
|
|
120
|
-
type: "address",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
indexed: false,
|
|
124
|
-
internalType: "uint256",
|
|
125
|
-
name: "value",
|
|
126
|
-
type: "uint256",
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
name: "Approval",
|
|
130
|
-
type: "event",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
anonymous: false,
|
|
134
|
-
inputs: [
|
|
135
|
-
{
|
|
136
|
-
indexed: true,
|
|
137
|
-
internalType: "address",
|
|
138
|
-
name: "user",
|
|
139
|
-
type: "address",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
indexed: false,
|
|
143
|
-
internalType: "address[]",
|
|
144
|
-
name: "rewardTokens",
|
|
145
|
-
type: "address[]",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
indexed: false,
|
|
149
|
-
internalType: "uint256[]",
|
|
150
|
-
name: "rewardAmounts",
|
|
151
|
-
type: "uint256[]",
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
name: "ClaimRewards",
|
|
155
|
-
type: "event",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
anonymous: false,
|
|
159
|
-
inputs: [
|
|
160
|
-
{
|
|
161
|
-
indexed: true,
|
|
162
|
-
internalType: "address",
|
|
163
|
-
name: "caller",
|
|
164
|
-
type: "address",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
indexed: true,
|
|
168
|
-
internalType: "address",
|
|
169
|
-
name: "receiver",
|
|
170
|
-
type: "address",
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
indexed: true,
|
|
174
|
-
internalType: "address",
|
|
175
|
-
name: "tokenIn",
|
|
176
|
-
type: "address",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
indexed: false,
|
|
180
|
-
internalType: "uint256",
|
|
181
|
-
name: "amountDeposited",
|
|
182
|
-
type: "uint256",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
indexed: false,
|
|
186
|
-
internalType: "uint256",
|
|
187
|
-
name: "amountSyOut",
|
|
188
|
-
type: "uint256",
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
name: "Deposit",
|
|
192
|
-
type: "event",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
anonymous: false,
|
|
196
|
-
inputs: [
|
|
197
|
-
{
|
|
198
|
-
indexed: true,
|
|
199
|
-
internalType: "address",
|
|
200
|
-
name: "caller",
|
|
201
|
-
type: "address",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
indexed: true,
|
|
205
|
-
internalType: "address",
|
|
206
|
-
name: "receiver",
|
|
207
|
-
type: "address",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
indexed: true,
|
|
211
|
-
internalType: "address",
|
|
212
|
-
name: "tokenOut",
|
|
213
|
-
type: "address",
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
indexed: false,
|
|
217
|
-
internalType: "uint256",
|
|
218
|
-
name: "amountSyToRedeem",
|
|
219
|
-
type: "uint256",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
indexed: false,
|
|
223
|
-
internalType: "uint256",
|
|
224
|
-
name: "amountTokenOut",
|
|
225
|
-
type: "uint256",
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
name: "Redeem",
|
|
229
|
-
type: "event",
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
anonymous: false,
|
|
233
|
-
inputs: [
|
|
234
|
-
{
|
|
235
|
-
indexed: true,
|
|
236
|
-
internalType: "address",
|
|
237
|
-
name: "from",
|
|
238
|
-
type: "address",
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
indexed: true,
|
|
242
|
-
internalType: "address",
|
|
243
|
-
name: "to",
|
|
244
|
-
type: "address",
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
indexed: false,
|
|
248
|
-
internalType: "uint256",
|
|
249
|
-
name: "value",
|
|
250
|
-
type: "uint256",
|
|
251
|
-
},
|
|
252
|
-
],
|
|
253
|
-
name: "Transfer",
|
|
254
|
-
type: "event",
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
inputs: [],
|
|
258
|
-
name: "DOMAIN_SEPARATOR",
|
|
259
|
-
outputs: [
|
|
260
|
-
{
|
|
261
|
-
internalType: "bytes32",
|
|
262
|
-
name: "",
|
|
263
|
-
type: "bytes32",
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
stateMutability: "view",
|
|
267
|
-
type: "function",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
inputs: [
|
|
271
|
-
{
|
|
272
|
-
internalType: "address",
|
|
273
|
-
name: "",
|
|
274
|
-
type: "address",
|
|
275
|
-
},
|
|
276
|
-
],
|
|
277
|
-
name: "accruedRewards",
|
|
278
|
-
outputs: [
|
|
279
|
-
{
|
|
280
|
-
internalType: "uint256[]",
|
|
281
|
-
name: "rewardAmounts",
|
|
282
|
-
type: "uint256[]",
|
|
283
|
-
},
|
|
284
|
-
],
|
|
285
|
-
stateMutability: "view",
|
|
286
|
-
type: "function",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
inputs: [
|
|
290
|
-
{
|
|
291
|
-
internalType: "address",
|
|
292
|
-
name: "owner",
|
|
293
|
-
type: "address",
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
internalType: "address",
|
|
297
|
-
name: "spender",
|
|
298
|
-
type: "address",
|
|
299
|
-
},
|
|
300
|
-
],
|
|
301
|
-
name: "allowance",
|
|
302
|
-
outputs: [
|
|
303
|
-
{
|
|
304
|
-
internalType: "uint256",
|
|
305
|
-
name: "",
|
|
306
|
-
type: "uint256",
|
|
307
|
-
},
|
|
308
|
-
],
|
|
309
|
-
stateMutability: "view",
|
|
310
|
-
type: "function",
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
inputs: [
|
|
314
|
-
{
|
|
315
|
-
internalType: "address",
|
|
316
|
-
name: "spender",
|
|
317
|
-
type: "address",
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
internalType: "uint256",
|
|
321
|
-
name: "amount",
|
|
322
|
-
type: "uint256",
|
|
323
|
-
},
|
|
324
|
-
],
|
|
325
|
-
name: "approve",
|
|
326
|
-
outputs: [
|
|
327
|
-
{
|
|
328
|
-
internalType: "bool",
|
|
329
|
-
name: "",
|
|
330
|
-
type: "bool",
|
|
331
|
-
},
|
|
332
|
-
],
|
|
333
|
-
stateMutability: "nonpayable",
|
|
334
|
-
type: "function",
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
inputs: [],
|
|
338
|
-
name: "assetInfo",
|
|
339
|
-
outputs: [
|
|
340
|
-
{
|
|
341
|
-
internalType: "enum IStandardizedYield.AssetType",
|
|
342
|
-
name: "assetType",
|
|
343
|
-
type: "uint8",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
internalType: "address",
|
|
347
|
-
name: "assetAddress",
|
|
348
|
-
type: "address",
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
internalType: "uint8",
|
|
352
|
-
name: "assetDecimals",
|
|
353
|
-
type: "uint8",
|
|
354
|
-
},
|
|
355
|
-
],
|
|
356
|
-
stateMutability: "view",
|
|
357
|
-
type: "function",
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
inputs: [
|
|
361
|
-
{
|
|
362
|
-
internalType: "address",
|
|
363
|
-
name: "account",
|
|
364
|
-
type: "address",
|
|
365
|
-
},
|
|
366
|
-
],
|
|
367
|
-
name: "balanceOf",
|
|
368
|
-
outputs: [
|
|
369
|
-
{
|
|
370
|
-
internalType: "uint256",
|
|
371
|
-
name: "",
|
|
372
|
-
type: "uint256",
|
|
373
|
-
},
|
|
374
|
-
],
|
|
375
|
-
stateMutability: "view",
|
|
376
|
-
type: "function",
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
inputs: [
|
|
380
|
-
{
|
|
381
|
-
internalType: "address",
|
|
382
|
-
name: "",
|
|
383
|
-
type: "address",
|
|
384
|
-
},
|
|
385
|
-
],
|
|
386
|
-
name: "claimRewards",
|
|
387
|
-
outputs: [
|
|
388
|
-
{
|
|
389
|
-
internalType: "uint256[]",
|
|
390
|
-
name: "rewardAmounts",
|
|
391
|
-
type: "uint256[]",
|
|
392
|
-
},
|
|
393
|
-
],
|
|
394
|
-
stateMutability: "nonpayable",
|
|
395
|
-
type: "function",
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
inputs: [],
|
|
399
|
-
name: "decimals",
|
|
400
|
-
outputs: [
|
|
401
|
-
{
|
|
402
|
-
internalType: "uint8",
|
|
403
|
-
name: "",
|
|
404
|
-
type: "uint8",
|
|
405
|
-
},
|
|
406
|
-
],
|
|
407
|
-
stateMutability: "view",
|
|
408
|
-
type: "function",
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
inputs: [
|
|
412
|
-
{
|
|
413
|
-
internalType: "address",
|
|
414
|
-
name: "receiver",
|
|
415
|
-
type: "address",
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
internalType: "address",
|
|
419
|
-
name: "tokenIn",
|
|
420
|
-
type: "address",
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
internalType: "uint256",
|
|
424
|
-
name: "amountTokenToDeposit",
|
|
425
|
-
type: "uint256",
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
internalType: "uint256",
|
|
429
|
-
name: "minSharesOut",
|
|
430
|
-
type: "uint256",
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
name: "deposit",
|
|
434
|
-
outputs: [
|
|
435
|
-
{
|
|
436
|
-
internalType: "uint256",
|
|
437
|
-
name: "amountSharesOut",
|
|
438
|
-
type: "uint256",
|
|
439
|
-
},
|
|
440
|
-
],
|
|
441
|
-
stateMutability: "payable",
|
|
442
|
-
type: "function",
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
inputs: [],
|
|
446
|
-
name: "exchangeRate",
|
|
447
|
-
outputs: [
|
|
448
|
-
{
|
|
449
|
-
internalType: "uint256",
|
|
450
|
-
name: "",
|
|
451
|
-
type: "uint256",
|
|
452
|
-
},
|
|
453
|
-
],
|
|
454
|
-
stateMutability: "view",
|
|
455
|
-
type: "function",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
inputs: [],
|
|
459
|
-
name: "feeSharingContract",
|
|
460
|
-
outputs: [
|
|
461
|
-
{
|
|
462
|
-
internalType: "address",
|
|
463
|
-
name: "",
|
|
464
|
-
type: "address",
|
|
465
|
-
},
|
|
466
|
-
],
|
|
467
|
-
stateMutability: "view",
|
|
468
|
-
type: "function",
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
inputs: [],
|
|
472
|
-
name: "getRewardTokens",
|
|
473
|
-
outputs: [
|
|
474
|
-
{
|
|
475
|
-
internalType: "address[]",
|
|
476
|
-
name: "rewardTokens",
|
|
477
|
-
type: "address[]",
|
|
478
|
-
},
|
|
479
|
-
],
|
|
480
|
-
stateMutability: "view",
|
|
481
|
-
type: "function",
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
inputs: [],
|
|
485
|
-
name: "getTokensIn",
|
|
486
|
-
outputs: [
|
|
487
|
-
{
|
|
488
|
-
internalType: "address[]",
|
|
489
|
-
name: "res",
|
|
490
|
-
type: "address[]",
|
|
491
|
-
},
|
|
492
|
-
],
|
|
493
|
-
stateMutability: "view",
|
|
494
|
-
type: "function",
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
inputs: [],
|
|
498
|
-
name: "getTokensOut",
|
|
499
|
-
outputs: [
|
|
500
|
-
{
|
|
501
|
-
internalType: "address[]",
|
|
502
|
-
name: "res",
|
|
503
|
-
type: "address[]",
|
|
504
|
-
},
|
|
505
|
-
],
|
|
506
|
-
stateMutability: "view",
|
|
507
|
-
type: "function",
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
inputs: [
|
|
511
|
-
{
|
|
512
|
-
internalType: "address",
|
|
513
|
-
name: "token",
|
|
514
|
-
type: "address",
|
|
515
|
-
},
|
|
516
|
-
],
|
|
517
|
-
name: "isValidTokenIn",
|
|
518
|
-
outputs: [
|
|
519
|
-
{
|
|
520
|
-
internalType: "bool",
|
|
521
|
-
name: "",
|
|
522
|
-
type: "bool",
|
|
523
|
-
},
|
|
524
|
-
],
|
|
525
|
-
stateMutability: "view",
|
|
526
|
-
type: "function",
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
inputs: [
|
|
530
|
-
{
|
|
531
|
-
internalType: "address",
|
|
532
|
-
name: "token",
|
|
533
|
-
type: "address",
|
|
534
|
-
},
|
|
535
|
-
],
|
|
536
|
-
name: "isValidTokenOut",
|
|
537
|
-
outputs: [
|
|
538
|
-
{
|
|
539
|
-
internalType: "bool",
|
|
540
|
-
name: "",
|
|
541
|
-
type: "bool",
|
|
542
|
-
},
|
|
543
|
-
],
|
|
544
|
-
stateMutability: "view",
|
|
545
|
-
type: "function",
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
inputs: [],
|
|
549
|
-
name: "looks",
|
|
550
|
-
outputs: [
|
|
551
|
-
{
|
|
552
|
-
internalType: "address",
|
|
553
|
-
name: "",
|
|
554
|
-
type: "address",
|
|
555
|
-
},
|
|
556
|
-
],
|
|
557
|
-
stateMutability: "view",
|
|
558
|
-
type: "function",
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
inputs: [],
|
|
562
|
-
name: "name",
|
|
563
|
-
outputs: [
|
|
564
|
-
{
|
|
565
|
-
internalType: "string",
|
|
566
|
-
name: "",
|
|
567
|
-
type: "string",
|
|
568
|
-
},
|
|
569
|
-
],
|
|
570
|
-
stateMutability: "view",
|
|
571
|
-
type: "function",
|
|
572
|
-
},
|
|
573
|
-
{
|
|
574
|
-
inputs: [
|
|
575
|
-
{
|
|
576
|
-
internalType: "address",
|
|
577
|
-
name: "owner",
|
|
578
|
-
type: "address",
|
|
579
|
-
},
|
|
580
|
-
],
|
|
581
|
-
name: "nonces",
|
|
582
|
-
outputs: [
|
|
583
|
-
{
|
|
584
|
-
internalType: "uint256",
|
|
585
|
-
name: "",
|
|
586
|
-
type: "uint256",
|
|
587
|
-
},
|
|
588
|
-
],
|
|
589
|
-
stateMutability: "view",
|
|
590
|
-
type: "function",
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
inputs: [
|
|
594
|
-
{
|
|
595
|
-
internalType: "address",
|
|
596
|
-
name: "owner",
|
|
597
|
-
type: "address",
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
internalType: "address",
|
|
601
|
-
name: "spender",
|
|
602
|
-
type: "address",
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
internalType: "uint256",
|
|
606
|
-
name: "value",
|
|
607
|
-
type: "uint256",
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
internalType: "uint256",
|
|
611
|
-
name: "deadline",
|
|
612
|
-
type: "uint256",
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
internalType: "uint8",
|
|
616
|
-
name: "v",
|
|
617
|
-
type: "uint8",
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
internalType: "bytes32",
|
|
621
|
-
name: "r",
|
|
622
|
-
type: "bytes32",
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
internalType: "bytes32",
|
|
626
|
-
name: "s",
|
|
627
|
-
type: "bytes32",
|
|
628
|
-
},
|
|
629
|
-
],
|
|
630
|
-
name: "permit",
|
|
631
|
-
outputs: [],
|
|
632
|
-
stateMutability: "nonpayable",
|
|
633
|
-
type: "function",
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
inputs: [
|
|
637
|
-
{
|
|
638
|
-
internalType: "address",
|
|
639
|
-
name: "tokenIn",
|
|
640
|
-
type: "address",
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
internalType: "uint256",
|
|
644
|
-
name: "amountTokenToDeposit",
|
|
645
|
-
type: "uint256",
|
|
646
|
-
},
|
|
647
|
-
],
|
|
648
|
-
name: "previewDeposit",
|
|
649
|
-
outputs: [
|
|
650
|
-
{
|
|
651
|
-
internalType: "uint256",
|
|
652
|
-
name: "amountSharesOut",
|
|
653
|
-
type: "uint256",
|
|
654
|
-
},
|
|
655
|
-
],
|
|
656
|
-
stateMutability: "view",
|
|
657
|
-
type: "function",
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
inputs: [
|
|
661
|
-
{
|
|
662
|
-
internalType: "address",
|
|
663
|
-
name: "tokenOut",
|
|
664
|
-
type: "address",
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
internalType: "uint256",
|
|
668
|
-
name: "amountSharesToRedeem",
|
|
669
|
-
type: "uint256",
|
|
670
|
-
},
|
|
671
|
-
],
|
|
672
|
-
name: "previewRedeem",
|
|
673
|
-
outputs: [
|
|
674
|
-
{
|
|
675
|
-
internalType: "uint256",
|
|
676
|
-
name: "amountTokenOut",
|
|
677
|
-
type: "uint256",
|
|
678
|
-
},
|
|
679
|
-
],
|
|
680
|
-
stateMutability: "view",
|
|
681
|
-
type: "function",
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
inputs: [
|
|
685
|
-
{
|
|
686
|
-
internalType: "address",
|
|
687
|
-
name: "receiver",
|
|
688
|
-
type: "address",
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
internalType: "uint256",
|
|
692
|
-
name: "amountSharesToRedeem",
|
|
693
|
-
type: "uint256",
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
internalType: "address",
|
|
697
|
-
name: "tokenOut",
|
|
698
|
-
type: "address",
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
internalType: "uint256",
|
|
702
|
-
name: "minTokenOut",
|
|
703
|
-
type: "uint256",
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
internalType: "bool",
|
|
707
|
-
name: "burnFromInternalBalance",
|
|
708
|
-
type: "bool",
|
|
709
|
-
},
|
|
710
|
-
],
|
|
711
|
-
name: "redeem",
|
|
712
|
-
outputs: [
|
|
713
|
-
{
|
|
714
|
-
internalType: "uint256",
|
|
715
|
-
name: "amountTokenOut",
|
|
716
|
-
type: "uint256",
|
|
717
|
-
},
|
|
718
|
-
],
|
|
719
|
-
stateMutability: "nonpayable",
|
|
720
|
-
type: "function",
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
inputs: [],
|
|
724
|
-
name: "rewardIndexesCurrent",
|
|
725
|
-
outputs: [
|
|
726
|
-
{
|
|
727
|
-
internalType: "uint256[]",
|
|
728
|
-
name: "indexes",
|
|
729
|
-
type: "uint256[]",
|
|
730
|
-
},
|
|
731
|
-
],
|
|
732
|
-
stateMutability: "nonpayable",
|
|
733
|
-
type: "function",
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
inputs: [],
|
|
737
|
-
name: "rewardIndexesStored",
|
|
738
|
-
outputs: [
|
|
739
|
-
{
|
|
740
|
-
internalType: "uint256[]",
|
|
741
|
-
name: "indexes",
|
|
742
|
-
type: "uint256[]",
|
|
743
|
-
},
|
|
744
|
-
],
|
|
745
|
-
stateMutability: "view",
|
|
746
|
-
type: "function",
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
inputs: [],
|
|
750
|
-
name: "stakingContract",
|
|
751
|
-
outputs: [
|
|
752
|
-
{
|
|
753
|
-
internalType: "address",
|
|
754
|
-
name: "",
|
|
755
|
-
type: "address",
|
|
756
|
-
},
|
|
757
|
-
],
|
|
758
|
-
stateMutability: "view",
|
|
759
|
-
type: "function",
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
inputs: [],
|
|
763
|
-
name: "symbol",
|
|
764
|
-
outputs: [
|
|
765
|
-
{
|
|
766
|
-
internalType: "string",
|
|
767
|
-
name: "",
|
|
768
|
-
type: "string",
|
|
769
|
-
},
|
|
770
|
-
],
|
|
771
|
-
stateMutability: "view",
|
|
772
|
-
type: "function",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
inputs: [],
|
|
776
|
-
name: "totalSupply",
|
|
777
|
-
outputs: [
|
|
778
|
-
{
|
|
779
|
-
internalType: "uint256",
|
|
780
|
-
name: "",
|
|
781
|
-
type: "uint256",
|
|
782
|
-
},
|
|
783
|
-
],
|
|
784
|
-
stateMutability: "view",
|
|
785
|
-
type: "function",
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
inputs: [
|
|
789
|
-
{
|
|
790
|
-
internalType: "address",
|
|
791
|
-
name: "to",
|
|
792
|
-
type: "address",
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
internalType: "uint256",
|
|
796
|
-
name: "amount",
|
|
797
|
-
type: "uint256",
|
|
798
|
-
},
|
|
799
|
-
],
|
|
800
|
-
name: "transfer",
|
|
801
|
-
outputs: [
|
|
802
|
-
{
|
|
803
|
-
internalType: "bool",
|
|
804
|
-
name: "",
|
|
805
|
-
type: "bool",
|
|
806
|
-
},
|
|
807
|
-
],
|
|
808
|
-
stateMutability: "nonpayable",
|
|
809
|
-
type: "function",
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
inputs: [
|
|
813
|
-
{
|
|
814
|
-
internalType: "address",
|
|
815
|
-
name: "from",
|
|
816
|
-
type: "address",
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
internalType: "address",
|
|
820
|
-
name: "to",
|
|
821
|
-
type: "address",
|
|
822
|
-
},
|
|
823
|
-
{
|
|
824
|
-
internalType: "uint256",
|
|
825
|
-
name: "amount",
|
|
826
|
-
type: "uint256",
|
|
827
|
-
},
|
|
828
|
-
],
|
|
829
|
-
name: "transferFrom",
|
|
830
|
-
outputs: [
|
|
831
|
-
{
|
|
832
|
-
internalType: "bool",
|
|
833
|
-
name: "",
|
|
834
|
-
type: "bool",
|
|
835
|
-
},
|
|
836
|
-
],
|
|
837
|
-
stateMutability: "nonpayable",
|
|
838
|
-
type: "function",
|
|
839
|
-
},
|
|
840
|
-
{
|
|
841
|
-
inputs: [],
|
|
842
|
-
name: "yieldToken",
|
|
843
|
-
outputs: [
|
|
844
|
-
{
|
|
845
|
-
internalType: "address",
|
|
846
|
-
name: "",
|
|
847
|
-
type: "address",
|
|
848
|
-
},
|
|
849
|
-
],
|
|
850
|
-
stateMutability: "view",
|
|
851
|
-
type: "function",
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
stateMutability: "payable",
|
|
855
|
-
type: "receive",
|
|
856
|
-
},
|
|
857
|
-
];
|
|
858
|
-
|
|
859
|
-
const _bytecode =
|
|
860
|
-
"0x6101e06040523480156200001257600080fd5b5060405162002e5838038062002e5883398101604081905262000035916200049d565b8484848282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000079573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009f91906200053f565b6040805180820190915260018152603160f81b602082015283908184846003620000ca8482620005fa565b506004620000d98382620005fa565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200018c8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e05261014052505050506001600160a01b0393841661016052505050858116610180528481166101a05283166101c05250620001d090508383620001db565b505050505062000757565b6001600160a01b038216620001ee575050565b6200020260026001600160601b03620006c6565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156200025c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002829190620006fb565b101562000298576200029882826000196200029c565b5050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620002fa919062000715565b6000604051808303816000865af19150503d806000811462000339576040519150601f19603f3d011682016040523d82523d6000602084013e6200033e565b606091505b50915091508180156200036c5750805115806200036c5750808060200190518101906200036c919062000733565b620003ac5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003e6578181015183820152602001620003cc565b50506000910152565b600082601f8301126200040157600080fd5b81516001600160401b03808211156200041e576200041e620003b3565b604051601f8301601f19908116603f01168101908282118183101715620004495762000449620003b3565b816040528381528660208588010111156200046357600080fd5b62000476846020830160208901620003c9565b9695505050505050565b80516001600160a01b03811681146200049857600080fd5b919050565b600080600080600060a08688031215620004b657600080fd5b85516001600160401b0380821115620004ce57600080fd5b620004dc89838a01620003ef565b96506020880151915080821115620004f357600080fd5b506200050288828901620003ef565b945050620005136040870162000480565b9250620005236060870162000480565b9150620005336080870162000480565b90509295509295909350565b6000602082840312156200055257600080fd5b815160ff811681146200056457600080fd5b9392505050565b600181811c908216806200058057607f821691505b602082108103620005a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005f557600081815260208120601f850160051c81016020861015620005d05750805b601f850160051c820191505b81811015620005f157828155600101620005dc565b5050505b505050565b81516001600160401b03811115620006165762000616620003b3565b6200062e816200062784546200056b565b84620005a7565b602080601f8311600181146200066657600084156200064d5750858301515b600019600386901b1c1916600185901b178555620005f1565b600085815260208120601f198616915b82811015620006975788860151825594840194600190910190840162000676565b5085821015620006b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001600160601b0383811680620006ef57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000602082840312156200070e57600080fd5b5051919050565b6000825162000729818460208701620003c9565b9190910192915050565b6000602082840312156200074657600080fd5b815180151581146200056457600080fd5b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516126186200084060003960008181610340015261092701526000818161055b015281816108a10152818161095601528181611052015281816110f60152818161117201526118ab0152600081816102ff0152818161063301528181610b3c01528181610ba101528181610bc20152818161186e01528181611915015261194a015260006103ca015260006116200152600061166f0152600061164a015260006115a3015260006115cd015260006115f70152600061028f01526126186000f3fe60806040526004361061016c5760003560e01c806306fdde0314610178578063071bc3c9146101a3578063095ea7b3146101c5578063128fced1146101f557806318160ddd1461022257806320e8c5651461024a578063213cae63146101a357806323b872dd1461025d578063313ce5671461027d5780633644e515146102c35780633ba0b9a9146102d85780634e0ea0b2146102ed5780636be316c71461032e57806370a0823114610362578063769f8e5d1461039857806376d5de85146103b8578063784367d6146103ec5780637ecebe001461040c57806395d89b411461042c578063a40bee5014610441578063a9059cbb14610465578063b8f82b2614610485578063c4f59f9b146104a5578063cbe52ae3146104c6578063d505accf146104e6578063da88ecb414610508578063dd62ed3e14610529578063ee99205c14610549578063ef5cfb8c146101f5578063f8b2f99114610508578063fa5a4f06146103ec57600080fd5b3661017357005b600080fd5b34801561018457600080fd5b5061018d61057d565b60405161019a9190612100565b60405180910390f35b3480156101af57600080fd5b506101b861060f565b60405161019a9190612133565b3480156101d157600080fd5b506101e56101e036600461219c565b610688565b604051901515815260200161019a565b34801561020157600080fd5b506102156102103660046121c6565b6106a2565b60405161019a91906121e1565b34801561022e57600080fd5b506002546001600160f81b03165b60405190815260200161019a565b61023c610258366004612219565b6106bd565b34801561026957600080fd5b506101e561027836600461225b565b61080f565b34801561028957600080fd5b506102b17f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161019a565b3480156102cf57600080fd5b5061023c61088d565b3480156102e457600080fd5b5061023c61089c565b3480156102f957600080fd5b506103217f000000000000000000000000000000000000000000000000000000000000000081565b60405161019a9190612297565b34801561033a57600080fd5b506103217f000000000000000000000000000000000000000000000000000000000000000081565b34801561036e57600080fd5b5061023c61037d3660046121c6565b6001600160a01b031660009081526020819052604090205490565b3480156103a457600080fd5b5061023c6103b33660046122b9565b6109e5565b3480156103c457600080fd5b506103217f000000000000000000000000000000000000000000000000000000000000000081565b3480156103f857600080fd5b506101e56104073660046121c6565b610b3a565b34801561041857600080fd5b5061023c6104273660046121c6565b610b6c565b34801561043857600080fd5b5061018d610b8a565b34801561044d57600080fd5b50610456610b99565b60405161019a9392919061232a565b34801561047157600080fd5b506101e561048036600461219c565b610c4d565b34801561049157600080fd5b5061023c6104a036600461219c565b610cbf565b3480156104b157600080fd5b506040805160008152602081019091526101b8565b3480156104d257600080fd5b5061023c6104e136600461219c565b610cfa565b3480156104f257600080fd5b5061050661050136600461237b565b610d2e565b005b34801561051457600080fd5b50604080516000815260208101909152610215565b34801561053557600080fd5b5061023c6105443660046123e8565b610e92565b34801561055557600080fd5b506103217f000000000000000000000000000000000000000000000000000000000000000081565b60606003805461058c9061241b565b80601f01602080910402602001604051908101604052809291908181526020018280546105b89061241b565b80156106055780601f106105da57610100808354040283529160200191610605565b820191906000526020600020905b8154815290600101906020018083116105e857829003601f168201915b5050505050905090565b604080516001808252818301909252606091602080830190803683370190505090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106106655761066561244f565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b600033610696818585610ebd565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b600254600090600119600160f81b90910460ff16016106f75760405162461bcd60e51b81526004016106ee90612465565b60405180910390fd5b600280546001600160f81b0316600160f91b17905561071584610b3a565b61073457836040516315d57ce360e31b81526004016106ee9190612297565b8260000361075557604051630a907f2f60e41b815260040160405180910390fd5b610760843385610fe1565b61076a848461104d565b905081811015610791578082604051635e38f95d60e11b81526004016106ee92919061249c565b61079b85826111fb565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516107ea92919061249c565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff16016108405760405162461bcd60e51b81526004016106ee90612465565b600280546001600160f81b0316600160f91b17905533610861858285611305565b61086c85858561137f565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b6000610897611596565b905090565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633a98ef396040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906124aa565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ab5e32af7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016109919190612297565b602060405180830381865afa1580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d291906124aa565b90506109de81836116bd565b9250505090565b600254600090600119600160f81b90910460ff1601610a165760405162461bcd60e51b81526004016106ee90612465565b600280546001600160f81b0316600160f91b179055610a3484610b3a565b610a5357836040516388a5056160e01b81526004016106ee9190612297565b84600003610a745760405163c3d83b0760e01b815260040160405180910390fd5b8115610a8957610a8430866116ec565b610a93565b610a9333866116ec565b610a9e868587611866565b905082811015610ac55780836040516305ff726560e51b81526004016106ee92919061249c565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610b1492919061249c565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b03811660009081526005602052604081205461069c565b60606004805461058c9061241b565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4291906124c3565b925092509250909192565b600254600090600119600160f81b90910460ff1601610c7e5760405162461bcd60e51b81526004016106ee90612465565b600280546001600160f81b0316600160f91b17905533610c9f81858561137f565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610cca83610b3a565b610ce957826040516315d57ce360e31b81526004016106ee9190612297565b610cf38383611978565b9392505050565b6000610d0583610b3a565b610d2457826040516388a5056160e01b81526004016106ee9190612297565b610cf3838361198c565b83421115610d7e5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106ee565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610dad8c6119a0565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610e08826119c8565b90506000610e1882878787611a16565b9050896001600160a01b0316816001600160a01b031614610e7b5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106ee565b610e868a8a8a610ebd565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b038316610f1f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ee565b6001600160a01b038216610f805760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ee565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110325780341461102d5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016106ee565b505050565b801561102d5761102d6001600160a01b038416833084611a3e565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631959a002306040518263ffffffff1660e01b815260040161109c9190612297565b602060405180830381865afa1580156110b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dd91906124aa565b60405163b6b55f2560e01b8152600481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063b6b55f2590602401600060405180830381600087803b15801561114257600080fd5b505af1158015611156573d6000803e3d6000fd5b5050604051630cacd00160e11b81528392506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169150631959a002906111a8903090600401612297565b602060405180830381865afa1580156111c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e991906124aa565b6111f391906124f6565b949350505050565b6001600160a01b0382166112515760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ee565b61125a81611aa9565b600280546000906112759084906001600160f81b0316612509565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546112cd9190612529565b90915550506040518181526001600160a01b038316906000906000805160206125c38339815191529060200160405180910390a35050565b60006113118484610e92565b90506000198114611379578181101561136c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106ee565b6113798484848403610ebd565b50505050565b6001600160a01b0383166113e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ee565b6001600160a01b0382166114455760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ee565b816001600160a01b0316836001600160a01b0316036114a05760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016106ee565b6001600160a01b038316600090815260208190526040902054818110156115185760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ee565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061154f908490612529565b92505081905550826001600160a01b0316846001600160a01b03166000805160206125c38339815191528460405161158991815260200190565b60405180910390a3611379565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156115ef57507f000000000000000000000000000000000000000000000000000000000000000046145b1561161957507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000806116d2670de0b6b3a76400008561253c565b90508281816116e3576116e3612553565b04949350505050565b6001600160a01b03821661174c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106ee565b6001600160a01b038216600090815260208190526040902054818110156117c05760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106ee565b6001600160a01b038316600090815260208190526040902082820390556117e682611aa9565b600280546000906118019084906001600160f81b0316612569565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206125c38339815191528460405161185991815260200190565b60405180910390a3505050565b6000806118927f0000000000000000000000000000000000000000000000000000000000000000611ac3565b604051632e1a7d4d60e01b8152600481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b1580156118f757600080fd5b505af115801561190b573d6000803e3d6000fd5b50505050806119397f0000000000000000000000000000000000000000000000000000000000000000611ac3565b61194391906124f6565b91506119707f00000000000000000000000000000000000000000000000000000000000000008684611b4d565b509392505050565b6000610cf361198561089c565b83906116bd565b6000610cf361199961089c565b8390611c11565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b600061069c6119d5611596565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611a2787878787611c2f565b91509150611a3481611d12565b5095945050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526113799085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ec6565b60006001600160f81b03821115611abf57600080fd5b5090565b60006001600160a01b03821615611b46576040516370a0823160e01b81526001600160a01b038316906370a0823190611b00903090600401612297565b602060405180830381865afa158015611b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4191906124aa565b61069c565b4792915050565b80600003611b5a57505050565b6001600160a01b038316611bfd576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bb5576040519150601f19603f3d011682016040523d82523d6000602084013e611bba565b606091505b50509050806113795760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016106ee565b61102d6001600160a01b0384168383611f98565b600080611c1e838561253c565b9050670de0b6b3a7640000816116e3565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115611c5c5750600090506003611d09565b8460ff16601b14158015611c7457508460ff16601c14155b15611c855750600090506004611d09565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611cd9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d0257600060019250925050611d09565b9150600090505b94509492505050565b6000816004811115611d2657611d26612314565b03611d2e5750565b6001816004811115611d4257611d42612314565b03611d8a5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016106ee565b6002816004811115611d9e57611d9e612314565b03611deb5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106ee565b6003816004811115611dff57611dff612314565b03611e575760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106ee565b6004816004811115611e6b57611e6b612314565b03611ec35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106ee565b50565b6000611f1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611fc89092919063ffffffff16565b80519091501561102d5780806020019051810190611f399190612589565b61102d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106ee565b6040516001600160a01b03831660248201526044810182905261102d90849063a9059cbb60e01b90606401611a72565b60606111f38484600085856001600160a01b0385163b61202a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106ee565b600080866001600160a01b0316858760405161204691906125a6565b60006040518083038185875af1925050503d8060008114612083576040519150601f19603f3d011682016040523d82523d6000602084013e612088565b606091505b50915091506120988282866120a3565b979650505050505050565b606083156120b2575081610cf3565b8251156120c25782518084602001fd5b8160405162461bcd60e51b81526004016106ee9190612100565b60005b838110156120f75781810151838201526020016120df565b50506000910152565b602081526000825180602084015261211f8160408501602087016120dc565b601f01601f19169190910160400192915050565b6020808252825182820181905260009190848201906040850190845b818110156121745783516001600160a01b03168352928401929184019160010161214f565b50909695505050505050565b80356001600160a01b038116811461219757600080fd5b919050565b600080604083850312156121af57600080fd5b6121b883612180565b946020939093013593505050565b6000602082840312156121d857600080fd5b610cf382612180565b6020808252825182820181905260009190848201906040850190845b81811015612174578351835292840192918401916001016121fd565b6000806000806080858703121561222f57600080fd5b61223885612180565b935061224660208601612180565b93969395505050506040820135916060013590565b60008060006060848603121561227057600080fd5b61227984612180565b925061228760208501612180565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b8015158114611ec357600080fd5b600080600080600060a086880312156122d157600080fd5b6122da86612180565b9450602086013593506122ef60408701612180565b9250606086013591506080860135612306816122ab565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b606081016002851061234c57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff81168114611ec357600080fd5b600080600080600080600060e0888a03121561239657600080fd5b61239f88612180565b96506123ad60208901612180565b9550604088013594506060880135935060808801356123cb8161236c565b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156123fb57600080fd5b61240483612180565b915061241260208401612180565b90509250929050565b600181811c9082168061242f57607f821691505b6020821081036119c257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6000602082840312156124bc57600080fd5b5051919050565b6000602082840312156124d557600080fd5b8151610cf38161236c565b634e487b7160e01b600052601160045260246000fd5b8181038181111561069c5761069c6124e0565b6001600160f81b038181168382160190808211156106b6576106b66124e0565b8082018082111561069c5761069c6124e0565b808202811582820484141761069c5761069c6124e0565b634e487b7160e01b600052601260045260246000fd5b6001600160f81b038281168282160390808211156106b6576106b66124e0565b60006020828403121561259b57600080fd5b8151610cf3816122ab565b600082516125b88184602087016120dc565b919091019291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201376bfb16176270154e598d9c1939984c6f4114a33266331358f21e558c6634864736f6c63430008110033";
|
|
861
|
-
|
|
862
|
-
type PendleLooksStakingSYConstructorParams =
|
|
863
|
-
| [signer?: Signer]
|
|
864
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
865
|
-
|
|
866
|
-
const isSuperArgs = (
|
|
867
|
-
xs: PendleLooksStakingSYConstructorParams
|
|
868
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
869
|
-
|
|
870
|
-
export class PendleLooksStakingSY__factory extends ContractFactory {
|
|
871
|
-
constructor(...args: PendleLooksStakingSYConstructorParams) {
|
|
872
|
-
if (isSuperArgs(args)) {
|
|
873
|
-
super(...args);
|
|
874
|
-
} else {
|
|
875
|
-
super(_abi, _bytecode, args[0]);
|
|
876
|
-
}
|
|
877
|
-
this.contractName = "PendleLooksStakingSY";
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
deploy(
|
|
881
|
-
_name: string,
|
|
882
|
-
_symbol: string,
|
|
883
|
-
_looks: string,
|
|
884
|
-
_stakingContract: string,
|
|
885
|
-
_feeSharingContract: string,
|
|
886
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
887
|
-
): Promise<PendleLooksStakingSY> {
|
|
888
|
-
return super.deploy(
|
|
889
|
-
_name,
|
|
890
|
-
_symbol,
|
|
891
|
-
_looks,
|
|
892
|
-
_stakingContract,
|
|
893
|
-
_feeSharingContract,
|
|
894
|
-
overrides || {}
|
|
895
|
-
) as Promise<PendleLooksStakingSY>;
|
|
896
|
-
}
|
|
897
|
-
getDeployTransaction(
|
|
898
|
-
_name: string,
|
|
899
|
-
_symbol: string,
|
|
900
|
-
_looks: string,
|
|
901
|
-
_stakingContract: string,
|
|
902
|
-
_feeSharingContract: string,
|
|
903
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
904
|
-
): TransactionRequest {
|
|
905
|
-
return super.getDeployTransaction(
|
|
906
|
-
_name,
|
|
907
|
-
_symbol,
|
|
908
|
-
_looks,
|
|
909
|
-
_stakingContract,
|
|
910
|
-
_feeSharingContract,
|
|
911
|
-
overrides || {}
|
|
912
|
-
);
|
|
913
|
-
}
|
|
914
|
-
attach(address: string): PendleLooksStakingSY {
|
|
915
|
-
return super.attach(address) as PendleLooksStakingSY;
|
|
916
|
-
}
|
|
917
|
-
connect(signer: Signer): PendleLooksStakingSY__factory {
|
|
918
|
-
return super.connect(signer) as PendleLooksStakingSY__factory;
|
|
919
|
-
}
|
|
920
|
-
static readonly contractName: "PendleLooksStakingSY";
|
|
921
|
-
public readonly contractName: "PendleLooksStakingSY";
|
|
922
|
-
static readonly bytecode = _bytecode;
|
|
923
|
-
static readonly abi = _abi;
|
|
924
|
-
static createInterface(): PendleLooksStakingSYInterface {
|
|
925
|
-
return new utils.Interface(_abi) as PendleLooksStakingSYInterface;
|
|
926
|
-
}
|
|
927
|
-
static connect(
|
|
928
|
-
address: string,
|
|
929
|
-
signerOrProvider: Signer | Provider
|
|
930
|
-
): PendleLooksStakingSY {
|
|
931
|
-
return new Contract(
|
|
932
|
-
address,
|
|
933
|
-
_abi,
|
|
934
|
-
signerOrProvider
|
|
935
|
-
) as PendleLooksStakingSY;
|
|
936
|
-
}
|
|
937
|
-
}
|