@pendle/core-v2 0.9.2-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 +48 -9
- 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 +17 -10
- 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 +86 -31
- 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 +47 -8
|
@@ -75,8 +75,8 @@ export type TokenOutputStructOutput = [string, BigNumber, string, string] & {
|
|
|
75
75
|
export interface IPAllActionInterface extends utils.Interface {
|
|
76
76
|
contractName: "IPAllAction";
|
|
77
77
|
functions: {
|
|
78
|
-
"addLiquidityDualIbTokenAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
79
78
|
"addLiquidityDualScyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
79
|
+
"addLiquidityDualTokenAndPt(address,address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
80
80
|
"addLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
81
81
|
"addLiquiditySingleScy(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
82
82
|
"addLiquiditySingleToken(address,address,uint256,(uint256,uint256,uint256,uint256,uint256),(address,uint256,address,bytes))": FunctionFragment;
|
|
@@ -87,8 +87,8 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
87
87
|
"redeemPyToScy(address,address,uint256,uint256)": FunctionFragment;
|
|
88
88
|
"redeemPyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
89
89
|
"redeemScyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
90
|
-
"removeLiquidityDualIbTokenAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
91
90
|
"removeLiquidityDualScyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
91
|
+
"removeLiquidityDualTokenAndPt(address,address,uint256,address,uint256,uint256)": FunctionFragment;
|
|
92
92
|
"removeLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
93
93
|
"removeLiquiditySingleScy(address,address,uint256,uint256)": FunctionFragment;
|
|
94
94
|
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
@@ -107,12 +107,12 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
encodeFunctionData(
|
|
110
|
-
functionFragment: "
|
|
110
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
111
111
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
112
112
|
): string;
|
|
113
113
|
encodeFunctionData(
|
|
114
|
-
functionFragment: "
|
|
115
|
-
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
114
|
+
functionFragment: "addLiquidityDualTokenAndPt",
|
|
115
|
+
values: [string, string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
116
116
|
): string;
|
|
117
117
|
encodeFunctionData(
|
|
118
118
|
functionFragment: "addLiquiditySinglePt",
|
|
@@ -155,12 +155,12 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
155
155
|
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
156
156
|
): string;
|
|
157
157
|
encodeFunctionData(
|
|
158
|
-
functionFragment: "
|
|
158
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
159
159
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
160
160
|
): string;
|
|
161
161
|
encodeFunctionData(
|
|
162
|
-
functionFragment: "
|
|
163
|
-
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
162
|
+
functionFragment: "removeLiquidityDualTokenAndPt",
|
|
163
|
+
values: [string, string, BigNumberish, string, BigNumberish, BigNumberish]
|
|
164
164
|
): string;
|
|
165
165
|
encodeFunctionData(
|
|
166
166
|
functionFragment: "removeLiquiditySinglePt",
|
|
@@ -224,11 +224,11 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
224
224
|
): string;
|
|
225
225
|
|
|
226
226
|
decodeFunctionResult(
|
|
227
|
-
functionFragment: "
|
|
227
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
228
228
|
data: BytesLike
|
|
229
229
|
): Result;
|
|
230
230
|
decodeFunctionResult(
|
|
231
|
-
functionFragment: "
|
|
231
|
+
functionFragment: "addLiquidityDualTokenAndPt",
|
|
232
232
|
data: BytesLike
|
|
233
233
|
): Result;
|
|
234
234
|
decodeFunctionResult(
|
|
@@ -272,11 +272,11 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
272
272
|
data: BytesLike
|
|
273
273
|
): Result;
|
|
274
274
|
decodeFunctionResult(
|
|
275
|
-
functionFragment: "
|
|
275
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
276
276
|
data: BytesLike
|
|
277
277
|
): Result;
|
|
278
278
|
decodeFunctionResult(
|
|
279
|
-
functionFragment: "
|
|
279
|
+
functionFragment: "removeLiquidityDualTokenAndPt",
|
|
280
280
|
data: BytesLike
|
|
281
281
|
): Result;
|
|
282
282
|
decodeFunctionResult(
|
|
@@ -341,8 +341,8 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
341
341
|
): Result;
|
|
342
342
|
|
|
343
343
|
events: {
|
|
344
|
-
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
345
344
|
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
345
|
+
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
346
346
|
"MintPyFromScy(address,address,address,uint256,uint256)": EventFragment;
|
|
347
347
|
"MintPyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
348
348
|
"MintScyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
@@ -357,10 +357,8 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
357
357
|
"SwapYTAndToken(address,address,address,int256,int256)": EventFragment;
|
|
358
358
|
};
|
|
359
359
|
|
|
360
|
-
getEvent(
|
|
361
|
-
nameOrSignatureOrTopic: "AddLiquidityDualIbTokenAndPt"
|
|
362
|
-
): EventFragment;
|
|
363
360
|
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualScyAndPt"): EventFragment;
|
|
361
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualTokenAndPt"): EventFragment;
|
|
364
362
|
getEvent(nameOrSignatureOrTopic: "MintPyFromScy"): EventFragment;
|
|
365
363
|
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
366
364
|
getEvent(nameOrSignatureOrTopic: "MintScyFromToken"): EventFragment;
|
|
@@ -379,35 +377,36 @@ export interface IPAllActionInterface extends utils.Interface {
|
|
|
379
377
|
getEvent(nameOrSignatureOrTopic: "SwapYTAndToken"): EventFragment;
|
|
380
378
|
}
|
|
381
379
|
|
|
382
|
-
export type
|
|
380
|
+
export type AddLiquidityDualScyAndPtEvent = TypedEvent<
|
|
383
381
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
384
382
|
{
|
|
385
383
|
caller: string;
|
|
386
384
|
market: string;
|
|
387
385
|
receiver: string;
|
|
388
|
-
|
|
386
|
+
scyUsed: BigNumber;
|
|
389
387
|
ptUsed: BigNumber;
|
|
390
388
|
lpOut: BigNumber;
|
|
391
389
|
}
|
|
392
390
|
>;
|
|
393
391
|
|
|
394
|
-
export type
|
|
395
|
-
TypedEventFilter<
|
|
392
|
+
export type AddLiquidityDualScyAndPtEventFilter =
|
|
393
|
+
TypedEventFilter<AddLiquidityDualScyAndPtEvent>;
|
|
396
394
|
|
|
397
|
-
export type
|
|
398
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
395
|
+
export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
396
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber],
|
|
399
397
|
{
|
|
400
398
|
caller: string;
|
|
401
399
|
market: string;
|
|
402
400
|
receiver: string;
|
|
403
|
-
|
|
401
|
+
tokenIn: string;
|
|
402
|
+
tokenUsed: BigNumber;
|
|
404
403
|
ptUsed: BigNumber;
|
|
405
404
|
lpOut: BigNumber;
|
|
406
405
|
}
|
|
407
406
|
>;
|
|
408
407
|
|
|
409
|
-
export type
|
|
410
|
-
TypedEventFilter<
|
|
408
|
+
export type AddLiquidityDualTokenAndPtEventFilter =
|
|
409
|
+
TypedEventFilter<AddLiquidityDualTokenAndPtEvent>;
|
|
411
410
|
|
|
412
411
|
export type MintPyFromScyEvent = TypedEvent<
|
|
413
412
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -514,7 +513,7 @@ export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
|
514
513
|
caller: string;
|
|
515
514
|
market: string;
|
|
516
515
|
receiver: string;
|
|
517
|
-
|
|
516
|
+
netlpIn: BigNumber;
|
|
518
517
|
amountPTOut: BigNumber;
|
|
519
518
|
amountSCYOut: BigNumber;
|
|
520
519
|
}
|
|
@@ -603,19 +602,20 @@ export interface IPAllAction extends BaseContract {
|
|
|
603
602
|
removeListener: OnEvent<this>;
|
|
604
603
|
|
|
605
604
|
functions: {
|
|
606
|
-
|
|
605
|
+
addLiquidityDualScyAndPt(
|
|
607
606
|
receiver: string,
|
|
608
607
|
market: string,
|
|
609
|
-
|
|
608
|
+
scyDesired: BigNumberish,
|
|
610
609
|
ptDesired: BigNumberish,
|
|
611
610
|
minLpOut: BigNumberish,
|
|
612
611
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
613
612
|
): Promise<ContractTransaction>;
|
|
614
613
|
|
|
615
|
-
|
|
614
|
+
addLiquidityDualTokenAndPt(
|
|
616
615
|
receiver: string,
|
|
617
616
|
market: string,
|
|
618
|
-
|
|
617
|
+
tokenIn: string,
|
|
618
|
+
tokenDesired: BigNumberish,
|
|
619
619
|
ptDesired: BigNumberish,
|
|
620
620
|
minLpOut: BigNumberish,
|
|
621
621
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -704,20 +704,21 @@ export interface IPAllAction extends BaseContract {
|
|
|
704
704
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
705
705
|
): Promise<ContractTransaction>;
|
|
706
706
|
|
|
707
|
-
|
|
707
|
+
removeLiquidityDualScyAndPt(
|
|
708
708
|
receiver: string,
|
|
709
709
|
market: string,
|
|
710
710
|
lpToRemove: BigNumberish,
|
|
711
|
-
|
|
711
|
+
scyOutMin: BigNumberish,
|
|
712
712
|
ptOutMin: BigNumberish,
|
|
713
713
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
714
714
|
): Promise<ContractTransaction>;
|
|
715
715
|
|
|
716
|
-
|
|
716
|
+
removeLiquidityDualTokenAndPt(
|
|
717
717
|
receiver: string,
|
|
718
718
|
market: string,
|
|
719
719
|
lpToRemove: BigNumberish,
|
|
720
|
-
|
|
720
|
+
tokenOut: string,
|
|
721
|
+
tokenOutMin: BigNumberish,
|
|
721
722
|
ptOutMin: BigNumberish,
|
|
722
723
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
723
724
|
): Promise<ContractTransaction>;
|
|
@@ -850,19 +851,20 @@ export interface IPAllAction extends BaseContract {
|
|
|
850
851
|
): Promise<ContractTransaction>;
|
|
851
852
|
};
|
|
852
853
|
|
|
853
|
-
|
|
854
|
+
addLiquidityDualScyAndPt(
|
|
854
855
|
receiver: string,
|
|
855
856
|
market: string,
|
|
856
|
-
|
|
857
|
+
scyDesired: BigNumberish,
|
|
857
858
|
ptDesired: BigNumberish,
|
|
858
859
|
minLpOut: BigNumberish,
|
|
859
860
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
860
861
|
): Promise<ContractTransaction>;
|
|
861
862
|
|
|
862
|
-
|
|
863
|
+
addLiquidityDualTokenAndPt(
|
|
863
864
|
receiver: string,
|
|
864
865
|
market: string,
|
|
865
|
-
|
|
866
|
+
tokenIn: string,
|
|
867
|
+
tokenDesired: BigNumberish,
|
|
866
868
|
ptDesired: BigNumberish,
|
|
867
869
|
minLpOut: BigNumberish,
|
|
868
870
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -951,20 +953,21 @@ export interface IPAllAction extends BaseContract {
|
|
|
951
953
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
952
954
|
): Promise<ContractTransaction>;
|
|
953
955
|
|
|
954
|
-
|
|
956
|
+
removeLiquidityDualScyAndPt(
|
|
955
957
|
receiver: string,
|
|
956
958
|
market: string,
|
|
957
959
|
lpToRemove: BigNumberish,
|
|
958
|
-
|
|
960
|
+
scyOutMin: BigNumberish,
|
|
959
961
|
ptOutMin: BigNumberish,
|
|
960
962
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
961
963
|
): Promise<ContractTransaction>;
|
|
962
964
|
|
|
963
|
-
|
|
965
|
+
removeLiquidityDualTokenAndPt(
|
|
964
966
|
receiver: string,
|
|
965
967
|
market: string,
|
|
966
968
|
lpToRemove: BigNumberish,
|
|
967
|
-
|
|
969
|
+
tokenOut: string,
|
|
970
|
+
tokenOutMin: BigNumberish,
|
|
968
971
|
ptOutMin: BigNumberish,
|
|
969
972
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
970
973
|
): Promise<ContractTransaction>;
|
|
@@ -1097,32 +1100,33 @@ export interface IPAllAction extends BaseContract {
|
|
|
1097
1100
|
): Promise<ContractTransaction>;
|
|
1098
1101
|
|
|
1099
1102
|
callStatic: {
|
|
1100
|
-
|
|
1103
|
+
addLiquidityDualScyAndPt(
|
|
1101
1104
|
receiver: string,
|
|
1102
1105
|
market: string,
|
|
1103
|
-
|
|
1106
|
+
scyDesired: BigNumberish,
|
|
1104
1107
|
ptDesired: BigNumberish,
|
|
1105
1108
|
minLpOut: BigNumberish,
|
|
1106
1109
|
overrides?: CallOverrides
|
|
1107
1110
|
): Promise<
|
|
1108
1111
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1109
1112
|
netLpOut: BigNumber;
|
|
1110
|
-
|
|
1113
|
+
scyUsed: BigNumber;
|
|
1111
1114
|
ptUsed: BigNumber;
|
|
1112
1115
|
}
|
|
1113
1116
|
>;
|
|
1114
1117
|
|
|
1115
|
-
|
|
1118
|
+
addLiquidityDualTokenAndPt(
|
|
1116
1119
|
receiver: string,
|
|
1117
1120
|
market: string,
|
|
1118
|
-
|
|
1121
|
+
tokenIn: string,
|
|
1122
|
+
tokenDesired: BigNumberish,
|
|
1119
1123
|
ptDesired: BigNumberish,
|
|
1120
1124
|
minLpOut: BigNumberish,
|
|
1121
1125
|
overrides?: CallOverrides
|
|
1122
1126
|
): Promise<
|
|
1123
1127
|
[BigNumber, BigNumber, BigNumber] & {
|
|
1124
1128
|
netLpOut: BigNumber;
|
|
1125
|
-
|
|
1129
|
+
tokenUsed: BigNumber;
|
|
1126
1130
|
ptUsed: BigNumber;
|
|
1127
1131
|
}
|
|
1128
1132
|
>;
|
|
@@ -1217,26 +1221,27 @@ export interface IPAllAction extends BaseContract {
|
|
|
1217
1221
|
overrides?: CallOverrides
|
|
1218
1222
|
): Promise<BigNumber>;
|
|
1219
1223
|
|
|
1220
|
-
|
|
1224
|
+
removeLiquidityDualScyAndPt(
|
|
1221
1225
|
receiver: string,
|
|
1222
1226
|
market: string,
|
|
1223
1227
|
lpToRemove: BigNumberish,
|
|
1224
|
-
|
|
1228
|
+
scyOutMin: BigNumberish,
|
|
1225
1229
|
ptOutMin: BigNumberish,
|
|
1226
1230
|
overrides?: CallOverrides
|
|
1227
1231
|
): Promise<
|
|
1228
|
-
[BigNumber, BigNumber] & {
|
|
1232
|
+
[BigNumber, BigNumber] & { netScyOut: BigNumber; netPtOut: BigNumber }
|
|
1229
1233
|
>;
|
|
1230
1234
|
|
|
1231
|
-
|
|
1235
|
+
removeLiquidityDualTokenAndPt(
|
|
1232
1236
|
receiver: string,
|
|
1233
1237
|
market: string,
|
|
1234
1238
|
lpToRemove: BigNumberish,
|
|
1235
|
-
|
|
1239
|
+
tokenOut: string,
|
|
1240
|
+
tokenOutMin: BigNumberish,
|
|
1236
1241
|
ptOutMin: BigNumberish,
|
|
1237
1242
|
overrides?: CallOverrides
|
|
1238
1243
|
): Promise<
|
|
1239
|
-
[BigNumber, BigNumber] & {
|
|
1244
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1240
1245
|
>;
|
|
1241
1246
|
|
|
1242
1247
|
removeLiquiditySinglePt(
|
|
@@ -1368,39 +1373,41 @@ export interface IPAllAction extends BaseContract {
|
|
|
1368
1373
|
};
|
|
1369
1374
|
|
|
1370
1375
|
filters: {
|
|
1371
|
-
"
|
|
1376
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1372
1377
|
caller?: string | null,
|
|
1373
1378
|
market?: string | null,
|
|
1374
1379
|
receiver?: string | null,
|
|
1375
|
-
|
|
1380
|
+
scyUsed?: null,
|
|
1376
1381
|
ptUsed?: null,
|
|
1377
1382
|
lpOut?: null
|
|
1378
|
-
):
|
|
1379
|
-
|
|
1383
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1384
|
+
AddLiquidityDualScyAndPt(
|
|
1380
1385
|
caller?: string | null,
|
|
1381
1386
|
market?: string | null,
|
|
1382
1387
|
receiver?: string | null,
|
|
1383
|
-
|
|
1388
|
+
scyUsed?: null,
|
|
1384
1389
|
ptUsed?: null,
|
|
1385
1390
|
lpOut?: null
|
|
1386
|
-
):
|
|
1391
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1387
1392
|
|
|
1388
|
-
"
|
|
1393
|
+
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
|
|
1389
1394
|
caller?: string | null,
|
|
1390
1395
|
market?: string | null,
|
|
1391
1396
|
receiver?: string | null,
|
|
1392
|
-
|
|
1397
|
+
tokenIn?: null,
|
|
1398
|
+
tokenUsed?: null,
|
|
1393
1399
|
ptUsed?: null,
|
|
1394
1400
|
lpOut?: null
|
|
1395
|
-
):
|
|
1396
|
-
|
|
1401
|
+
): AddLiquidityDualTokenAndPtEventFilter;
|
|
1402
|
+
AddLiquidityDualTokenAndPt(
|
|
1397
1403
|
caller?: string | null,
|
|
1398
1404
|
market?: string | null,
|
|
1399
1405
|
receiver?: string | null,
|
|
1400
|
-
|
|
1406
|
+
tokenIn?: null,
|
|
1407
|
+
tokenUsed?: null,
|
|
1401
1408
|
ptUsed?: null,
|
|
1402
1409
|
lpOut?: null
|
|
1403
|
-
):
|
|
1410
|
+
): AddLiquidityDualTokenAndPtEventFilter;
|
|
1404
1411
|
|
|
1405
1412
|
"MintPyFromScy(address,address,address,uint256,uint256)"(
|
|
1406
1413
|
caller?: string | null,
|
|
@@ -1521,7 +1528,7 @@ export interface IPAllAction extends BaseContract {
|
|
|
1521
1528
|
caller?: string | null,
|
|
1522
1529
|
market?: string | null,
|
|
1523
1530
|
receiver?: null,
|
|
1524
|
-
|
|
1531
|
+
netlpIn?: null,
|
|
1525
1532
|
amountPTOut?: null,
|
|
1526
1533
|
amountSCYOut?: null
|
|
1527
1534
|
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
@@ -1529,7 +1536,7 @@ export interface IPAllAction extends BaseContract {
|
|
|
1529
1536
|
caller?: string | null,
|
|
1530
1537
|
market?: string | null,
|
|
1531
1538
|
receiver?: null,
|
|
1532
|
-
|
|
1539
|
+
netlpIn?: null,
|
|
1533
1540
|
amountPTOut?: null,
|
|
1534
1541
|
amountSCYOut?: null
|
|
1535
1542
|
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
@@ -1596,19 +1603,20 @@ export interface IPAllAction extends BaseContract {
|
|
|
1596
1603
|
};
|
|
1597
1604
|
|
|
1598
1605
|
estimateGas: {
|
|
1599
|
-
|
|
1606
|
+
addLiquidityDualScyAndPt(
|
|
1600
1607
|
receiver: string,
|
|
1601
1608
|
market: string,
|
|
1602
|
-
|
|
1609
|
+
scyDesired: BigNumberish,
|
|
1603
1610
|
ptDesired: BigNumberish,
|
|
1604
1611
|
minLpOut: BigNumberish,
|
|
1605
1612
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1606
1613
|
): Promise<BigNumber>;
|
|
1607
1614
|
|
|
1608
|
-
|
|
1615
|
+
addLiquidityDualTokenAndPt(
|
|
1609
1616
|
receiver: string,
|
|
1610
1617
|
market: string,
|
|
1611
|
-
|
|
1618
|
+
tokenIn: string,
|
|
1619
|
+
tokenDesired: BigNumberish,
|
|
1612
1620
|
ptDesired: BigNumberish,
|
|
1613
1621
|
minLpOut: BigNumberish,
|
|
1614
1622
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1697,20 +1705,21 @@ export interface IPAllAction extends BaseContract {
|
|
|
1697
1705
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1698
1706
|
): Promise<BigNumber>;
|
|
1699
1707
|
|
|
1700
|
-
|
|
1708
|
+
removeLiquidityDualScyAndPt(
|
|
1701
1709
|
receiver: string,
|
|
1702
1710
|
market: string,
|
|
1703
1711
|
lpToRemove: BigNumberish,
|
|
1704
|
-
|
|
1712
|
+
scyOutMin: BigNumberish,
|
|
1705
1713
|
ptOutMin: BigNumberish,
|
|
1706
1714
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1707
1715
|
): Promise<BigNumber>;
|
|
1708
1716
|
|
|
1709
|
-
|
|
1717
|
+
removeLiquidityDualTokenAndPt(
|
|
1710
1718
|
receiver: string,
|
|
1711
1719
|
market: string,
|
|
1712
1720
|
lpToRemove: BigNumberish,
|
|
1713
|
-
|
|
1721
|
+
tokenOut: string,
|
|
1722
|
+
tokenOutMin: BigNumberish,
|
|
1714
1723
|
ptOutMin: BigNumberish,
|
|
1715
1724
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1716
1725
|
): Promise<BigNumber>;
|
|
@@ -1844,19 +1853,20 @@ export interface IPAllAction extends BaseContract {
|
|
|
1844
1853
|
};
|
|
1845
1854
|
|
|
1846
1855
|
populateTransaction: {
|
|
1847
|
-
|
|
1856
|
+
addLiquidityDualScyAndPt(
|
|
1848
1857
|
receiver: string,
|
|
1849
1858
|
market: string,
|
|
1850
|
-
|
|
1859
|
+
scyDesired: BigNumberish,
|
|
1851
1860
|
ptDesired: BigNumberish,
|
|
1852
1861
|
minLpOut: BigNumberish,
|
|
1853
1862
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1854
1863
|
): Promise<PopulatedTransaction>;
|
|
1855
1864
|
|
|
1856
|
-
|
|
1865
|
+
addLiquidityDualTokenAndPt(
|
|
1857
1866
|
receiver: string,
|
|
1858
1867
|
market: string,
|
|
1859
|
-
|
|
1868
|
+
tokenIn: string,
|
|
1869
|
+
tokenDesired: BigNumberish,
|
|
1860
1870
|
ptDesired: BigNumberish,
|
|
1861
1871
|
minLpOut: BigNumberish,
|
|
1862
1872
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1945,20 +1955,21 @@ export interface IPAllAction extends BaseContract {
|
|
|
1945
1955
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1946
1956
|
): Promise<PopulatedTransaction>;
|
|
1947
1957
|
|
|
1948
|
-
|
|
1958
|
+
removeLiquidityDualScyAndPt(
|
|
1949
1959
|
receiver: string,
|
|
1950
1960
|
market: string,
|
|
1951
1961
|
lpToRemove: BigNumberish,
|
|
1952
|
-
|
|
1962
|
+
scyOutMin: BigNumberish,
|
|
1953
1963
|
ptOutMin: BigNumberish,
|
|
1954
1964
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1955
1965
|
): Promise<PopulatedTransaction>;
|
|
1956
1966
|
|
|
1957
|
-
|
|
1967
|
+
removeLiquidityDualTokenAndPt(
|
|
1958
1968
|
receiver: string,
|
|
1959
1969
|
market: string,
|
|
1960
1970
|
lpToRemove: BigNumberish,
|
|
1961
|
-
|
|
1971
|
+
tokenOut: string,
|
|
1972
|
+
tokenOutMin: BigNumberish,
|
|
1962
1973
|
ptOutMin: BigNumberish,
|
|
1963
1974
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1964
1975
|
): Promise<PopulatedTransaction>;
|