@pendle/core-v2 4.5.1-beta-1 → 4.5.1-beta-2
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/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +771 -80
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +821 -130
- 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/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +662 -129
- package/contracts/interfaces/IPActionMiscV3.sol +79 -25
- package/contracts/router/ActionMiscV3.sol +99 -165
- package/package.json +1 -1
- package/typechain-types/ActionMiscV3.ts +309 -115
- package/typechain-types/IPActionMiscV3.ts +364 -40
- package/typechain-types/IPAllActionV3.ts +364 -40
- package/typechain-types/factories/ActionMiscV3__factory.ts +662 -129
- package/typechain-types/factories/IPActionMiscV3__factory.ts +771 -80
- package/typechain-types/factories/IPAllActionV3__factory.ts +821 -130
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +0 -27
- package/typechain-types/index.ts +0 -6
|
@@ -181,6 +181,62 @@ export type TokenOutputStructOutput = [
|
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
export declare namespace IPActionMiscV3 {
|
|
184
|
+
export type ExitPostExpReturnParamsStruct = {
|
|
185
|
+
netPtFromRemove: BigNumberish;
|
|
186
|
+
netSyFromRemove: BigNumberish;
|
|
187
|
+
netPtRedeem: BigNumberish;
|
|
188
|
+
netSyFromRedeem: BigNumberish;
|
|
189
|
+
totalSyOut: BigNumberish;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export type ExitPostExpReturnParamsStructOutput = [
|
|
193
|
+
BigNumber,
|
|
194
|
+
BigNumber,
|
|
195
|
+
BigNumber,
|
|
196
|
+
BigNumber,
|
|
197
|
+
BigNumber
|
|
198
|
+
] & {
|
|
199
|
+
netPtFromRemove: BigNumber;
|
|
200
|
+
netSyFromRemove: BigNumber;
|
|
201
|
+
netPtRedeem: BigNumber;
|
|
202
|
+
netSyFromRedeem: BigNumber;
|
|
203
|
+
totalSyOut: BigNumber;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
export type ExitPreExpReturnParamsStruct = {
|
|
207
|
+
netPtFromRemove: BigNumberish;
|
|
208
|
+
netSyFromRemove: BigNumberish;
|
|
209
|
+
netPyRedeem: BigNumberish;
|
|
210
|
+
netSyFromRedeem: BigNumberish;
|
|
211
|
+
netPtSwap: BigNumberish;
|
|
212
|
+
netYtSwap: BigNumberish;
|
|
213
|
+
netSyFromSwap: BigNumberish;
|
|
214
|
+
netSyFee: BigNumberish;
|
|
215
|
+
totalSyOut: BigNumberish;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
export type ExitPreExpReturnParamsStructOutput = [
|
|
219
|
+
BigNumber,
|
|
220
|
+
BigNumber,
|
|
221
|
+
BigNumber,
|
|
222
|
+
BigNumber,
|
|
223
|
+
BigNumber,
|
|
224
|
+
BigNumber,
|
|
225
|
+
BigNumber,
|
|
226
|
+
BigNumber,
|
|
227
|
+
BigNumber
|
|
228
|
+
] & {
|
|
229
|
+
netPtFromRemove: BigNumber;
|
|
230
|
+
netSyFromRemove: BigNumber;
|
|
231
|
+
netPyRedeem: BigNumber;
|
|
232
|
+
netSyFromRedeem: BigNumber;
|
|
233
|
+
netPtSwap: BigNumber;
|
|
234
|
+
netYtSwap: BigNumber;
|
|
235
|
+
netSyFromSwap: BigNumber;
|
|
236
|
+
netSyFee: BigNumber;
|
|
237
|
+
totalSyOut: BigNumber;
|
|
238
|
+
};
|
|
239
|
+
|
|
184
240
|
export type Call3Struct = { allowFailure: boolean; callData: BytesLike };
|
|
185
241
|
|
|
186
242
|
export type Call3StructOutput = [boolean, string] & {
|
|
@@ -220,8 +276,10 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
220
276
|
"addLiquiditySingleTokenKeepYt(address,address,uint256,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
221
277
|
"boostMarkets(address[])": FunctionFragment;
|
|
222
278
|
"claimOwnership()": FunctionFragment;
|
|
223
|
-
"
|
|
224
|
-
"
|
|
279
|
+
"exitPostExpToSy(address,address,uint256,uint256,uint256)": FunctionFragment;
|
|
280
|
+
"exitPostExpToToken(address,address,uint256,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
281
|
+
"exitPreExpToSy(address,address,uint256,uint256,uint256,uint256,(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;
|
|
282
|
+
"exitPreExpToToken(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;
|
|
225
283
|
"limitRouterCallback(uint256,uint256,uint256,bytes)": FunctionFragment;
|
|
226
284
|
"mintPyFromSy(address,address,uint256,uint256)": FunctionFragment;
|
|
227
285
|
"mintPyFromToken(address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
@@ -315,11 +373,27 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
315
373
|
values?: undefined
|
|
316
374
|
): string;
|
|
317
375
|
encodeFunctionData(
|
|
318
|
-
functionFragment: "
|
|
376
|
+
functionFragment: "exitPostExpToSy",
|
|
377
|
+
values: [string, string, BigNumberish, BigNumberish, BigNumberish]
|
|
378
|
+
): string;
|
|
379
|
+
encodeFunctionData(
|
|
380
|
+
functionFragment: "exitPostExpToToken",
|
|
319
381
|
values: [string, string, BigNumberish, BigNumberish, TokenOutputStruct]
|
|
320
382
|
): string;
|
|
321
383
|
encodeFunctionData(
|
|
322
|
-
functionFragment: "
|
|
384
|
+
functionFragment: "exitPreExpToSy",
|
|
385
|
+
values: [
|
|
386
|
+
string,
|
|
387
|
+
string,
|
|
388
|
+
BigNumberish,
|
|
389
|
+
BigNumberish,
|
|
390
|
+
BigNumberish,
|
|
391
|
+
BigNumberish,
|
|
392
|
+
LimitOrderDataStruct
|
|
393
|
+
]
|
|
394
|
+
): string;
|
|
395
|
+
encodeFunctionData(
|
|
396
|
+
functionFragment: "exitPreExpToToken",
|
|
323
397
|
values: [
|
|
324
398
|
string,
|
|
325
399
|
string,
|
|
@@ -550,11 +624,19 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
550
624
|
data: BytesLike
|
|
551
625
|
): Result;
|
|
552
626
|
decodeFunctionResult(
|
|
553
|
-
functionFragment: "
|
|
627
|
+
functionFragment: "exitPostExpToSy",
|
|
554
628
|
data: BytesLike
|
|
555
629
|
): Result;
|
|
556
630
|
decodeFunctionResult(
|
|
557
|
-
functionFragment: "
|
|
631
|
+
functionFragment: "exitPostExpToToken",
|
|
632
|
+
data: BytesLike
|
|
633
|
+
): Result;
|
|
634
|
+
decodeFunctionResult(
|
|
635
|
+
functionFragment: "exitPreExpToSy",
|
|
636
|
+
data: BytesLike
|
|
637
|
+
): Result;
|
|
638
|
+
decodeFunctionResult(
|
|
639
|
+
functionFragment: "exitPreExpToToken",
|
|
558
640
|
data: BytesLike
|
|
559
641
|
): Result;
|
|
560
642
|
decodeFunctionResult(
|
|
@@ -689,6 +771,10 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
689
771
|
"AddLiquiditySingleSyKeepYt(address,address,address,uint256,uint256,uint256,uint256)": EventFragment;
|
|
690
772
|
"AddLiquiditySingleToken(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
691
773
|
"AddLiquiditySingleTokenKeepYt(address,address,address,address,uint256,uint256,uint256,uint256,uint256)": EventFragment;
|
|
774
|
+
"ExitPostExpToSy(address,address,address,uint256,tuple)": EventFragment;
|
|
775
|
+
"ExitPostExpToToken(address,address,address,address,uint256,uint256,tuple)": EventFragment;
|
|
776
|
+
"ExitPreExpToSy(address,address,address,uint256,tuple)": EventFragment;
|
|
777
|
+
"ExitPreExpToToken(address,address,address,address,uint256,uint256,tuple)": EventFragment;
|
|
692
778
|
"MintPyFromSy(address,address,address,uint256,uint256)": EventFragment;
|
|
693
779
|
"MintPyFromToken(address,address,address,address,uint256,uint256,uint256)": EventFragment;
|
|
694
780
|
"MintSyFromToken(address,address,address,address,uint256,uint256)": EventFragment;
|
|
@@ -718,6 +804,10 @@ export interface IPAllActionV3Interface extends utils.Interface {
|
|
|
718
804
|
getEvent(
|
|
719
805
|
nameOrSignatureOrTopic: "AddLiquiditySingleTokenKeepYt"
|
|
720
806
|
): EventFragment;
|
|
807
|
+
getEvent(nameOrSignatureOrTopic: "ExitPostExpToSy"): EventFragment;
|
|
808
|
+
getEvent(nameOrSignatureOrTopic: "ExitPostExpToToken"): EventFragment;
|
|
809
|
+
getEvent(nameOrSignatureOrTopic: "ExitPreExpToSy"): EventFragment;
|
|
810
|
+
getEvent(nameOrSignatureOrTopic: "ExitPreExpToToken"): EventFragment;
|
|
721
811
|
getEvent(nameOrSignatureOrTopic: "MintPyFromSy"): EventFragment;
|
|
722
812
|
getEvent(nameOrSignatureOrTopic: "MintPyFromToken"): EventFragment;
|
|
723
813
|
getEvent(nameOrSignatureOrTopic: "MintSyFromToken"): EventFragment;
|
|
@@ -860,6 +950,92 @@ export type AddLiquiditySingleTokenKeepYtEvent = TypedEvent<
|
|
|
860
950
|
export type AddLiquiditySingleTokenKeepYtEventFilter =
|
|
861
951
|
TypedEventFilter<AddLiquiditySingleTokenKeepYtEvent>;
|
|
862
952
|
|
|
953
|
+
export type ExitPostExpToSyEvent = TypedEvent<
|
|
954
|
+
[
|
|
955
|
+
string,
|
|
956
|
+
string,
|
|
957
|
+
string,
|
|
958
|
+
BigNumber,
|
|
959
|
+
IPActionMiscV3.ExitPostExpReturnParamsStructOutput
|
|
960
|
+
],
|
|
961
|
+
{
|
|
962
|
+
caller: string;
|
|
963
|
+
market: string;
|
|
964
|
+
receiver: string;
|
|
965
|
+
netLpIn: BigNumber;
|
|
966
|
+
params: IPActionMiscV3.ExitPostExpReturnParamsStructOutput;
|
|
967
|
+
}
|
|
968
|
+
>;
|
|
969
|
+
|
|
970
|
+
export type ExitPostExpToSyEventFilter = TypedEventFilter<ExitPostExpToSyEvent>;
|
|
971
|
+
|
|
972
|
+
export type ExitPostExpToTokenEvent = TypedEvent<
|
|
973
|
+
[
|
|
974
|
+
string,
|
|
975
|
+
string,
|
|
976
|
+
string,
|
|
977
|
+
string,
|
|
978
|
+
BigNumber,
|
|
979
|
+
BigNumber,
|
|
980
|
+
IPActionMiscV3.ExitPostExpReturnParamsStructOutput
|
|
981
|
+
],
|
|
982
|
+
{
|
|
983
|
+
caller: string;
|
|
984
|
+
market: string;
|
|
985
|
+
token: string;
|
|
986
|
+
receiver: string;
|
|
987
|
+
netLpIn: BigNumber;
|
|
988
|
+
totalTokenOut: BigNumber;
|
|
989
|
+
params: IPActionMiscV3.ExitPostExpReturnParamsStructOutput;
|
|
990
|
+
}
|
|
991
|
+
>;
|
|
992
|
+
|
|
993
|
+
export type ExitPostExpToTokenEventFilter =
|
|
994
|
+
TypedEventFilter<ExitPostExpToTokenEvent>;
|
|
995
|
+
|
|
996
|
+
export type ExitPreExpToSyEvent = TypedEvent<
|
|
997
|
+
[
|
|
998
|
+
string,
|
|
999
|
+
string,
|
|
1000
|
+
string,
|
|
1001
|
+
BigNumber,
|
|
1002
|
+
IPActionMiscV3.ExitPreExpReturnParamsStructOutput
|
|
1003
|
+
],
|
|
1004
|
+
{
|
|
1005
|
+
caller: string;
|
|
1006
|
+
market: string;
|
|
1007
|
+
receiver: string;
|
|
1008
|
+
netLpToRemove: BigNumber;
|
|
1009
|
+
params: IPActionMiscV3.ExitPreExpReturnParamsStructOutput;
|
|
1010
|
+
}
|
|
1011
|
+
>;
|
|
1012
|
+
|
|
1013
|
+
export type ExitPreExpToSyEventFilter = TypedEventFilter<ExitPreExpToSyEvent>;
|
|
1014
|
+
|
|
1015
|
+
export type ExitPreExpToTokenEvent = TypedEvent<
|
|
1016
|
+
[
|
|
1017
|
+
string,
|
|
1018
|
+
string,
|
|
1019
|
+
string,
|
|
1020
|
+
string,
|
|
1021
|
+
BigNumber,
|
|
1022
|
+
BigNumber,
|
|
1023
|
+
IPActionMiscV3.ExitPreExpReturnParamsStructOutput
|
|
1024
|
+
],
|
|
1025
|
+
{
|
|
1026
|
+
caller: string;
|
|
1027
|
+
market: string;
|
|
1028
|
+
token: string;
|
|
1029
|
+
receiver: string;
|
|
1030
|
+
netLpToRemove: BigNumber;
|
|
1031
|
+
totalTokenOut: BigNumber;
|
|
1032
|
+
params: IPActionMiscV3.ExitPreExpReturnParamsStructOutput;
|
|
1033
|
+
}
|
|
1034
|
+
>;
|
|
1035
|
+
|
|
1036
|
+
export type ExitPreExpToTokenEventFilter =
|
|
1037
|
+
TypedEventFilter<ExitPreExpToTokenEvent>;
|
|
1038
|
+
|
|
863
1039
|
export type MintPyFromSyEvent = TypedEvent<
|
|
864
1040
|
[string, string, string, BigNumber, BigNumber],
|
|
865
1041
|
{
|
|
@@ -1208,7 +1384,16 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1208
1384
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1209
1385
|
): Promise<ContractTransaction>;
|
|
1210
1386
|
|
|
1211
|
-
|
|
1387
|
+
exitPostExpToSy(
|
|
1388
|
+
receiver: string,
|
|
1389
|
+
market: string,
|
|
1390
|
+
netPtIn: BigNumberish,
|
|
1391
|
+
netLpIn: BigNumberish,
|
|
1392
|
+
minSyOut: BigNumberish,
|
|
1393
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1394
|
+
): Promise<ContractTransaction>;
|
|
1395
|
+
|
|
1396
|
+
exitPostExpToToken(
|
|
1212
1397
|
receiver: string,
|
|
1213
1398
|
market: string,
|
|
1214
1399
|
netPtIn: BigNumberish,
|
|
@@ -1217,7 +1402,18 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1217
1402
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1218
1403
|
): Promise<ContractTransaction>;
|
|
1219
1404
|
|
|
1220
|
-
|
|
1405
|
+
exitPreExpToSy(
|
|
1406
|
+
receiver: string,
|
|
1407
|
+
market: string,
|
|
1408
|
+
netPtIn: BigNumberish,
|
|
1409
|
+
netYtIn: BigNumberish,
|
|
1410
|
+
netLpIn: BigNumberish,
|
|
1411
|
+
minSyOut: BigNumberish,
|
|
1412
|
+
limit: LimitOrderDataStruct,
|
|
1413
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1414
|
+
): Promise<ContractTransaction>;
|
|
1415
|
+
|
|
1416
|
+
exitPreExpToToken(
|
|
1221
1417
|
receiver: string,
|
|
1222
1418
|
market: string,
|
|
1223
1419
|
netPtIn: BigNumberish,
|
|
@@ -1563,7 +1759,16 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1563
1759
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1564
1760
|
): Promise<ContractTransaction>;
|
|
1565
1761
|
|
|
1566
|
-
|
|
1762
|
+
exitPostExpToSy(
|
|
1763
|
+
receiver: string,
|
|
1764
|
+
market: string,
|
|
1765
|
+
netPtIn: BigNumberish,
|
|
1766
|
+
netLpIn: BigNumberish,
|
|
1767
|
+
minSyOut: BigNumberish,
|
|
1768
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1769
|
+
): Promise<ContractTransaction>;
|
|
1770
|
+
|
|
1771
|
+
exitPostExpToToken(
|
|
1567
1772
|
receiver: string,
|
|
1568
1773
|
market: string,
|
|
1569
1774
|
netPtIn: BigNumberish,
|
|
@@ -1572,7 +1777,18 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1572
1777
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1573
1778
|
): Promise<ContractTransaction>;
|
|
1574
1779
|
|
|
1575
|
-
|
|
1780
|
+
exitPreExpToSy(
|
|
1781
|
+
receiver: string,
|
|
1782
|
+
market: string,
|
|
1783
|
+
netPtIn: BigNumberish,
|
|
1784
|
+
netYtIn: BigNumberish,
|
|
1785
|
+
netLpIn: BigNumberish,
|
|
1786
|
+
minSyOut: BigNumberish,
|
|
1787
|
+
limit: LimitOrderDataStruct,
|
|
1788
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1789
|
+
): Promise<ContractTransaction>;
|
|
1790
|
+
|
|
1791
|
+
exitPreExpToToken(
|
|
1576
1792
|
receiver: string,
|
|
1577
1793
|
market: string,
|
|
1578
1794
|
netPtIn: BigNumberish,
|
|
@@ -1948,7 +2164,16 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1948
2164
|
|
|
1949
2165
|
claimOwnership(overrides?: CallOverrides): Promise<void>;
|
|
1950
2166
|
|
|
1951
|
-
|
|
2167
|
+
exitPostExpToSy(
|
|
2168
|
+
receiver: string,
|
|
2169
|
+
market: string,
|
|
2170
|
+
netPtIn: BigNumberish,
|
|
2171
|
+
netLpIn: BigNumberish,
|
|
2172
|
+
minSyOut: BigNumberish,
|
|
2173
|
+
overrides?: CallOverrides
|
|
2174
|
+
): Promise<IPActionMiscV3.ExitPostExpReturnParamsStructOutput>;
|
|
2175
|
+
|
|
2176
|
+
exitPostExpToToken(
|
|
1952
2177
|
receiver: string,
|
|
1953
2178
|
market: string,
|
|
1954
2179
|
netPtIn: BigNumberish,
|
|
@@ -1956,16 +2181,24 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1956
2181
|
output: TokenOutputStruct,
|
|
1957
2182
|
overrides?: CallOverrides
|
|
1958
2183
|
): Promise<
|
|
1959
|
-
[BigNumber,
|
|
2184
|
+
[BigNumber, IPActionMiscV3.ExitPostExpReturnParamsStructOutput] & {
|
|
1960
2185
|
netTokenOut: BigNumber;
|
|
1961
|
-
|
|
1962
|
-
netSyFromRemove: BigNumber;
|
|
1963
|
-
netPtRedeem: BigNumber;
|
|
1964
|
-
netSyFromRedeem: BigNumber;
|
|
2186
|
+
params: IPActionMiscV3.ExitPostExpReturnParamsStructOutput;
|
|
1965
2187
|
}
|
|
1966
2188
|
>;
|
|
1967
2189
|
|
|
1968
|
-
|
|
2190
|
+
exitPreExpToSy(
|
|
2191
|
+
receiver: string,
|
|
2192
|
+
market: string,
|
|
2193
|
+
netPtIn: BigNumberish,
|
|
2194
|
+
netYtIn: BigNumberish,
|
|
2195
|
+
netLpIn: BigNumberish,
|
|
2196
|
+
minSyOut: BigNumberish,
|
|
2197
|
+
limit: LimitOrderDataStruct,
|
|
2198
|
+
overrides?: CallOverrides
|
|
2199
|
+
): Promise<IPActionMiscV3.ExitPreExpReturnParamsStructOutput>;
|
|
2200
|
+
|
|
2201
|
+
exitPreExpToToken(
|
|
1969
2202
|
receiver: string,
|
|
1970
2203
|
market: string,
|
|
1971
2204
|
netPtIn: BigNumberish,
|
|
@@ -1975,26 +2208,9 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
1975
2208
|
limit: LimitOrderDataStruct,
|
|
1976
2209
|
overrides?: CallOverrides
|
|
1977
2210
|
): Promise<
|
|
1978
|
-
[
|
|
1979
|
-
BigNumber,
|
|
1980
|
-
BigNumber,
|
|
1981
|
-
BigNumber,
|
|
1982
|
-
BigNumber,
|
|
1983
|
-
BigNumber,
|
|
1984
|
-
BigNumber,
|
|
1985
|
-
BigNumber,
|
|
1986
|
-
BigNumber,
|
|
1987
|
-
BigNumber
|
|
1988
|
-
] & {
|
|
2211
|
+
[BigNumber, IPActionMiscV3.ExitPreExpReturnParamsStructOutput] & {
|
|
1989
2212
|
netTokenOut: BigNumber;
|
|
1990
|
-
|
|
1991
|
-
netSyFromRemove: BigNumber;
|
|
1992
|
-
netPyRedeem: BigNumber;
|
|
1993
|
-
netSyFromRedeem: BigNumber;
|
|
1994
|
-
netPtSwap: BigNumber;
|
|
1995
|
-
netYtSwap: BigNumber;
|
|
1996
|
-
netSyFromSwap: BigNumber;
|
|
1997
|
-
netSyFee: BigNumber;
|
|
2213
|
+
params: IPActionMiscV3.ExitPreExpReturnParamsStructOutput;
|
|
1998
2214
|
}
|
|
1999
2215
|
>;
|
|
2000
2216
|
|
|
@@ -2454,6 +2670,74 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
2454
2670
|
netSyInterm?: null
|
|
2455
2671
|
): AddLiquiditySingleTokenKeepYtEventFilter;
|
|
2456
2672
|
|
|
2673
|
+
"ExitPostExpToSy(address,address,address,uint256,tuple)"(
|
|
2674
|
+
caller?: string | null,
|
|
2675
|
+
market?: string | null,
|
|
2676
|
+
receiver?: string | null,
|
|
2677
|
+
netLpIn?: null,
|
|
2678
|
+
params?: null
|
|
2679
|
+
): ExitPostExpToSyEventFilter;
|
|
2680
|
+
ExitPostExpToSy(
|
|
2681
|
+
caller?: string | null,
|
|
2682
|
+
market?: string | null,
|
|
2683
|
+
receiver?: string | null,
|
|
2684
|
+
netLpIn?: null,
|
|
2685
|
+
params?: null
|
|
2686
|
+
): ExitPostExpToSyEventFilter;
|
|
2687
|
+
|
|
2688
|
+
"ExitPostExpToToken(address,address,address,address,uint256,uint256,tuple)"(
|
|
2689
|
+
caller?: string | null,
|
|
2690
|
+
market?: string | null,
|
|
2691
|
+
token?: string | null,
|
|
2692
|
+
receiver?: null,
|
|
2693
|
+
netLpIn?: null,
|
|
2694
|
+
totalTokenOut?: null,
|
|
2695
|
+
params?: null
|
|
2696
|
+
): ExitPostExpToTokenEventFilter;
|
|
2697
|
+
ExitPostExpToToken(
|
|
2698
|
+
caller?: string | null,
|
|
2699
|
+
market?: string | null,
|
|
2700
|
+
token?: string | null,
|
|
2701
|
+
receiver?: null,
|
|
2702
|
+
netLpIn?: null,
|
|
2703
|
+
totalTokenOut?: null,
|
|
2704
|
+
params?: null
|
|
2705
|
+
): ExitPostExpToTokenEventFilter;
|
|
2706
|
+
|
|
2707
|
+
"ExitPreExpToSy(address,address,address,uint256,tuple)"(
|
|
2708
|
+
caller?: string | null,
|
|
2709
|
+
market?: string | null,
|
|
2710
|
+
receiver?: string | null,
|
|
2711
|
+
netLpToRemove?: null,
|
|
2712
|
+
params?: null
|
|
2713
|
+
): ExitPreExpToSyEventFilter;
|
|
2714
|
+
ExitPreExpToSy(
|
|
2715
|
+
caller?: string | null,
|
|
2716
|
+
market?: string | null,
|
|
2717
|
+
receiver?: string | null,
|
|
2718
|
+
netLpToRemove?: null,
|
|
2719
|
+
params?: null
|
|
2720
|
+
): ExitPreExpToSyEventFilter;
|
|
2721
|
+
|
|
2722
|
+
"ExitPreExpToToken(address,address,address,address,uint256,uint256,tuple)"(
|
|
2723
|
+
caller?: string | null,
|
|
2724
|
+
market?: string | null,
|
|
2725
|
+
token?: string | null,
|
|
2726
|
+
receiver?: null,
|
|
2727
|
+
netLpToRemove?: null,
|
|
2728
|
+
totalTokenOut?: null,
|
|
2729
|
+
params?: null
|
|
2730
|
+
): ExitPreExpToTokenEventFilter;
|
|
2731
|
+
ExitPreExpToToken(
|
|
2732
|
+
caller?: string | null,
|
|
2733
|
+
market?: string | null,
|
|
2734
|
+
token?: string | null,
|
|
2735
|
+
receiver?: null,
|
|
2736
|
+
netLpToRemove?: null,
|
|
2737
|
+
totalTokenOut?: null,
|
|
2738
|
+
params?: null
|
|
2739
|
+
): ExitPreExpToTokenEventFilter;
|
|
2740
|
+
|
|
2457
2741
|
"MintPyFromSy(address,address,address,uint256,uint256)"(
|
|
2458
2742
|
caller?: string | null,
|
|
2459
2743
|
receiver?: string | null,
|
|
@@ -2821,7 +3105,16 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
2821
3105
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2822
3106
|
): Promise<BigNumber>;
|
|
2823
3107
|
|
|
2824
|
-
|
|
3108
|
+
exitPostExpToSy(
|
|
3109
|
+
receiver: string,
|
|
3110
|
+
market: string,
|
|
3111
|
+
netPtIn: BigNumberish,
|
|
3112
|
+
netLpIn: BigNumberish,
|
|
3113
|
+
minSyOut: BigNumberish,
|
|
3114
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3115
|
+
): Promise<BigNumber>;
|
|
3116
|
+
|
|
3117
|
+
exitPostExpToToken(
|
|
2825
3118
|
receiver: string,
|
|
2826
3119
|
market: string,
|
|
2827
3120
|
netPtIn: BigNumberish,
|
|
@@ -2830,7 +3123,18 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
2830
3123
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2831
3124
|
): Promise<BigNumber>;
|
|
2832
3125
|
|
|
2833
|
-
|
|
3126
|
+
exitPreExpToSy(
|
|
3127
|
+
receiver: string,
|
|
3128
|
+
market: string,
|
|
3129
|
+
netPtIn: BigNumberish,
|
|
3130
|
+
netYtIn: BigNumberish,
|
|
3131
|
+
netLpIn: BigNumberish,
|
|
3132
|
+
minSyOut: BigNumberish,
|
|
3133
|
+
limit: LimitOrderDataStruct,
|
|
3134
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3135
|
+
): Promise<BigNumber>;
|
|
3136
|
+
|
|
3137
|
+
exitPreExpToToken(
|
|
2834
3138
|
receiver: string,
|
|
2835
3139
|
market: string,
|
|
2836
3140
|
netPtIn: BigNumberish,
|
|
@@ -3177,7 +3481,16 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
3177
3481
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3178
3482
|
): Promise<PopulatedTransaction>;
|
|
3179
3483
|
|
|
3180
|
-
|
|
3484
|
+
exitPostExpToSy(
|
|
3485
|
+
receiver: string,
|
|
3486
|
+
market: string,
|
|
3487
|
+
netPtIn: BigNumberish,
|
|
3488
|
+
netLpIn: BigNumberish,
|
|
3489
|
+
minSyOut: BigNumberish,
|
|
3490
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3491
|
+
): Promise<PopulatedTransaction>;
|
|
3492
|
+
|
|
3493
|
+
exitPostExpToToken(
|
|
3181
3494
|
receiver: string,
|
|
3182
3495
|
market: string,
|
|
3183
3496
|
netPtIn: BigNumberish,
|
|
@@ -3186,7 +3499,18 @@ export interface IPAllActionV3 extends BaseContract {
|
|
|
3186
3499
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3187
3500
|
): Promise<PopulatedTransaction>;
|
|
3188
3501
|
|
|
3189
|
-
|
|
3502
|
+
exitPreExpToSy(
|
|
3503
|
+
receiver: string,
|
|
3504
|
+
market: string,
|
|
3505
|
+
netPtIn: BigNumberish,
|
|
3506
|
+
netYtIn: BigNumberish,
|
|
3507
|
+
netLpIn: BigNumberish,
|
|
3508
|
+
minSyOut: BigNumberish,
|
|
3509
|
+
limit: LimitOrderDataStruct,
|
|
3510
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
3511
|
+
): Promise<PopulatedTransaction>;
|
|
3512
|
+
|
|
3513
|
+
exitPreExpToToken(
|
|
3190
3514
|
receiver: string,
|
|
3191
3515
|
market: string,
|
|
3192
3516
|
netPtIn: BigNumberish,
|