@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 ActionCoreInterface extends utils.Interface {
|
|
76
76
|
contractName: "ActionCore";
|
|
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;
|
|
@@ -88,8 +88,8 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
88
88
|
"redeemPyToScy(address,address,uint256,uint256)": FunctionFragment;
|
|
89
89
|
"redeemPyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
90
90
|
"redeemScyToToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
91
|
-
"removeLiquidityDualIbTokenAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
92
91
|
"removeLiquidityDualScyAndPt(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
92
|
+
"removeLiquidityDualTokenAndPt(address,address,uint256,address,uint256,uint256)": FunctionFragment;
|
|
93
93
|
"removeLiquiditySinglePt(address,address,uint256,uint256,(uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
|
|
94
94
|
"removeLiquiditySingleScy(address,address,uint256,uint256)": FunctionFragment;
|
|
95
95
|
"removeLiquiditySingleToken(address,address,uint256,(address,uint256,address,bytes))": FunctionFragment;
|
|
@@ -102,12 +102,12 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
encodeFunctionData(
|
|
105
|
-
functionFragment: "
|
|
105
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
106
106
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
107
107
|
): string;
|
|
108
108
|
encodeFunctionData(
|
|
109
|
-
functionFragment: "
|
|
110
|
-
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
109
|
+
functionFragment: "addLiquidityDualTokenAndPt",
|
|
110
|
+
values: [string, string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
111
111
|
): string;
|
|
112
112
|
encodeFunctionData(
|
|
113
113
|
functionFragment: "addLiquiditySinglePt",
|
|
@@ -154,12 +154,12 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
154
154
|
values: [string, string, BigNumberish, TokenOutputStruct]
|
|
155
155
|
): string;
|
|
156
156
|
encodeFunctionData(
|
|
157
|
-
functionFragment: "
|
|
157
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
158
158
|
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
159
159
|
): string;
|
|
160
160
|
encodeFunctionData(
|
|
161
|
-
functionFragment: "
|
|
162
|
-
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
161
|
+
functionFragment: "removeLiquidityDualTokenAndPt",
|
|
162
|
+
values: [string, string, BigNumberish, string, BigNumberish, BigNumberish]
|
|
163
163
|
): string;
|
|
164
164
|
encodeFunctionData(
|
|
165
165
|
functionFragment: "removeLiquiditySinglePt",
|
|
@@ -199,11 +199,11 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
199
199
|
): string;
|
|
200
200
|
|
|
201
201
|
decodeFunctionResult(
|
|
202
|
-
functionFragment: "
|
|
202
|
+
functionFragment: "addLiquidityDualScyAndPt",
|
|
203
203
|
data: BytesLike
|
|
204
204
|
): Result;
|
|
205
205
|
decodeFunctionResult(
|
|
206
|
-
functionFragment: "
|
|
206
|
+
functionFragment: "addLiquidityDualTokenAndPt",
|
|
207
207
|
data: BytesLike
|
|
208
208
|
): Result;
|
|
209
209
|
decodeFunctionResult(
|
|
@@ -251,11 +251,11 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
251
251
|
data: BytesLike
|
|
252
252
|
): Result;
|
|
253
253
|
decodeFunctionResult(
|
|
254
|
-
functionFragment: "
|
|
254
|
+
functionFragment: "removeLiquidityDualScyAndPt",
|
|
255
255
|
data: BytesLike
|
|
256
256
|
): Result;
|
|
257
257
|
decodeFunctionResult(
|
|
258
|
-
functionFragment: "
|
|
258
|
+
functionFragment: "removeLiquidityDualTokenAndPt",
|
|
259
259
|
data: BytesLike
|
|
260
260
|
): Result;
|
|
261
261
|
decodeFunctionResult(
|
|
@@ -296,8 +296,8 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
296
296
|
): Result;
|
|
297
297
|
|
|
298
298
|
events: {
|
|
299
|
-
"AddLiquidityDualIbTokenAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
300
299
|
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
300
|
+
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
301
301
|
"MintPyFromScy(address,address,address,uint256,uint256)": EventFragment;
|
|
302
302
|
"MintPyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
303
303
|
"MintScyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
@@ -310,10 +310,8 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
310
310
|
"SwapPtAndToken(address,address,address,address,int256,int256)": EventFragment;
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
-
getEvent(
|
|
314
|
-
nameOrSignatureOrTopic: "AddLiquidityDualIbTokenAndPt"
|
|
315
|
-
): EventFragment;
|
|
316
313
|
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualScyAndPt"): EventFragment;
|
|
314
|
+
getEvent(nameOrSignatureOrTopic: "AddLiquidityDualTokenAndPt"): EventFragment;
|
|
317
315
|
getEvent(nameOrSignatureOrTopic: "MintPyFromScy"): EventFragment;
|
|
318
316
|
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
319
317
|
getEvent(nameOrSignatureOrTopic: "MintScyFromToken"): EventFragment;
|
|
@@ -330,35 +328,36 @@ export interface ActionCoreInterface extends utils.Interface {
|
|
|
330
328
|
getEvent(nameOrSignatureOrTopic: "SwapPtAndToken"): EventFragment;
|
|
331
329
|
}
|
|
332
330
|
|
|
333
|
-
export type
|
|
331
|
+
export type AddLiquidityDualScyAndPtEvent = TypedEvent<
|
|
334
332
|
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
335
333
|
{
|
|
336
334
|
caller: string;
|
|
337
335
|
market: string;
|
|
338
336
|
receiver: string;
|
|
339
|
-
|
|
337
|
+
scyUsed: BigNumber;
|
|
340
338
|
ptUsed: BigNumber;
|
|
341
339
|
lpOut: BigNumber;
|
|
342
340
|
}
|
|
343
341
|
>;
|
|
344
342
|
|
|
345
|
-
export type
|
|
346
|
-
TypedEventFilter<
|
|
343
|
+
export type AddLiquidityDualScyAndPtEventFilter =
|
|
344
|
+
TypedEventFilter<AddLiquidityDualScyAndPtEvent>;
|
|
347
345
|
|
|
348
|
-
export type
|
|
349
|
-
[string, string, string, BigNumber, BigNumber, BigNumber],
|
|
346
|
+
export type AddLiquidityDualTokenAndPtEvent = TypedEvent<
|
|
347
|
+
[string, string, string, string, BigNumber, BigNumber, BigNumber],
|
|
350
348
|
{
|
|
351
349
|
caller: string;
|
|
352
350
|
market: string;
|
|
353
351
|
receiver: string;
|
|
354
|
-
|
|
352
|
+
tokenIn: string;
|
|
353
|
+
tokenUsed: BigNumber;
|
|
355
354
|
ptUsed: BigNumber;
|
|
356
355
|
lpOut: BigNumber;
|
|
357
356
|
}
|
|
358
357
|
>;
|
|
359
358
|
|
|
360
|
-
export type
|
|
361
|
-
TypedEventFilter<
|
|
359
|
+
export type AddLiquidityDualTokenAndPtEventFilter =
|
|
360
|
+
TypedEventFilter<AddLiquidityDualTokenAndPtEvent>;
|
|
362
361
|
|
|
363
362
|
export type MintPyFromScyEvent = TypedEvent<
|
|
364
363
|
[string, string, string, BigNumber, BigNumber],
|
|
@@ -465,7 +464,7 @@ export type RemoveLiquidityDualScyAndPtEvent = TypedEvent<
|
|
|
465
464
|
caller: string;
|
|
466
465
|
market: string;
|
|
467
466
|
receiver: string;
|
|
468
|
-
|
|
467
|
+
netlpIn: BigNumber;
|
|
469
468
|
amountPTOut: BigNumber;
|
|
470
469
|
amountSCYOut: BigNumber;
|
|
471
470
|
}
|
|
@@ -529,19 +528,20 @@ export interface ActionCore extends BaseContract {
|
|
|
529
528
|
removeListener: OnEvent<this>;
|
|
530
529
|
|
|
531
530
|
functions: {
|
|
532
|
-
|
|
531
|
+
addLiquidityDualScyAndPt(
|
|
533
532
|
receiver: string,
|
|
534
533
|
market: string,
|
|
535
|
-
|
|
534
|
+
scyDesired: BigNumberish,
|
|
536
535
|
ptDesired: BigNumberish,
|
|
537
536
|
minLpOut: BigNumberish,
|
|
538
537
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
539
538
|
): Promise<ContractTransaction>;
|
|
540
539
|
|
|
541
|
-
|
|
540
|
+
addLiquidityDualTokenAndPt(
|
|
542
541
|
receiver: string,
|
|
543
542
|
market: string,
|
|
544
|
-
|
|
543
|
+
tokenIn: string,
|
|
544
|
+
tokenDesired: BigNumberish,
|
|
545
545
|
ptDesired: BigNumberish,
|
|
546
546
|
minLpOut: BigNumberish,
|
|
547
547
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -632,20 +632,21 @@ export interface ActionCore extends BaseContract {
|
|
|
632
632
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
633
633
|
): Promise<ContractTransaction>;
|
|
634
634
|
|
|
635
|
-
|
|
635
|
+
removeLiquidityDualScyAndPt(
|
|
636
636
|
receiver: string,
|
|
637
637
|
market: string,
|
|
638
638
|
lpToRemove: BigNumberish,
|
|
639
|
-
|
|
639
|
+
scyOutMin: BigNumberish,
|
|
640
640
|
ptOutMin: BigNumberish,
|
|
641
641
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
642
642
|
): Promise<ContractTransaction>;
|
|
643
643
|
|
|
644
|
-
|
|
644
|
+
removeLiquidityDualTokenAndPt(
|
|
645
645
|
receiver: string,
|
|
646
646
|
market: string,
|
|
647
647
|
lpToRemove: BigNumberish,
|
|
648
|
-
|
|
648
|
+
tokenOut: string,
|
|
649
|
+
tokenOutMin: BigNumberish,
|
|
649
650
|
ptOutMin: BigNumberish,
|
|
650
651
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
651
652
|
): Promise<ContractTransaction>;
|
|
@@ -727,19 +728,20 @@ export interface ActionCore extends BaseContract {
|
|
|
727
728
|
): Promise<ContractTransaction>;
|
|
728
729
|
};
|
|
729
730
|
|
|
730
|
-
|
|
731
|
+
addLiquidityDualScyAndPt(
|
|
731
732
|
receiver: string,
|
|
732
733
|
market: string,
|
|
733
|
-
|
|
734
|
+
scyDesired: BigNumberish,
|
|
734
735
|
ptDesired: BigNumberish,
|
|
735
736
|
minLpOut: BigNumberish,
|
|
736
737
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
737
738
|
): Promise<ContractTransaction>;
|
|
738
739
|
|
|
739
|
-
|
|
740
|
+
addLiquidityDualTokenAndPt(
|
|
740
741
|
receiver: string,
|
|
741
742
|
market: string,
|
|
742
|
-
|
|
743
|
+
tokenIn: string,
|
|
744
|
+
tokenDesired: BigNumberish,
|
|
743
745
|
ptDesired: BigNumberish,
|
|
744
746
|
minLpOut: BigNumberish,
|
|
745
747
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -830,20 +832,21 @@ export interface ActionCore extends BaseContract {
|
|
|
830
832
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
831
833
|
): Promise<ContractTransaction>;
|
|
832
834
|
|
|
833
|
-
|
|
835
|
+
removeLiquidityDualScyAndPt(
|
|
834
836
|
receiver: string,
|
|
835
837
|
market: string,
|
|
836
838
|
lpToRemove: BigNumberish,
|
|
837
|
-
|
|
839
|
+
scyOutMin: BigNumberish,
|
|
838
840
|
ptOutMin: BigNumberish,
|
|
839
841
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
840
842
|
): Promise<ContractTransaction>;
|
|
841
843
|
|
|
842
|
-
|
|
844
|
+
removeLiquidityDualTokenAndPt(
|
|
843
845
|
receiver: string,
|
|
844
846
|
market: string,
|
|
845
847
|
lpToRemove: BigNumberish,
|
|
846
|
-
|
|
848
|
+
tokenOut: string,
|
|
849
|
+
tokenOutMin: BigNumberish,
|
|
847
850
|
ptOutMin: BigNumberish,
|
|
848
851
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
849
852
|
): Promise<ContractTransaction>;
|
|
@@ -925,32 +928,33 @@ export interface ActionCore extends BaseContract {
|
|
|
925
928
|
): Promise<ContractTransaction>;
|
|
926
929
|
|
|
927
930
|
callStatic: {
|
|
928
|
-
|
|
931
|
+
addLiquidityDualScyAndPt(
|
|
929
932
|
receiver: string,
|
|
930
933
|
market: string,
|
|
931
|
-
|
|
934
|
+
scyDesired: BigNumberish,
|
|
932
935
|
ptDesired: BigNumberish,
|
|
933
936
|
minLpOut: BigNumberish,
|
|
934
937
|
overrides?: CallOverrides
|
|
935
938
|
): Promise<
|
|
936
939
|
[BigNumber, BigNumber, BigNumber] & {
|
|
937
940
|
netLpOut: BigNumber;
|
|
938
|
-
|
|
941
|
+
scyUsed: BigNumber;
|
|
939
942
|
ptUsed: BigNumber;
|
|
940
943
|
}
|
|
941
944
|
>;
|
|
942
945
|
|
|
943
|
-
|
|
946
|
+
addLiquidityDualTokenAndPt(
|
|
944
947
|
receiver: string,
|
|
945
948
|
market: string,
|
|
946
|
-
|
|
949
|
+
tokenIn: string,
|
|
950
|
+
tokenDesired: BigNumberish,
|
|
947
951
|
ptDesired: BigNumberish,
|
|
948
952
|
minLpOut: BigNumberish,
|
|
949
953
|
overrides?: CallOverrides
|
|
950
954
|
): Promise<
|
|
951
955
|
[BigNumber, BigNumber, BigNumber] & {
|
|
952
956
|
netLpOut: BigNumber;
|
|
953
|
-
|
|
957
|
+
tokenUsed: BigNumber;
|
|
954
958
|
ptUsed: BigNumber;
|
|
955
959
|
}
|
|
956
960
|
>;
|
|
@@ -1047,26 +1051,27 @@ export interface ActionCore extends BaseContract {
|
|
|
1047
1051
|
overrides?: CallOverrides
|
|
1048
1052
|
): Promise<BigNumber>;
|
|
1049
1053
|
|
|
1050
|
-
|
|
1054
|
+
removeLiquidityDualScyAndPt(
|
|
1051
1055
|
receiver: string,
|
|
1052
1056
|
market: string,
|
|
1053
1057
|
lpToRemove: BigNumberish,
|
|
1054
|
-
|
|
1058
|
+
scyOutMin: BigNumberish,
|
|
1055
1059
|
ptOutMin: BigNumberish,
|
|
1056
1060
|
overrides?: CallOverrides
|
|
1057
1061
|
): Promise<
|
|
1058
|
-
[BigNumber, BigNumber] & {
|
|
1062
|
+
[BigNumber, BigNumber] & { netScyOut: BigNumber; netPtOut: BigNumber }
|
|
1059
1063
|
>;
|
|
1060
1064
|
|
|
1061
|
-
|
|
1065
|
+
removeLiquidityDualTokenAndPt(
|
|
1062
1066
|
receiver: string,
|
|
1063
1067
|
market: string,
|
|
1064
1068
|
lpToRemove: BigNumberish,
|
|
1065
|
-
|
|
1069
|
+
tokenOut: string,
|
|
1070
|
+
tokenOutMin: BigNumberish,
|
|
1066
1071
|
ptOutMin: BigNumberish,
|
|
1067
1072
|
overrides?: CallOverrides
|
|
1068
1073
|
): Promise<
|
|
1069
|
-
[BigNumber, BigNumber] & {
|
|
1074
|
+
[BigNumber, BigNumber] & { netTokenOut: BigNumber; netPtOut: BigNumber }
|
|
1070
1075
|
>;
|
|
1071
1076
|
|
|
1072
1077
|
removeLiquiditySinglePt(
|
|
@@ -1147,39 +1152,41 @@ export interface ActionCore extends BaseContract {
|
|
|
1147
1152
|
};
|
|
1148
1153
|
|
|
1149
1154
|
filters: {
|
|
1150
|
-
"
|
|
1155
|
+
"AddLiquidityDualScyAndPt(address,address,address,uint256,uint256,uint256)"(
|
|
1151
1156
|
caller?: string | null,
|
|
1152
1157
|
market?: string | null,
|
|
1153
1158
|
receiver?: string | null,
|
|
1154
|
-
|
|
1159
|
+
scyUsed?: null,
|
|
1155
1160
|
ptUsed?: null,
|
|
1156
1161
|
lpOut?: null
|
|
1157
|
-
):
|
|
1158
|
-
|
|
1162
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1163
|
+
AddLiquidityDualScyAndPt(
|
|
1159
1164
|
caller?: string | null,
|
|
1160
1165
|
market?: string | null,
|
|
1161
1166
|
receiver?: string | null,
|
|
1162
|
-
|
|
1167
|
+
scyUsed?: null,
|
|
1163
1168
|
ptUsed?: null,
|
|
1164
1169
|
lpOut?: null
|
|
1165
|
-
):
|
|
1170
|
+
): AddLiquidityDualScyAndPtEventFilter;
|
|
1166
1171
|
|
|
1167
|
-
"
|
|
1172
|
+
"AddLiquidityDualTokenAndPt(address,address,address,address,uint256,uint256,uint256)"(
|
|
1168
1173
|
caller?: string | null,
|
|
1169
1174
|
market?: string | null,
|
|
1170
1175
|
receiver?: string | null,
|
|
1171
|
-
|
|
1176
|
+
tokenIn?: null,
|
|
1177
|
+
tokenUsed?: null,
|
|
1172
1178
|
ptUsed?: null,
|
|
1173
1179
|
lpOut?: null
|
|
1174
|
-
):
|
|
1175
|
-
|
|
1180
|
+
): AddLiquidityDualTokenAndPtEventFilter;
|
|
1181
|
+
AddLiquidityDualTokenAndPt(
|
|
1176
1182
|
caller?: string | null,
|
|
1177
1183
|
market?: string | null,
|
|
1178
1184
|
receiver?: string | null,
|
|
1179
|
-
|
|
1185
|
+
tokenIn?: null,
|
|
1186
|
+
tokenUsed?: null,
|
|
1180
1187
|
ptUsed?: null,
|
|
1181
1188
|
lpOut?: null
|
|
1182
|
-
):
|
|
1189
|
+
): AddLiquidityDualTokenAndPtEventFilter;
|
|
1183
1190
|
|
|
1184
1191
|
"MintPyFromScy(address,address,address,uint256,uint256)"(
|
|
1185
1192
|
caller?: string | null,
|
|
@@ -1300,7 +1307,7 @@ export interface ActionCore extends BaseContract {
|
|
|
1300
1307
|
caller?: string | null,
|
|
1301
1308
|
market?: string | null,
|
|
1302
1309
|
receiver?: null,
|
|
1303
|
-
|
|
1310
|
+
netlpIn?: null,
|
|
1304
1311
|
amountPTOut?: null,
|
|
1305
1312
|
amountSCYOut?: null
|
|
1306
1313
|
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
@@ -1308,7 +1315,7 @@ export interface ActionCore extends BaseContract {
|
|
|
1308
1315
|
caller?: string | null,
|
|
1309
1316
|
market?: string | null,
|
|
1310
1317
|
receiver?: null,
|
|
1311
|
-
|
|
1318
|
+
netlpIn?: null,
|
|
1312
1319
|
amountPTOut?: null,
|
|
1313
1320
|
amountSCYOut?: null
|
|
1314
1321
|
): RemoveLiquidityDualScyAndPtEventFilter;
|
|
@@ -1347,19 +1354,20 @@ export interface ActionCore extends BaseContract {
|
|
|
1347
1354
|
};
|
|
1348
1355
|
|
|
1349
1356
|
estimateGas: {
|
|
1350
|
-
|
|
1357
|
+
addLiquidityDualScyAndPt(
|
|
1351
1358
|
receiver: string,
|
|
1352
1359
|
market: string,
|
|
1353
|
-
|
|
1360
|
+
scyDesired: BigNumberish,
|
|
1354
1361
|
ptDesired: BigNumberish,
|
|
1355
1362
|
minLpOut: BigNumberish,
|
|
1356
1363
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1357
1364
|
): Promise<BigNumber>;
|
|
1358
1365
|
|
|
1359
|
-
|
|
1366
|
+
addLiquidityDualTokenAndPt(
|
|
1360
1367
|
receiver: string,
|
|
1361
1368
|
market: string,
|
|
1362
|
-
|
|
1369
|
+
tokenIn: string,
|
|
1370
|
+
tokenDesired: BigNumberish,
|
|
1363
1371
|
ptDesired: BigNumberish,
|
|
1364
1372
|
minLpOut: BigNumberish,
|
|
1365
1373
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1450,20 +1458,21 @@ export interface ActionCore extends BaseContract {
|
|
|
1450
1458
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1451
1459
|
): Promise<BigNumber>;
|
|
1452
1460
|
|
|
1453
|
-
|
|
1461
|
+
removeLiquidityDualScyAndPt(
|
|
1454
1462
|
receiver: string,
|
|
1455
1463
|
market: string,
|
|
1456
1464
|
lpToRemove: BigNumberish,
|
|
1457
|
-
|
|
1465
|
+
scyOutMin: BigNumberish,
|
|
1458
1466
|
ptOutMin: BigNumberish,
|
|
1459
1467
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1460
1468
|
): Promise<BigNumber>;
|
|
1461
1469
|
|
|
1462
|
-
|
|
1470
|
+
removeLiquidityDualTokenAndPt(
|
|
1463
1471
|
receiver: string,
|
|
1464
1472
|
market: string,
|
|
1465
1473
|
lpToRemove: BigNumberish,
|
|
1466
|
-
|
|
1474
|
+
tokenOut: string,
|
|
1475
|
+
tokenOutMin: BigNumberish,
|
|
1467
1476
|
ptOutMin: BigNumberish,
|
|
1468
1477
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1469
1478
|
): Promise<BigNumber>;
|
|
@@ -1546,19 +1555,20 @@ export interface ActionCore extends BaseContract {
|
|
|
1546
1555
|
};
|
|
1547
1556
|
|
|
1548
1557
|
populateTransaction: {
|
|
1549
|
-
|
|
1558
|
+
addLiquidityDualScyAndPt(
|
|
1550
1559
|
receiver: string,
|
|
1551
1560
|
market: string,
|
|
1552
|
-
|
|
1561
|
+
scyDesired: BigNumberish,
|
|
1553
1562
|
ptDesired: BigNumberish,
|
|
1554
1563
|
minLpOut: BigNumberish,
|
|
1555
1564
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1556
1565
|
): Promise<PopulatedTransaction>;
|
|
1557
1566
|
|
|
1558
|
-
|
|
1567
|
+
addLiquidityDualTokenAndPt(
|
|
1559
1568
|
receiver: string,
|
|
1560
1569
|
market: string,
|
|
1561
|
-
|
|
1570
|
+
tokenIn: string,
|
|
1571
|
+
tokenDesired: BigNumberish,
|
|
1562
1572
|
ptDesired: BigNumberish,
|
|
1563
1573
|
minLpOut: BigNumberish,
|
|
1564
1574
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -1649,20 +1659,21 @@ export interface ActionCore extends BaseContract {
|
|
|
1649
1659
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1650
1660
|
): Promise<PopulatedTransaction>;
|
|
1651
1661
|
|
|
1652
|
-
|
|
1662
|
+
removeLiquidityDualScyAndPt(
|
|
1653
1663
|
receiver: string,
|
|
1654
1664
|
market: string,
|
|
1655
1665
|
lpToRemove: BigNumberish,
|
|
1656
|
-
|
|
1666
|
+
scyOutMin: BigNumberish,
|
|
1657
1667
|
ptOutMin: BigNumberish,
|
|
1658
1668
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1659
1669
|
): Promise<PopulatedTransaction>;
|
|
1660
1670
|
|
|
1661
|
-
|
|
1671
|
+
removeLiquidityDualTokenAndPt(
|
|
1662
1672
|
receiver: string,
|
|
1663
1673
|
market: string,
|
|
1664
1674
|
lpToRemove: BigNumberish,
|
|
1665
|
-
|
|
1675
|
+
tokenOut: string,
|
|
1676
|
+
tokenOutMin: BigNumberish,
|
|
1666
1677
|
ptOutMin: BigNumberish,
|
|
1667
1678
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1668
1679
|
): Promise<PopulatedTransaction>;
|