@pendle/core-v2 0.15.1-mainnet → 0.15.2-mainnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +13 -0
- 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 +15 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +15 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +4 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +699 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +515 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +4 -0
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +10 -0
- 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 +77 -17
- 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/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +1003 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +1068 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +856 -0
- 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 +15 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +85 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +17 -4
- 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 +3 -38
- 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 +13 -0
- 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 +284 -31
- 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 +39 -85
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.json +213 -0
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +30 -0
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +76 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +91 -17
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +50 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -0
- 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 +20 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +181 -17
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +173 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +86 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +34 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +2 -2
- 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 +45 -0
- 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 +15 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +35 -0
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -80
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +271 -61
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +102 -41
- 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 +61 -24
- 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 +31 -24
- 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 +31 -24
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +15 -2
- 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 +191 -2
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +35 -0
- 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/PendleMsgReceiveEndpointUpg.sol +58 -27
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +46 -12
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +31 -7
- package/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol +133 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +27 -0
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +9 -10
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +9 -23
- package/contracts/core/BulkSeller/BulkSeller.sol +259 -0
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +88 -0
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +143 -0
- package/contracts/core/Market/PendleMarket.sol +18 -7
- package/contracts/core/Market/PendleMarketFactory.sol +15 -5
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +102 -0
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +160 -0
- package/contracts/core/StandardizedYield/implementations/Convex/README.md +29 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +215 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +127 -0
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +152 -0
- package/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol +2 -4
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +122 -0
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +17 -8
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +38 -11
- package/contracts/core/YieldContracts/PendleYieldToken.sol +54 -21
- package/contracts/core/erc20/PendleERC20.sol +4 -7
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -1
- package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -1
- package/contracts/core/libraries/Errors.sol +32 -4
- package/contracts/core/libraries/StringLib.sol +782 -0
- package/contracts/core/libraries/TokenHelper.sol +9 -0
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -1
- package/contracts/interfaces/Curve/ICrvPool.sol +12 -31
- package/contracts/interfaces/Curve/ITriCrvPool.sol +41 -0
- package/contracts/interfaces/ILayerZeroEndpoint.sol +39 -0
- package/contracts/interfaces/ILayerZeroReceiver.sol +12 -0
- package/contracts/interfaces/ILooksFeeSharing.sol +5 -0
- package/contracts/interfaces/ILooksStaking.sol +13 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +3 -5
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -0
- package/contracts/interfaces/IPBulkSeller.sol +28 -0
- package/contracts/interfaces/IPBulkSellerFactory.sol +12 -0
- package/contracts/interfaces/IPBulkSellerSYCallback.sol +10 -0
- package/contracts/interfaces/IPMarketFactory.sol +1 -1
- package/contracts/interfaces/IPMsgSendEndpoint.sol +4 -2
- package/contracts/interfaces/IPYieldContractFactory.sol +1 -1
- package/contracts/interfaces/IStETH.sol +6 -0
- package/contracts/interfaces/IStandardizedYield.sol +15 -10
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +43 -0
- package/contracts/offchain-helpers/MarketMathStatic.sol +0 -173
- package/contracts/offchain-helpers/RouterStatic.sol +189 -50
- package/contracts/router/ActionAddRemoveLiq.sol +71 -52
- package/contracts/router/ActionCallback.sol +4 -8
- package/contracts/router/ActionMintRedeem.sol +27 -18
- package/contracts/router/ActionSwapPT.sol +8 -9
- package/contracts/router/ActionSwapPTYT.sol +3 -7
- package/contracts/router/ActionSwapYT.sol +15 -10
- package/contracts/router/PendleRouter.sol +3 -0
- package/contracts/router/base/ActionBaseMintRedeem.sol +78 -83
- package/contracts/router/base/MarketApproxLib.sol +1 -1
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +17 -1
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +10 -0
- package/contracts/router/kyberswap/KyberSwapHelper.sol +21 -8
- package/deployments/1-markets/FRAX_30_MAR_23.json +8 -0
- package/deployments/1-markets/LOOKS_30_MAR_23.json +8 -0
- package/deployments/1-markets/USDD_MARCH_30.json +8 -0
- package/deployments/1-offchain-helper.json +3 -0
- package/package.json +3 -2
- package/typechain-types/AccessControl.ts +360 -0
- package/typechain-types/AccessControlUpgradeable.ts +369 -0
- package/typechain-types/ActionAddRemoveLiq.ts +64 -52
- package/typechain-types/ActionBaseMintRedeem.ts +8 -8
- package/typechain-types/ActionMintRedeem.ts +48 -16
- package/typechain-types/ActionSwapPT.ts +34 -12
- package/typechain-types/ActionSwapYT.ts +34 -12
- package/typechain-types/AggregationRouterHelper.ts +287 -3
- package/typechain-types/BaseSplitCodeFactoryContract.ts +9 -0
- package/typechain-types/BeaconProxy.ts +97 -0
- package/typechain-types/BoringOwnableUpgradeable.ts +9 -0
- package/typechain-types/BulkSeller.ts +777 -0
- package/typechain-types/BulkSellerFactory.ts +707 -0
- package/typechain-types/BulkSellerOffchain.ts +117 -0
- package/typechain-types/ContextUpgradeable.ts +68 -0
- package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
- package/typechain-types/ERC165.ts +102 -0
- package/typechain-types/ERC165Upgradeable.ts +113 -0
- package/typechain-types/IAccessControl.ts +305 -0
- package/typechain-types/IAccessControlUpgradeable.ts +305 -0
- package/typechain-types/IAggregationRouterHelper.ts +108 -0
- package/typechain-types/IBooster.ts +9 -3
- package/typechain-types/ICrvPool.ts +69 -172
- package/typechain-types/IERC165.ts +102 -0
- package/typechain-types/IERC165Upgradeable.ts +102 -0
- package/typechain-types/ILooksStaking.ts +27 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +56 -44
- package/typechain-types/IPActionMintRedeem.ts +40 -8
- package/typechain-types/IPActionSwapPT.ts +26 -4
- package/typechain-types/IPActionSwapYT.ts +26 -4
- package/typechain-types/IPAllAction.ts +76 -54
- package/typechain-types/IPBulkSeller.ts +290 -0
- package/typechain-types/IPBulkSellerCallback.ts +115 -0
- package/typechain-types/IPBulkSellerFactory.ts +147 -0
- package/typechain-types/IPMarketFactory.ts +2 -2
- package/typechain-types/IPYieldContractFactory.ts +3 -3
- package/typechain-types/IStETH.ts +56 -0
- package/typechain-types/ITriCrvPool.ts +345 -0
- package/typechain-types/Initializable.ts +68 -0
- package/typechain-types/KyberSwapHelper.ts +8 -8
- package/typechain-types/MarketMathStatic.ts +0 -117
- package/typechain-types/PendleCurveFraxUsdcSY.ts +1228 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +1299 -0
- package/typechain-types/PendleFeeDistributor.ts +9 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +9 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +9 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +9 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +9 -0
- package/typechain-types/PendleLooksStakingSY.ts +1052 -0
- package/typechain-types/PendleMarketFactory.ts +51 -2
- package/typechain-types/PendleMsgReceiveEndpointUpg.ts +9 -0
- package/typechain-types/PendleMsgSendEndpointUpg.ts +9 -0
- package/typechain-types/PendleMsgSenderAppUpg.ts +9 -0
- package/typechain-types/PendlePrincipalToken.ts +9 -0
- package/typechain-types/PendleRouter.ts +9 -0
- package/typechain-types/PendleVotingControllerUpg.ts +9 -0
- package/typechain-types/PendleYieldContractFactory.ts +57 -8
- package/typechain-types/PendleYieldToken.ts +21 -0
- package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
- package/typechain-types/RouterStatic.ts +260 -22
- package/typechain-types/VotingEscrowPendleMainchain.ts +9 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +9 -0
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/typechain-types/factories/AccessControl__factory.ts +227 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +106 -59
- 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 +65 -42
- 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 +35 -42
- package/typechain-types/factories/ActionSwapYT__factory.ts +35 -42
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +190 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +14 -1
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
- package/typechain-types/factories/BeaconProxy__factory.ts +141 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +13 -0
- package/typechain-types/factories/BulkSellerFactory__factory.ts +568 -0
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +88 -0
- package/typechain-types/factories/BulkSeller__factory.ts +749 -0
- package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/typechain-types/factories/ERC165__factory.ts +39 -0
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +283 -30
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/typechain-types/factories/IAccessControl__factory.ts +198 -0
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
- package/typechain-types/factories/IBooster__factory.ts +1 -1
- package/typechain-types/factories/ICrvPool__factory.ts +39 -85
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/typechain-types/factories/IERC165__factory.ts +42 -0
- package/typechain-types/factories/ILooksStaking__factory.ts +7 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +91 -17
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +50 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -0
- package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -0
- package/typechain-types/factories/IPAllAction__factory.ts +181 -17
- package/typechain-types/factories/IPBulkSellerCallback__factory.ts +53 -0
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +101 -0
- package/typechain-types/factories/IPBulkSeller__factory.ts +185 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/IStETH__factory.ts +45 -0
- package/typechain-types/factories/ITriCrvPool__factory.ts +225 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
- package/typechain-types/factories/Initializable__factory.ts +36 -0
- package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -79
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1068 -0
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1133 -0
- 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 +14 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +14 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +937 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +76 -16
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +13 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +14 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +14 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +14 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +84 -3
- package/typechain-types/factories/PendleYieldToken__factory.ts +16 -3
- package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
- package/typechain-types/factories/RouterStatic__factory.ts +216 -2
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +14 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +14 -1
- package/typechain-types/hardhat.d.ts +233 -17
- package/typechain-types/index.ts +50 -6
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +0 -1018
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +0 -76
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +0 -167
- package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +0 -83
- package/contracts/interfaces/ICelerMessageBus.sol +0 -28
- package/contracts/interfaces/ICelerMessageReceiverApp.sol +0 -25
|
@@ -422,6 +422,16 @@ 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
|
+
},
|
|
425
435
|
{
|
|
426
436
|
internalType: "bytes",
|
|
427
437
|
name: "kybercall",
|
|
@@ -478,6 +488,16 @@ const _abi = [
|
|
|
478
488
|
name: "tokenMintSy",
|
|
479
489
|
type: "address",
|
|
480
490
|
},
|
|
491
|
+
{
|
|
492
|
+
internalType: "address",
|
|
493
|
+
name: "bulk",
|
|
494
|
+
type: "address",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
internalType: "address",
|
|
498
|
+
name: "kyberRouter",
|
|
499
|
+
type: "address",
|
|
500
|
+
},
|
|
481
501
|
{
|
|
482
502
|
internalType: "bytes",
|
|
483
503
|
name: "kybercall",
|
|
@@ -573,6 +593,11 @@ const _abi = [
|
|
|
573
593
|
name: "tokenRedeemSys",
|
|
574
594
|
type: "address[]",
|
|
575
595
|
},
|
|
596
|
+
{
|
|
597
|
+
internalType: "address[]",
|
|
598
|
+
name: "bulks",
|
|
599
|
+
type: "address[]",
|
|
600
|
+
},
|
|
576
601
|
],
|
|
577
602
|
internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
|
|
578
603
|
name: "dataYT",
|
|
@@ -595,6 +620,11 @@ const _abi = [
|
|
|
595
620
|
name: "kybercalls",
|
|
596
621
|
type: "bytes[]",
|
|
597
622
|
},
|
|
623
|
+
{
|
|
624
|
+
internalType: "address",
|
|
625
|
+
name: "kyberRouter",
|
|
626
|
+
type: "address",
|
|
627
|
+
},
|
|
598
628
|
{
|
|
599
629
|
internalType: "address",
|
|
600
630
|
name: "outputToken",
|
|
@@ -695,6 +725,16 @@ const _abi = [
|
|
|
695
725
|
name: "tokenRedeemSy",
|
|
696
726
|
type: "address",
|
|
697
727
|
},
|
|
728
|
+
{
|
|
729
|
+
internalType: "address",
|
|
730
|
+
name: "bulk",
|
|
731
|
+
type: "address",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
internalType: "address",
|
|
735
|
+
name: "kyberRouter",
|
|
736
|
+
type: "address",
|
|
737
|
+
},
|
|
698
738
|
{
|
|
699
739
|
internalType: "bytes",
|
|
700
740
|
name: "kybercall",
|
|
@@ -751,6 +791,16 @@ const _abi = [
|
|
|
751
791
|
name: "tokenRedeemSy",
|
|
752
792
|
type: "address",
|
|
753
793
|
},
|
|
794
|
+
{
|
|
795
|
+
internalType: "address",
|
|
796
|
+
name: "bulk",
|
|
797
|
+
type: "address",
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
internalType: "address",
|
|
801
|
+
name: "kyberRouter",
|
|
802
|
+
type: "address",
|
|
803
|
+
},
|
|
754
804
|
{
|
|
755
805
|
internalType: "bytes",
|
|
756
806
|
name: "kybercall",
|
|
@@ -163,6 +163,16 @@ 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
|
+
},
|
|
166
176
|
{
|
|
167
177
|
internalType: "bytes",
|
|
168
178
|
name: "kybercall",
|
|
@@ -327,6 +337,16 @@ const _abi = [
|
|
|
327
337
|
name: "tokenMintSy",
|
|
328
338
|
type: "address",
|
|
329
339
|
},
|
|
340
|
+
{
|
|
341
|
+
internalType: "address",
|
|
342
|
+
name: "bulk",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
internalType: "address",
|
|
347
|
+
name: "kyberRouter",
|
|
348
|
+
type: "address",
|
|
349
|
+
},
|
|
330
350
|
{
|
|
331
351
|
internalType: "bytes",
|
|
332
352
|
name: "kybercall",
|
|
@@ -227,6 +227,16 @@ 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
|
+
},
|
|
230
240
|
{
|
|
231
241
|
internalType: "bytes",
|
|
232
242
|
name: "kybercall",
|
|
@@ -327,6 +337,16 @@ const _abi = [
|
|
|
327
337
|
name: "tokenRedeemSy",
|
|
328
338
|
type: "address",
|
|
329
339
|
},
|
|
340
|
+
{
|
|
341
|
+
internalType: "address",
|
|
342
|
+
name: "bulk",
|
|
343
|
+
type: "address",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
internalType: "address",
|
|
347
|
+
name: "kyberRouter",
|
|
348
|
+
type: "address",
|
|
349
|
+
},
|
|
330
350
|
{
|
|
331
351
|
internalType: "bytes",
|
|
332
352
|
name: "kybercall",
|
|
@@ -80,7 +80,7 @@ const _abi = [
|
|
|
80
80
|
{
|
|
81
81
|
indexed: false,
|
|
82
82
|
internalType: "uint256",
|
|
83
|
-
name: "
|
|
83
|
+
name: "netTokenUsed",
|
|
84
84
|
type: "uint256",
|
|
85
85
|
},
|
|
86
86
|
{
|
|
@@ -1028,14 +1028,41 @@ const _abi = [
|
|
|
1028
1028
|
type: "address",
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1031
|
+
components: [
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "address",
|
|
1034
|
+
name: "tokenIn",
|
|
1035
|
+
type: "address",
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
internalType: "uint256",
|
|
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",
|
|
1039
1066
|
},
|
|
1040
1067
|
{
|
|
1041
1068
|
internalType: "uint256",
|
|
@@ -1277,6 +1304,16 @@ const _abi = [
|
|
|
1277
1304
|
name: "tokenMintSy",
|
|
1278
1305
|
type: "address",
|
|
1279
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
internalType: "address",
|
|
1309
|
+
name: "bulk",
|
|
1310
|
+
type: "address",
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
internalType: "address",
|
|
1314
|
+
name: "kyberRouter",
|
|
1315
|
+
type: "address",
|
|
1316
|
+
},
|
|
1280
1317
|
{
|
|
1281
1318
|
internalType: "bytes",
|
|
1282
1319
|
name: "kybercall",
|
|
@@ -1396,6 +1433,16 @@ const _abi = [
|
|
|
1396
1433
|
name: "tokenMintSy",
|
|
1397
1434
|
type: "address",
|
|
1398
1435
|
},
|
|
1436
|
+
{
|
|
1437
|
+
internalType: "address",
|
|
1438
|
+
name: "bulk",
|
|
1439
|
+
type: "address",
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
internalType: "address",
|
|
1443
|
+
name: "kyberRouter",
|
|
1444
|
+
type: "address",
|
|
1445
|
+
},
|
|
1399
1446
|
{
|
|
1400
1447
|
internalType: "bytes",
|
|
1401
1448
|
name: "kybercall",
|
|
@@ -1452,6 +1499,16 @@ const _abi = [
|
|
|
1452
1499
|
name: "tokenMintSy",
|
|
1453
1500
|
type: "address",
|
|
1454
1501
|
},
|
|
1502
|
+
{
|
|
1503
|
+
internalType: "address",
|
|
1504
|
+
name: "bulk",
|
|
1505
|
+
type: "address",
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
internalType: "address",
|
|
1509
|
+
name: "kyberRouter",
|
|
1510
|
+
type: "address",
|
|
1511
|
+
},
|
|
1455
1512
|
{
|
|
1456
1513
|
internalType: "bytes",
|
|
1457
1514
|
name: "kybercall",
|
|
@@ -1547,6 +1604,11 @@ const _abi = [
|
|
|
1547
1604
|
name: "tokenRedeemSys",
|
|
1548
1605
|
type: "address[]",
|
|
1549
1606
|
},
|
|
1607
|
+
{
|
|
1608
|
+
internalType: "address[]",
|
|
1609
|
+
name: "bulks",
|
|
1610
|
+
type: "address[]",
|
|
1611
|
+
},
|
|
1550
1612
|
],
|
|
1551
1613
|
internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
|
|
1552
1614
|
name: "dataYT",
|
|
@@ -1569,6 +1631,11 @@ const _abi = [
|
|
|
1569
1631
|
name: "kybercalls",
|
|
1570
1632
|
type: "bytes[]",
|
|
1571
1633
|
},
|
|
1634
|
+
{
|
|
1635
|
+
internalType: "address",
|
|
1636
|
+
name: "kyberRouter",
|
|
1637
|
+
type: "address",
|
|
1638
|
+
},
|
|
1572
1639
|
{
|
|
1573
1640
|
internalType: "address",
|
|
1574
1641
|
name: "outputToken",
|
|
@@ -1669,6 +1736,16 @@ const _abi = [
|
|
|
1669
1736
|
name: "tokenRedeemSy",
|
|
1670
1737
|
type: "address",
|
|
1671
1738
|
},
|
|
1739
|
+
{
|
|
1740
|
+
internalType: "address",
|
|
1741
|
+
name: "bulk",
|
|
1742
|
+
type: "address",
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
internalType: "address",
|
|
1746
|
+
name: "kyberRouter",
|
|
1747
|
+
type: "address",
|
|
1748
|
+
},
|
|
1672
1749
|
{
|
|
1673
1750
|
internalType: "bytes",
|
|
1674
1751
|
name: "kybercall",
|
|
@@ -1725,6 +1802,16 @@ const _abi = [
|
|
|
1725
1802
|
name: "tokenRedeemSy",
|
|
1726
1803
|
type: "address",
|
|
1727
1804
|
},
|
|
1805
|
+
{
|
|
1806
|
+
internalType: "address",
|
|
1807
|
+
name: "bulk",
|
|
1808
|
+
type: "address",
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
internalType: "address",
|
|
1812
|
+
name: "kyberRouter",
|
|
1813
|
+
type: "address",
|
|
1814
|
+
},
|
|
1728
1815
|
{
|
|
1729
1816
|
internalType: "bytes",
|
|
1730
1817
|
name: "kybercall",
|
|
@@ -1809,14 +1896,41 @@ const _abi = [
|
|
|
1809
1896
|
type: "uint256",
|
|
1810
1897
|
},
|
|
1811
1898
|
{
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1899
|
+
components: [
|
|
1900
|
+
{
|
|
1901
|
+
internalType: "address",
|
|
1902
|
+
name: "tokenOut",
|
|
1903
|
+
type: "address",
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
internalType: "uint256",
|
|
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",
|
|
1820
1934
|
},
|
|
1821
1935
|
{
|
|
1822
1936
|
internalType: "uint256",
|
|
@@ -1984,6 +2098,16 @@ const _abi = [
|
|
|
1984
2098
|
name: "tokenRedeemSy",
|
|
1985
2099
|
type: "address",
|
|
1986
2100
|
},
|
|
2101
|
+
{
|
|
2102
|
+
internalType: "address",
|
|
2103
|
+
name: "bulk",
|
|
2104
|
+
type: "address",
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
internalType: "address",
|
|
2108
|
+
name: "kyberRouter",
|
|
2109
|
+
type: "address",
|
|
2110
|
+
},
|
|
1987
2111
|
{
|
|
1988
2112
|
internalType: "bytes",
|
|
1989
2113
|
name: "kybercall",
|
|
@@ -2084,6 +2208,16 @@ const _abi = [
|
|
|
2084
2208
|
name: "tokenRedeemSy",
|
|
2085
2209
|
type: "address",
|
|
2086
2210
|
},
|
|
2211
|
+
{
|
|
2212
|
+
internalType: "address",
|
|
2213
|
+
name: "bulk",
|
|
2214
|
+
type: "address",
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
internalType: "address",
|
|
2218
|
+
name: "kyberRouter",
|
|
2219
|
+
type: "address",
|
|
2220
|
+
},
|
|
2087
2221
|
{
|
|
2088
2222
|
internalType: "bytes",
|
|
2089
2223
|
name: "kybercall",
|
|
@@ -2390,6 +2524,16 @@ const _abi = [
|
|
|
2390
2524
|
name: "tokenMintSy",
|
|
2391
2525
|
type: "address",
|
|
2392
2526
|
},
|
|
2527
|
+
{
|
|
2528
|
+
internalType: "address",
|
|
2529
|
+
name: "bulk",
|
|
2530
|
+
type: "address",
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
internalType: "address",
|
|
2534
|
+
name: "kyberRouter",
|
|
2535
|
+
type: "address",
|
|
2536
|
+
},
|
|
2393
2537
|
{
|
|
2394
2538
|
internalType: "bytes",
|
|
2395
2539
|
name: "kybercall",
|
|
@@ -2483,6 +2627,16 @@ const _abi = [
|
|
|
2483
2627
|
name: "tokenMintSy",
|
|
2484
2628
|
type: "address",
|
|
2485
2629
|
},
|
|
2630
|
+
{
|
|
2631
|
+
internalType: "address",
|
|
2632
|
+
name: "bulk",
|
|
2633
|
+
type: "address",
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
internalType: "address",
|
|
2637
|
+
name: "kyberRouter",
|
|
2638
|
+
type: "address",
|
|
2639
|
+
},
|
|
2486
2640
|
{
|
|
2487
2641
|
internalType: "bytes",
|
|
2488
2642
|
name: "kybercall",
|
|
@@ -2654,6 +2808,16 @@ const _abi = [
|
|
|
2654
2808
|
name: "tokenRedeemSy",
|
|
2655
2809
|
type: "address",
|
|
2656
2810
|
},
|
|
2811
|
+
{
|
|
2812
|
+
internalType: "address",
|
|
2813
|
+
name: "bulk",
|
|
2814
|
+
type: "address",
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
internalType: "address",
|
|
2818
|
+
name: "kyberRouter",
|
|
2819
|
+
type: "address",
|
|
2820
|
+
},
|
|
2657
2821
|
{
|
|
2658
2822
|
internalType: "bytes",
|
|
2659
2823
|
name: "kybercall",
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IPBulkSellerCallback,
|
|
9
|
+
IPBulkSellerCallbackInterface,
|
|
10
|
+
} from "../IPBulkSellerCallback";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "int256",
|
|
17
|
+
name: "ptToAccount",
|
|
18
|
+
type: "int256",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "int256",
|
|
22
|
+
name: "syToAccount",
|
|
23
|
+
type: "int256",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "bytes",
|
|
27
|
+
name: "data",
|
|
28
|
+
type: "bytes",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "swapCallback",
|
|
32
|
+
outputs: [],
|
|
33
|
+
stateMutability: "nonpayable",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
export class IPBulkSellerCallback__factory {
|
|
39
|
+
static readonly abi = _abi;
|
|
40
|
+
static createInterface(): IPBulkSellerCallbackInterface {
|
|
41
|
+
return new utils.Interface(_abi) as IPBulkSellerCallbackInterface;
|
|
42
|
+
}
|
|
43
|
+
static connect(
|
|
44
|
+
address: string,
|
|
45
|
+
signerOrProvider: Signer | Provider
|
|
46
|
+
): IPBulkSellerCallback {
|
|
47
|
+
return new Contract(
|
|
48
|
+
address,
|
|
49
|
+
_abi,
|
|
50
|
+
signerOrProvider
|
|
51
|
+
) as IPBulkSellerCallback;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IPBulkSellerFactory,
|
|
9
|
+
IPBulkSellerFactoryInterface,
|
|
10
|
+
} from "../IPBulkSellerFactory";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "implementation",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
name: "UpgradedBeacon",
|
|
24
|
+
type: "event",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [
|
|
28
|
+
{
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "token",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "SY",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: "get",
|
|
40
|
+
outputs: [
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "view",
|
|
48
|
+
type: "function",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "address",
|
|
54
|
+
name: "addr",
|
|
55
|
+
type: "address",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "isAdmin",
|
|
59
|
+
outputs: [
|
|
60
|
+
{
|
|
61
|
+
internalType: "bool",
|
|
62
|
+
name: "",
|
|
63
|
+
type: "bool",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
stateMutability: "view",
|
|
67
|
+
type: "function",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
internalType: "address",
|
|
73
|
+
name: "addr",
|
|
74
|
+
type: "address",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
name: "isMaintainer",
|
|
78
|
+
outputs: [
|
|
79
|
+
{
|
|
80
|
+
internalType: "bool",
|
|
81
|
+
name: "",
|
|
82
|
+
type: "bool",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
stateMutability: "view",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
];
|
|
89
|
+
|
|
90
|
+
export class IPBulkSellerFactory__factory {
|
|
91
|
+
static readonly abi = _abi;
|
|
92
|
+
static createInterface(): IPBulkSellerFactoryInterface {
|
|
93
|
+
return new utils.Interface(_abi) as IPBulkSellerFactoryInterface;
|
|
94
|
+
}
|
|
95
|
+
static connect(
|
|
96
|
+
address: string,
|
|
97
|
+
signerOrProvider: Signer | Provider
|
|
98
|
+
): IPBulkSellerFactory {
|
|
99
|
+
return new Contract(address, _abi, signerOrProvider) as IPBulkSellerFactory;
|
|
100
|
+
}
|
|
101
|
+
}
|