@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 IPActionCoreInterface extends utils.Interface {
|
|
76
76
|
contractName: "IPActionCore";
|
|
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 IPActionCoreInterface 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;
|
|
@@ -101,12 +101,12 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
encodeFunctionData(
|
|
104
|
-
functionFragment: "
|
|
104
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
105
105
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
106
106
|
): string;
|
|
107
107
|
encodeFunctionData(
|
|
108
|
-
functionFragment: "
|
|
109
|
-
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
108
|
+
functionFragment: "addLiquidityDualTokenAndPt",
|
|
109
|
+
values: [string, string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
110
110
|
): string;
|
|
111
111
|
encodeFunctionData(
|
|
112
112
|
functionFragment: "addLiquiditySinglePt",
|
|
@@ -149,12 +149,12 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
149
149
|
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
150
150
|
): string;
|
|
151
151
|
encodeFunctionData(
|
|
152
|
-
functionFragment: "
|
|
152
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
153
153
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
154
154
|
): string;
|
|
155
155
|
encodeFunctionData(
|
|
156
|
-
functionFragment: "
|
|
157
|
-
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
156
|
+
functionFragment: "removeLiquidityDualTokenAndPt",
|
|
157
|
+
values: [string, string, BigNumberish, string, BigNumberish, BigNumberish]
|
|
158
158
|
): string;
|
|
159
159
|
encodeFunctionData(
|
|
160
160
|
functionFragment: "removeLiquiditySinglePt",
|
|
@@ -194,11 +194,11 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
194
194
|
): string;
|
|
195
195
|
|
|
196
196
|
decodeFunctionResult(
|
|
197
|
-
functionFragment: "
|
|
197
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
198
198
|
data: BytesLike
|
|
199
199
|
): Result;
|
|
200
200
|
decodeFunctionResult(
|
|
201
|
-
functionFragment: "
|
|
201
|
+
functionFragment: "addLiquidityDualTokenAndPt",
|
|
202
202
|
data: BytesLike
|
|
203
203
|
): Result;
|
|
204
204
|
decodeFunctionResult(
|
|
@@ -242,11 +242,11 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
242
242
|
data: BytesLike
|
|
243
243
|
): Result;
|
|
244
244
|
decodeFunctionResult(
|
|
245
|
-
functionFragment: "
|
|
245
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
246
246
|
data: BytesLike
|
|
247
247
|
): Result;
|
|
248
248
|
decodeFunctionResult(
|
|
249
|
-
functionFragment: "
|
|
249
|
+
functionFragment: "removeLiquidityDualTokenAndPt",
|
|
250
250
|
data: BytesLike
|
|
251
251
|
): Result;
|
|
252
252
|
decodeFunctionResult(
|
|
@@ -287,8 +287,8 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
287
287
|
): Result;
|
|
288
288
|
|
|
289
289
|
events: {
|
|
290
|
-
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
291
290
|
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
291
|
+
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
292
292
|
"MintPyFromScy(address,address,address,uint256,uint256)": EventFragment;
|
|
293
293
|
"MintPyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
294
294
|
"MintScyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
@@ -301,10 +301,8 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
301
301
|
"SwapPtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
-
getEvent(
|
|
305
|
-
nameOrSignatureOrTopic: "AddLiquidityDualIbTokenAndPt"
|
|
306
|
-
): EventFragment;
|
|
307
304
|
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualScyAndPt"): EventFragment;
|
|
305
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualTokenAndPt"): EventFragment;
|
|
308
306
|
getEvent(nameOrSignatureOrTopic: "MintPyFromScy"): EventFragment;
|
|
309
307
|
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
310
308
|
getEvent(nameOrSignatureOrTopic: "MintScyFromToken"): EventFragment;
|
|
@@ -321,35 +319,36 @@ export interface IPActionCoreInterface extends utils.Interface {
|
|
|
321
319
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
322
320
|
}
|
|
323
321
|
|
|
324
|
-
export type
|
|
322
|
+
export type AddLiquidityDualScyAndPtEvent = TypedEvent<
|
|
325
323
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
326
324
|
{
|
|
327
325
|
caller: string;
|
|
328
326
|
market: string;
|
|
329
327
|
receiver: string;
|
|
330
|
-
|
|
328
|
+
scyUsed: BigNumber;
|
|
331
329
|
ptUsed: BigNumber;
|
|
332
330
|
lpOut: BigNumber;
|
|
333
331
|
}
|
|
334
332
|
>;
|
|
335
333
|
|
|
336
|
-
export type
|
|
337
|
-
TypedEventFilter<
|
|
334
|
+
export type AddLiquidityDualScyAndPtEventFilter =
|
|
335
|
+
TypedEventFilter<AddLiquidityDualScyAndPtEvent>;
|
|
338
336
|
|
|
339
|
-
export type
|
|
340
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
337
|
+
export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
338
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber],
|
|
341
339
|
{
|
|
342
340
|
caller: string;
|
|
343
341
|
market: string;
|
|
344
342
|
receiver: string;
|
|
345
|
-
|
|
343
|
+
tokenIn: string;
|
|
344
|
+
tokenUsed: BigNumber;
|
|
346
345
|
ptUsed: BigNumber;
|
|
347
346
|
lpOut: BigNumber;
|
|
348
347
|
}
|
|
349
348
|
>;
|
|
350
349
|
|
|
351
|
-
export type
|
|
352
|
-
TypedEventFilter<
|
|
350
|
+
export type AddLiquidityDualTokenAndPtEventFilter =
|
|
351
|
+
TypedEventFilter<AddLiquidityDualTokenAndPtEvent>;
|
|
353
352
|
|
|
354
353
|
export type MintPyFromScyEvent = TypedEvent<
|
|
355
354
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -456,7 +455,7 @@ export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
|
456
455
|
caller: string;
|
|
457
456
|
market: string;
|
|
458
457
|
receiver: string;
|
|
459
|
-
|
|
458
|
+
netlpIn: BigNumber;
|
|
460
459
|
amountPTOut: BigNumber;
|
|
461
460
|
amountSCYOut: BigNumber;
|
|
462
461
|
}
|
|
@@ -520,19 +519,20 @@ export interface IPActionCore extends BaseContract {
|
|
|
520
519
|
removeListener: OnEvent<this>;
|
|
521
520
|
|
|
522
521
|
functions: {
|
|
523
|
-
|
|
522
|
+
addLiquidityDualScyAndPt(
|
|
524
523
|
receiver: string,
|
|
525
524
|
market: string,
|
|
526
|
-
|
|
525
|
+
scyDesired: BigNumberish,
|
|
527
526
|
ptDesired: BigNumberish,
|
|
528
527
|
minLpOut: BigNumberish,
|
|
529
528
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
530
529
|
): Promise<ContractTransaction>;
|
|
531
530
|
|
|
532
|
-
|
|
531
|
+
addLiquidityDualTokenAndPt(
|
|
533
532
|
receiver: string,
|
|
534
533
|
market: string,
|
|
535
|
-
|
|
534
|
+
tokenIn: string,
|
|
535
|
+
tokenDesired: BigNumberish,
|
|
536
536
|
ptDesired: BigNumberish,
|
|
537
537
|
minLpOut: BigNumberish,
|
|
538
538
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -621,20 +621,21 @@ export interface IPActionCore extends BaseContract {
|
|
|
621
621
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
622
622
|
): Promise<ContractTransaction>;
|
|
623
623
|
|
|
624
|
-
|
|
624
|
+
removeLiquidityDualScyAndPt(
|
|
625
625
|
receiver: string,
|
|
626
626
|
market: string,
|
|
627
627
|
lpToRemove: BigNumberish,
|
|
628
|
-
|
|
628
|
+
scyOutMin: BigNumberish,
|
|
629
629
|
ptOutMin: BigNumberish,
|
|
630
630
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
631
631
|
): Promise<ContractTransaction>;
|
|
632
632
|
|
|
633
|
-
|
|
633
|
+
removeLiquidityDualTokenAndPt(
|
|
634
634
|
receiver: string,
|
|
635
635
|
market: string,
|
|
636
636
|
lpToRemove: BigNumberish,
|
|
637
|
-
|
|
637
|
+
tokenOut: string,
|
|
638
|
+
tokenOutMin: BigNumberish,
|
|
638
639
|
ptOutMin: BigNumberish,
|
|
639
640
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
640
641
|
): Promise<ContractTransaction>;
|
|
@@ -716,19 +717,20 @@ export interface IPActionCore extends BaseContract {
|
|
|
716
717
|
): Promise<ContractTransaction>;
|
|
717
718
|
};
|
|
718
719
|
|
|
719
|
-
|
|
720
|
+
addLiquidityDualScyAndPt(
|
|
720
721
|
receiver: string,
|
|
721
722
|
market: string,
|
|
722
|
-
|
|
723
|
+
scyDesired: BigNumberish,
|
|
723
724
|
ptDesired: BigNumberish,
|
|
724
725
|
minLpOut: BigNumberish,
|
|
725
726
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
726
727
|
): Promise<ContractTransaction>;
|
|
727
728
|
|
|
728
|
-
|
|
729
|
+
addLiquidityDualTokenAndPt(
|
|
729
730
|
receiver: string,
|
|
730
731
|
market: string,
|
|
731
|
-
|
|
732
|
+
tokenIn: string,
|
|
733
|
+
tokenDesired: BigNumberish,
|
|
732
734
|
ptDesired: BigNumberish,
|
|
733
735
|
minLpOut: BigNumberish,
|
|
734
736
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -817,20 +819,21 @@ export interface IPActionCore extends BaseContract {
|
|
|
817
819
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
818
820
|
): Promise<ContractTransaction>;
|
|
819
821
|
|
|
820
|
-
|
|
822
|
+
removeLiquidityDualScyAndPt(
|
|
821
823
|
receiver: string,
|
|
822
824
|
market: string,
|
|
823
825
|
lpToRemove: BigNumberish,
|
|
824
|
-
|
|
826
|
+
scyOutMin: BigNumberish,
|
|
825
827
|
ptOutMin: BigNumberish,
|
|
826
828
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
827
829
|
): Promise<ContractTransaction>;
|
|
828
830
|
|
|
829
|
-
|
|
831
|
+
removeLiquidityDualTokenAndPt(
|
|
830
832
|
receiver: string,
|
|
831
833
|
market: string,
|
|
832
834
|
lpToRemove: BigNumberish,
|
|
833
|
-
|
|
835
|
+
tokenOut: string,
|
|
836
|
+
tokenOutMin: BigNumberish,
|
|
834
837
|
ptOutMin: BigNumberish,
|
|
835
838
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
836
839
|
): Promise<ContractTransaction>;
|
|
@@ -912,32 +915,33 @@ export interface IPActionCore extends BaseContract {
|
|
|
912
915
|
): Promise<ContractTransaction>;
|
|
913
916
|
|
|
914
917
|
callStatic: {
|
|
915
|
-
|
|
918
|
+
addLiquidityDualScyAndPt(
|
|
916
919
|
receiver: string,
|
|
917
920
|
market: string,
|
|
918
|
-
|
|
921
|
+
scyDesired: BigNumberish,
|
|
919
922
|
ptDesired: BigNumberish,
|
|
920
923
|
minLpOut: BigNumberish,
|
|
921
924
|
overrides?: CallOverrides
|
|
922
925
|
): Promise<
|
|
923
926
|
[BigNumber, BigNumber, BigNumber] & {
|
|
924
927
|
netLpOut: BigNumber;
|
|
925
|
-
|
|
928
|
+
scyUsed: BigNumber;
|
|
926
929
|
ptUsed: BigNumber;
|
|
927
930
|
}
|
|
928
931
|
>;
|
|
929
932
|
|
|
930
|
-
|
|
933
|
+
addLiquidityDualTokenAndPt(
|
|
931
934
|
receiver: string,
|
|
932
935
|
market: string,
|
|
933
|
-
|
|
936
|
+
tokenIn: string,
|
|
937
|
+
tokenDesired: BigNumberish,
|
|
934
938
|
ptDesired: BigNumberish,
|
|
935
939
|
minLpOut: BigNumberish,
|
|
936
940
|
overrides?: CallOverrides
|
|
937
941
|
): Promise<
|
|
938
942
|
[BigNumber, BigNumber, BigNumber] & {
|
|
939
943
|
netLpOut: BigNumber;
|
|
940
|
-
|
|
944
|
+
tokenUsed: BigNumber;
|
|
941
945
|
ptUsed: BigNumber;
|
|
942
946
|
}
|
|
943
947
|
>;
|
|
@@ -1032,26 +1036,27 @@ export interface IPActionCore extends BaseContract {
|
|
|
1032
1036
|
overrides?: CallOverrides
|
|
1033
1037
|
): Promise<BigNumber>;
|
|
1034
1038
|
|
|
1035
|
-
|
|
1039
|
+
removeLiquidityDualScyAndPt(
|
|
1036
1040
|
receiver: string,
|
|
1037
1041
|
market: string,
|
|
1038
1042
|
lpToRemove: BigNumberish,
|
|
1039
|
-
|
|
1043
|
+
scyOutMin: BigNumberish,
|
|
1040
1044
|
ptOutMin: BigNumberish,
|
|
1041
1045
|
overrides?: CallOverrides
|
|
1042
1046
|
): Promise<
|
|
1043
|
-
[BigNumber, BigNumber] & {
|
|
1047
|
+
[BigNumber, BigNumber] & { netScyOut: BigNumber; netPtOut: BigNumber }
|
|
1044
1048
|
>;
|
|
1045
1049
|
|
|
1046
|
-
|
|
1050
|
+
removeLiquidityDualTokenAndPt(
|
|
1047
1051
|
receiver: string,
|
|
1048
1052
|
market: string,
|
|
1049
1053
|
lpToRemove: BigNumberish,
|
|
1050
|
-
|
|
1054
|
+
tokenOut: string,
|
|
1055
|
+
tokenOutMin: BigNumberish,
|
|
1051
1056
|
ptOutMin: BigNumberish,
|
|
1052
1057
|
overrides?: CallOverrides
|
|
1053
1058
|
): Promise<
|
|
1054
|
-
[BigNumber, BigNumber] & {
|
|
1059
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1055
1060
|
>;
|
|
1056
1061
|
|
|
1057
1062
|
removeLiquiditySinglePt(
|
|
@@ -1132,39 +1137,41 @@ export interface IPActionCore extends BaseContract {
|
|
|
1132
1137
|
};
|
|
1133
1138
|
|
|
1134
1139
|
filters: {
|
|
1135
|
-
"
|
|
1140
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1136
1141
|
caller?: string | null,
|
|
1137
1142
|
market?: string | null,
|
|
1138
1143
|
receiver?: string | null,
|
|
1139
|
-
|
|
1144
|
+
scyUsed?: null,
|
|
1140
1145
|
ptUsed?: null,
|
|
1141
1146
|
lpOut?: null
|
|
1142
|
-
):
|
|
1143
|
-
|
|
1147
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1148
|
+
AddLiquidityDualScyAndPt(
|
|
1144
1149
|
caller?: string | null,
|
|
1145
1150
|
market?: string | null,
|
|
1146
1151
|
receiver?: string | null,
|
|
1147
|
-
|
|
1152
|
+
scyUsed?: null,
|
|
1148
1153
|
ptUsed?: null,
|
|
1149
1154
|
lpOut?: null
|
|
1150
|
-
):
|
|
1155
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1151
1156
|
|
|
1152
|
-
"
|
|
1157
|
+
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
|
|
1153
1158
|
caller?: string | null,
|
|
1154
1159
|
market?: string | null,
|
|
1155
1160
|
receiver?: string | null,
|
|
1156
|
-
|
|
1161
|
+
tokenIn?: null,
|
|
1162
|
+
tokenUsed?: null,
|
|
1157
1163
|
ptUsed?: null,
|
|
1158
1164
|
lpOut?: null
|
|
1159
|
-
):
|
|
1160
|
-
|
|
1165
|
+
): AddLiquidityDualTokenAndPtEventFilter;
|
|
1166
|
+
AddLiquidityDualTokenAndPt(
|
|
1161
1167
|
caller?: string | null,
|
|
1162
1168
|
market?: string | null,
|
|
1163
1169
|
receiver?: string | null,
|
|
1164
|
-
|
|
1170
|
+
tokenIn?: null,
|
|
1171
|
+
tokenUsed?: null,
|
|
1165
1172
|
ptUsed?: null,
|
|
1166
1173
|
lpOut?: null
|
|
1167
|
-
):
|
|
1174
|
+
): AddLiquidityDualTokenAndPtEventFilter;
|
|
1168
1175
|
|
|
1169
1176
|
"MintPyFromScy(address,address,address,uint256,uint256)"(
|
|
1170
1177
|
caller?: string | null,
|
|
@@ -1285,7 +1292,7 @@ export interface IPActionCore extends BaseContract {
|
|
|
1285
1292
|
caller?: string | null,
|
|
1286
1293
|
market?: string | null,
|
|
1287
1294
|
receiver?: null,
|
|
1288
|
-
|
|
1295
|
+
netlpIn?: null,
|
|
1289
1296
|
amountPTOut?: null,
|
|
1290
1297
|
amountSCYOut?: null
|
|
1291
1298
|
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
@@ -1293,7 +1300,7 @@ export interface IPActionCore extends BaseContract {
|
|
|
1293
1300
|
caller?: string | null,
|
|
1294
1301
|
market?: string | null,
|
|
1295
1302
|
receiver?: null,
|
|
1296
|
-
|
|
1303
|
+
netlpIn?: null,
|
|
1297
1304
|
amountPTOut?: null,
|
|
1298
1305
|
amountSCYOut?: null
|
|
1299
1306
|
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
@@ -1332,19 +1339,20 @@ export interface IPActionCore extends BaseContract {
|
|
|
1332
1339
|
};
|
|
1333
1340
|
|
|
1334
1341
|
estimateGas: {
|
|
1335
|
-
|
|
1342
|
+
addLiquidityDualScyAndPt(
|
|
1336
1343
|
receiver: string,
|
|
1337
1344
|
market: string,
|
|
1338
|
-
|
|
1345
|
+
scyDesired: BigNumberish,
|
|
1339
1346
|
ptDesired: BigNumberish,
|
|
1340
1347
|
minLpOut: BigNumberish,
|
|
1341
1348
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1342
1349
|
): Promise<BigNumber>;
|
|
1343
1350
|
|
|
1344
|
-
|
|
1351
|
+
addLiquidityDualTokenAndPt(
|
|
1345
1352
|
receiver: string,
|
|
1346
1353
|
market: string,
|
|
1347
|
-
|
|
1354
|
+
tokenIn: string,
|
|
1355
|
+
tokenDesired: BigNumberish,
|
|
1348
1356
|
ptDesired: BigNumberish,
|
|
1349
1357
|
minLpOut: BigNumberish,
|
|
1350
1358
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1433,20 +1441,21 @@ export interface IPActionCore extends BaseContract {
|
|
|
1433
1441
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1434
1442
|
): Promise<BigNumber>;
|
|
1435
1443
|
|
|
1436
|
-
|
|
1444
|
+
removeLiquidityDualScyAndPt(
|
|
1437
1445
|
receiver: string,
|
|
1438
1446
|
market: string,
|
|
1439
1447
|
lpToRemove: BigNumberish,
|
|
1440
|
-
|
|
1448
|
+
scyOutMin: BigNumberish,
|
|
1441
1449
|
ptOutMin: BigNumberish,
|
|
1442
1450
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1443
1451
|
): Promise<BigNumber>;
|
|
1444
1452
|
|
|
1445
|
-
|
|
1453
|
+
removeLiquidityDualTokenAndPt(
|
|
1446
1454
|
receiver: string,
|
|
1447
1455
|
market: string,
|
|
1448
1456
|
lpToRemove: BigNumberish,
|
|
1449
|
-
|
|
1457
|
+
tokenOut: string,
|
|
1458
|
+
tokenOutMin: BigNumberish,
|
|
1450
1459
|
ptOutMin: BigNumberish,
|
|
1451
1460
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1452
1461
|
): Promise<BigNumber>;
|
|
@@ -1529,19 +1538,20 @@ export interface IPActionCore extends BaseContract {
|
|
|
1529
1538
|
};
|
|
1530
1539
|
|
|
1531
1540
|
populateTransaction: {
|
|
1532
|
-
|
|
1541
|
+
addLiquidityDualScyAndPt(
|
|
1533
1542
|
receiver: string,
|
|
1534
1543
|
market: string,
|
|
1535
|
-
|
|
1544
|
+
scyDesired: BigNumberish,
|
|
1536
1545
|
ptDesired: BigNumberish,
|
|
1537
1546
|
minLpOut: BigNumberish,
|
|
1538
1547
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1539
1548
|
): Promise<PopulatedTransaction>;
|
|
1540
1549
|
|
|
1541
|
-
|
|
1550
|
+
addLiquidityDualTokenAndPt(
|
|
1542
1551
|
receiver: string,
|
|
1543
1552
|
market: string,
|
|
1544
|
-
|
|
1553
|
+
tokenIn: string,
|
|
1554
|
+
tokenDesired: BigNumberish,
|
|
1545
1555
|
ptDesired: BigNumberish,
|
|
1546
1556
|
minLpOut: BigNumberish,
|
|
1547
1557
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1630,20 +1640,21 @@ export interface IPActionCore extends BaseContract {
|
|
|
1630
1640
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1631
1641
|
): Promise<PopulatedTransaction>;
|
|
1632
1642
|
|
|
1633
|
-
|
|
1643
|
+
removeLiquidityDualScyAndPt(
|
|
1634
1644
|
receiver: string,
|
|
1635
1645
|
market: string,
|
|
1636
1646
|
lpToRemove: BigNumberish,
|
|
1637
|
-
|
|
1647
|
+
scyOutMin: BigNumberish,
|
|
1638
1648
|
ptOutMin: BigNumberish,
|
|
1639
1649
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1640
1650
|
): Promise<PopulatedTransaction>;
|
|
1641
1651
|
|
|
1642
|
-
|
|
1652
|
+
removeLiquidityDualTokenAndPt(
|
|
1643
1653
|
receiver: string,
|
|
1644
1654
|
market: string,
|
|
1645
1655
|
lpToRemove: BigNumberish,
|
|
1646
|
-
|
|
1656
|
+
tokenOut: string,
|
|
1657
|
+
tokenOutMin: BigNumberish,
|
|
1647
1658
|
ptOutMin: BigNumberish,
|
|
1648
1659
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1649
1660
|
): Promise<PopulatedTransaction>;
|