@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,48 +48,48 @@ 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 IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
77
77
|
contractName: "IPActionAddRemoveLiq";
|
|
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
|
+
"removeLiquidityDualSyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
85
85
|
"removeLiquidityDualTokenAndPt(address,address,uint256,address,uint256,uint256)": FunctionFragment;
|
|
86
86
|
"removeLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
87
|
-
"
|
|
87
|
+
"removeLiquiditySingleSy(address,address,uint256,uint256)": FunctionFragment;
|
|
88
88
|
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
encodeFunctionData(
|
|
92
|
-
functionFragment: "
|
|
92
|
+
functionFragment: "addLiquidityDualSyAndPt",
|
|
93
93
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
94
94
|
): string;
|
|
95
95
|
encodeFunctionData(
|
|
@@ -101,7 +101,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
101
101
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
102
102
|
): string;
|
|
103
103
|
encodeFunctionData(
|
|
104
|
-
functionFragment: "
|
|
104
|
+
functionFragment: "addLiquiditySingleSy",
|
|
105
105
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
106
106
|
): string;
|
|
107
107
|
encodeFunctionData(
|
|
@@ -109,7 +109,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
109
109
|
values: [string, string, BigNumberish, ApproxParamsStruct, TokenInputStruct]
|
|
110
110
|
): string;
|
|
111
111
|
encodeFunctionData(
|
|
112
|
-
functionFragment: "
|
|
112
|
+
functionFragment: "removeLiquidityDualSyAndPt",
|
|
113
113
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
114
114
|
): string;
|
|
115
115
|
encodeFunctionData(
|
|
@@ -121,7 +121,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
121
121
|
values: [string, string, BigNumberish, BigNumberish, ApproxParamsStruct]
|
|
122
122
|
): string;
|
|
123
123
|
encodeFunctionData(
|
|
124
|
-
functionFragment: "
|
|
124
|
+
functionFragment: "removeLiquiditySingleSy",
|
|
125
125
|
values: [string, string, BigNumberish, BigNumberish]
|
|
126
126
|
): string;
|
|
127
127
|
encodeFunctionData(
|
|
@@ -130,7 +130,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
130
130
|
): string;
|
|
131
131
|
|
|
132
132
|
decodeFunctionResult(
|
|
133
|
-
functionFragment: "
|
|
133
|
+
functionFragment: "addLiquidityDualSyAndPt",
|
|
134
134
|
data: BytesLike
|
|
135
135
|
): Result;
|
|
136
136
|
decodeFunctionResult(
|
|
@@ -142,7 +142,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
142
142
|
data: BytesLike
|
|
143
143
|
): Result;
|
|
144
144
|
decodeFunctionResult(
|
|
145
|
-
functionFragment: "
|
|
145
|
+
functionFragment: "addLiquiditySingleSy",
|
|
146
146
|
data: BytesLike
|
|
147
147
|
): Result;
|
|
148
148
|
decodeFunctionResult(
|
|
@@ -150,7 +150,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
150
150
|
data: BytesLike
|
|
151
151
|
): Result;
|
|
152
152
|
decodeFunctionResult(
|
|
153
|
-
functionFragment: "
|
|
153
|
+
functionFragment: "removeLiquidityDualSyAndPt",
|
|
154
154
|
data: BytesLike
|
|
155
155
|
): Result;
|
|
156
156
|
decodeFunctionResult(
|
|
@@ -162,7 +162,7 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
162
162
|
data: BytesLike
|
|
163
163
|
): Result;
|
|
164
164
|
decodeFunctionResult(
|
|
165
|
-
functionFragment: "
|
|
165
|
+
functionFragment: "removeLiquiditySingleSy",
|
|
166
166
|
data: BytesLike
|
|
167
167
|
): Result;
|
|
168
168
|
decodeFunctionResult(
|
|
@@ -171,48 +171,46 @@ export interface IPActionAddRemoveLiqInterface extends utils.Interface {
|
|
|
171
171
|
): Result;
|
|
172
172
|
|
|
173
173
|
events: {
|
|
174
|
-
"
|
|
174
|
+
"AddLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
175
175
|
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
176
176
|
"AddLiquiditySinglePt(address,address,address,uint256,uint256)": EventFragment;
|
|
177
|
-
"
|
|
177
|
+
"AddLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
|
|
178
178
|
"AddLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
179
|
-
"
|
|
179
|
+
"RemoveLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
180
180
|
"RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)": EventFragment;
|
|
181
181
|
"RemoveLiquiditySinglePt(address,address,address,uint256,uint256)": EventFragment;
|
|
182
|
-
"
|
|
182
|
+
"RemoveLiquiditySingleSy(address,address,address,uint256,uint256)": EventFragment;
|
|
183
183
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
186
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualSyAndPt"): EventFragment;
|
|
187
187
|
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualTokenAndPt"): EventFragment;
|
|
188
188
|
getEvent(nameOrSignatureOrTopic: "AddLiquiditySinglePt"): EventFragment;
|
|
189
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
189
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquiditySingleSy"): EventFragment;
|
|
190
190
|
getEvent(nameOrSignatureOrTopic: "AddLiquiditySingleToken"): EventFragment;
|
|
191
|
-
getEvent(
|
|
192
|
-
nameOrSignatureOrTopic: "RemoveLiquidityDualScyAndPt"
|
|
193
|
-
): EventFragment;
|
|
191
|
+
getEvent(nameOrSignatureOrTopic: "RemoveLiquidityDualSyAndPt"): EventFragment;
|
|
194
192
|
getEvent(
|
|
195
193
|
nameOrSignatureOrTopic: "RemoveLiquidityDualTokenAndPt"
|
|
196
194
|
): EventFragment;
|
|
197
195
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySinglePt"): EventFragment;
|
|
198
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
196
|
+
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleSy"): EventFragment;
|
|
199
197
|
getEvent(nameOrSignatureOrTopic: "RemoveLiquiditySingleToken"): EventFragment;
|
|
200
198
|
}
|
|
201
199
|
|
|
202
|
-
export type
|
|
200
|
+
export type AddLiquidityDualSyAndPtEvent = TypedEvent<
|
|
203
201
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
204
202
|
{
|
|
205
203
|
caller: string;
|
|
206
204
|
market: string;
|
|
207
205
|
receiver: string;
|
|
208
|
-
|
|
206
|
+
netSyUsed: BigNumber;
|
|
209
207
|
netPtUsed: BigNumber;
|
|
210
208
|
netLpOut: BigNumber;
|
|
211
209
|
}
|
|
212
210
|
>;
|
|
213
211
|
|
|
214
|
-
export type
|
|
215
|
-
TypedEventFilter<
|
|
212
|
+
export type AddLiquidityDualSyAndPtEventFilter =
|
|
213
|
+
TypedEventFilter<AddLiquidityDualSyAndPtEvent>;
|
|
216
214
|
|
|
217
215
|
export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
218
216
|
[string, string, string, string, BigNumber, BigNumber, BigNumber],
|
|
@@ -244,19 +242,19 @@ export type AddLiquiditySinglePtEvent = TypedEvent<
|
|
|
244
242
|
export type AddLiquiditySinglePtEventFilter =
|
|
245
243
|
TypedEventFilter<AddLiquiditySinglePtEvent>;
|
|
246
244
|
|
|
247
|
-
export type
|
|
245
|
+
export type AddLiquiditySingleSyEvent = TypedEvent<
|
|
248
246
|
[string, string, string, BigNumber, BigNumber],
|
|
249
247
|
{
|
|
250
248
|
caller: string;
|
|
251
249
|
market: string;
|
|
252
250
|
receiver: string;
|
|
253
|
-
|
|
251
|
+
netSyIn: BigNumber;
|
|
254
252
|
netLpOut: BigNumber;
|
|
255
253
|
}
|
|
256
254
|
>;
|
|
257
255
|
|
|
258
|
-
export type
|
|
259
|
-
TypedEventFilter<
|
|
256
|
+
export type AddLiquiditySingleSyEventFilter =
|
|
257
|
+
TypedEventFilter<AddLiquiditySingleSyEvent>;
|
|
260
258
|
|
|
261
259
|
export type AddLiquiditySingleTokenEvent = TypedEvent<
|
|
262
260
|
[string, string, string, string, BigNumber, BigNumber],
|
|
@@ -273,7 +271,7 @@ export type AddLiquiditySingleTokenEvent = TypedEvent<
|
|
|
273
271
|
export type AddLiquiditySingleTokenEventFilter =
|
|
274
272
|
TypedEventFilter<AddLiquiditySingleTokenEvent>;
|
|
275
273
|
|
|
276
|
-
export type
|
|
274
|
+
export type RemoveLiquidityDualSyAndPtEvent = TypedEvent<
|
|
277
275
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
278
276
|
{
|
|
279
277
|
caller: string;
|
|
@@ -281,12 +279,12 @@ export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
|
281
279
|
receiver: string;
|
|
282
280
|
netLpToRemove: BigNumber;
|
|
283
281
|
netPtOut: BigNumber;
|
|
284
|
-
|
|
282
|
+
netSyOut: BigNumber;
|
|
285
283
|
}
|
|
286
284
|
>;
|
|
287
285
|
|
|
288
|
-
export type
|
|
289
|
-
TypedEventFilter<
|
|
286
|
+
export type RemoveLiquidityDualSyAndPtEventFilter =
|
|
287
|
+
TypedEventFilter<RemoveLiquidityDualSyAndPtEvent>;
|
|
290
288
|
|
|
291
289
|
export type RemoveLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
292
290
|
[string, string, string, BigNumber, BigNumber, string, BigNumber],
|
|
@@ -318,19 +316,19 @@ export type RemoveLiquiditySinglePtEvent = TypedEvent<
|
|
|
318
316
|
export type RemoveLiquiditySinglePtEventFilter =
|
|
319
317
|
TypedEventFilter<RemoveLiquiditySinglePtEvent>;
|
|
320
318
|
|
|
321
|
-
export type
|
|
319
|
+
export type RemoveLiquiditySingleSyEvent = TypedEvent<
|
|
322
320
|
[string, string, string, BigNumber, BigNumber],
|
|
323
321
|
{
|
|
324
322
|
caller: string;
|
|
325
323
|
market: string;
|
|
326
324
|
receiver: string;
|
|
327
325
|
netLpToRemove: BigNumber;
|
|
328
|
-
|
|
326
|
+
netSyOut: BigNumber;
|
|
329
327
|
}
|
|
330
328
|
>;
|
|
331
329
|
|
|
332
|
-
export type
|
|
333
|
-
TypedEventFilter<
|
|
330
|
+
export type RemoveLiquiditySingleSyEventFilter =
|
|
331
|
+
TypedEventFilter<RemoveLiquiditySingleSyEvent>;
|
|
334
332
|
|
|
335
333
|
export type RemoveLiquiditySingleTokenEvent = TypedEvent<
|
|
336
334
|
[string, string, string, string, BigNumber, BigNumber],
|
|
@@ -375,10 +373,10 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
375
373
|
removeListener: OnEvent<this>;
|
|
376
374
|
|
|
377
375
|
functions: {
|
|
378
|
-
|
|
376
|
+
addLiquidityDualSyAndPt(
|
|
379
377
|
receiver: string,
|
|
380
378
|
market: string,
|
|
381
|
-
|
|
379
|
+
netSyDesired: BigNumberish,
|
|
382
380
|
netPtDesired: BigNumberish,
|
|
383
381
|
minLpOut: BigNumberish,
|
|
384
382
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -399,16 +397,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
399
397
|
market: string,
|
|
400
398
|
netPtIn: BigNumberish,
|
|
401
399
|
minLpOut: BigNumberish,
|
|
402
|
-
|
|
400
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
403
401
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
404
402
|
): Promise<ContractTransaction>;
|
|
405
403
|
|
|
406
|
-
|
|
404
|
+
addLiquiditySingleSy(
|
|
407
405
|
receiver: string,
|
|
408
406
|
market: string,
|
|
409
|
-
|
|
407
|
+
netSyIn: BigNumberish,
|
|
410
408
|
minLpOut: BigNumberish,
|
|
411
|
-
|
|
409
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
412
410
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
413
411
|
): Promise<ContractTransaction>;
|
|
414
412
|
|
|
@@ -416,16 +414,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
416
414
|
receiver: string,
|
|
417
415
|
market: string,
|
|
418
416
|
minLpOut: BigNumberish,
|
|
419
|
-
|
|
417
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
420
418
|
input: TokenInputStruct,
|
|
421
419
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
422
420
|
): Promise<ContractTransaction>;
|
|
423
421
|
|
|
424
|
-
|
|
422
|
+
removeLiquidityDualSyAndPt(
|
|
425
423
|
receiver: string,
|
|
426
424
|
market: string,
|
|
427
425
|
netLpToRemove: BigNumberish,
|
|
428
|
-
|
|
426
|
+
minSyOut: BigNumberish,
|
|
429
427
|
minPtOut: BigNumberish,
|
|
430
428
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
431
429
|
): Promise<ContractTransaction>;
|
|
@@ -449,11 +447,11 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
449
447
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
450
448
|
): Promise<ContractTransaction>;
|
|
451
449
|
|
|
452
|
-
|
|
450
|
+
removeLiquiditySingleSy(
|
|
453
451
|
receiver: string,
|
|
454
452
|
market: string,
|
|
455
453
|
netLpToRemove: BigNumberish,
|
|
456
|
-
|
|
454
|
+
minSyOut: BigNumberish,
|
|
457
455
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
458
456
|
): Promise<ContractTransaction>;
|
|
459
457
|
|
|
@@ -466,10 +464,10 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
466
464
|
): Promise<ContractTransaction>;
|
|
467
465
|
};
|
|
468
466
|
|
|
469
|
-
|
|
467
|
+
addLiquidityDualSyAndPt(
|
|
470
468
|
receiver: string,
|
|
471
469
|
market: string,
|
|
472
|
-
|
|
470
|
+
netSyDesired: BigNumberish,
|
|
473
471
|
netPtDesired: BigNumberish,
|
|
474
472
|
minLpOut: BigNumberish,
|
|
475
473
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -490,16 +488,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
490
488
|
market: string,
|
|
491
489
|
netPtIn: BigNumberish,
|
|
492
490
|
minLpOut: BigNumberish,
|
|
493
|
-
|
|
491
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
494
492
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
495
493
|
): Promise<ContractTransaction>;
|
|
496
494
|
|
|
497
|
-
|
|
495
|
+
addLiquiditySingleSy(
|
|
498
496
|
receiver: string,
|
|
499
497
|
market: string,
|
|
500
|
-
|
|
498
|
+
netSyIn: BigNumberish,
|
|
501
499
|
minLpOut: BigNumberish,
|
|
502
|
-
|
|
500
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
503
501
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
504
502
|
): Promise<ContractTransaction>;
|
|
505
503
|
|
|
@@ -507,16 +505,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
507
505
|
receiver: string,
|
|
508
506
|
market: string,
|
|
509
507
|
minLpOut: BigNumberish,
|
|
510
|
-
|
|
508
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
511
509
|
input: TokenInputStruct,
|
|
512
510
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
513
511
|
): Promise<ContractTransaction>;
|
|
514
512
|
|
|
515
|
-
|
|
513
|
+
removeLiquidityDualSyAndPt(
|
|
516
514
|
receiver: string,
|
|
517
515
|
market: string,
|
|
518
516
|
netLpToRemove: BigNumberish,
|
|
519
|
-
|
|
517
|
+
minSyOut: BigNumberish,
|
|
520
518
|
minPtOut: BigNumberish,
|
|
521
519
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
522
520
|
): Promise<ContractTransaction>;
|
|
@@ -540,11 +538,11 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
540
538
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
541
539
|
): Promise<ContractTransaction>;
|
|
542
540
|
|
|
543
|
-
|
|
541
|
+
removeLiquiditySingleSy(
|
|
544
542
|
receiver: string,
|
|
545
543
|
market: string,
|
|
546
544
|
netLpToRemove: BigNumberish,
|
|
547
|
-
|
|
545
|
+
minSyOut: BigNumberish,
|
|
548
546
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
549
547
|
): Promise<ContractTransaction>;
|
|
550
548
|
|
|
@@ -557,17 +555,17 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
557
555
|
): Promise<ContractTransaction>;
|
|
558
556
|
|
|
559
557
|
callStatic: {
|
|
560
|
-
|
|
558
|
+
addLiquidityDualSyAndPt(
|
|
561
559
|
receiver: string,
|
|
562
560
|
market: string,
|
|
563
|
-
|
|
561
|
+
netSyDesired: BigNumberish,
|
|
564
562
|
netPtDesired: BigNumberish,
|
|
565
563
|
minLpOut: BigNumberish,
|
|
566
564
|
overrides?: CallOverrides
|
|
567
565
|
): Promise<
|
|
568
566
|
[BigNumber, BigNumber, BigNumber] & {
|
|
569
567
|
netLpOut: BigNumber;
|
|
570
|
-
|
|
568
|
+
netSyUsed: BigNumber;
|
|
571
569
|
netPtUsed: BigNumber;
|
|
572
570
|
}
|
|
573
571
|
>;
|
|
@@ -593,43 +591,43 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
593
591
|
market: string,
|
|
594
592
|
netPtIn: BigNumberish,
|
|
595
593
|
minLpOut: BigNumberish,
|
|
596
|
-
|
|
594
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
597
595
|
overrides?: CallOverrides
|
|
598
596
|
): Promise<
|
|
599
|
-
[BigNumber, BigNumber] & { netLpOut: BigNumber;
|
|
597
|
+
[BigNumber, BigNumber] & { netLpOut: BigNumber; netSyFee: BigNumber }
|
|
600
598
|
>;
|
|
601
599
|
|
|
602
|
-
|
|
600
|
+
addLiquiditySingleSy(
|
|
603
601
|
receiver: string,
|
|
604
602
|
market: string,
|
|
605
|
-
|
|
603
|
+
netSyIn: BigNumberish,
|
|
606
604
|
minLpOut: BigNumberish,
|
|
607
|
-
|
|
605
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
608
606
|
overrides?: CallOverrides
|
|
609
607
|
): Promise<
|
|
610
|
-
[BigNumber, BigNumber] & { netLpOut: BigNumber;
|
|
608
|
+
[BigNumber, BigNumber] & { netLpOut: BigNumber; netSyFee: BigNumber }
|
|
611
609
|
>;
|
|
612
610
|
|
|
613
611
|
addLiquiditySingleToken(
|
|
614
612
|
receiver: string,
|
|
615
613
|
market: string,
|
|
616
614
|
minLpOut: BigNumberish,
|
|
617
|
-
|
|
615
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
618
616
|
input: TokenInputStruct,
|
|
619
617
|
overrides?: CallOverrides
|
|
620
618
|
): Promise<
|
|
621
|
-
[BigNumber, BigNumber] & { netLpOut: BigNumber;
|
|
619
|
+
[BigNumber, BigNumber] & { netLpOut: BigNumber; netSyFee: BigNumber }
|
|
622
620
|
>;
|
|
623
621
|
|
|
624
|
-
|
|
622
|
+
removeLiquidityDualSyAndPt(
|
|
625
623
|
receiver: string,
|
|
626
624
|
market: string,
|
|
627
625
|
netLpToRemove: BigNumberish,
|
|
628
|
-
|
|
626
|
+
minSyOut: BigNumberish,
|
|
629
627
|
minPtOut: BigNumberish,
|
|
630
628
|
overrides?: CallOverrides
|
|
631
629
|
): Promise<
|
|
632
|
-
[BigNumber, BigNumber] & {
|
|
630
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netPtOut: BigNumber }
|
|
633
631
|
>;
|
|
634
632
|
|
|
635
633
|
removeLiquidityDualTokenAndPt(
|
|
@@ -652,17 +650,17 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
652
650
|
guessPtOut: ApproxParamsStruct,
|
|
653
651
|
overrides?: CallOverrides
|
|
654
652
|
): Promise<
|
|
655
|
-
[BigNumber, BigNumber] & { netPtOut: BigNumber;
|
|
653
|
+
[BigNumber, BigNumber] & { netPtOut: BigNumber; netSyFee: BigNumber }
|
|
656
654
|
>;
|
|
657
655
|
|
|
658
|
-
|
|
656
|
+
removeLiquiditySingleSy(
|
|
659
657
|
receiver: string,
|
|
660
658
|
market: string,
|
|
661
659
|
netLpToRemove: BigNumberish,
|
|
662
|
-
|
|
660
|
+
minSyOut: BigNumberish,
|
|
663
661
|
overrides?: CallOverrides
|
|
664
662
|
): Promise<
|
|
665
|
-
[BigNumber, BigNumber] & {
|
|
663
|
+
[BigNumber, BigNumber] & { netSyOut: BigNumber; netSyFee: BigNumber }
|
|
666
664
|
>;
|
|
667
665
|
|
|
668
666
|
removeLiquiditySingleToken(
|
|
@@ -672,27 +670,27 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
672
670
|
output: TokenOutputStruct,
|
|
673
671
|
overrides?: CallOverrides
|
|
674
672
|
): Promise<
|
|
675
|
-
[BigNumber, BigNumber] & { netTokenOut: BigNumber;
|
|
673
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netSyFee: BigNumber }
|
|
676
674
|
>;
|
|
677
675
|
};
|
|
678
676
|
|
|
679
677
|
filters: {
|
|
680
|
-
"
|
|
678
|
+
"AddLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
681
679
|
caller?: string | null,
|
|
682
680
|
market?: string | null,
|
|
683
681
|
receiver?: string | null,
|
|
684
|
-
|
|
682
|
+
netSyUsed?: null,
|
|
685
683
|
netPtUsed?: null,
|
|
686
684
|
netLpOut?: null
|
|
687
|
-
):
|
|
688
|
-
|
|
685
|
+
): AddLiquidityDualSyAndPtEventFilter;
|
|
686
|
+
AddLiquidityDualSyAndPt(
|
|
689
687
|
caller?: string | null,
|
|
690
688
|
market?: string | null,
|
|
691
689
|
receiver?: string | null,
|
|
692
|
-
|
|
690
|
+
netSyUsed?: null,
|
|
693
691
|
netPtUsed?: null,
|
|
694
692
|
netLpOut?: null
|
|
695
|
-
):
|
|
693
|
+
): AddLiquidityDualSyAndPtEventFilter;
|
|
696
694
|
|
|
697
695
|
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
|
|
698
696
|
caller?: string | null,
|
|
@@ -728,20 +726,20 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
728
726
|
netLpOut?: null
|
|
729
727
|
): AddLiquiditySinglePtEventFilter;
|
|
730
728
|
|
|
731
|
-
"
|
|
729
|
+
"AddLiquiditySingleSy(address,address,address,uint256,uint256)"(
|
|
732
730
|
caller?: string | null,
|
|
733
731
|
market?: string | null,
|
|
734
732
|
receiver?: string | null,
|
|
735
|
-
|
|
733
|
+
netSyIn?: null,
|
|
736
734
|
netLpOut?: null
|
|
737
|
-
):
|
|
738
|
-
|
|
735
|
+
): AddLiquiditySingleSyEventFilter;
|
|
736
|
+
AddLiquiditySingleSy(
|
|
739
737
|
caller?: string | null,
|
|
740
738
|
market?: string | null,
|
|
741
739
|
receiver?: string | null,
|
|
742
|
-
|
|
740
|
+
netSyIn?: null,
|
|
743
741
|
netLpOut?: null
|
|
744
|
-
):
|
|
742
|
+
): AddLiquiditySingleSyEventFilter;
|
|
745
743
|
|
|
746
744
|
"AddLiquiditySingleToken(address,address,address,address,uint256,uint256)"(
|
|
747
745
|
caller?: string | null,
|
|
@@ -760,22 +758,22 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
760
758
|
netLpOut?: null
|
|
761
759
|
): AddLiquiditySingleTokenEventFilter;
|
|
762
760
|
|
|
763
|
-
"
|
|
761
|
+
"RemoveLiquidityDualSyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
764
762
|
caller?: string | null,
|
|
765
763
|
market?: string | null,
|
|
766
764
|
receiver?: string | null,
|
|
767
765
|
netLpToRemove?: null,
|
|
768
766
|
netPtOut?: null,
|
|
769
|
-
|
|
770
|
-
):
|
|
771
|
-
|
|
767
|
+
netSyOut?: null
|
|
768
|
+
): RemoveLiquidityDualSyAndPtEventFilter;
|
|
769
|
+
RemoveLiquidityDualSyAndPt(
|
|
772
770
|
caller?: string | null,
|
|
773
771
|
market?: string | null,
|
|
774
772
|
receiver?: string | null,
|
|
775
773
|
netLpToRemove?: null,
|
|
776
774
|
netPtOut?: null,
|
|
777
|
-
|
|
778
|
-
):
|
|
775
|
+
netSyOut?: null
|
|
776
|
+
): RemoveLiquidityDualSyAndPtEventFilter;
|
|
779
777
|
|
|
780
778
|
"RemoveLiquidityDualTokenAndPt(address,address,address,uint256,uint256,address,uint256)"(
|
|
781
779
|
caller?: string | null,
|
|
@@ -811,20 +809,20 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
811
809
|
netPtOut?: null
|
|
812
810
|
): RemoveLiquiditySinglePtEventFilter;
|
|
813
811
|
|
|
814
|
-
"
|
|
812
|
+
"RemoveLiquiditySingleSy(address,address,address,uint256,uint256)"(
|
|
815
813
|
caller?: string | null,
|
|
816
814
|
market?: string | null,
|
|
817
815
|
receiver?: string | null,
|
|
818
816
|
netLpToRemove?: null,
|
|
819
|
-
|
|
820
|
-
):
|
|
821
|
-
|
|
817
|
+
netSyOut?: null
|
|
818
|
+
): RemoveLiquiditySingleSyEventFilter;
|
|
819
|
+
RemoveLiquiditySingleSy(
|
|
822
820
|
caller?: string | null,
|
|
823
821
|
market?: string | null,
|
|
824
822
|
receiver?: string | null,
|
|
825
823
|
netLpToRemove?: null,
|
|
826
|
-
|
|
827
|
-
):
|
|
824
|
+
netSyOut?: null
|
|
825
|
+
): RemoveLiquiditySingleSyEventFilter;
|
|
828
826
|
|
|
829
827
|
"RemoveLiquiditySingleToken(address,address,address,address,uint256,uint256)"(
|
|
830
828
|
caller?: string | null,
|
|
@@ -845,10 +843,10 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
845
843
|
};
|
|
846
844
|
|
|
847
845
|
estimateGas: {
|
|
848
|
-
|
|
846
|
+
addLiquidityDualSyAndPt(
|
|
849
847
|
receiver: string,
|
|
850
848
|
market: string,
|
|
851
|
-
|
|
849
|
+
netSyDesired: BigNumberish,
|
|
852
850
|
netPtDesired: BigNumberish,
|
|
853
851
|
minLpOut: BigNumberish,
|
|
854
852
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -869,16 +867,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
869
867
|
market: string,
|
|
870
868
|
netPtIn: BigNumberish,
|
|
871
869
|
minLpOut: BigNumberish,
|
|
872
|
-
|
|
870
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
873
871
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
874
872
|
): Promise<BigNumber>;
|
|
875
873
|
|
|
876
|
-
|
|
874
|
+
addLiquiditySingleSy(
|
|
877
875
|
receiver: string,
|
|
878
876
|
market: string,
|
|
879
|
-
|
|
877
|
+
netSyIn: BigNumberish,
|
|
880
878
|
minLpOut: BigNumberish,
|
|
881
|
-
|
|
879
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
882
880
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
883
881
|
): Promise<BigNumber>;
|
|
884
882
|
|
|
@@ -886,16 +884,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
886
884
|
receiver: string,
|
|
887
885
|
market: string,
|
|
888
886
|
minLpOut: BigNumberish,
|
|
889
|
-
|
|
887
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
890
888
|
input: TokenInputStruct,
|
|
891
889
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
892
890
|
): Promise<BigNumber>;
|
|
893
891
|
|
|
894
|
-
|
|
892
|
+
removeLiquidityDualSyAndPt(
|
|
895
893
|
receiver: string,
|
|
896
894
|
market: string,
|
|
897
895
|
netLpToRemove: BigNumberish,
|
|
898
|
-
|
|
896
|
+
minSyOut: BigNumberish,
|
|
899
897
|
minPtOut: BigNumberish,
|
|
900
898
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
901
899
|
): Promise<BigNumber>;
|
|
@@ -919,11 +917,11 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
919
917
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
920
918
|
): Promise<BigNumber>;
|
|
921
919
|
|
|
922
|
-
|
|
920
|
+
removeLiquiditySingleSy(
|
|
923
921
|
receiver: string,
|
|
924
922
|
market: string,
|
|
925
923
|
netLpToRemove: BigNumberish,
|
|
926
|
-
|
|
924
|
+
minSyOut: BigNumberish,
|
|
927
925
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
928
926
|
): Promise<BigNumber>;
|
|
929
927
|
|
|
@@ -937,10 +935,10 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
937
935
|
};
|
|
938
936
|
|
|
939
937
|
populateTransaction: {
|
|
940
|
-
|
|
938
|
+
addLiquidityDualSyAndPt(
|
|
941
939
|
receiver: string,
|
|
942
940
|
market: string,
|
|
943
|
-
|
|
941
|
+
netSyDesired: BigNumberish,
|
|
944
942
|
netPtDesired: BigNumberish,
|
|
945
943
|
minLpOut: BigNumberish,
|
|
946
944
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -961,16 +959,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
961
959
|
market: string,
|
|
962
960
|
netPtIn: BigNumberish,
|
|
963
961
|
minLpOut: BigNumberish,
|
|
964
|
-
|
|
962
|
+
guessPtSwapToSy: ApproxParamsStruct,
|
|
965
963
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
966
964
|
): Promise<PopulatedTransaction>;
|
|
967
965
|
|
|
968
|
-
|
|
966
|
+
addLiquiditySingleSy(
|
|
969
967
|
receiver: string,
|
|
970
968
|
market: string,
|
|
971
|
-
|
|
969
|
+
netSyIn: BigNumberish,
|
|
972
970
|
minLpOut: BigNumberish,
|
|
973
|
-
|
|
971
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
974
972
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
975
973
|
): Promise<PopulatedTransaction>;
|
|
976
974
|
|
|
@@ -978,16 +976,16 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
978
976
|
receiver: string,
|
|
979
977
|
market: string,
|
|
980
978
|
minLpOut: BigNumberish,
|
|
981
|
-
|
|
979
|
+
guessPtReceivedFromSy: ApproxParamsStruct,
|
|
982
980
|
input: TokenInputStruct,
|
|
983
981
|
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
984
982
|
): Promise<PopulatedTransaction>;
|
|
985
983
|
|
|
986
|
-
|
|
984
|
+
removeLiquidityDualSyAndPt(
|
|
987
985
|
receiver: string,
|
|
988
986
|
market: string,
|
|
989
987
|
netLpToRemove: BigNumberish,
|
|
990
|
-
|
|
988
|
+
minSyOut: BigNumberish,
|
|
991
989
|
minPtOut: BigNumberish,
|
|
992
990
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
993
991
|
): Promise<PopulatedTransaction>;
|
|
@@ -1011,11 +1009,11 @@ export interface IPActionAddRemoveLiq extends BaseContract {
|
|
|
1011
1009
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1012
1010
|
): Promise<PopulatedTransaction>;
|
|
1013
1011
|
|
|
1014
|
-
|
|
1012
|
+
removeLiquiditySingleSy(
|
|
1015
1013
|
receiver: string,
|
|
1016
1014
|
market: string,
|
|
1017
1015
|
netLpToRemove: BigNumberish,
|
|
1018
|
-
|
|
1016
|
+
minSyOut: BigNumberish,
|
|
1019
1017
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1020
1018
|
): Promise<PopulatedTransaction>;
|
|
1021
1019
|
|