@pendle/core-v2 4.5.0 → 4.5.1-beta-1
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/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +431 -0
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +431 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +591 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/contracts/interfaces/IPActionMiscV3.sol +38 -0
- package/contracts/router/ActionMiscV3.sol +216 -36
- package/contracts/router/ActionSwapYTV3.sol +0 -85
- package/contracts/router/base/ActionBase.sol +106 -1
- package/deployments/merkle-distribution/2024-04-25.json +14930 -0
- package/package.json +1 -1
- package/typechain-types/ActionMiscV3.ts +379 -16
- package/typechain-types/IPActionMiscV3.ts +249 -16
- package/typechain-types/IPAllActionV3.ts +156 -0
- package/typechain-types/ISwellSimpleStakingERC20.ts +289 -0
- package/typechain-types/PendleSwellRswETHStakingSY.ts +1325 -0
- package/typechain-types/PendleSwellStakingERC20SY.ts +1299 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +590 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/IPActionMiscV3__factory.ts +431 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +431 -0
- package/typechain-types/factories/ISwellSimpleStakingERC20__factory.ts +226 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1106 -0
- package/typechain-types/factories/PendleSwellStakingERC20SY__factory.ts +1112 -0
- package/typechain-types/hardhat.d.ts +27 -0
- package/typechain-types/index.ts +6 -0
package/package.json
CHANGED
|
@@ -37,46 +37,123 @@ export type SwapDataStructOutput = [number, string, string, boolean] & {
|
|
|
37
37
|
needScale: boolean;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
export type
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
export type TokenOutputStruct = {
|
|
41
|
+
tokenOut: string;
|
|
42
|
+
minTokenOut: BigNumberish;
|
|
43
|
+
tokenRedeemSy: string;
|
|
44
44
|
pendleSwap: string;
|
|
45
45
|
swapData: SwapDataStruct;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
export type
|
|
48
|
+
export type TokenOutputStructOutput = [
|
|
49
49
|
string,
|
|
50
50
|
BigNumber,
|
|
51
51
|
string,
|
|
52
52
|
string,
|
|
53
53
|
SwapDataStructOutput
|
|
54
54
|
] & {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
tokenOut: string;
|
|
56
|
+
minTokenOut: BigNumber;
|
|
57
|
+
tokenRedeemSy: string;
|
|
58
58
|
pendleSwap: string;
|
|
59
59
|
swapData: SwapDataStructOutput;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
export type
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
export type OrderStruct = {
|
|
63
|
+
salt: BigNumberish;
|
|
64
|
+
expiry: BigNumberish;
|
|
65
|
+
nonce: BigNumberish;
|
|
66
|
+
orderType: BigNumberish;
|
|
67
|
+
token: string;
|
|
68
|
+
YT: string;
|
|
69
|
+
maker: string;
|
|
70
|
+
receiver: string;
|
|
71
|
+
makingAmount: BigNumberish;
|
|
72
|
+
lnImpliedRate: BigNumberish;
|
|
73
|
+
failSafeRate: BigNumberish;
|
|
74
|
+
permit: BytesLike;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export type OrderStructOutput = [
|
|
78
|
+
BigNumber,
|
|
79
|
+
BigNumber,
|
|
80
|
+
BigNumber,
|
|
81
|
+
number,
|
|
82
|
+
string,
|
|
83
|
+
string,
|
|
84
|
+
string,
|
|
85
|
+
string,
|
|
86
|
+
BigNumber,
|
|
87
|
+
BigNumber,
|
|
88
|
+
BigNumber,
|
|
89
|
+
string
|
|
90
|
+
] & {
|
|
91
|
+
salt: BigNumber;
|
|
92
|
+
expiry: BigNumber;
|
|
93
|
+
nonce: BigNumber;
|
|
94
|
+
orderType: number;
|
|
95
|
+
token: string;
|
|
96
|
+
YT: string;
|
|
97
|
+
maker: string;
|
|
98
|
+
receiver: string;
|
|
99
|
+
makingAmount: BigNumber;
|
|
100
|
+
lnImpliedRate: BigNumber;
|
|
101
|
+
failSafeRate: BigNumber;
|
|
102
|
+
permit: string;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export type FillOrderParamsStruct = {
|
|
106
|
+
order: OrderStruct;
|
|
107
|
+
signature: BytesLike;
|
|
108
|
+
makingAmount: BigNumberish;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export type FillOrderParamsStructOutput = [
|
|
112
|
+
OrderStructOutput,
|
|
113
|
+
string,
|
|
114
|
+
BigNumber
|
|
115
|
+
] & { order: OrderStructOutput; signature: string; makingAmount: BigNumber };
|
|
116
|
+
|
|
117
|
+
export type LimitOrderDataStruct = {
|
|
118
|
+
limitRouter: string;
|
|
119
|
+
epsSkipMarket: BigNumberish;
|
|
120
|
+
normalFills: FillOrderParamsStruct[];
|
|
121
|
+
flashFills: FillOrderParamsStruct[];
|
|
122
|
+
optData: BytesLike;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export type LimitOrderDataStructOutput = [
|
|
126
|
+
string,
|
|
127
|
+
BigNumber,
|
|
128
|
+
FillOrderParamsStructOutput[],
|
|
129
|
+
FillOrderParamsStructOutput[],
|
|
130
|
+
string
|
|
131
|
+
] & {
|
|
132
|
+
limitRouter: string;
|
|
133
|
+
epsSkipMarket: BigNumber;
|
|
134
|
+
normalFills: FillOrderParamsStructOutput[];
|
|
135
|
+
flashFills: FillOrderParamsStructOutput[];
|
|
136
|
+
optData: string;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export type TokenInputStruct = {
|
|
140
|
+
tokenIn: string;
|
|
141
|
+
netTokenIn: BigNumberish;
|
|
142
|
+
tokenMintSy: string;
|
|
66
143
|
pendleSwap: string;
|
|
67
144
|
swapData: SwapDataStruct;
|
|
68
145
|
};
|
|
69
146
|
|
|
70
|
-
export type
|
|
147
|
+
export type TokenInputStructOutput = [
|
|
71
148
|
string,
|
|
72
149
|
BigNumber,
|
|
73
150
|
string,
|
|
74
151
|
string,
|
|
75
152
|
SwapDataStructOutput
|
|
76
153
|
] & {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
154
|
+
tokenIn: string;
|
|
155
|
+
netTokenIn: BigNumber;
|
|
156
|
+
tokenMintSy: string;
|
|
80
157
|
pendleSwap: string;
|
|
81
158
|
swapData: SwapDataStructOutput;
|
|
82
159
|
};
|
|
@@ -101,6 +178,8 @@ export interface ActionMiscV3Interface extends utils.Interface {
|
|
|
101
178
|
contractName: "ActionMiscV3";
|
|
102
179
|
functions: {
|
|
103
180
|
"boostMarkets(address[])": FunctionFragment;
|
|
181
|
+
"exitMultiplePostExpiry(address,address,uint256,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
182
|
+
"exitMultiplePreExpiry(address,address,uint256,uint256,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)),(address,uint256,((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],((uint256,uint256,uint256,uint8,address,address,address,address,uint256,uint256,uint256,bytes),bytes,uint256)[],bytes))": FunctionFragment;
|
|
104
183
|
"mintPyFromSy(address,address,uint256,uint256)": FunctionFragment;
|
|
105
184
|
"mintPyFromToken(address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
106
185
|
"mintSyFromToken(address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
@@ -118,6 +197,22 @@ export interface ActionMiscV3Interface extends utils.Interface {
|
|
|
118
197
|
functionFragment: "boostMarkets",
|
|
119
198
|
values: [string[]]
|
|
120
199
|
): string;
|
|
200
|
+
encodeFunctionData(
|
|
201
|
+
functionFragment: "exitMultiplePostExpiry",
|
|
202
|
+
values: [string, string, BigNumberish, BigNumberish, TokenOutputStruct]
|
|
203
|
+
): string;
|
|
204
|
+
encodeFunctionData(
|
|
205
|
+
functionFragment: "exitMultiplePreExpiry",
|
|
206
|
+
values: [
|
|
207
|
+
string,
|
|
208
|
+
string,
|
|
209
|
+
BigNumberish,
|
|
210
|
+
BigNumberish,
|
|
211
|
+
BigNumberish,
|
|
212
|
+
TokenOutputStruct,
|
|
213
|
+
LimitOrderDataStruct
|
|
214
|
+
]
|
|
215
|
+
): string;
|
|
121
216
|
encodeFunctionData(
|
|
122
217
|
functionFragment: "mintPyFromSy",
|
|
123
218
|
values: [string, string, BigNumberish, BigNumberish]
|
|
@@ -167,6 +262,14 @@ export interface ActionMiscV3Interface extends utils.Interface {
|
|
|
167
262
|
functionFragment: "boostMarkets",
|
|
168
263
|
data: BytesLike
|
|
169
264
|
): Result;
|
|
265
|
+
decodeFunctionResult(
|
|
266
|
+
functionFragment: "exitMultiplePostExpiry",
|
|
267
|
+
data: BytesLike
|
|
268
|
+
): Result;
|
|
269
|
+
decodeFunctionResult(
|
|
270
|
+
functionFragment: "exitMultiplePreExpiry",
|
|
271
|
+
data: BytesLike
|
|
272
|
+
): Result;
|
|
170
273
|
decodeFunctionResult(
|
|
171
274
|
functionFragment: "mintPyFromSy",
|
|
172
275
|
data: BytesLike
|
|
@@ -207,6 +310,8 @@ export interface ActionMiscV3Interface extends utils.Interface {
|
|
|
207
310
|
): Result;
|
|
208
311
|
|
|
209
312
|
events: {
|
|
313
|
+
"ExitMultiplePostExpiry(address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256)": EventFragment;
|
|
314
|
+
"ExitMultiplePreExpiry(address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)": EventFragment;
|
|
210
315
|
"MintPyFromSy(address,address,address,uint256,uint256)": EventFragment;
|
|
211
316
|
"MintPyFromToken(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
212
317
|
"MintSyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
@@ -215,6 +320,8 @@ export interface ActionMiscV3Interface extends utils.Interface {
|
|
|
215
320
|
"RedeemSyToToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
216
321
|
};
|
|
217
322
|
|
|
323
|
+
getEvent(nameOrSignatureOrTopic: "ExitMultiplePostExpiry"): EventFragment;
|
|
324
|
+
getEvent(nameOrSignatureOrTopic: "ExitMultiplePreExpiry"): EventFragment;
|
|
218
325
|
getEvent(nameOrSignatureOrTopic: "MintPyFromSy"): EventFragment;
|
|
219
326
|
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
220
327
|
getEvent(nameOrSignatureOrTopic: "MintSyFromToken"): EventFragment;
|
|
@@ -223,6 +330,74 @@ export interface ActionMiscV3Interface extends utils.Interface {
|
|
|
223
330
|
getEvent(nameOrSignatureOrTopic: "RedeemSyToToken"): EventFragment;
|
|
224
331
|
}
|
|
225
332
|
|
|
333
|
+
export type ExitMultiplePostExpiryEvent = TypedEvent<
|
|
334
|
+
[
|
|
335
|
+
string,
|
|
336
|
+
string,
|
|
337
|
+
string,
|
|
338
|
+
string,
|
|
339
|
+
BigNumber,
|
|
340
|
+
BigNumber,
|
|
341
|
+
BigNumber,
|
|
342
|
+
BigNumber,
|
|
343
|
+
BigNumber,
|
|
344
|
+
BigNumber
|
|
345
|
+
],
|
|
346
|
+
{
|
|
347
|
+
caller: string;
|
|
348
|
+
market: string;
|
|
349
|
+
token: string;
|
|
350
|
+
receiver: string;
|
|
351
|
+
netLpToRemove: BigNumber;
|
|
352
|
+
netPtFromRemove: BigNumber;
|
|
353
|
+
netSyFromRemove: BigNumber;
|
|
354
|
+
netPtRedeem: BigNumber;
|
|
355
|
+
netSyFromRedeem: BigNumber;
|
|
356
|
+
netTokenOut: BigNumber;
|
|
357
|
+
}
|
|
358
|
+
>;
|
|
359
|
+
|
|
360
|
+
export type ExitMultiplePostExpiryEventFilter =
|
|
361
|
+
TypedEventFilter<ExitMultiplePostExpiryEvent>;
|
|
362
|
+
|
|
363
|
+
export type ExitMultiplePreExpiryEvent = TypedEvent<
|
|
364
|
+
[
|
|
365
|
+
string,
|
|
366
|
+
string,
|
|
367
|
+
string,
|
|
368
|
+
string,
|
|
369
|
+
BigNumber,
|
|
370
|
+
BigNumber,
|
|
371
|
+
BigNumber,
|
|
372
|
+
BigNumber,
|
|
373
|
+
BigNumber,
|
|
374
|
+
BigNumber,
|
|
375
|
+
BigNumber,
|
|
376
|
+
BigNumber,
|
|
377
|
+
BigNumber,
|
|
378
|
+
BigNumber
|
|
379
|
+
],
|
|
380
|
+
{
|
|
381
|
+
caller: string;
|
|
382
|
+
market: string;
|
|
383
|
+
token: string;
|
|
384
|
+
receiver: string;
|
|
385
|
+
netLpToRemove: BigNumber;
|
|
386
|
+
netPtFromRemove: BigNumber;
|
|
387
|
+
netSyFromRemove: BigNumber;
|
|
388
|
+
netPyRedeem: BigNumber;
|
|
389
|
+
netSyFromRedeem: BigNumber;
|
|
390
|
+
netPtSwap: BigNumber;
|
|
391
|
+
netYtSwap: BigNumber;
|
|
392
|
+
netSyFromSwap: BigNumber;
|
|
393
|
+
netSyFee: BigNumber;
|
|
394
|
+
netTokenOut: BigNumber;
|
|
395
|
+
}
|
|
396
|
+
>;
|
|
397
|
+
|
|
398
|
+
export type ExitMultiplePreExpiryEventFilter =
|
|
399
|
+
TypedEventFilter<ExitMultiplePreExpiryEvent>;
|
|
400
|
+
|
|
226
401
|
export type MintPyFromSyEvent = TypedEvent<
|
|
227
402
|
[string, string, string, BigNumber, BigNumber],
|
|
228
403
|
{
|
|
@@ -340,6 +515,26 @@ export interface ActionMiscV3 extends BaseContract {
|
|
|
340
515
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
341
516
|
): Promise<ContractTransaction>;
|
|
342
517
|
|
|
518
|
+
exitMultiplePostExpiry(
|
|
519
|
+
receiver: string,
|
|
520
|
+
market: string,
|
|
521
|
+
netPtIn: BigNumberish,
|
|
522
|
+
netLpIn: BigNumberish,
|
|
523
|
+
output: TokenOutputStruct,
|
|
524
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
525
|
+
): Promise<ContractTransaction>;
|
|
526
|
+
|
|
527
|
+
exitMultiplePreExpiry(
|
|
528
|
+
receiver: string,
|
|
529
|
+
market: string,
|
|
530
|
+
netPtIn: BigNumberish,
|
|
531
|
+
netYtIn: BigNumberish,
|
|
532
|
+
netLpIn: BigNumberish,
|
|
533
|
+
output: TokenOutputStruct,
|
|
534
|
+
limit: LimitOrderDataStruct,
|
|
535
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
536
|
+
): Promise<ContractTransaction>;
|
|
537
|
+
|
|
343
538
|
mintPyFromSy(
|
|
344
539
|
receiver: string,
|
|
345
540
|
YT: string,
|
|
@@ -429,6 +624,26 @@ export interface ActionMiscV3 extends BaseContract {
|
|
|
429
624
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
430
625
|
): Promise<ContractTransaction>;
|
|
431
626
|
|
|
627
|
+
exitMultiplePostExpiry(
|
|
628
|
+
receiver: string,
|
|
629
|
+
market: string,
|
|
630
|
+
netPtIn: BigNumberish,
|
|
631
|
+
netLpIn: BigNumberish,
|
|
632
|
+
output: TokenOutputStruct,
|
|
633
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
634
|
+
): Promise<ContractTransaction>;
|
|
635
|
+
|
|
636
|
+
exitMultiplePreExpiry(
|
|
637
|
+
receiver: string,
|
|
638
|
+
market: string,
|
|
639
|
+
netPtIn: BigNumberish,
|
|
640
|
+
netYtIn: BigNumberish,
|
|
641
|
+
netLpIn: BigNumberish,
|
|
642
|
+
output: TokenOutputStruct,
|
|
643
|
+
limit: LimitOrderDataStruct,
|
|
644
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
645
|
+
): Promise<ContractTransaction>;
|
|
646
|
+
|
|
432
647
|
mintPyFromSy(
|
|
433
648
|
receiver: string,
|
|
434
649
|
YT: string,
|
|
@@ -515,6 +730,56 @@ export interface ActionMiscV3 extends BaseContract {
|
|
|
515
730
|
callStatic: {
|
|
516
731
|
boostMarkets(markets: string[], overrides?: CallOverrides): Promise<void>;
|
|
517
732
|
|
|
733
|
+
exitMultiplePostExpiry(
|
|
734
|
+
receiver: string,
|
|
735
|
+
market: string,
|
|
736
|
+
netPtIn: BigNumberish,
|
|
737
|
+
netLpIn: BigNumberish,
|
|
738
|
+
output: TokenOutputStruct,
|
|
739
|
+
overrides?: CallOverrides
|
|
740
|
+
): Promise<
|
|
741
|
+
[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
|
|
742
|
+
netTokenOut: BigNumber;
|
|
743
|
+
netPtFromRemove: BigNumber;
|
|
744
|
+
netSyFromRemove: BigNumber;
|
|
745
|
+
netPtRedeem: BigNumber;
|
|
746
|
+
netSyFromRedeem: BigNumber;
|
|
747
|
+
}
|
|
748
|
+
>;
|
|
749
|
+
|
|
750
|
+
exitMultiplePreExpiry(
|
|
751
|
+
receiver: string,
|
|
752
|
+
market: string,
|
|
753
|
+
netPtIn: BigNumberish,
|
|
754
|
+
netYtIn: BigNumberish,
|
|
755
|
+
netLpIn: BigNumberish,
|
|
756
|
+
output: TokenOutputStruct,
|
|
757
|
+
limit: LimitOrderDataStruct,
|
|
758
|
+
overrides?: CallOverrides
|
|
759
|
+
): Promise<
|
|
760
|
+
[
|
|
761
|
+
BigNumber,
|
|
762
|
+
BigNumber,
|
|
763
|
+
BigNumber,
|
|
764
|
+
BigNumber,
|
|
765
|
+
BigNumber,
|
|
766
|
+
BigNumber,
|
|
767
|
+
BigNumber,
|
|
768
|
+
BigNumber,
|
|
769
|
+
BigNumber
|
|
770
|
+
] & {
|
|
771
|
+
netTokenOut: BigNumber;
|
|
772
|
+
netPtFromRemove: BigNumber;
|
|
773
|
+
netSyFromRemove: BigNumber;
|
|
774
|
+
netPyRedeem: BigNumber;
|
|
775
|
+
netSyFromRedeem: BigNumber;
|
|
776
|
+
netPtSwap: BigNumber;
|
|
777
|
+
netYtSwap: BigNumber;
|
|
778
|
+
netSyFromSwap: BigNumber;
|
|
779
|
+
netSyFee: BigNumber;
|
|
780
|
+
}
|
|
781
|
+
>;
|
|
782
|
+
|
|
518
783
|
mintPyFromSy(
|
|
519
784
|
receiver: string,
|
|
520
785
|
YT: string,
|
|
@@ -612,6 +877,64 @@ export interface ActionMiscV3 extends BaseContract {
|
|
|
612
877
|
};
|
|
613
878
|
|
|
614
879
|
filters: {
|
|
880
|
+
"ExitMultiplePostExpiry(address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256)"(
|
|
881
|
+
caller?: string | null,
|
|
882
|
+
market?: string | null,
|
|
883
|
+
token?: string | null,
|
|
884
|
+
receiver?: null,
|
|
885
|
+
netLpToRemove?: null,
|
|
886
|
+
netPtFromRemove?: null,
|
|
887
|
+
netSyFromRemove?: null,
|
|
888
|
+
netPtRedeem?: null,
|
|
889
|
+
netSyFromRedeem?: null,
|
|
890
|
+
netTokenOut?: null
|
|
891
|
+
): ExitMultiplePostExpiryEventFilter;
|
|
892
|
+
ExitMultiplePostExpiry(
|
|
893
|
+
caller?: string | null,
|
|
894
|
+
market?: string | null,
|
|
895
|
+
token?: string | null,
|
|
896
|
+
receiver?: null,
|
|
897
|
+
netLpToRemove?: null,
|
|
898
|
+
netPtFromRemove?: null,
|
|
899
|
+
netSyFromRemove?: null,
|
|
900
|
+
netPtRedeem?: null,
|
|
901
|
+
netSyFromRedeem?: null,
|
|
902
|
+
netTokenOut?: null
|
|
903
|
+
): ExitMultiplePostExpiryEventFilter;
|
|
904
|
+
|
|
905
|
+
"ExitMultiplePreExpiry(address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)"(
|
|
906
|
+
caller?: string | null,
|
|
907
|
+
market?: string | null,
|
|
908
|
+
token?: string | null,
|
|
909
|
+
receiver?: null,
|
|
910
|
+
netLpToRemove?: null,
|
|
911
|
+
netPtFromRemove?: null,
|
|
912
|
+
netSyFromRemove?: null,
|
|
913
|
+
netPyRedeem?: null,
|
|
914
|
+
netSyFromRedeem?: null,
|
|
915
|
+
netPtSwap?: null,
|
|
916
|
+
netYtSwap?: null,
|
|
917
|
+
netSyFromSwap?: null,
|
|
918
|
+
netSyFee?: null,
|
|
919
|
+
netTokenOut?: null
|
|
920
|
+
): ExitMultiplePreExpiryEventFilter;
|
|
921
|
+
ExitMultiplePreExpiry(
|
|
922
|
+
caller?: string | null,
|
|
923
|
+
market?: string | null,
|
|
924
|
+
token?: string | null,
|
|
925
|
+
receiver?: null,
|
|
926
|
+
netLpToRemove?: null,
|
|
927
|
+
netPtFromRemove?: null,
|
|
928
|
+
netSyFromRemove?: null,
|
|
929
|
+
netPyRedeem?: null,
|
|
930
|
+
netSyFromRedeem?: null,
|
|
931
|
+
netPtSwap?: null,
|
|
932
|
+
netYtSwap?: null,
|
|
933
|
+
netSyFromSwap?: null,
|
|
934
|
+
netSyFee?: null,
|
|
935
|
+
netTokenOut?: null
|
|
936
|
+
): ExitMultiplePreExpiryEventFilter;
|
|
937
|
+
|
|
615
938
|
"MintPyFromSy(address,address,address,uint256,uint256)"(
|
|
616
939
|
caller?: string | null,
|
|
617
940
|
receiver?: string | null,
|
|
@@ -721,6 +1044,26 @@ export interface ActionMiscV3 extends BaseContract {
|
|
|
721
1044
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
722
1045
|
): Promise<BigNumber>;
|
|
723
1046
|
|
|
1047
|
+
exitMultiplePostExpiry(
|
|
1048
|
+
receiver: string,
|
|
1049
|
+
market: string,
|
|
1050
|
+
netPtIn: BigNumberish,
|
|
1051
|
+
netLpIn: BigNumberish,
|
|
1052
|
+
output: TokenOutputStruct,
|
|
1053
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1054
|
+
): Promise<BigNumber>;
|
|
1055
|
+
|
|
1056
|
+
exitMultiplePreExpiry(
|
|
1057
|
+
receiver: string,
|
|
1058
|
+
market: string,
|
|
1059
|
+
netPtIn: BigNumberish,
|
|
1060
|
+
netYtIn: BigNumberish,
|
|
1061
|
+
netLpIn: BigNumberish,
|
|
1062
|
+
output: TokenOutputStruct,
|
|
1063
|
+
limit: LimitOrderDataStruct,
|
|
1064
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1065
|
+
): Promise<BigNumber>;
|
|
1066
|
+
|
|
724
1067
|
mintPyFromSy(
|
|
725
1068
|
receiver: string,
|
|
726
1069
|
YT: string,
|
|
@@ -811,6 +1154,26 @@ export interface ActionMiscV3 extends BaseContract {
|
|
|
811
1154
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
812
1155
|
): Promise<PopulatedTransaction>;
|
|
813
1156
|
|
|
1157
|
+
exitMultiplePostExpiry(
|
|
1158
|
+
receiver: string,
|
|
1159
|
+
market: string,
|
|
1160
|
+
netPtIn: BigNumberish,
|
|
1161
|
+
netLpIn: BigNumberish,
|
|
1162
|
+
output: TokenOutputStruct,
|
|
1163
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1164
|
+
): Promise<PopulatedTransaction>;
|
|
1165
|
+
|
|
1166
|
+
exitMultiplePreExpiry(
|
|
1167
|
+
receiver: string,
|
|
1168
|
+
market: string,
|
|
1169
|
+
netPtIn: BigNumberish,
|
|
1170
|
+
netYtIn: BigNumberish,
|
|
1171
|
+
netLpIn: BigNumberish,
|
|
1172
|
+
output: TokenOutputStruct,
|
|
1173
|
+
limit: LimitOrderDataStruct,
|
|
1174
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1175
|
+
): Promise<PopulatedTransaction>;
|
|
1176
|
+
|
|
814
1177
|
mintPyFromSy(
|
|
815
1178
|
receiver: string,
|
|
816
1179
|
YT: string,
|