@pendle/core-v2 0.9.3-beta → 0.9.4-beta
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/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiSAvaxSCY.sol/PendleQiSAvaxSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleSAvaxSCY.sol/PendleSAvaxSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/Euler/PendleEulerSCY.sol/PendleEulerSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleStargateSCY.sol/PendleStargateSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/TraderJoe/PendleSJoeSCY.sol/PendleSJoeSCY.json +2 -2
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
- package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +35 -19
- package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +33 -17
- package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +33 -17
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +22 -12
- package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
- package/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol +1 -1
- package/contracts/core/PendleRouter.sol +2 -2
- package/contracts/core/actions/ActionCore.sol +18 -13
- package/contracts/core/actions/base/ActionSCYAndPTBase.sol +15 -15
- package/contracts/interfaces/IPActionCore.sol +12 -11
- package/contracts/offchain-helpers/RouterStatic.sol +12 -14
- package/deployments/43113-benqi.json +2 -2
- package/deployments/43113-core.json +1 -1
- package/deployments/43113-markets/benqi-market-95E744.json +7 -0
- package/deployments/43113-markets/benqi-market-D91a3F.json +7 -0
- package/package.json +1 -1
- package/typechain-types/ActionCore.ts +95 -84
- package/typechain-types/IPActionCore.ts +95 -84
- package/typechain-types/IPAllAction.ts +95 -84
- package/typechain-types/RouterStatic.ts +60 -50
- package/typechain-types/factories/ActionCore__factory.ts +34 -18
- package/typechain-types/factories/IPActionCore__factory.ts +33 -17
- package/typechain-types/factories/IPAllAction__factory.ts +33 -17
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateSCY__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +21 -11
|
@@ -143,8 +143,8 @@ export declare namespace IPRouterStatic {
|
|
|
143
143
|
export interface RouterStaticInterface extends utils.Interface {
|
|
144
144
|
contractName: "RouterStatic";
|
|
145
145
|
functions: {
|
|
146
|
-
"addLiquidityDualIbTokenAndPtStatic(address,uint256,uint256)": FunctionFragment;
|
|
147
146
|
"addLiquidityDualScyAndPtStatic(address,uint256,uint256)": FunctionFragment;
|
|
147
|
+
"addLiquidityDualTokenAndPtStatic(address,address,uint256,uint256)": FunctionFragment;
|
|
148
148
|
"addLiquiditySingleBaseTokenStatic(address,address,uint256)": FunctionFragment;
|
|
149
149
|
"addLiquiditySinglePtStatic(address,uint256)": FunctionFragment;
|
|
150
150
|
"addLiquiditySingleScyStatic(address,uint256)": FunctionFragment;
|
|
@@ -167,8 +167,8 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
167
167
|
"pyIndex(address)": FunctionFragment;
|
|
168
168
|
"redeemPYToBaseStatic(address,uint256,address)": FunctionFragment;
|
|
169
169
|
"redeemPYToScyStatic(address,uint256)": FunctionFragment;
|
|
170
|
-
"removeLiquidityDualIbTokenAndPtStatic(address,uint256)": FunctionFragment;
|
|
171
170
|
"removeLiquidityDualScyAndPtStatic(address,uint256)": FunctionFragment;
|
|
171
|
+
"removeLiquidityDualTokenAndPtStatic(address,uint256,address)": FunctionFragment;
|
|
172
172
|
"removeLiquiditySingleBaseTokenStatic(address,uint256,address)": FunctionFragment;
|
|
173
173
|
"removeLiquiditySinglePtStatic(address,uint256)": FunctionFragment;
|
|
174
174
|
"removeLiquiditySingleScyStatic(address,uint256)": FunctionFragment;
|
|
@@ -187,12 +187,12 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
encodeFunctionData(
|
|
190
|
-
functionFragment: "
|
|
190
|
+
functionFragment: "addLiquidityDualScyAndPtStatic",
|
|
191
191
|
values: [string, BigNumberish, BigNumberish]
|
|
192
192
|
): string;
|
|
193
193
|
encodeFunctionData(
|
|
194
|
-
functionFragment: "
|
|
195
|
-
values: [string, BigNumberish, BigNumberish]
|
|
194
|
+
functionFragment: "addLiquidityDualTokenAndPtStatic",
|
|
195
|
+
values: [string, string, BigNumberish, BigNumberish]
|
|
196
196
|
): string;
|
|
197
197
|
encodeFunctionData(
|
|
198
198
|
functionFragment: "addLiquiditySingleBaseTokenStatic",
|
|
@@ -274,12 +274,12 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
274
274
|
values: [string, BigNumberish]
|
|
275
275
|
): string;
|
|
276
276
|
encodeFunctionData(
|
|
277
|
-
functionFragment: "
|
|
277
|
+
functionFragment: "removeLiquidityDualScyAndPtStatic",
|
|
278
278
|
values: [string, BigNumberish]
|
|
279
279
|
): string;
|
|
280
280
|
encodeFunctionData(
|
|
281
|
-
functionFragment: "
|
|
282
|
-
values: [string, BigNumberish]
|
|
281
|
+
functionFragment: "removeLiquidityDualTokenAndPtStatic",
|
|
282
|
+
values: [string, BigNumberish, string]
|
|
283
283
|
): string;
|
|
284
284
|
encodeFunctionData(
|
|
285
285
|
functionFragment: "removeLiquiditySingleBaseTokenStatic",
|
|
@@ -343,11 +343,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
343
343
|
): string;
|
|
344
344
|
|
|
345
345
|
decodeFunctionResult(
|
|
346
|
-
functionFragment: "
|
|
346
|
+
functionFragment: "addLiquidityDualScyAndPtStatic",
|
|
347
347
|
data: BytesLike
|
|
348
348
|
): Result;
|
|
349
349
|
decodeFunctionResult(
|
|
350
|
-
functionFragment: "
|
|
350
|
+
functionFragment: "addLiquidityDualTokenAndPtStatic",
|
|
351
351
|
data: BytesLike
|
|
352
352
|
): Result;
|
|
353
353
|
decodeFunctionResult(
|
|
@@ -430,11 +430,11 @@ export interface RouterStaticInterface extends utils.Interface {
|
|
|
430
430
|
data: BytesLike
|
|
431
431
|
): Result;
|
|
432
432
|
decodeFunctionResult(
|
|
433
|
-
functionFragment: "
|
|
433
|
+
functionFragment: "removeLiquidityDualScyAndPtStatic",
|
|
434
434
|
data: BytesLike
|
|
435
435
|
): Result;
|
|
436
436
|
decodeFunctionResult(
|
|
437
|
-
functionFragment: "
|
|
437
|
+
functionFragment: "removeLiquidityDualTokenAndPtStatic",
|
|
438
438
|
data: BytesLike
|
|
439
439
|
): Result;
|
|
440
440
|
decodeFunctionResult(
|
|
@@ -529,16 +529,17 @@ export interface RouterStatic extends BaseContract {
|
|
|
529
529
|
removeListener: OnEvent<this>;
|
|
530
530
|
|
|
531
531
|
functions: {
|
|
532
|
-
|
|
532
|
+
addLiquidityDualScyAndPtStatic(
|
|
533
533
|
market: string,
|
|
534
|
-
|
|
534
|
+
scyDesired: BigNumberish,
|
|
535
535
|
ptDesired: BigNumberish,
|
|
536
536
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
537
537
|
): Promise<ContractTransaction>;
|
|
538
538
|
|
|
539
|
-
|
|
539
|
+
addLiquidityDualTokenAndPtStatic(
|
|
540
540
|
market: string,
|
|
541
|
-
|
|
541
|
+
tokenIn: string,
|
|
542
|
+
tokenDesired: BigNumberish,
|
|
542
543
|
ptDesired: BigNumberish,
|
|
543
544
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
544
545
|
): Promise<ContractTransaction>;
|
|
@@ -697,20 +698,21 @@ export interface RouterStatic extends BaseContract {
|
|
|
697
698
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
698
699
|
): Promise<ContractTransaction>;
|
|
699
700
|
|
|
700
|
-
|
|
701
|
+
removeLiquidityDualScyAndPtStatic(
|
|
701
702
|
market: string,
|
|
702
703
|
lpToRemove: BigNumberish,
|
|
703
704
|
overrides?: CallOverrides
|
|
704
705
|
): Promise<
|
|
705
|
-
[BigNumber, BigNumber] & {
|
|
706
|
+
[BigNumber, BigNumber] & { netScyOut: BigNumber; netPtOut: BigNumber }
|
|
706
707
|
>;
|
|
707
708
|
|
|
708
|
-
|
|
709
|
+
removeLiquidityDualTokenAndPtStatic(
|
|
709
710
|
market: string,
|
|
710
711
|
lpToRemove: BigNumberish,
|
|
712
|
+
tokenOut: string,
|
|
711
713
|
overrides?: CallOverrides
|
|
712
714
|
): Promise<
|
|
713
|
-
[BigNumber, BigNumber] & {
|
|
715
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netPtOut: BigNumber }
|
|
714
716
|
>;
|
|
715
717
|
|
|
716
718
|
removeLiquiditySingleBaseTokenStatic(
|
|
@@ -809,16 +811,17 @@ export interface RouterStatic extends BaseContract {
|
|
|
809
811
|
): Promise<ContractTransaction>;
|
|
810
812
|
};
|
|
811
813
|
|
|
812
|
-
|
|
814
|
+
addLiquidityDualScyAndPtStatic(
|
|
813
815
|
market: string,
|
|
814
|
-
|
|
816
|
+
scyDesired: BigNumberish,
|
|
815
817
|
ptDesired: BigNumberish,
|
|
816
818
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
817
819
|
): Promise<ContractTransaction>;
|
|
818
820
|
|
|
819
|
-
|
|
821
|
+
addLiquidityDualTokenAndPtStatic(
|
|
820
822
|
market: string,
|
|
821
|
-
|
|
823
|
+
tokenIn: string,
|
|
824
|
+
tokenDesired: BigNumberish,
|
|
822
825
|
ptDesired: BigNumberish,
|
|
823
826
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
824
827
|
): Promise<ContractTransaction>;
|
|
@@ -961,20 +964,21 @@ export interface RouterStatic extends BaseContract {
|
|
|
961
964
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
962
965
|
): Promise<ContractTransaction>;
|
|
963
966
|
|
|
964
|
-
|
|
967
|
+
removeLiquidityDualScyAndPtStatic(
|
|
965
968
|
market: string,
|
|
966
969
|
lpToRemove: BigNumberish,
|
|
967
970
|
overrides?: CallOverrides
|
|
968
971
|
): Promise<
|
|
969
|
-
[BigNumber, BigNumber] & {
|
|
972
|
+
[BigNumber, BigNumber] & { netScyOut: BigNumber; netPtOut: BigNumber }
|
|
970
973
|
>;
|
|
971
974
|
|
|
972
|
-
|
|
975
|
+
removeLiquidityDualTokenAndPtStatic(
|
|
973
976
|
market: string,
|
|
974
977
|
lpToRemove: BigNumberish,
|
|
978
|
+
tokenOut: string,
|
|
975
979
|
overrides?: CallOverrides
|
|
976
980
|
): Promise<
|
|
977
|
-
[BigNumber, BigNumber] & {
|
|
981
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netPtOut: BigNumber }
|
|
978
982
|
>;
|
|
979
983
|
|
|
980
984
|
removeLiquiditySingleBaseTokenStatic(
|
|
@@ -1073,28 +1077,29 @@ export interface RouterStatic extends BaseContract {
|
|
|
1073
1077
|
): Promise<ContractTransaction>;
|
|
1074
1078
|
|
|
1075
1079
|
callStatic: {
|
|
1076
|
-
|
|
1080
|
+
addLiquidityDualScyAndPtStatic(
|
|
1077
1081
|
market: string,
|
|
1078
|
-
|
|
1082
|
+
scyDesired: BigNumberish,
|
|
1079
1083
|
ptDesired: BigNumberish,
|
|
1080
1084
|
overrides?: CallOverrides
|
|
1081
1085
|
): Promise<
|
|
1082
1086
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1083
1087
|
netLpOut: BigNumber;
|
|
1084
|
-
|
|
1088
|
+
scyUsed: BigNumber;
|
|
1085
1089
|
ptUsed: BigNumber;
|
|
1086
1090
|
}
|
|
1087
1091
|
>;
|
|
1088
1092
|
|
|
1089
|
-
|
|
1093
|
+
addLiquidityDualTokenAndPtStatic(
|
|
1090
1094
|
market: string,
|
|
1091
|
-
|
|
1095
|
+
tokenIn: string,
|
|
1096
|
+
tokenDesired: BigNumberish,
|
|
1092
1097
|
ptDesired: BigNumberish,
|
|
1093
1098
|
overrides?: CallOverrides
|
|
1094
1099
|
): Promise<
|
|
1095
1100
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1096
1101
|
netLpOut: BigNumber;
|
|
1097
|
-
|
|
1102
|
+
tokenUsed: BigNumber;
|
|
1098
1103
|
ptUsed: BigNumber;
|
|
1099
1104
|
}
|
|
1100
1105
|
>;
|
|
@@ -1266,20 +1271,21 @@ export interface RouterStatic extends BaseContract {
|
|
|
1266
1271
|
overrides?: CallOverrides
|
|
1267
1272
|
): Promise<BigNumber>;
|
|
1268
1273
|
|
|
1269
|
-
|
|
1274
|
+
removeLiquidityDualScyAndPtStatic(
|
|
1270
1275
|
market: string,
|
|
1271
1276
|
lpToRemove: BigNumberish,
|
|
1272
1277
|
overrides?: CallOverrides
|
|
1273
1278
|
): Promise<
|
|
1274
|
-
[BigNumber, BigNumber] & {
|
|
1279
|
+
[BigNumber, BigNumber] & { netScyOut: BigNumber; netPtOut: BigNumber }
|
|
1275
1280
|
>;
|
|
1276
1281
|
|
|
1277
|
-
|
|
1282
|
+
removeLiquidityDualTokenAndPtStatic(
|
|
1278
1283
|
market: string,
|
|
1279
1284
|
lpToRemove: BigNumberish,
|
|
1285
|
+
tokenOut: string,
|
|
1280
1286
|
overrides?: CallOverrides
|
|
1281
1287
|
): Promise<
|
|
1282
|
-
[BigNumber, BigNumber] & {
|
|
1288
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1283
1289
|
>;
|
|
1284
1290
|
|
|
1285
1291
|
removeLiquiditySingleBaseTokenStatic(
|
|
@@ -1471,16 +1477,17 @@ export interface RouterStatic extends BaseContract {
|
|
|
1471
1477
|
filters: {};
|
|
1472
1478
|
|
|
1473
1479
|
estimateGas: {
|
|
1474
|
-
|
|
1480
|
+
addLiquidityDualScyAndPtStatic(
|
|
1475
1481
|
market: string,
|
|
1476
|
-
|
|
1482
|
+
scyDesired: BigNumberish,
|
|
1477
1483
|
ptDesired: BigNumberish,
|
|
1478
1484
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1479
1485
|
): Promise<BigNumber>;
|
|
1480
1486
|
|
|
1481
|
-
|
|
1487
|
+
addLiquidityDualTokenAndPtStatic(
|
|
1482
1488
|
market: string,
|
|
1483
|
-
|
|
1489
|
+
tokenIn: string,
|
|
1490
|
+
tokenDesired: BigNumberish,
|
|
1484
1491
|
ptDesired: BigNumberish,
|
|
1485
1492
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1486
1493
|
): Promise<BigNumber>;
|
|
@@ -1609,15 +1616,16 @@ export interface RouterStatic extends BaseContract {
|
|
|
1609
1616
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1610
1617
|
): Promise<BigNumber>;
|
|
1611
1618
|
|
|
1612
|
-
|
|
1619
|
+
removeLiquidityDualScyAndPtStatic(
|
|
1613
1620
|
market: string,
|
|
1614
1621
|
lpToRemove: BigNumberish,
|
|
1615
1622
|
overrides?: CallOverrides
|
|
1616
1623
|
): Promise<BigNumber>;
|
|
1617
1624
|
|
|
1618
|
-
|
|
1625
|
+
removeLiquidityDualTokenAndPtStatic(
|
|
1619
1626
|
market: string,
|
|
1620
1627
|
lpToRemove: BigNumberish,
|
|
1628
|
+
tokenOut: string,
|
|
1621
1629
|
overrides?: CallOverrides
|
|
1622
1630
|
): Promise<BigNumber>;
|
|
1623
1631
|
|
|
@@ -1718,16 +1726,17 @@ export interface RouterStatic extends BaseContract {
|
|
|
1718
1726
|
};
|
|
1719
1727
|
|
|
1720
1728
|
populateTransaction: {
|
|
1721
|
-
|
|
1729
|
+
addLiquidityDualScyAndPtStatic(
|
|
1722
1730
|
market: string,
|
|
1723
|
-
|
|
1731
|
+
scyDesired: BigNumberish,
|
|
1724
1732
|
ptDesired: BigNumberish,
|
|
1725
1733
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1726
1734
|
): Promise<PopulatedTransaction>;
|
|
1727
1735
|
|
|
1728
|
-
|
|
1736
|
+
addLiquidityDualTokenAndPtStatic(
|
|
1729
1737
|
market: string,
|
|
1730
|
-
|
|
1738
|
+
tokenIn: string,
|
|
1739
|
+
tokenDesired: BigNumberish,
|
|
1731
1740
|
ptDesired: BigNumberish,
|
|
1732
1741
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1733
1742
|
): Promise<PopulatedTransaction>;
|
|
@@ -1856,15 +1865,16 @@ export interface RouterStatic extends BaseContract {
|
|
|
1856
1865
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1857
1866
|
): Promise<PopulatedTransaction>;
|
|
1858
1867
|
|
|
1859
|
-
|
|
1868
|
+
removeLiquidityDualScyAndPtStatic(
|
|
1860
1869
|
market: string,
|
|
1861
1870
|
lpToRemove: BigNumberish,
|
|
1862
1871
|
overrides?: CallOverrides
|
|
1863
1872
|
): Promise<PopulatedTransaction>;
|
|
1864
1873
|
|
|
1865
|
-
|
|
1874
|
+
removeLiquidityDualTokenAndPtStatic(
|
|
1866
1875
|
market: string,
|
|
1867
1876
|
lpToRemove: BigNumberish,
|
|
1877
|
+
tokenOut: string,
|
|
1868
1878
|
overrides?: CallOverrides
|
|
1869
1879
|
): Promise<PopulatedTransaction>;
|
|
1870
1880
|
|