@pendle/core-v2 0.15.2-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 -16
- package/deployments/1-markets/FRAX_30_MAR_23.json +0 -8
- 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 -8
- 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
|
@@ -83,7 +83,7 @@ const _abi = [
|
|
|
83
83
|
{
|
|
84
84
|
indexed: false,
|
|
85
85
|
internalType: "uint256",
|
|
86
|
-
name: "
|
|
86
|
+
name: "tokenUsed",
|
|
87
87
|
type: "uint256",
|
|
88
88
|
},
|
|
89
89
|
{
|
|
@@ -490,41 +490,14 @@ const _abi = [
|
|
|
490
490
|
type: "address",
|
|
491
491
|
},
|
|
492
492
|
{
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
name: "netTokenIn",
|
|
502
|
-
type: "uint256",
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
internalType: "address",
|
|
506
|
-
name: "tokenMintSy",
|
|
507
|
-
type: "address",
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
internalType: "address",
|
|
511
|
-
name: "bulk",
|
|
512
|
-
type: "address",
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
internalType: "address",
|
|
516
|
-
name: "kyberRouter",
|
|
517
|
-
type: "address",
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
internalType: "bytes",
|
|
521
|
-
name: "kybercall",
|
|
522
|
-
type: "bytes",
|
|
523
|
-
},
|
|
524
|
-
],
|
|
525
|
-
internalType: "struct TokenInput",
|
|
526
|
-
name: "input",
|
|
527
|
-
type: "tuple",
|
|
493
|
+
internalType: "address",
|
|
494
|
+
name: "tokenIn",
|
|
495
|
+
type: "address",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
internalType: "uint256",
|
|
499
|
+
name: "netTokenDesired",
|
|
500
|
+
type: "uint256",
|
|
528
501
|
},
|
|
529
502
|
{
|
|
530
503
|
internalType: "uint256",
|
|
@@ -766,16 +739,6 @@ const _abi = [
|
|
|
766
739
|
name: "tokenMintSy",
|
|
767
740
|
type: "address",
|
|
768
741
|
},
|
|
769
|
-
{
|
|
770
|
-
internalType: "address",
|
|
771
|
-
name: "bulk",
|
|
772
|
-
type: "address",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
internalType: "address",
|
|
776
|
-
name: "kyberRouter",
|
|
777
|
-
type: "address",
|
|
778
|
-
},
|
|
779
742
|
{
|
|
780
743
|
internalType: "bytes",
|
|
781
744
|
name: "kybercall",
|
|
@@ -865,41 +828,14 @@ const _abi = [
|
|
|
865
828
|
type: "uint256",
|
|
866
829
|
},
|
|
867
830
|
{
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
name: "minTokenOut",
|
|
877
|
-
type: "uint256",
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
internalType: "address",
|
|
881
|
-
name: "tokenRedeemSy",
|
|
882
|
-
type: "address",
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
internalType: "address",
|
|
886
|
-
name: "bulk",
|
|
887
|
-
type: "address",
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
internalType: "address",
|
|
891
|
-
name: "kyberRouter",
|
|
892
|
-
type: "address",
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
internalType: "bytes",
|
|
896
|
-
name: "kybercall",
|
|
897
|
-
type: "bytes",
|
|
898
|
-
},
|
|
899
|
-
],
|
|
900
|
-
internalType: "struct TokenOutput",
|
|
901
|
-
name: "output",
|
|
902
|
-
type: "tuple",
|
|
831
|
+
internalType: "address",
|
|
832
|
+
name: "tokenOut",
|
|
833
|
+
type: "address",
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
internalType: "uint256",
|
|
837
|
+
name: "minTokenOut",
|
|
838
|
+
type: "uint256",
|
|
903
839
|
},
|
|
904
840
|
{
|
|
905
841
|
internalType: "uint256",
|
|
@@ -1067,16 +1003,6 @@ const _abi = [
|
|
|
1067
1003
|
name: "tokenRedeemSy",
|
|
1068
1004
|
type: "address",
|
|
1069
1005
|
},
|
|
1070
|
-
{
|
|
1071
|
-
internalType: "address",
|
|
1072
|
-
name: "bulk",
|
|
1073
|
-
type: "address",
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
internalType: "address",
|
|
1077
|
-
name: "kyberRouter",
|
|
1078
|
-
type: "address",
|
|
1079
|
-
},
|
|
1080
1006
|
{
|
|
1081
1007
|
internalType: "bytes",
|
|
1082
1008
|
name: "kybercall",
|
|
@@ -422,16 +422,6 @@ const _abi = [
|
|
|
422
422
|
name: "tokenMintSy",
|
|
423
423
|
type: "address",
|
|
424
424
|
},
|
|
425
|
-
{
|
|
426
|
-
internalType: "address",
|
|
427
|
-
name: "bulk",
|
|
428
|
-
type: "address",
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
internalType: "address",
|
|
432
|
-
name: "kyberRouter",
|
|
433
|
-
type: "address",
|
|
434
|
-
},
|
|
435
425
|
{
|
|
436
426
|
internalType: "bytes",
|
|
437
427
|
name: "kybercall",
|
|
@@ -488,16 +478,6 @@ const _abi = [
|
|
|
488
478
|
name: "tokenMintSy",
|
|
489
479
|
type: "address",
|
|
490
480
|
},
|
|
491
|
-
{
|
|
492
|
-
internalType: "address",
|
|
493
|
-
name: "bulk",
|
|
494
|
-
type: "address",
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
internalType: "address",
|
|
498
|
-
name: "kyberRouter",
|
|
499
|
-
type: "address",
|
|
500
|
-
},
|
|
501
481
|
{
|
|
502
482
|
internalType: "bytes",
|
|
503
483
|
name: "kybercall",
|
|
@@ -593,11 +573,6 @@ const _abi = [
|
|
|
593
573
|
name: "tokenRedeemSys",
|
|
594
574
|
type: "address[]",
|
|
595
575
|
},
|
|
596
|
-
{
|
|
597
|
-
internalType: "address[]",
|
|
598
|
-
name: "bulks",
|
|
599
|
-
type: "address[]",
|
|
600
|
-
},
|
|
601
576
|
],
|
|
602
577
|
internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
|
|
603
578
|
name: "dataYT",
|
|
@@ -620,11 +595,6 @@ const _abi = [
|
|
|
620
595
|
name: "kybercalls",
|
|
621
596
|
type: "bytes[]",
|
|
622
597
|
},
|
|
623
|
-
{
|
|
624
|
-
internalType: "address",
|
|
625
|
-
name: "kyberRouter",
|
|
626
|
-
type: "address",
|
|
627
|
-
},
|
|
628
598
|
{
|
|
629
599
|
internalType: "address",
|
|
630
600
|
name: "outputToken",
|
|
@@ -725,16 +695,6 @@ const _abi = [
|
|
|
725
695
|
name: "tokenRedeemSy",
|
|
726
696
|
type: "address",
|
|
727
697
|
},
|
|
728
|
-
{
|
|
729
|
-
internalType: "address",
|
|
730
|
-
name: "bulk",
|
|
731
|
-
type: "address",
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
internalType: "address",
|
|
735
|
-
name: "kyberRouter",
|
|
736
|
-
type: "address",
|
|
737
|
-
},
|
|
738
698
|
{
|
|
739
699
|
internalType: "bytes",
|
|
740
700
|
name: "kybercall",
|
|
@@ -791,16 +751,6 @@ const _abi = [
|
|
|
791
751
|
name: "tokenRedeemSy",
|
|
792
752
|
type: "address",
|
|
793
753
|
},
|
|
794
|
-
{
|
|
795
|
-
internalType: "address",
|
|
796
|
-
name: "bulk",
|
|
797
|
-
type: "address",
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
internalType: "address",
|
|
801
|
-
name: "kyberRouter",
|
|
802
|
-
type: "address",
|
|
803
|
-
},
|
|
804
754
|
{
|
|
805
755
|
internalType: "bytes",
|
|
806
756
|
name: "kybercall",
|
|
@@ -163,16 +163,6 @@ const _abi = [
|
|
|
163
163
|
name: "tokenRedeemSy",
|
|
164
164
|
type: "address",
|
|
165
165
|
},
|
|
166
|
-
{
|
|
167
|
-
internalType: "address",
|
|
168
|
-
name: "bulk",
|
|
169
|
-
type: "address",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
internalType: "address",
|
|
173
|
-
name: "kyberRouter",
|
|
174
|
-
type: "address",
|
|
175
|
-
},
|
|
176
166
|
{
|
|
177
167
|
internalType: "bytes",
|
|
178
168
|
name: "kybercall",
|
|
@@ -337,16 +327,6 @@ const _abi = [
|
|
|
337
327
|
name: "tokenMintSy",
|
|
338
328
|
type: "address",
|
|
339
329
|
},
|
|
340
|
-
{
|
|
341
|
-
internalType: "address",
|
|
342
|
-
name: "bulk",
|
|
343
|
-
type: "address",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
internalType: "address",
|
|
347
|
-
name: "kyberRouter",
|
|
348
|
-
type: "address",
|
|
349
|
-
},
|
|
350
330
|
{
|
|
351
331
|
internalType: "bytes",
|
|
352
332
|
name: "kybercall",
|
|
@@ -227,16 +227,6 @@ const _abi = [
|
|
|
227
227
|
name: "tokenMintSy",
|
|
228
228
|
type: "address",
|
|
229
229
|
},
|
|
230
|
-
{
|
|
231
|
-
internalType: "address",
|
|
232
|
-
name: "bulk",
|
|
233
|
-
type: "address",
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
internalType: "address",
|
|
237
|
-
name: "kyberRouter",
|
|
238
|
-
type: "address",
|
|
239
|
-
},
|
|
240
230
|
{
|
|
241
231
|
internalType: "bytes",
|
|
242
232
|
name: "kybercall",
|
|
@@ -337,16 +327,6 @@ const _abi = [
|
|
|
337
327
|
name: "tokenRedeemSy",
|
|
338
328
|
type: "address",
|
|
339
329
|
},
|
|
340
|
-
{
|
|
341
|
-
internalType: "address",
|
|
342
|
-
name: "bulk",
|
|
343
|
-
type: "address",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
internalType: "address",
|
|
347
|
-
name: "kyberRouter",
|
|
348
|
-
type: "address",
|
|
349
|
-
},
|
|
350
330
|
{
|
|
351
331
|
internalType: "bytes",
|
|
352
332
|
name: "kybercall",
|
|
@@ -80,7 +80,7 @@ const _abi = [
|
|
|
80
80
|
{
|
|
81
81
|
indexed: false,
|
|
82
82
|
internalType: "uint256",
|
|
83
|
-
name: "
|
|
83
|
+
name: "tokenUsed",
|
|
84
84
|
type: "uint256",
|
|
85
85
|
},
|
|
86
86
|
{
|
|
@@ -1028,41 +1028,14 @@ const _abi = [
|
|
|
1028
1028
|
type: "address",
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
name: "netTokenIn",
|
|
1040
|
-
type: "uint256",
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
internalType: "address",
|
|
1044
|
-
name: "tokenMintSy",
|
|
1045
|
-
type: "address",
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
internalType: "address",
|
|
1049
|
-
name: "bulk",
|
|
1050
|
-
type: "address",
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
internalType: "address",
|
|
1054
|
-
name: "kyberRouter",
|
|
1055
|
-
type: "address",
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
internalType: "bytes",
|
|
1059
|
-
name: "kybercall",
|
|
1060
|
-
type: "bytes",
|
|
1061
|
-
},
|
|
1062
|
-
],
|
|
1063
|
-
internalType: "struct TokenInput",
|
|
1064
|
-
name: "input",
|
|
1065
|
-
type: "tuple",
|
|
1031
|
+
internalType: "address",
|
|
1032
|
+
name: "tokenIn",
|
|
1033
|
+
type: "address",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
internalType: "uint256",
|
|
1037
|
+
name: "netTokenDesired",
|
|
1038
|
+
type: "uint256",
|
|
1066
1039
|
},
|
|
1067
1040
|
{
|
|
1068
1041
|
internalType: "uint256",
|
|
@@ -1304,16 +1277,6 @@ const _abi = [
|
|
|
1304
1277
|
name: "tokenMintSy",
|
|
1305
1278
|
type: "address",
|
|
1306
1279
|
},
|
|
1307
|
-
{
|
|
1308
|
-
internalType: "address",
|
|
1309
|
-
name: "bulk",
|
|
1310
|
-
type: "address",
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
internalType: "address",
|
|
1314
|
-
name: "kyberRouter",
|
|
1315
|
-
type: "address",
|
|
1316
|
-
},
|
|
1317
1280
|
{
|
|
1318
1281
|
internalType: "bytes",
|
|
1319
1282
|
name: "kybercall",
|
|
@@ -1433,16 +1396,6 @@ const _abi = [
|
|
|
1433
1396
|
name: "tokenMintSy",
|
|
1434
1397
|
type: "address",
|
|
1435
1398
|
},
|
|
1436
|
-
{
|
|
1437
|
-
internalType: "address",
|
|
1438
|
-
name: "bulk",
|
|
1439
|
-
type: "address",
|
|
1440
|
-
},
|
|
1441
|
-
{
|
|
1442
|
-
internalType: "address",
|
|
1443
|
-
name: "kyberRouter",
|
|
1444
|
-
type: "address",
|
|
1445
|
-
},
|
|
1446
1399
|
{
|
|
1447
1400
|
internalType: "bytes",
|
|
1448
1401
|
name: "kybercall",
|
|
@@ -1499,16 +1452,6 @@ const _abi = [
|
|
|
1499
1452
|
name: "tokenMintSy",
|
|
1500
1453
|
type: "address",
|
|
1501
1454
|
},
|
|
1502
|
-
{
|
|
1503
|
-
internalType: "address",
|
|
1504
|
-
name: "bulk",
|
|
1505
|
-
type: "address",
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
internalType: "address",
|
|
1509
|
-
name: "kyberRouter",
|
|
1510
|
-
type: "address",
|
|
1511
|
-
},
|
|
1512
1455
|
{
|
|
1513
1456
|
internalType: "bytes",
|
|
1514
1457
|
name: "kybercall",
|
|
@@ -1604,11 +1547,6 @@ const _abi = [
|
|
|
1604
1547
|
name: "tokenRedeemSys",
|
|
1605
1548
|
type: "address[]",
|
|
1606
1549
|
},
|
|
1607
|
-
{
|
|
1608
|
-
internalType: "address[]",
|
|
1609
|
-
name: "bulks",
|
|
1610
|
-
type: "address[]",
|
|
1611
|
-
},
|
|
1612
1550
|
],
|
|
1613
1551
|
internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
|
|
1614
1552
|
name: "dataYT",
|
|
@@ -1631,11 +1569,6 @@ const _abi = [
|
|
|
1631
1569
|
name: "kybercalls",
|
|
1632
1570
|
type: "bytes[]",
|
|
1633
1571
|
},
|
|
1634
|
-
{
|
|
1635
|
-
internalType: "address",
|
|
1636
|
-
name: "kyberRouter",
|
|
1637
|
-
type: "address",
|
|
1638
|
-
},
|
|
1639
1572
|
{
|
|
1640
1573
|
internalType: "address",
|
|
1641
1574
|
name: "outputToken",
|
|
@@ -1736,16 +1669,6 @@ const _abi = [
|
|
|
1736
1669
|
name: "tokenRedeemSy",
|
|
1737
1670
|
type: "address",
|
|
1738
1671
|
},
|
|
1739
|
-
{
|
|
1740
|
-
internalType: "address",
|
|
1741
|
-
name: "bulk",
|
|
1742
|
-
type: "address",
|
|
1743
|
-
},
|
|
1744
|
-
{
|
|
1745
|
-
internalType: "address",
|
|
1746
|
-
name: "kyberRouter",
|
|
1747
|
-
type: "address",
|
|
1748
|
-
},
|
|
1749
1672
|
{
|
|
1750
1673
|
internalType: "bytes",
|
|
1751
1674
|
name: "kybercall",
|
|
@@ -1802,16 +1725,6 @@ const _abi = [
|
|
|
1802
1725
|
name: "tokenRedeemSy",
|
|
1803
1726
|
type: "address",
|
|
1804
1727
|
},
|
|
1805
|
-
{
|
|
1806
|
-
internalType: "address",
|
|
1807
|
-
name: "bulk",
|
|
1808
|
-
type: "address",
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
internalType: "address",
|
|
1812
|
-
name: "kyberRouter",
|
|
1813
|
-
type: "address",
|
|
1814
|
-
},
|
|
1815
1728
|
{
|
|
1816
1729
|
internalType: "bytes",
|
|
1817
1730
|
name: "kybercall",
|
|
@@ -1896,41 +1809,14 @@ const _abi = [
|
|
|
1896
1809
|
type: "uint256",
|
|
1897
1810
|
},
|
|
1898
1811
|
{
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
name: "minTokenOut",
|
|
1908
|
-
type: "uint256",
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
internalType: "address",
|
|
1912
|
-
name: "tokenRedeemSy",
|
|
1913
|
-
type: "address",
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
internalType: "address",
|
|
1917
|
-
name: "bulk",
|
|
1918
|
-
type: "address",
|
|
1919
|
-
},
|
|
1920
|
-
{
|
|
1921
|
-
internalType: "address",
|
|
1922
|
-
name: "kyberRouter",
|
|
1923
|
-
type: "address",
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
internalType: "bytes",
|
|
1927
|
-
name: "kybercall",
|
|
1928
|
-
type: "bytes",
|
|
1929
|
-
},
|
|
1930
|
-
],
|
|
1931
|
-
internalType: "struct TokenOutput",
|
|
1932
|
-
name: "output",
|
|
1933
|
-
type: "tuple",
|
|
1812
|
+
internalType: "address",
|
|
1813
|
+
name: "tokenOut",
|
|
1814
|
+
type: "address",
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
internalType: "uint256",
|
|
1818
|
+
name: "minTokenOut",
|
|
1819
|
+
type: "uint256",
|
|
1934
1820
|
},
|
|
1935
1821
|
{
|
|
1936
1822
|
internalType: "uint256",
|
|
@@ -2098,16 +1984,6 @@ const _abi = [
|
|
|
2098
1984
|
name: "tokenRedeemSy",
|
|
2099
1985
|
type: "address",
|
|
2100
1986
|
},
|
|
2101
|
-
{
|
|
2102
|
-
internalType: "address",
|
|
2103
|
-
name: "bulk",
|
|
2104
|
-
type: "address",
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
internalType: "address",
|
|
2108
|
-
name: "kyberRouter",
|
|
2109
|
-
type: "address",
|
|
2110
|
-
},
|
|
2111
1987
|
{
|
|
2112
1988
|
internalType: "bytes",
|
|
2113
1989
|
name: "kybercall",
|
|
@@ -2208,16 +2084,6 @@ const _abi = [
|
|
|
2208
2084
|
name: "tokenRedeemSy",
|
|
2209
2085
|
type: "address",
|
|
2210
2086
|
},
|
|
2211
|
-
{
|
|
2212
|
-
internalType: "address",
|
|
2213
|
-
name: "bulk",
|
|
2214
|
-
type: "address",
|
|
2215
|
-
},
|
|
2216
|
-
{
|
|
2217
|
-
internalType: "address",
|
|
2218
|
-
name: "kyberRouter",
|
|
2219
|
-
type: "address",
|
|
2220
|
-
},
|
|
2221
2087
|
{
|
|
2222
2088
|
internalType: "bytes",
|
|
2223
2089
|
name: "kybercall",
|
|
@@ -2524,16 +2390,6 @@ const _abi = [
|
|
|
2524
2390
|
name: "tokenMintSy",
|
|
2525
2391
|
type: "address",
|
|
2526
2392
|
},
|
|
2527
|
-
{
|
|
2528
|
-
internalType: "address",
|
|
2529
|
-
name: "bulk",
|
|
2530
|
-
type: "address",
|
|
2531
|
-
},
|
|
2532
|
-
{
|
|
2533
|
-
internalType: "address",
|
|
2534
|
-
name: "kyberRouter",
|
|
2535
|
-
type: "address",
|
|
2536
|
-
},
|
|
2537
2393
|
{
|
|
2538
2394
|
internalType: "bytes",
|
|
2539
2395
|
name: "kybercall",
|
|
@@ -2627,16 +2483,6 @@ const _abi = [
|
|
|
2627
2483
|
name: "tokenMintSy",
|
|
2628
2484
|
type: "address",
|
|
2629
2485
|
},
|
|
2630
|
-
{
|
|
2631
|
-
internalType: "address",
|
|
2632
|
-
name: "bulk",
|
|
2633
|
-
type: "address",
|
|
2634
|
-
},
|
|
2635
|
-
{
|
|
2636
|
-
internalType: "address",
|
|
2637
|
-
name: "kyberRouter",
|
|
2638
|
-
type: "address",
|
|
2639
|
-
},
|
|
2640
2486
|
{
|
|
2641
2487
|
internalType: "bytes",
|
|
2642
2488
|
name: "kybercall",
|
|
@@ -2808,16 +2654,6 @@ const _abi = [
|
|
|
2808
2654
|
name: "tokenRedeemSy",
|
|
2809
2655
|
type: "address",
|
|
2810
2656
|
},
|
|
2811
|
-
{
|
|
2812
|
-
internalType: "address",
|
|
2813
|
-
name: "bulk",
|
|
2814
|
-
type: "address",
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
internalType: "address",
|
|
2818
|
-
name: "kyberRouter",
|
|
2819
|
-
type: "address",
|
|
2820
|
-
},
|
|
2821
2657
|
{
|
|
2822
2658
|
internalType: "bytes",
|
|
2823
2659
|
name: "kybercall",
|
|
@@ -24,14 +24,9 @@ const _abi = [
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
internalType: "bytes",
|
|
27
|
-
name: "
|
|
27
|
+
name: "message",
|
|
28
28
|
type: "bytes",
|
|
29
29
|
},
|
|
30
|
-
{
|
|
31
|
-
internalType: "uint256",
|
|
32
|
-
name: "estimatedGasAmount",
|
|
33
|
-
type: "uint256",
|
|
34
|
-
},
|
|
35
30
|
],
|
|
36
31
|
name: "calcFee",
|
|
37
32
|
outputs: [
|
|
@@ -58,14 +53,9 @@ const _abi = [
|
|
|
58
53
|
},
|
|
59
54
|
{
|
|
60
55
|
internalType: "bytes",
|
|
61
|
-
name: "
|
|
56
|
+
name: "message",
|
|
62
57
|
type: "bytes",
|
|
63
58
|
},
|
|
64
|
-
{
|
|
65
|
-
internalType: "uint256",
|
|
66
|
-
name: "estimatedGasAmount",
|
|
67
|
-
type: "uint256",
|
|
68
|
-
},
|
|
69
59
|
],
|
|
70
60
|
name: "sendMessage",
|
|
71
61
|
outputs: [],
|
|
@@ -69,51 +69,6 @@ const _abi = [
|
|
|
69
69
|
stateMutability: "view",
|
|
70
70
|
type: "function",
|
|
71
71
|
},
|
|
72
|
-
{
|
|
73
|
-
inputs: [],
|
|
74
|
-
name: "getTotalPooledEther",
|
|
75
|
-
outputs: [
|
|
76
|
-
{
|
|
77
|
-
internalType: "uint256",
|
|
78
|
-
name: "",
|
|
79
|
-
type: "uint256",
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
stateMutability: "view",
|
|
83
|
-
type: "function",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
inputs: [],
|
|
87
|
-
name: "getTotalShares",
|
|
88
|
-
outputs: [
|
|
89
|
-
{
|
|
90
|
-
internalType: "uint256",
|
|
91
|
-
name: "",
|
|
92
|
-
type: "uint256",
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
stateMutability: "view",
|
|
96
|
-
type: "function",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
inputs: [
|
|
100
|
-
{
|
|
101
|
-
internalType: "address",
|
|
102
|
-
name: "account",
|
|
103
|
-
type: "address",
|
|
104
|
-
},
|
|
105
|
-
],
|
|
106
|
-
name: "sharesOf",
|
|
107
|
-
outputs: [
|
|
108
|
-
{
|
|
109
|
-
internalType: "uint256",
|
|
110
|
-
name: "",
|
|
111
|
-
type: "uint256",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
stateMutability: "view",
|
|
115
|
-
type: "function",
|
|
116
|
-
},
|
|
117
72
|
{
|
|
118
73
|
inputs: [
|
|
119
74
|
{
|