@pendle/core-v2 0.13.0-testnet → 0.14.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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/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 -2
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +89 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +91 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +91 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/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 +26 -26
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/PYIndex.sol/PYIndexLib.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYBase.sol/SCYBase.json → StandardizedYield/SYBase.sol/SYBase.json} +11 -11
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.json → StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json} +11 -11
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/SCYUtils.sol/SCYUtils.json → StandardizedYield/SYUtils.sol/SYUtils.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +3 -3
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json → StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json} +17 -17
- 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 +1028 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.json → StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.json} +47 -47
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +5 -5
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/{SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.json → StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json} +13 -13
- 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 +4 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +4 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +24 -24
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +28 -28
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +30 -30
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +34 -34
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -20
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +20 -20
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +106 -106
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +18 -18
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.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 +3 -3
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +6 -6
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{ISuperComposableYield.sol/ISuperComposableYield.json → IStandardizedYield.sol/IStandardizedYield.json} +5 -5
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +7 -7
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +116 -116
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +35 -35
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +12 -12
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +41 -41
- 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 +28 -28
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +4 -4
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +22 -22
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +96 -27
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +40 -12
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +24 -5
- package/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol +133 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +33 -0
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +8 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +3 -3
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +2 -7
- package/contracts/core/Market/MarketMathCore.sol +50 -53
- package/contracts/core/Market/PendleGauge.sol +8 -8
- package/contracts/core/Market/PendleMarket.sol +49 -49
- package/contracts/core/Market/PendleMarketFactory.sol +1 -1
- package/contracts/core/RewardManager/RewardManager.sol +1 -1
- package/contracts/core/{SuperComposableYield → StandardizedYield}/PYIndex.sol +16 -16
- package/contracts/core/{SuperComposableYield/SCYBase.sol → StandardizedYield/SYBase.sol} +17 -17
- package/contracts/core/{SuperComposableYield/SCYBaseWithRewards.sol → StandardizedYield/SYBaseWithRewards.sol} +9 -9
- package/contracts/core/StandardizedYield/SYUtils.sol +26 -0
- package/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/BenQi/PendleQiTokenHelper.sol +1 -1
- package/contracts/core/{SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol → StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol} +10 -10
- package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +167 -0
- package/contracts/core/{SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol → StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol} +51 -70
- package/contracts/core/{SuperComposableYield → StandardizedYield}/implementations/Convex/Pendle3CrvHelper.sol +7 -7
- package/contracts/core/{SuperComposableYield/implementations/PendleWstEthSCY.sol → StandardizedYield/implementations/PendleWstEthSY.sol} +5 -5
- package/contracts/core/YieldContracts/InterestManagerYT.sol +7 -7
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +3 -3
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +15 -15
- package/contracts/core/YieldContracts/PendleYieldToken.sol +71 -71
- package/contracts/core/libraries/Errors.sol +23 -21
- package/contracts/core/libraries/TokenHelper.sol +0 -33
- package/contracts/interfaces/Curve/ICrvPool.sol +2 -0
- package/contracts/interfaces/ILayerZeroEndpoint.sol +39 -0
- package/contracts/interfaces/ILayerZeroReceiver.sol +12 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +27 -27
- package/contracts/interfaces/IPActionMintRedeem.sol +30 -30
- package/contracts/interfaces/IPActionSwapPT.sol +16 -16
- package/contracts/interfaces/IPActionSwapPTYT.sol +2 -2
- package/contracts/interfaces/IPActionSwapYT.sol +16 -16
- package/contracts/interfaces/IPMarket.sol +14 -19
- package/contracts/interfaces/IPMarketSwapCallback.sol +1 -1
- package/contracts/interfaces/IPMsgSendEndpoint.sol +4 -2
- package/contracts/interfaces/IPPrincipalToken.sol +1 -1
- package/contracts/interfaces/IPYieldContractFactory.sol +3 -3
- package/contracts/interfaces/IPYieldToken.sol +7 -9
- package/contracts/interfaces/{ISuperComposableYield.sol → IStandardizedYield.sol} +6 -6
- package/contracts/offchain-helpers/MarketMathStatic.sol +116 -131
- package/contracts/offchain-helpers/RouterStatic.sol +80 -93
- package/contracts/router/ActionAddRemoveLiq.sol +99 -111
- package/contracts/router/ActionCallback.sol +46 -46
- package/contracts/router/ActionMintRedeem.sol +58 -58
- package/contracts/router/ActionSwapPT.sol +61 -69
- package/contracts/router/ActionSwapPTYT.sol +7 -7
- package/contracts/router/ActionSwapYT.sol +72 -79
- package/contracts/router/PendleRouter.sol +16 -16
- package/contracts/router/base/ActionBaseMintRedeem.sol +43 -43
- package/contracts/router/base/CallbackHelper.sol +20 -20
- package/contracts/router/base/MarketApproxLib.sol +166 -143
- package/contracts/router/kyberswap/KyberSwapHelper.sol +2 -2
- 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-testenv.json +22 -0
- package/package.json +2 -2
- package/typechain-types/ActionAddRemoveLiq.ts +127 -129
- package/typechain-types/ActionCallback.ts +5 -5
- package/typechain-types/ActionMintRedeem.ts +139 -141
- package/typechain-types/ActionSwapPT.ts +73 -73
- package/typechain-types/ActionSwapPTYT.ts +2 -2
- package/typechain-types/ActionSwapYT.ts +73 -73
- package/typechain-types/IPActionAddRemoveLiq.ts +127 -129
- package/typechain-types/IPActionMintRedeem.ts +139 -141
- package/typechain-types/IPActionSwapPT.ts +73 -73
- package/typechain-types/IPActionSwapPTYT.ts +2 -2
- package/typechain-types/IPActionSwapYT.ts +73 -73
- package/typechain-types/IPAllAction.ts +402 -406
- package/typechain-types/IPMarket.ts +51 -54
- package/typechain-types/IPMarketSwapCallback.ts +5 -5
- package/typechain-types/IPPrincipalToken.ts +8 -8
- package/typechain-types/IPYieldContractFactory.ts +13 -13
- package/typechain-types/IPYieldToken.ts +17 -17
- package/typechain-types/IStandardizedYield.ts +895 -0
- package/typechain-types/ImplicitSwapfeeContract.ts +157 -0
- package/typechain-types/MarketMathStatic.ts +27 -27
- package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
- package/typechain-types/Pendle3CrvHelper.ts +13 -13
- package/typechain-types/PendleConvexLPSY.ts +1189 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +125 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +125 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +124 -0
- package/typechain-types/PendleMarket.ts +54 -57
- package/typechain-types/PendlePrincipalToken.ts +8 -8
- package/typechain-types/PendleQiTokenSY.ts +1166 -0
- package/typechain-types/PendleWstEthSY.ts +1040 -0
- package/typechain-types/PendleYieldContractFactory.ts +8 -8
- package/typechain-types/PendleYieldToken.ts +41 -44
- package/typechain-types/RouterStatic.ts +196 -196
- package/typechain-types/SYBase.ts +1001 -0
- package/typechain-types/SYBaseWithRewards.ts +1094 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +34 -34
- package/typechain-types/factories/ActionCallback__factory.ts +11 -11
- package/typechain-types/factories/ActionMintRedeem__factory.ts +38 -38
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +3 -3
- package/typechain-types/factories/ActionSwapPT__factory.ts +27 -27
- package/typechain-types/factories/ActionSwapYT__factory.ts +21 -21
- package/typechain-types/factories/Errors__factory.ts +27 -27
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +30 -30
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +34 -34
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +2 -2
- package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -20
- package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -20
- package/typechain-types/factories/IPAllAction__factory.ts +106 -106
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
- package/typechain-types/factories/IPMarket__factory.ts +18 -18
- package/typechain-types/factories/IPPrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/IPYieldToken__factory.ts +6 -6
- package/typechain-types/factories/IStandardizedYield__factory.ts +658 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +247 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +6 -6
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1124 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +3 -3
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +963 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +89 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +90 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +90 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +21 -21
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +7 -7
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1095 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +924 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +3 -3
- package/typechain-types/factories/PendleYieldToken__factory.ts +27 -27
- package/typechain-types/factories/RouterStatic__factory.ts +57 -57
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +867 -0
- package/typechain-types/factories/SYBase__factory.ts +795 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +33 -42
- package/typechain-types/index.ts +14 -16
- package/build/artifacts/contracts/core/SuperComposableYield/PYIndex.sol/PYIndexLib.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBase.sol/SCYBase.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol/Pendle3CrvAndTokenSCY.json +0 -1030
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol/PendleConvexCurveLP2PoolSCY.json +0 -1025
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLPSCY.sol/PendleConvexCurveLPSCY.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
- package/build/artifacts/contracts/core/SuperComposableYield/implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +0 -4
- package/contracts/core/SuperComposableYield/SCYUtils.sol +0 -34
- package/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSCY.sol +0 -135
- package/contracts/core/SuperComposableYield/implementations/Convex/ConvexCurveLP/PendleConvexCurveLP2PoolSCY.sol +0 -96
- package/contracts/interfaces/ICelerMessageBus.sol +0 -28
- package/contracts/interfaces/ICelerMessageReceiverApp.sol +0 -25
- package/deployments/kovan.json +0 -31
|
@@ -48,49 +48,49 @@ export type ApproxParamsStructOutput = [
|
|
|
48
48
|
export type TokenInputStruct = {
|
|
49
49
|
tokenIn: string;
|
|
50
50
|
netTokenIn: BigNumberish;
|
|
51
|
-
|
|
51
|
+
tokenMintSy: string;
|
|
52
52
|
kybercall: BytesLike;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
export type TokenInputStructOutput = [string, BigNumber, string, string] & {
|
|
56
56
|
tokenIn: string;
|
|
57
57
|
netTokenIn: BigNumber;
|
|
58
|
-
|
|
58
|
+
tokenMintSy: string;
|
|
59
59
|
kybercall: string;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
export type TokenOutputStruct = {
|
|
63
63
|
tokenOut: string;
|
|
64
64
|
minTokenOut: BigNumberish;
|
|
65
|
-
|
|
65
|
+
tokenRedeemSy: string;
|
|
66
66
|
kybercall: BytesLike;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
export type TokenOutputStructOutput = [string, BigNumber, string, string] & {
|
|
70
70
|
tokenOut: string;
|
|
71
71
|
minTokenOut: BigNumber;
|
|
72
|
-
|
|
72
|
+
tokenRedeemSy: string;
|
|
73
73
|
kybercall: string;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
77
77
|
contractName: "ActionAddRemoveLiq";
|
|
78
78
|
functions: {
|
|
79
|
-
"
|
|
79
|
+
"addLiquidityDualSyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
80
80
|
"addLiquidityDualTokenAndPt(address,address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
81
81
|
"addLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
82
|
-
"
|
|
82
|
+
"addLiquiditySingleSy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
83
83
|
"addLiquiditySingleToken(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
84
84
|
"kyberSwapRouter()": FunctionFragment;
|
|
85
|
-
"
|
|
85
|
+
"removeLiquidityDualSyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
86
86
|
"removeLiquidityDualTokenAndPt(address,address,uint256,address,uint256,uint256)": FunctionFragment;
|
|
87
87
|
"removeLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
88
|
-
"
|
|
88
|
+
"removeLiquiditySingleSy(address,address,uint256,uint256)": FunctionFragment;
|
|
89
89
|
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
encodeFunctionData(
|
|
93
|
-
functionFragment: "
|
|
93
|
+
functionFragment: "addLiquidityDualSyAndPt",
|
|
94
94
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
95
95
|
): string;
|
|
96
96
|
encodeFunctionData(
|
|
@@ -102,7 +102,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
102
102
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
103
103
|
): string;
|
|
104
104
|
encodeFunctionData(
|
|
105
|
-
functionFragment: "
|
|
105
|
+
functionFragment: "addLiquiditySingleSy",
|
|
106
106
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
107
107
|
): string;
|
|
108
108
|
encodeFunctionData(
|
|
@@ -114,7 +114,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
114
114
|
values?: undefined
|
|
115
115
|
): string;
|
|
116
116
|
encodeFunctionData(
|
|
117
|
-
functionFragment: "
|
|
117
|
+
functionFragment: "removeLiquidityDualSyAndPt",
|
|
118
118
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
119
119
|
): string;
|
|
120
120
|
encodeFunctionData(
|
|
@@ -126,7 +126,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
126
126
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
127
127
|
): string;
|
|
128
128
|
encodeFunctionData(
|
|
129
|
-
functionFragment: "
|
|
129
|
+
functionFragment: "removeLiquiditySingleSy",
|
|
130
130
|
values: [string, string, BigNumberish, BigNumberish]
|
|
131
131
|
): string;
|
|
132
132
|
encodeFunctionData(
|
|
@@ -135,7 +135,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
135
135
|
): string;
|
|
136
136
|
|
|
137
137
|
decodeFunctionResult(
|
|
138
|
-
functionFragment: "
|
|
138
|
+
functionFragment: "addLiquidityDualSyAndPt",
|
|
139
139
|
data: BytesLike
|
|
140
140
|
): Result;
|
|
141
141
|
decodeFunctionResult(
|
|
@@ -147,7 +147,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
147
147
|
data: BytesLike
|
|
148
148
|
): Result;
|
|
149
149
|
decodeFunctionResult(
|
|
150
|
-
functionFragment: "
|
|
150
|
+
functionFragment: "addLiquiditySingleSy",
|
|
151
151
|
data: BytesLike
|
|
152
152
|
): Result;
|
|
153
153
|
decodeFunctionResult(
|
|
@@ -159,7 +159,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
159
159
|
data: BytesLike
|
|
160
160
|
): Result;
|
|
161
161
|
decodeFunctionResult(
|
|
162
|
-
functionFragment: "
|
|
162
|
+
functionFragment: "removeLiquidityDualSyAndPt",
|
|
163
163
|
data: BytesLike
|
|
164
164
|
): Result;
|
|
165
165
|
decodeFunctionResult(
|
|
@@ -171,7 +171,7 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
171
171
|
data: BytesLike
|
|
172
172
|
): Result;
|
|
173
173
|
decodeFunctionResult(
|
|
174
|
-
functionFragment: "
|
|
174
|
+
functionFragment: "removeLiquiditySingleSy",
|
|
175
175
|
data: BytesLike
|
|
176
176
|
): Result;
|
|
177
177
|
decodeFunctionResult(
|
|
@@ -180,48 +180,46 @@ export interface ActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
180
180
|
): Result;
|
|
181
181
|
|
|
182
182
|
events: {
|
|
183
|
-
"
|
|
183
|
+
"AddLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
184
184
|
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
185
185
|
"AddLiquiditySinglePt(address,address,address,uint256,uint256)": EventFragment;
|
|
186
|
-
"
|
|
186
|
+
"AddLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
|
|
187
187
|
"AddLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
188
|
-
"
|
|
188
|
+
"RemoveLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
189
189
|
"RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)": EventFragment;
|
|
190
190
|
"RemoveLiquiditySinglePt(address,address,address,uint256,uint256)": EventFragment;
|
|
191
|
-
"
|
|
191
|
+
"RemoveLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
|
|
192
192
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
193
193
|
};
|
|
194
194
|
|
|
195
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
195
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualSyAndPt"): EventFragment;
|
|
196
196
|
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualTokenAndPt"): EventFragment;
|
|
197
197
|
getEvent(nameOrSignatureOrTopic: "AddLiquiditySinglePt"): EventFragment;
|
|
198
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
198
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquiditySingleSy"): EventFragment;
|
|
199
199
|
getEvent(nameOrSignatureOrTopic: "AddLiquiditySingleToken"): EventFragment;
|
|
200
|
-
getEvent(
|
|
201
|
-
nameOrSignatureOrTopic: "RemoveLiquidityDualScyAndPt"
|
|
202
|
-
): EventFragment;
|
|
200
|
+
getEvent(nameOrSignatureOrTopic: "RemoveLiquidityDualSyAndPt"): EventFragment;
|
|
203
201
|
getEvent(
|
|
204
202
|
nameOrSignatureOrTopic: "RemoveLiquidityDualTokenAndPt"
|
|
205
203
|
): EventFragment;
|
|
206
204
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySinglePt"): EventFragment;
|
|
207
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
205
|
+
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleSy"): EventFragment;
|
|
208
206
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleToken"): EventFragment;
|
|
209
207
|
}
|
|
210
208
|
|
|
211
|
-
export type
|
|
209
|
+
export type AddLiquidityDualSyAndPtEvent = TypedEvent<
|
|
212
210
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
213
211
|
{
|
|
214
212
|
caller: string;
|
|
215
213
|
market: string;
|
|
216
214
|
receiver: string;
|
|
217
|
-
|
|
215
|
+
netSyUsed: BigNumber;
|
|
218
216
|
netPtUsed: BigNumber;
|
|
219
217
|
netLpOut: BigNumber;
|
|
220
218
|
}
|
|
221
219
|
>;
|
|
222
220
|
|
|
223
|
-
export type
|
|
224
|
-
TypedEventFilter<
|
|
221
|
+
export type AddLiquidityDualSyAndPtEventFilter =
|
|
222
|
+
TypedEventFilter<AddLiquidityDualSyAndPtEvent>;
|
|
225
223
|
|
|
226
224
|
export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
227
225
|
[string, string, string, string, BigNumber, BigNumber, BigNumber],
|
|
@@ -253,19 +251,19 @@ export type AddLiquiditySinglePtEvent = TypedEvent<
|
|
|
253
251
|
export type AddLiquiditySinglePtEventFilter =
|
|
254
252
|
TypedEventFilter<AddLiquiditySinglePtEvent>;
|
|
255
253
|
|
|
256
|
-
export type
|
|
254
|
+
export type AddLiquiditySingleSyEvent = TypedEvent<
|
|
257
255
|
[string, string, string, BigNumber, BigNumber],
|
|
258
256
|
{
|
|
259
257
|
caller: string;
|
|
260
258
|
market: string;
|
|
261
259
|
receiver: string;
|
|
262
|
-
|
|
260
|
+
netSyIn: BigNumber;
|
|
263
261
|
netLpOut: BigNumber;
|
|
264
262
|
}
|
|
265
263
|
>;
|
|
266
264
|
|
|
267
|
-
export type
|
|
268
|
-
TypedEventFilter<
|
|
265
|
+
export type AddLiquiditySingleSyEventFilter =
|
|
266
|
+
TypedEventFilter<AddLiquiditySingleSyEvent>;
|
|
269
267
|
|
|
270
268
|
export type AddLiquiditySingleTokenEvent = TypedEvent<
|
|
271
269
|
[string, string, string, string, BigNumber, BigNumber],
|
|
@@ -282,7 +280,7 @@ export type AddLiquiditySingleTokenEvent = TypedEvent<
|
|
|
282
280
|
export type AddLiquiditySingleTokenEventFilter =
|
|
283
281
|
TypedEventFilter<AddLiquiditySingleTokenEvent>;
|
|
284
282
|
|
|
285
|
-
export type
|
|
283
|
+
export type RemoveLiquidityDualSyAndPtEvent = TypedEvent<
|
|
286
284
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
287
285
|
{
|
|
288
286
|
caller: string;
|
|
@@ -290,12 +288,12 @@ export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
|
290
288
|
receiver: string;
|
|
291
289
|
netLpToRemove: BigNumber;
|
|
292
290
|
netPtOut: BigNumber;
|
|
293
|
-
|
|
291
|
+
netSyOut: BigNumber;
|
|
294
292
|
}
|
|
295
293
|
>;
|
|
296
294
|
|
|
297
|
-
export type
|
|
298
|
-
TypedEventFilter<
|
|
295
|
+
export type RemoveLiquidityDualSyAndPtEventFilter =
|
|
296
|
+
TypedEventFilter<RemoveLiquidityDualSyAndPtEvent>;
|
|
299
297
|
|
|
300
298
|
export type RemoveLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
301
299
|
[string, string, string, BigNumber, BigNumber, string, BigNumber],
|
|
@@ -327,19 +325,19 @@ export type RemoveLiquiditySinglePtEvent = TypedEvent<
|
|
|
327
325
|
export type RemoveLiquiditySinglePtEventFilter =
|
|
328
326
|
TypedEventFilter<RemoveLiquiditySinglePtEvent>;
|
|
329
327
|
|
|
330
|
-
export type
|
|
328
|
+
export type RemoveLiquiditySingleSyEvent = TypedEvent<
|
|
331
329
|
[string, string, string, BigNumber, BigNumber],
|
|
332
330
|
{
|
|
333
331
|
caller: string;
|
|
334
332
|
market: string;
|
|
335
333
|
receiver: string;
|
|
336
334
|
netLpToRemove: BigNumber;
|
|
337
|
-
|
|
335
|
+
netSyOut: BigNumber;
|
|
338
336
|
}
|
|
339
337
|
>;
|
|
340
338
|
|
|
341
|
-
export type
|
|
342
|
-
TypedEventFilter<
|
|
339
|
+
export type RemoveLiquiditySingleSyEventFilter =
|
|
340
|
+
TypedEventFilter<RemoveLiquiditySingleSyEvent>;
|
|
343
341
|
|
|
344
342
|
export type RemoveLiquiditySingleTokenEvent = TypedEvent<
|
|
345
343
|
[string, string, string, string, BigNumber, BigNumber],
|
|
@@ -384,10 +382,10 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
384
382
|
removeListener: OnEvent<this>;
|
|
385
383
|
|
|
386
384
|
functions: {
|
|
387
|
-
|
|
385
|
+
addLiquidityDualSyAndPt(
|
|
388
386
|
receiver: string,
|
|
389
387
|
market: string,
|
|
390
|
-
|
|
388
|
+
netSyDesired: BigNumberish,
|
|
391
389
|
netPtDesired: BigNumberish,
|
|
392
390
|
minLpOut: BigNumberish,
|
|
393
391
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -408,16 +406,16 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
408
406
|
market: string,
|
|
409
407
|
netPtIn: BigNumberish,
|
|
410
408
|
minLpOut: BigNumberish,
|
|
411
|
-
|
|
409
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
412
410
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
413
411
|
): Promise<ContractTransaction>;
|
|
414
412
|
|
|
415
|
-
|
|
413
|
+
addLiquiditySingleSy(
|
|
416
414
|
receiver: string,
|
|
417
415
|
market: string,
|
|
418
|
-
|
|
416
|
+
netSyIn: BigNumberish,
|
|
419
417
|
minLpOut: BigNumberish,
|
|
420
|
-
|
|
418
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
421
419
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
422
420
|
): Promise<ContractTransaction>;
|
|
423
421
|
|
|
@@ -425,18 +423,18 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
425
423
|
receiver: string,
|
|
426
424
|
market: string,
|
|
427
425
|
minLpOut: BigNumberish,
|
|
428
|
-
|
|
426
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
429
427
|
input: TokenInputStruct,
|
|
430
428
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
431
429
|
): Promise<ContractTransaction>;
|
|
432
430
|
|
|
433
431
|
kyberSwapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
434
432
|
|
|
435
|
-
|
|
433
|
+
removeLiquidityDualSyAndPt(
|
|
436
434
|
receiver: string,
|
|
437
435
|
market: string,
|
|
438
436
|
netLpToRemove: BigNumberish,
|
|
439
|
-
|
|
437
|
+
minSyOut: BigNumberish,
|
|
440
438
|
minPtOut: BigNumberish,
|
|
441
439
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
442
440
|
): Promise<ContractTransaction>;
|
|
@@ -460,11 +458,11 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
460
458
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
461
459
|
): Promise<ContractTransaction>;
|
|
462
460
|
|
|
463
|
-
|
|
461
|
+
removeLiquiditySingleSy(
|
|
464
462
|
receiver: string,
|
|
465
463
|
market: string,
|
|
466
464
|
netLpToRemove: BigNumberish,
|
|
467
|
-
|
|
465
|
+
minSyOut: BigNumberish,
|
|
468
466
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
469
467
|
): Promise<ContractTransaction>;
|
|
470
468
|
|
|
@@ -477,10 +475,10 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
477
475
|
): Promise<ContractTransaction>;
|
|
478
476
|
};
|
|
479
477
|
|
|
480
|
-
|
|
478
|
+
addLiquidityDualSyAndPt(
|
|
481
479
|
receiver: string,
|
|
482
480
|
market: string,
|
|
483
|
-
|
|
481
|
+
netSyDesired: BigNumberish,
|
|
484
482
|
netPtDesired: BigNumberish,
|
|
485
483
|
minLpOut: BigNumberish,
|
|
486
484
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -501,16 +499,16 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
501
499
|
market: string,
|
|
502
500
|
netPtIn: BigNumberish,
|
|
503
501
|
minLpOut: BigNumberish,
|
|
504
|
-
|
|
502
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
505
503
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
506
504
|
): Promise<ContractTransaction>;
|
|
507
505
|
|
|
508
|
-
|
|
506
|
+
addLiquiditySingleSy(
|
|
509
507
|
receiver: string,
|
|
510
508
|
market: string,
|
|
511
|
-
|
|
509
|
+
netSyIn: BigNumberish,
|
|
512
510
|
minLpOut: BigNumberish,
|
|
513
|
-
|
|
511
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
514
512
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
515
513
|
): Promise<ContractTransaction>;
|
|
516
514
|
|
|
@@ -518,18 +516,18 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
518
516
|
receiver: string,
|
|
519
517
|
market: string,
|
|
520
518
|
minLpOut: BigNumberish,
|
|
521
|
-
|
|
519
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
522
520
|
input: TokenInputStruct,
|
|
523
521
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
524
522
|
): Promise<ContractTransaction>;
|
|
525
523
|
|
|
526
524
|
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
527
525
|
|
|
528
|
-
|
|
526
|
+
removeLiquidityDualSyAndPt(
|
|
529
527
|
receiver: string,
|
|
530
528
|
market: string,
|
|
531
529
|
netLpToRemove: BigNumberish,
|
|
532
|
-
|
|
530
|
+
minSyOut: BigNumberish,
|
|
533
531
|
minPtOut: BigNumberish,
|
|
534
532
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
535
533
|
): Promise<ContractTransaction>;
|
|
@@ -553,11 +551,11 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
553
551
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
554
552
|
): Promise<ContractTransaction>;
|
|
555
553
|
|
|
556
|
-
|
|
554
|
+
removeLiquiditySingleSy(
|
|
557
555
|
receiver: string,
|
|
558
556
|
market: string,
|
|
559
557
|
netLpToRemove: BigNumberish,
|
|
560
|
-
|
|
558
|
+
minSyOut: BigNumberish,
|
|
561
559
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
562
560
|
): Promise<ContractTransaction>;
|
|
563
561
|
|
|
@@ -570,17 +568,17 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
570
568
|
): Promise<ContractTransaction>;
|
|
571
569
|
|
|
572
570
|
callStatic: {
|
|
573
|
-
|
|
571
|
+
addLiquidityDualSyAndPt(
|
|
574
572
|
receiver: string,
|
|
575
573
|
market: string,
|
|
576
|
-
|
|
574
|
+
netSyDesired: BigNumberish,
|
|
577
575
|
netPtDesired: BigNumberish,
|
|
578
576
|
minLpOut: BigNumberish,
|
|
579
577
|
overrides?: CallOverrides
|
|
580
578
|
): Promise<
|
|
581
579
|
[BigNumber, BigNumber, BigNumber] & {
|
|
582
580
|
netLpOut: BigNumber;
|
|
583
|
-
|
|
581
|
+
netSyUsed: BigNumber;
|
|
584
582
|
netPtUsed: BigNumber;
|
|
585
583
|
}
|
|
586
584
|
>;
|
|
@@ -606,45 +604,45 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
606
604
|
market: string,
|
|
607
605
|
netPtIn: BigNumberish,
|
|
608
606
|
minLpOut: BigNumberish,
|
|
609
|
-
|
|
607
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
610
608
|
overrides?: CallOverrides
|
|
611
609
|
): Promise<
|
|
612
|
-
[BigNumber, BigNumber] & { netLpOut: BigNumber;
|
|
610
|
+
[BigNumber, BigNumber] & { netLpOut: BigNumber; netSyFee: BigNumber }
|
|
613
611
|
>;
|
|
614
612
|
|
|
615
|
-
|
|
613
|
+
addLiquiditySingleSy(
|
|
616
614
|
receiver: string,
|
|
617
615
|
market: string,
|
|
618
|
-
|
|
616
|
+
netSyIn: BigNumberish,
|
|
619
617
|
minLpOut: BigNumberish,
|
|
620
|
-
|
|
618
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
621
619
|
overrides?: CallOverrides
|
|
622
620
|
): Promise<
|
|
623
|
-
[BigNumber, BigNumber] & { netLpOut: BigNumber;
|
|
621
|
+
[BigNumber, BigNumber] & { netLpOut: BigNumber; netSyFee: BigNumber }
|
|
624
622
|
>;
|
|
625
623
|
|
|
626
624
|
addLiquiditySingleToken(
|
|
627
625
|
receiver: string,
|
|
628
626
|
market: string,
|
|
629
627
|
minLpOut: BigNumberish,
|
|
630
|
-
|
|
628
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
631
629
|
input: TokenInputStruct,
|
|
632
630
|
overrides?: CallOverrides
|
|
633
631
|
): Promise<
|
|
634
|
-
[BigNumber, BigNumber] & { netLpOut: BigNumber;
|
|
632
|
+
[BigNumber, BigNumber] & { netLpOut: BigNumber; netSyFee: BigNumber }
|
|
635
633
|
>;
|
|
636
634
|
|
|
637
635
|
kyberSwapRouter(overrides?: CallOverrides): Promise<string>;
|
|
638
636
|
|
|
639
|
-
|
|
637
|
+
removeLiquidityDualSyAndPt(
|
|
640
638
|
receiver: string,
|
|
641
639
|
market: string,
|
|
642
640
|
netLpToRemove: BigNumberish,
|
|
643
|
-
|
|
641
|
+
minSyOut: BigNumberish,
|
|
644
642
|
minPtOut: BigNumberish,
|
|
645
643
|
overrides?: CallOverrides
|
|
646
644
|
): Promise<
|
|
647
|
-
[BigNumber, BigNumber] & {
|
|
645
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netPtOut: BigNumber }
|
|
648
646
|
>;
|
|
649
647
|
|
|
650
648
|
removeLiquidityDualTokenAndPt(
|
|
@@ -667,17 +665,17 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
667
665
|
guessPtOut: ApproxParamsStruct,
|
|
668
666
|
overrides?: CallOverrides
|
|
669
667
|
): Promise<
|
|
670
|
-
[BigNumber, BigNumber] & { netPtOut: BigNumber;
|
|
668
|
+
[BigNumber, BigNumber] & { netPtOut: BigNumber; netSyFee: BigNumber }
|
|
671
669
|
>;
|
|
672
670
|
|
|
673
|
-
|
|
671
|
+
removeLiquiditySingleSy(
|
|
674
672
|
receiver: string,
|
|
675
673
|
market: string,
|
|
676
674
|
netLpToRemove: BigNumberish,
|
|
677
|
-
|
|
675
|
+
minSyOut: BigNumberish,
|
|
678
676
|
overrides?: CallOverrides
|
|
679
677
|
): Promise<
|
|
680
|
-
[BigNumber, BigNumber] & {
|
|
678
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netSyFee: BigNumber }
|
|
681
679
|
>;
|
|
682
680
|
|
|
683
681
|
removeLiquiditySingleToken(
|
|
@@ -687,27 +685,27 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
687
685
|
output: TokenOutputStruct,
|
|
688
686
|
overrides?: CallOverrides
|
|
689
687
|
): Promise<
|
|
690
|
-
[BigNumber, BigNumber] & { netTokenOut: BigNumber;
|
|
688
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netSyFee: BigNumber }
|
|
691
689
|
>;
|
|
692
690
|
};
|
|
693
691
|
|
|
694
692
|
filters: {
|
|
695
|
-
"
|
|
693
|
+
"AddLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
696
694
|
caller?: string | null,
|
|
697
695
|
market?: string | null,
|
|
698
696
|
receiver?: string | null,
|
|
699
|
-
|
|
697
|
+
netSyUsed?: null,
|
|
700
698
|
netPtUsed?: null,
|
|
701
699
|
netLpOut?: null
|
|
702
|
-
):
|
|
703
|
-
|
|
700
|
+
): AddLiquidityDualSyAndPtEventFilter;
|
|
701
|
+
AddLiquidityDualSyAndPt(
|
|
704
702
|
caller?: string | null,
|
|
705
703
|
market?: string | null,
|
|
706
704
|
receiver?: string | null,
|
|
707
|
-
|
|
705
|
+
netSyUsed?: null,
|
|
708
706
|
netPtUsed?: null,
|
|
709
707
|
netLpOut?: null
|
|
710
|
-
):
|
|
708
|
+
): AddLiquidityDualSyAndPtEventFilter;
|
|
711
709
|
|
|
712
710
|
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
|
|
713
711
|
caller?: string | null,
|
|
@@ -743,20 +741,20 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
743
741
|
netLpOut?: null
|
|
744
742
|
): AddLiquiditySinglePtEventFilter;
|
|
745
743
|
|
|
746
|
-
"
|
|
744
|
+
"AddLiquiditySingleSy(address,address,address,uint256,uint256)"(
|
|
747
745
|
caller?: string | null,
|
|
748
746
|
market?: string | null,
|
|
749
747
|
receiver?: string | null,
|
|
750
|
-
|
|
748
|
+
netSyIn?: null,
|
|
751
749
|
netLpOut?: null
|
|
752
|
-
):
|
|
753
|
-
|
|
750
|
+
): AddLiquiditySingleSyEventFilter;
|
|
751
|
+
AddLiquiditySingleSy(
|
|
754
752
|
caller?: string | null,
|
|
755
753
|
market?: string | null,
|
|
756
754
|
receiver?: string | null,
|
|
757
|
-
|
|
755
|
+
netSyIn?: null,
|
|
758
756
|
netLpOut?: null
|
|
759
|
-
):
|
|
757
|
+
): AddLiquiditySingleSyEventFilter;
|
|
760
758
|
|
|
761
759
|
"AddLiquiditySingleToken(address,address,address,address,uint256,uint256)"(
|
|
762
760
|
caller?: string | null,
|
|
@@ -775,22 +773,22 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
775
773
|
netLpOut?: null
|
|
776
774
|
): AddLiquiditySingleTokenEventFilter;
|
|
777
775
|
|
|
778
|
-
"
|
|
776
|
+
"RemoveLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
779
777
|
caller?: string | null,
|
|
780
778
|
market?: string | null,
|
|
781
779
|
receiver?: string | null,
|
|
782
780
|
netLpToRemove?: null,
|
|
783
781
|
netPtOut?: null,
|
|
784
|
-
|
|
785
|
-
):
|
|
786
|
-
|
|
782
|
+
netSyOut?: null
|
|
783
|
+
): RemoveLiquidityDualSyAndPtEventFilter;
|
|
784
|
+
RemoveLiquidityDualSyAndPt(
|
|
787
785
|
caller?: string | null,
|
|
788
786
|
market?: string | null,
|
|
789
787
|
receiver?: string | null,
|
|
790
788
|
netLpToRemove?: null,
|
|
791
789
|
netPtOut?: null,
|
|
792
|
-
|
|
793
|
-
):
|
|
790
|
+
netSyOut?: null
|
|
791
|
+
): RemoveLiquidityDualSyAndPtEventFilter;
|
|
794
792
|
|
|
795
793
|
"RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)"(
|
|
796
794
|
caller?: string | null,
|
|
@@ -826,20 +824,20 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
826
824
|
netPtOut?: null
|
|
827
825
|
): RemoveLiquiditySinglePtEventFilter;
|
|
828
826
|
|
|
829
|
-
"
|
|
827
|
+
"RemoveLiquiditySingleSy(address,address,address,uint256,uint256)"(
|
|
830
828
|
caller?: string | null,
|
|
831
829
|
market?: string | null,
|
|
832
830
|
receiver?: string | null,
|
|
833
831
|
netLpToRemove?: null,
|
|
834
|
-
|
|
835
|
-
):
|
|
836
|
-
|
|
832
|
+
netSyOut?: null
|
|
833
|
+
): RemoveLiquiditySingleSyEventFilter;
|
|
834
|
+
RemoveLiquiditySingleSy(
|
|
837
835
|
caller?: string | null,
|
|
838
836
|
market?: string | null,
|
|
839
837
|
receiver?: string | null,
|
|
840
838
|
netLpToRemove?: null,
|
|
841
|
-
|
|
842
|
-
):
|
|
839
|
+
netSyOut?: null
|
|
840
|
+
): RemoveLiquiditySingleSyEventFilter;
|
|
843
841
|
|
|
844
842
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)"(
|
|
845
843
|
caller?: string | null,
|
|
@@ -860,10 +858,10 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
860
858
|
};
|
|
861
859
|
|
|
862
860
|
estimateGas: {
|
|
863
|
-
|
|
861
|
+
addLiquidityDualSyAndPt(
|
|
864
862
|
receiver: string,
|
|
865
863
|
market: string,
|
|
866
|
-
|
|
864
|
+
netSyDesired: BigNumberish,
|
|
867
865
|
netPtDesired: BigNumberish,
|
|
868
866
|
minLpOut: BigNumberish,
|
|
869
867
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -884,16 +882,16 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
884
882
|
market: string,
|
|
885
883
|
netPtIn: BigNumberish,
|
|
886
884
|
minLpOut: BigNumberish,
|
|
887
|
-
|
|
885
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
888
886
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
889
887
|
): Promise<BigNumber>;
|
|
890
888
|
|
|
891
|
-
|
|
889
|
+
addLiquiditySingleSy(
|
|
892
890
|
receiver: string,
|
|
893
891
|
market: string,
|
|
894
|
-
|
|
892
|
+
netSyIn: BigNumberish,
|
|
895
893
|
minLpOut: BigNumberish,
|
|
896
|
-
|
|
894
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
897
895
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
898
896
|
): Promise<BigNumber>;
|
|
899
897
|
|
|
@@ -901,18 +899,18 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
901
899
|
receiver: string,
|
|
902
900
|
market: string,
|
|
903
901
|
minLpOut: BigNumberish,
|
|
904
|
-
|
|
902
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
905
903
|
input: TokenInputStruct,
|
|
906
904
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
907
905
|
): Promise<BigNumber>;
|
|
908
906
|
|
|
909
907
|
kyberSwapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
910
908
|
|
|
911
|
-
|
|
909
|
+
removeLiquidityDualSyAndPt(
|
|
912
910
|
receiver: string,
|
|
913
911
|
market: string,
|
|
914
912
|
netLpToRemove: BigNumberish,
|
|
915
|
-
|
|
913
|
+
minSyOut: BigNumberish,
|
|
916
914
|
minPtOut: BigNumberish,
|
|
917
915
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
918
916
|
): Promise<BigNumber>;
|
|
@@ -936,11 +934,11 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
936
934
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
937
935
|
): Promise<BigNumber>;
|
|
938
936
|
|
|
939
|
-
|
|
937
|
+
removeLiquiditySingleSy(
|
|
940
938
|
receiver: string,
|
|
941
939
|
market: string,
|
|
942
940
|
netLpToRemove: BigNumberish,
|
|
943
|
-
|
|
941
|
+
minSyOut: BigNumberish,
|
|
944
942
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
945
943
|
): Promise<BigNumber>;
|
|
946
944
|
|
|
@@ -954,10 +952,10 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
954
952
|
};
|
|
955
953
|
|
|
956
954
|
populateTransaction: {
|
|
957
|
-
|
|
955
|
+
addLiquidityDualSyAndPt(
|
|
958
956
|
receiver: string,
|
|
959
957
|
market: string,
|
|
960
|
-
|
|
958
|
+
netSyDesired: BigNumberish,
|
|
961
959
|
netPtDesired: BigNumberish,
|
|
962
960
|
minLpOut: BigNumberish,
|
|
963
961
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -978,16 +976,16 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
978
976
|
market: string,
|
|
979
977
|
netPtIn: BigNumberish,
|
|
980
978
|
minLpOut: BigNumberish,
|
|
981
|
-
|
|
979
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
982
980
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
983
981
|
): Promise<PopulatedTransaction>;
|
|
984
982
|
|
|
985
|
-
|
|
983
|
+
addLiquiditySingleSy(
|
|
986
984
|
receiver: string,
|
|
987
985
|
market: string,
|
|
988
|
-
|
|
986
|
+
netSyIn: BigNumberish,
|
|
989
987
|
minLpOut: BigNumberish,
|
|
990
|
-
|
|
988
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
991
989
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
992
990
|
): Promise<PopulatedTransaction>;
|
|
993
991
|
|
|
@@ -995,18 +993,18 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
995
993
|
receiver: string,
|
|
996
994
|
market: string,
|
|
997
995
|
minLpOut: BigNumberish,
|
|
998
|
-
|
|
996
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
999
997
|
input: TokenInputStruct,
|
|
1000
998
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
1001
999
|
): Promise<PopulatedTransaction>;
|
|
1002
1000
|
|
|
1003
1001
|
kyberSwapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1004
1002
|
|
|
1005
|
-
|
|
1003
|
+
removeLiquidityDualSyAndPt(
|
|
1006
1004
|
receiver: string,
|
|
1007
1005
|
market: string,
|
|
1008
1006
|
netLpToRemove: BigNumberish,
|
|
1009
|
-
|
|
1007
|
+
minSyOut: BigNumberish,
|
|
1010
1008
|
minPtOut: BigNumberish,
|
|
1011
1009
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1012
1010
|
): Promise<PopulatedTransaction>;
|
|
@@ -1030,11 +1028,11 @@ export interface ActionAddRemoveLiq extends BaseContract {
|
|
|
1030
1028
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1031
1029
|
): Promise<PopulatedTransaction>;
|
|
1032
1030
|
|
|
1033
|
-
|
|
1031
|
+
removeLiquiditySingleSy(
|
|
1034
1032
|
receiver: string,
|
|
1035
1033
|
market: string,
|
|
1036
1034
|
netLpToRemove: BigNumberish,
|
|
1037
|
-
|
|
1035
|
+
minSyOut: BigNumberish,
|
|
1038
1036
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1039
1037
|
): Promise<PopulatedTransaction>;
|
|
1040
1038
|
|