@pendle/sdk-boros 0.3.36 → 0.3.38
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/dist/contracts/viemAbis.d.ts +575 -314
- package/dist/contracts/viemAbis.js +388 -179
- package/dist/contracts/viemAbis.js.map +1 -1
- package/dist/entities/exchange/exchange.d.ts +8 -88
- package/dist/entities/exchange/utils.d.ts +137 -23
- package/dist/types/encoders.d.ts +11 -1
- package/dist/types/encoders.js +7 -7
- package/dist/types/encoders.js.map +1 -1
- package/package.json +2 -2
|
@@ -275,6 +275,76 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
275
275
|
}];
|
|
276
276
|
readonly stateMutability: "nonpayable";
|
|
277
277
|
readonly type: "function";
|
|
278
|
+
}, {
|
|
279
|
+
readonly inputs: readonly [{
|
|
280
|
+
readonly internalType: "MarketAcc";
|
|
281
|
+
readonly name: "user";
|
|
282
|
+
readonly type: "bytes26";
|
|
283
|
+
}, {
|
|
284
|
+
readonly components: readonly [{
|
|
285
|
+
readonly internalType: "MarketId";
|
|
286
|
+
readonly name: "marketId";
|
|
287
|
+
readonly type: "uint24";
|
|
288
|
+
}, {
|
|
289
|
+
readonly components: readonly [{
|
|
290
|
+
readonly internalType: "enum TimeInForce";
|
|
291
|
+
readonly name: "tif";
|
|
292
|
+
readonly type: "uint8";
|
|
293
|
+
}, {
|
|
294
|
+
readonly internalType: "enum Side";
|
|
295
|
+
readonly name: "side";
|
|
296
|
+
readonly type: "uint8";
|
|
297
|
+
}, {
|
|
298
|
+
readonly internalType: "uint256[]";
|
|
299
|
+
readonly name: "sizes";
|
|
300
|
+
readonly type: "uint256[]";
|
|
301
|
+
}, {
|
|
302
|
+
readonly internalType: "int16[]";
|
|
303
|
+
readonly name: "limitTicks";
|
|
304
|
+
readonly type: "int16[]";
|
|
305
|
+
}];
|
|
306
|
+
readonly internalType: "struct LongShort";
|
|
307
|
+
readonly name: "orders";
|
|
308
|
+
readonly type: "tuple";
|
|
309
|
+
}, {
|
|
310
|
+
readonly components: readonly [{
|
|
311
|
+
readonly internalType: "OrderId[]";
|
|
312
|
+
readonly name: "ids";
|
|
313
|
+
readonly type: "uint64[]";
|
|
314
|
+
}, {
|
|
315
|
+
readonly internalType: "bool";
|
|
316
|
+
readonly name: "isAll";
|
|
317
|
+
readonly type: "bool";
|
|
318
|
+
}, {
|
|
319
|
+
readonly internalType: "bool";
|
|
320
|
+
readonly name: "isStrict";
|
|
321
|
+
readonly type: "bool";
|
|
322
|
+
}];
|
|
323
|
+
readonly internalType: "struct CancelData";
|
|
324
|
+
readonly name: "cancelData";
|
|
325
|
+
readonly type: "tuple";
|
|
326
|
+
}];
|
|
327
|
+
readonly internalType: "struct BulkOrder[]";
|
|
328
|
+
readonly name: "bulks";
|
|
329
|
+
readonly type: "tuple[]";
|
|
330
|
+
}];
|
|
331
|
+
readonly name: "bulkOrders";
|
|
332
|
+
readonly outputs: readonly [{
|
|
333
|
+
readonly components: readonly [{
|
|
334
|
+
readonly internalType: "Trade";
|
|
335
|
+
readonly name: "matched";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
}, {
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
readonly name: "takerFee";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}];
|
|
342
|
+
readonly internalType: "struct BulkOrderResult[]";
|
|
343
|
+
readonly name: "results";
|
|
344
|
+
readonly type: "tuple[]";
|
|
345
|
+
}];
|
|
346
|
+
readonly stateMutability: "nonpayable";
|
|
347
|
+
readonly type: "function";
|
|
278
348
|
}, {
|
|
279
349
|
readonly inputs: readonly [{
|
|
280
350
|
readonly internalType: "MarketId";
|
|
@@ -455,6 +525,20 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
455
525
|
readonly type: "function";
|
|
456
526
|
}];
|
|
457
527
|
export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
528
|
+
readonly inputs: readonly [{
|
|
529
|
+
readonly internalType: "MarketAcc";
|
|
530
|
+
readonly name: "user";
|
|
531
|
+
readonly type: "bytes26";
|
|
532
|
+
}, {
|
|
533
|
+
readonly internalType: "int256";
|
|
534
|
+
readonly name: "delta";
|
|
535
|
+
readonly type: "int256";
|
|
536
|
+
}];
|
|
537
|
+
readonly name: "adjustAccCash";
|
|
538
|
+
readonly outputs: readonly [];
|
|
539
|
+
readonly stateMutability: "nonpayable";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
}, {
|
|
458
542
|
readonly inputs: readonly [{
|
|
459
543
|
readonly internalType: "MarketId";
|
|
460
544
|
readonly name: "marketId";
|
|
@@ -540,6 +624,28 @@ export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
|
540
624
|
readonly type: "uint256";
|
|
541
625
|
}];
|
|
542
626
|
readonly name: "forcePurgeOobOrders";
|
|
627
|
+
readonly outputs: readonly [{
|
|
628
|
+
readonly internalType: "uint256";
|
|
629
|
+
readonly name: "totalTicksPurgedLong";
|
|
630
|
+
readonly type: "uint256";
|
|
631
|
+
}, {
|
|
632
|
+
readonly internalType: "uint256";
|
|
633
|
+
readonly name: "totalTicksPurgedShort";
|
|
634
|
+
readonly type: "uint256";
|
|
635
|
+
}];
|
|
636
|
+
readonly stateMutability: "nonpayable";
|
|
637
|
+
readonly type: "function";
|
|
638
|
+
}, {
|
|
639
|
+
readonly inputs: readonly [{
|
|
640
|
+
readonly internalType: "MarketAcc";
|
|
641
|
+
readonly name: "user";
|
|
642
|
+
readonly type: "bytes26";
|
|
643
|
+
}, {
|
|
644
|
+
readonly internalType: "int256";
|
|
645
|
+
readonly name: "desiredCash";
|
|
646
|
+
readonly type: "int256";
|
|
647
|
+
}];
|
|
648
|
+
readonly name: "setAccCash";
|
|
543
649
|
readonly outputs: readonly [];
|
|
544
650
|
readonly stateMutability: "nonpayable";
|
|
545
651
|
readonly type: "function";
|
|
@@ -893,6 +999,20 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
893
999
|
}];
|
|
894
1000
|
readonly stateMutability: "view";
|
|
895
1001
|
readonly type: "function";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly inputs: readonly [{
|
|
1004
|
+
readonly internalType: "MarketAcc";
|
|
1005
|
+
readonly name: "user";
|
|
1006
|
+
readonly type: "bytes26";
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly internalType: "int256";
|
|
1009
|
+
readonly name: "delta";
|
|
1010
|
+
readonly type: "int256";
|
|
1011
|
+
}];
|
|
1012
|
+
readonly name: "adjustAccCash";
|
|
1013
|
+
readonly outputs: readonly [];
|
|
1014
|
+
readonly stateMutability: "nonpayable";
|
|
1015
|
+
readonly type: "function";
|
|
896
1016
|
}, {
|
|
897
1017
|
readonly inputs: readonly [{
|
|
898
1018
|
readonly internalType: "MarketId";
|
|
@@ -982,6 +1102,76 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
982
1102
|
}];
|
|
983
1103
|
readonly stateMutability: "nonpayable";
|
|
984
1104
|
readonly type: "function";
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly inputs: readonly [{
|
|
1107
|
+
readonly internalType: "MarketAcc";
|
|
1108
|
+
readonly name: "user";
|
|
1109
|
+
readonly type: "bytes26";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly components: readonly [{
|
|
1112
|
+
readonly internalType: "MarketId";
|
|
1113
|
+
readonly name: "marketId";
|
|
1114
|
+
readonly type: "uint24";
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly components: readonly [{
|
|
1117
|
+
readonly internalType: "enum TimeInForce";
|
|
1118
|
+
readonly name: "tif";
|
|
1119
|
+
readonly type: "uint8";
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly internalType: "enum Side";
|
|
1122
|
+
readonly name: "side";
|
|
1123
|
+
readonly type: "uint8";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly internalType: "uint256[]";
|
|
1126
|
+
readonly name: "sizes";
|
|
1127
|
+
readonly type: "uint256[]";
|
|
1128
|
+
}, {
|
|
1129
|
+
readonly internalType: "int16[]";
|
|
1130
|
+
readonly name: "limitTicks";
|
|
1131
|
+
readonly type: "int16[]";
|
|
1132
|
+
}];
|
|
1133
|
+
readonly internalType: "struct LongShort";
|
|
1134
|
+
readonly name: "orders";
|
|
1135
|
+
readonly type: "tuple";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly components: readonly [{
|
|
1138
|
+
readonly internalType: "OrderId[]";
|
|
1139
|
+
readonly name: "ids";
|
|
1140
|
+
readonly type: "uint64[]";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly internalType: "bool";
|
|
1143
|
+
readonly name: "isAll";
|
|
1144
|
+
readonly type: "bool";
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly internalType: "bool";
|
|
1147
|
+
readonly name: "isStrict";
|
|
1148
|
+
readonly type: "bool";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly internalType: "struct CancelData";
|
|
1151
|
+
readonly name: "cancelData";
|
|
1152
|
+
readonly type: "tuple";
|
|
1153
|
+
}];
|
|
1154
|
+
readonly internalType: "struct BulkOrder[]";
|
|
1155
|
+
readonly name: "bulks";
|
|
1156
|
+
readonly type: "tuple[]";
|
|
1157
|
+
}];
|
|
1158
|
+
readonly name: "bulkOrders";
|
|
1159
|
+
readonly outputs: readonly [{
|
|
1160
|
+
readonly components: readonly [{
|
|
1161
|
+
readonly internalType: "Trade";
|
|
1162
|
+
readonly name: "matched";
|
|
1163
|
+
readonly type: "uint256";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly internalType: "uint256";
|
|
1166
|
+
readonly name: "takerFee";
|
|
1167
|
+
readonly type: "uint256";
|
|
1168
|
+
}];
|
|
1169
|
+
readonly internalType: "struct BulkOrderResult[]";
|
|
1170
|
+
readonly name: "results";
|
|
1171
|
+
readonly type: "tuple[]";
|
|
1172
|
+
}];
|
|
1173
|
+
readonly stateMutability: "nonpayable";
|
|
1174
|
+
readonly type: "function";
|
|
985
1175
|
}, {
|
|
986
1176
|
readonly inputs: readonly [{
|
|
987
1177
|
readonly internalType: "MarketId";
|
|
@@ -1221,7 +1411,15 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1221
1411
|
readonly type: "uint256";
|
|
1222
1412
|
}];
|
|
1223
1413
|
readonly name: "forcePurgeOobOrders";
|
|
1224
|
-
readonly outputs: readonly [
|
|
1414
|
+
readonly outputs: readonly [{
|
|
1415
|
+
readonly internalType: "uint256";
|
|
1416
|
+
readonly name: "totalTicksPurgedLong";
|
|
1417
|
+
readonly type: "uint256";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly internalType: "uint256";
|
|
1420
|
+
readonly name: "totalTicksPurgedShort";
|
|
1421
|
+
readonly type: "uint256";
|
|
1422
|
+
}];
|
|
1225
1423
|
readonly stateMutability: "nonpayable";
|
|
1226
1424
|
readonly type: "function";
|
|
1227
1425
|
}, {
|
|
@@ -1559,6 +1757,20 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1559
1757
|
}];
|
|
1560
1758
|
readonly stateMutability: "view";
|
|
1561
1759
|
readonly type: "function";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly inputs: readonly [{
|
|
1762
|
+
readonly internalType: "MarketAcc";
|
|
1763
|
+
readonly name: "user";
|
|
1764
|
+
readonly type: "bytes26";
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly internalType: "int256";
|
|
1767
|
+
readonly name: "desiredCash";
|
|
1768
|
+
readonly type: "int256";
|
|
1769
|
+
}];
|
|
1770
|
+
readonly name: "setAccCash";
|
|
1771
|
+
readonly outputs: readonly [];
|
|
1772
|
+
readonly stateMutability: "nonpayable";
|
|
1773
|
+
readonly type: "function";
|
|
1562
1774
|
}, {
|
|
1563
1775
|
readonly inputs: readonly [{
|
|
1564
1776
|
readonly internalType: "int128";
|
|
@@ -1730,6 +1942,24 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1730
1942
|
readonly outputs: readonly [];
|
|
1731
1943
|
readonly stateMutability: "nonpayable";
|
|
1732
1944
|
readonly type: "function";
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly inputs: readonly [{
|
|
1947
|
+
readonly internalType: "address";
|
|
1948
|
+
readonly name: "root";
|
|
1949
|
+
readonly type: "address";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly internalType: "TokenId";
|
|
1952
|
+
readonly name: "tokenId";
|
|
1953
|
+
readonly type: "uint16";
|
|
1954
|
+
}, {
|
|
1955
|
+
readonly internalType: "uint256";
|
|
1956
|
+
readonly name: "unscaled";
|
|
1957
|
+
readonly type: "uint256";
|
|
1958
|
+
}];
|
|
1959
|
+
readonly name: "vaultPayTreasury";
|
|
1960
|
+
readonly outputs: readonly [];
|
|
1961
|
+
readonly stateMutability: "nonpayable";
|
|
1962
|
+
readonly type: "function";
|
|
1733
1963
|
}, {
|
|
1734
1964
|
readonly inputs: readonly [{
|
|
1735
1965
|
readonly internalType: "TokenId[]";
|
|
@@ -1893,6 +2123,24 @@ export declare const iMarginManagerOnlyAbi: readonly [{
|
|
|
1893
2123
|
readonly outputs: readonly [];
|
|
1894
2124
|
readonly stateMutability: "nonpayable";
|
|
1895
2125
|
readonly type: "function";
|
|
2126
|
+
}, {
|
|
2127
|
+
readonly inputs: readonly [{
|
|
2128
|
+
readonly internalType: "address";
|
|
2129
|
+
readonly name: "root";
|
|
2130
|
+
readonly type: "address";
|
|
2131
|
+
}, {
|
|
2132
|
+
readonly internalType: "TokenId";
|
|
2133
|
+
readonly name: "tokenId";
|
|
2134
|
+
readonly type: "uint16";
|
|
2135
|
+
}, {
|
|
2136
|
+
readonly internalType: "uint256";
|
|
2137
|
+
readonly name: "unscaled";
|
|
2138
|
+
readonly type: "uint256";
|
|
2139
|
+
}];
|
|
2140
|
+
readonly name: "vaultPayTreasury";
|
|
2141
|
+
readonly outputs: readonly [];
|
|
2142
|
+
readonly stateMutability: "nonpayable";
|
|
2143
|
+
readonly type: "function";
|
|
1896
2144
|
}];
|
|
1897
2145
|
export declare const iMarketHubAllEventsAndTypesAbi: readonly [{
|
|
1898
2146
|
readonly anonymous: false;
|
|
@@ -3746,6 +3994,25 @@ export declare const iRouterAbi: readonly [{
|
|
|
3746
3994
|
readonly outputs: readonly [];
|
|
3747
3995
|
readonly stateMutability: "nonpayable";
|
|
3748
3996
|
readonly type: "function";
|
|
3997
|
+
}, {
|
|
3998
|
+
readonly inputs: readonly [{
|
|
3999
|
+
readonly components: readonly [{
|
|
4000
|
+
readonly internalType: "Account";
|
|
4001
|
+
readonly name: "account";
|
|
4002
|
+
readonly type: "bytes21";
|
|
4003
|
+
}, {
|
|
4004
|
+
readonly internalType: "bytes";
|
|
4005
|
+
readonly name: "data";
|
|
4006
|
+
readonly type: "bytes";
|
|
4007
|
+
}];
|
|
4008
|
+
readonly internalType: "struct IMiscModule.ManipulateData[]";
|
|
4009
|
+
readonly name: "calls";
|
|
4010
|
+
readonly type: "tuple[]";
|
|
4011
|
+
}];
|
|
4012
|
+
readonly name: "batchManipulate";
|
|
4013
|
+
readonly outputs: readonly [];
|
|
4014
|
+
readonly stateMutability: "nonpayable";
|
|
4015
|
+
readonly type: "function";
|
|
3749
4016
|
}, {
|
|
3750
4017
|
readonly inputs: readonly [{
|
|
3751
4018
|
readonly components: readonly [{
|
|
@@ -3929,24 +4196,103 @@ export declare const iRouterAbi: readonly [{
|
|
|
3929
4196
|
}];
|
|
3930
4197
|
readonly stateMutability: "nonpayable";
|
|
3931
4198
|
readonly type: "function";
|
|
3932
|
-
}, {
|
|
3933
|
-
readonly inputs: readonly [{
|
|
3934
|
-
readonly internalType: "TokenId";
|
|
3935
|
-
readonly name: "tokenId";
|
|
3936
|
-
readonly type: "uint16";
|
|
3937
|
-
}];
|
|
3938
|
-
readonly name: "cancelVaultWithdrawal";
|
|
3939
|
-
readonly outputs: readonly [];
|
|
3940
|
-
readonly stateMutability: "nonpayable";
|
|
3941
|
-
readonly type: "function";
|
|
3942
4199
|
}, {
|
|
3943
4200
|
readonly inputs: readonly [{
|
|
3944
4201
|
readonly components: readonly [{
|
|
3945
|
-
readonly internalType: "
|
|
3946
|
-
readonly name: "
|
|
3947
|
-
readonly type: "
|
|
4202
|
+
readonly internalType: "bool";
|
|
4203
|
+
readonly name: "cross";
|
|
4204
|
+
readonly type: "bool";
|
|
3948
4205
|
}, {
|
|
3949
|
-
readonly
|
|
4206
|
+
readonly components: readonly [{
|
|
4207
|
+
readonly internalType: "MarketId";
|
|
4208
|
+
readonly name: "marketId";
|
|
4209
|
+
readonly type: "uint24";
|
|
4210
|
+
}, {
|
|
4211
|
+
readonly components: readonly [{
|
|
4212
|
+
readonly internalType: "enum TimeInForce";
|
|
4213
|
+
readonly name: "tif";
|
|
4214
|
+
readonly type: "uint8";
|
|
4215
|
+
}, {
|
|
4216
|
+
readonly internalType: "enum Side";
|
|
4217
|
+
readonly name: "side";
|
|
4218
|
+
readonly type: "uint8";
|
|
4219
|
+
}, {
|
|
4220
|
+
readonly internalType: "uint256[]";
|
|
4221
|
+
readonly name: "sizes";
|
|
4222
|
+
readonly type: "uint256[]";
|
|
4223
|
+
}, {
|
|
4224
|
+
readonly internalType: "int16[]";
|
|
4225
|
+
readonly name: "limitTicks";
|
|
4226
|
+
readonly type: "int16[]";
|
|
4227
|
+
}];
|
|
4228
|
+
readonly internalType: "struct LongShort";
|
|
4229
|
+
readonly name: "orders";
|
|
4230
|
+
readonly type: "tuple";
|
|
4231
|
+
}, {
|
|
4232
|
+
readonly components: readonly [{
|
|
4233
|
+
readonly internalType: "OrderId[]";
|
|
4234
|
+
readonly name: "ids";
|
|
4235
|
+
readonly type: "uint64[]";
|
|
4236
|
+
}, {
|
|
4237
|
+
readonly internalType: "bool";
|
|
4238
|
+
readonly name: "isAll";
|
|
4239
|
+
readonly type: "bool";
|
|
4240
|
+
}, {
|
|
4241
|
+
readonly internalType: "bool";
|
|
4242
|
+
readonly name: "isStrict";
|
|
4243
|
+
readonly type: "bool";
|
|
4244
|
+
}];
|
|
4245
|
+
readonly internalType: "struct CancelData";
|
|
4246
|
+
readonly name: "cancelData";
|
|
4247
|
+
readonly type: "tuple";
|
|
4248
|
+
}];
|
|
4249
|
+
readonly internalType: "struct BulkOrder[]";
|
|
4250
|
+
readonly name: "bulks";
|
|
4251
|
+
readonly type: "tuple[]";
|
|
4252
|
+
}, {
|
|
4253
|
+
readonly internalType: "int128[]";
|
|
4254
|
+
readonly name: "desiredMatchRates";
|
|
4255
|
+
readonly type: "int128[]";
|
|
4256
|
+
}];
|
|
4257
|
+
readonly internalType: "struct IRouterEventsAndTypes.BulkOrdersReq";
|
|
4258
|
+
readonly name: "req";
|
|
4259
|
+
readonly type: "tuple";
|
|
4260
|
+
}];
|
|
4261
|
+
readonly name: "bulkOrders";
|
|
4262
|
+
readonly outputs: readonly [{
|
|
4263
|
+
readonly components: readonly [{
|
|
4264
|
+
readonly internalType: "Trade";
|
|
4265
|
+
readonly name: "matched";
|
|
4266
|
+
readonly type: "uint256";
|
|
4267
|
+
}, {
|
|
4268
|
+
readonly internalType: "uint256";
|
|
4269
|
+
readonly name: "takerFee";
|
|
4270
|
+
readonly type: "uint256";
|
|
4271
|
+
}];
|
|
4272
|
+
readonly internalType: "struct BulkOrderResult[]";
|
|
4273
|
+
readonly name: "results";
|
|
4274
|
+
readonly type: "tuple[]";
|
|
4275
|
+
}];
|
|
4276
|
+
readonly stateMutability: "nonpayable";
|
|
4277
|
+
readonly type: "function";
|
|
4278
|
+
}, {
|
|
4279
|
+
readonly inputs: readonly [{
|
|
4280
|
+
readonly internalType: "TokenId";
|
|
4281
|
+
readonly name: "tokenId";
|
|
4282
|
+
readonly type: "uint16";
|
|
4283
|
+
}];
|
|
4284
|
+
readonly name: "cancelVaultWithdrawal";
|
|
4285
|
+
readonly outputs: readonly [];
|
|
4286
|
+
readonly stateMutability: "nonpayable";
|
|
4287
|
+
readonly type: "function";
|
|
4288
|
+
}, {
|
|
4289
|
+
readonly inputs: readonly [{
|
|
4290
|
+
readonly components: readonly [{
|
|
4291
|
+
readonly internalType: "address";
|
|
4292
|
+
readonly name: "root";
|
|
4293
|
+
readonly type: "address";
|
|
4294
|
+
}, {
|
|
4295
|
+
readonly internalType: "TokenId";
|
|
3950
4296
|
readonly name: "tokenId";
|
|
3951
4297
|
readonly type: "uint16";
|
|
3952
4298
|
}, {
|
|
@@ -4424,16 +4770,6 @@ export declare const iRouterAbi: readonly [{
|
|
|
4424
4770
|
readonly outputs: readonly [];
|
|
4425
4771
|
readonly stateMutability: "nonpayable";
|
|
4426
4772
|
readonly type: "function";
|
|
4427
|
-
}, {
|
|
4428
|
-
readonly inputs: readonly [{
|
|
4429
|
-
readonly internalType: "MarketAcc";
|
|
4430
|
-
readonly name: "user";
|
|
4431
|
-
readonly type: "bytes26";
|
|
4432
|
-
}];
|
|
4433
|
-
readonly name: "settlePaymentAndOrders";
|
|
4434
|
-
readonly outputs: readonly [];
|
|
4435
|
-
readonly stateMutability: "nonpayable";
|
|
4436
|
-
readonly type: "function";
|
|
4437
4773
|
}, {
|
|
4438
4774
|
readonly inputs: readonly [{
|
|
4439
4775
|
readonly internalType: "address";
|
|
@@ -4658,6 +4994,51 @@ export declare const iRouterAbi: readonly [{
|
|
|
4658
4994
|
readonly outputs: readonly [];
|
|
4659
4995
|
readonly stateMutability: "nonpayable";
|
|
4660
4996
|
readonly type: "function";
|
|
4997
|
+
}, {
|
|
4998
|
+
readonly inputs: readonly [{
|
|
4999
|
+
readonly components: readonly [{
|
|
5000
|
+
readonly internalType: "address";
|
|
5001
|
+
readonly name: "root";
|
|
5002
|
+
readonly type: "address";
|
|
5003
|
+
}, {
|
|
5004
|
+
readonly internalType: "TokenId";
|
|
5005
|
+
readonly name: "tokenId";
|
|
5006
|
+
readonly type: "uint16";
|
|
5007
|
+
}, {
|
|
5008
|
+
readonly internalType: "uint256";
|
|
5009
|
+
readonly name: "amount";
|
|
5010
|
+
readonly type: "uint256";
|
|
5011
|
+
}, {
|
|
5012
|
+
readonly internalType: "uint64";
|
|
5013
|
+
readonly name: "nonce";
|
|
5014
|
+
readonly type: "uint64";
|
|
5015
|
+
}];
|
|
5016
|
+
readonly internalType: "struct IRouterEventsAndTypes.VaultPayTreasuryMessage";
|
|
5017
|
+
readonly name: "message";
|
|
5018
|
+
readonly type: "tuple";
|
|
5019
|
+
}, {
|
|
5020
|
+
readonly internalType: "bytes";
|
|
5021
|
+
readonly name: "signature";
|
|
5022
|
+
readonly type: "bytes";
|
|
5023
|
+
}];
|
|
5024
|
+
readonly name: "vaultPayTreasury";
|
|
5025
|
+
readonly outputs: readonly [];
|
|
5026
|
+
readonly stateMutability: "nonpayable";
|
|
5027
|
+
readonly type: "function";
|
|
5028
|
+
}, {
|
|
5029
|
+
readonly inputs: readonly [{
|
|
5030
|
+
readonly internalType: "TokenId";
|
|
5031
|
+
readonly name: "tokenId";
|
|
5032
|
+
readonly type: "uint16";
|
|
5033
|
+
}, {
|
|
5034
|
+
readonly internalType: "uint256";
|
|
5035
|
+
readonly name: "amount";
|
|
5036
|
+
readonly type: "uint256";
|
|
5037
|
+
}];
|
|
5038
|
+
readonly name: "vaultPayTreasury";
|
|
5039
|
+
readonly outputs: readonly [];
|
|
5040
|
+
readonly stateMutability: "nonpayable";
|
|
5041
|
+
readonly type: "function";
|
|
4661
5042
|
}];
|
|
4662
5043
|
export declare const iMarketAllEventsAndTypesAbi: readonly [{
|
|
4663
5044
|
readonly anonymous: false;
|
|
@@ -6134,6 +6515,16 @@ export declare const iMarketAbi: readonly [{
|
|
|
6134
6515
|
}];
|
|
6135
6516
|
readonly stateMutability: "nonpayable";
|
|
6136
6517
|
readonly type: "function";
|
|
6518
|
+
}, {
|
|
6519
|
+
readonly inputs: readonly [{
|
|
6520
|
+
readonly internalType: "MarketAcc";
|
|
6521
|
+
readonly name: "user";
|
|
6522
|
+
readonly type: "bytes26";
|
|
6523
|
+
}];
|
|
6524
|
+
readonly name: "resetDelevLiqNonce";
|
|
6525
|
+
readonly outputs: readonly [];
|
|
6526
|
+
readonly stateMutability: "nonpayable";
|
|
6527
|
+
readonly type: "function";
|
|
6137
6528
|
}, {
|
|
6138
6529
|
readonly inputs: readonly [{
|
|
6139
6530
|
readonly internalType: "uint64";
|
|
@@ -7759,6 +8150,16 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
7759
8150
|
}];
|
|
7760
8151
|
readonly stateMutability: "nonpayable";
|
|
7761
8152
|
readonly type: "function";
|
|
8153
|
+
}, {
|
|
8154
|
+
readonly inputs: readonly [{
|
|
8155
|
+
readonly internalType: "MarketAcc";
|
|
8156
|
+
readonly name: "user";
|
|
8157
|
+
readonly type: "bytes26";
|
|
8158
|
+
}];
|
|
8159
|
+
readonly name: "resetDelevLiqNonce";
|
|
8160
|
+
readonly outputs: readonly [];
|
|
8161
|
+
readonly stateMutability: "nonpayable";
|
|
8162
|
+
readonly type: "function";
|
|
7762
8163
|
}, {
|
|
7763
8164
|
readonly inputs: readonly [{
|
|
7764
8165
|
readonly internalType: "uint64";
|
|
@@ -10562,6 +10963,16 @@ export declare const iMarketEntryAbi: readonly [{
|
|
|
10562
10963
|
}];
|
|
10563
10964
|
readonly stateMutability: "nonpayable";
|
|
10564
10965
|
readonly type: "function";
|
|
10966
|
+
}, {
|
|
10967
|
+
readonly inputs: readonly [{
|
|
10968
|
+
readonly internalType: "MarketAcc";
|
|
10969
|
+
readonly name: "user";
|
|
10970
|
+
readonly type: "bytes26";
|
|
10971
|
+
}];
|
|
10972
|
+
readonly name: "resetDelevLiqNonce";
|
|
10973
|
+
readonly outputs: readonly [];
|
|
10974
|
+
readonly stateMutability: "nonpayable";
|
|
10975
|
+
readonly type: "function";
|
|
10565
10976
|
}, {
|
|
10566
10977
|
readonly inputs: readonly [{
|
|
10567
10978
|
readonly internalType: "MarketAcc";
|
|
@@ -12715,6 +13126,85 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
12715
13126
|
}];
|
|
12716
13127
|
readonly stateMutability: "nonpayable";
|
|
12717
13128
|
readonly type: "function";
|
|
13129
|
+
}, {
|
|
13130
|
+
readonly inputs: readonly [{
|
|
13131
|
+
readonly components: readonly [{
|
|
13132
|
+
readonly internalType: "bool";
|
|
13133
|
+
readonly name: "cross";
|
|
13134
|
+
readonly type: "bool";
|
|
13135
|
+
}, {
|
|
13136
|
+
readonly components: readonly [{
|
|
13137
|
+
readonly internalType: "MarketId";
|
|
13138
|
+
readonly name: "marketId";
|
|
13139
|
+
readonly type: "uint24";
|
|
13140
|
+
}, {
|
|
13141
|
+
readonly components: readonly [{
|
|
13142
|
+
readonly internalType: "enum TimeInForce";
|
|
13143
|
+
readonly name: "tif";
|
|
13144
|
+
readonly type: "uint8";
|
|
13145
|
+
}, {
|
|
13146
|
+
readonly internalType: "enum Side";
|
|
13147
|
+
readonly name: "side";
|
|
13148
|
+
readonly type: "uint8";
|
|
13149
|
+
}, {
|
|
13150
|
+
readonly internalType: "uint256[]";
|
|
13151
|
+
readonly name: "sizes";
|
|
13152
|
+
readonly type: "uint256[]";
|
|
13153
|
+
}, {
|
|
13154
|
+
readonly internalType: "int16[]";
|
|
13155
|
+
readonly name: "limitTicks";
|
|
13156
|
+
readonly type: "int16[]";
|
|
13157
|
+
}];
|
|
13158
|
+
readonly internalType: "struct LongShort";
|
|
13159
|
+
readonly name: "orders";
|
|
13160
|
+
readonly type: "tuple";
|
|
13161
|
+
}, {
|
|
13162
|
+
readonly components: readonly [{
|
|
13163
|
+
readonly internalType: "OrderId[]";
|
|
13164
|
+
readonly name: "ids";
|
|
13165
|
+
readonly type: "uint64[]";
|
|
13166
|
+
}, {
|
|
13167
|
+
readonly internalType: "bool";
|
|
13168
|
+
readonly name: "isAll";
|
|
13169
|
+
readonly type: "bool";
|
|
13170
|
+
}, {
|
|
13171
|
+
readonly internalType: "bool";
|
|
13172
|
+
readonly name: "isStrict";
|
|
13173
|
+
readonly type: "bool";
|
|
13174
|
+
}];
|
|
13175
|
+
readonly internalType: "struct CancelData";
|
|
13176
|
+
readonly name: "cancelData";
|
|
13177
|
+
readonly type: "tuple";
|
|
13178
|
+
}];
|
|
13179
|
+
readonly internalType: "struct BulkOrder[]";
|
|
13180
|
+
readonly name: "bulks";
|
|
13181
|
+
readonly type: "tuple[]";
|
|
13182
|
+
}, {
|
|
13183
|
+
readonly internalType: "int128[]";
|
|
13184
|
+
readonly name: "desiredMatchRates";
|
|
13185
|
+
readonly type: "int128[]";
|
|
13186
|
+
}];
|
|
13187
|
+
readonly internalType: "struct IRouterEventsAndTypes.BulkOrdersReq";
|
|
13188
|
+
readonly name: "req";
|
|
13189
|
+
readonly type: "tuple";
|
|
13190
|
+
}];
|
|
13191
|
+
readonly name: "bulkOrders";
|
|
13192
|
+
readonly outputs: readonly [{
|
|
13193
|
+
readonly components: readonly [{
|
|
13194
|
+
readonly internalType: "Trade";
|
|
13195
|
+
readonly name: "matched";
|
|
13196
|
+
readonly type: "uint256";
|
|
13197
|
+
}, {
|
|
13198
|
+
readonly internalType: "uint256";
|
|
13199
|
+
readonly name: "takerFee";
|
|
13200
|
+
readonly type: "uint256";
|
|
13201
|
+
}];
|
|
13202
|
+
readonly internalType: "struct BulkOrderResult[]";
|
|
13203
|
+
readonly name: "results";
|
|
13204
|
+
readonly type: "tuple[]";
|
|
13205
|
+
}];
|
|
13206
|
+
readonly stateMutability: "nonpayable";
|
|
13207
|
+
readonly type: "function";
|
|
12718
13208
|
}, {
|
|
12719
13209
|
readonly inputs: readonly [{
|
|
12720
13210
|
readonly internalType: "TokenId";
|
|
@@ -12928,16 +13418,6 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
12928
13418
|
readonly outputs: readonly [];
|
|
12929
13419
|
readonly stateMutability: "nonpayable";
|
|
12930
13420
|
readonly type: "function";
|
|
12931
|
-
}, {
|
|
12932
|
-
readonly inputs: readonly [{
|
|
12933
|
-
readonly internalType: "MarketAcc";
|
|
12934
|
-
readonly name: "user";
|
|
12935
|
-
readonly type: "bytes26";
|
|
12936
|
-
}];
|
|
12937
|
-
readonly name: "settlePaymentAndOrders";
|
|
12938
|
-
readonly outputs: readonly [];
|
|
12939
|
-
readonly stateMutability: "nonpayable";
|
|
12940
|
-
readonly type: "function";
|
|
12941
13421
|
}, {
|
|
12942
13422
|
readonly inputs: readonly [{
|
|
12943
13423
|
readonly internalType: "uint8";
|
|
@@ -12986,6 +13466,20 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
12986
13466
|
readonly outputs: readonly [];
|
|
12987
13467
|
readonly stateMutability: "nonpayable";
|
|
12988
13468
|
readonly type: "function";
|
|
13469
|
+
}, {
|
|
13470
|
+
readonly inputs: readonly [{
|
|
13471
|
+
readonly internalType: "TokenId";
|
|
13472
|
+
readonly name: "tokenId";
|
|
13473
|
+
readonly type: "uint16";
|
|
13474
|
+
}, {
|
|
13475
|
+
readonly internalType: "uint256";
|
|
13476
|
+
readonly name: "amount";
|
|
13477
|
+
readonly type: "uint256";
|
|
13478
|
+
}];
|
|
13479
|
+
readonly name: "vaultPayTreasury";
|
|
13480
|
+
readonly outputs: readonly [];
|
|
13481
|
+
readonly stateMutability: "nonpayable";
|
|
13482
|
+
readonly type: "function";
|
|
12989
13483
|
}];
|
|
12990
13484
|
export declare const iAuthModuleAbi: readonly [{
|
|
12991
13485
|
readonly anonymous: false;
|
|
@@ -13604,6 +14098,37 @@ export declare const iAuthModuleAbi: readonly [{
|
|
|
13604
14098
|
readonly outputs: readonly [];
|
|
13605
14099
|
readonly stateMutability: "nonpayable";
|
|
13606
14100
|
readonly type: "function";
|
|
14101
|
+
}, {
|
|
14102
|
+
readonly inputs: readonly [{
|
|
14103
|
+
readonly components: readonly [{
|
|
14104
|
+
readonly internalType: "address";
|
|
14105
|
+
readonly name: "root";
|
|
14106
|
+
readonly type: "address";
|
|
14107
|
+
}, {
|
|
14108
|
+
readonly internalType: "TokenId";
|
|
14109
|
+
readonly name: "tokenId";
|
|
14110
|
+
readonly type: "uint16";
|
|
14111
|
+
}, {
|
|
14112
|
+
readonly internalType: "uint256";
|
|
14113
|
+
readonly name: "amount";
|
|
14114
|
+
readonly type: "uint256";
|
|
14115
|
+
}, {
|
|
14116
|
+
readonly internalType: "uint64";
|
|
14117
|
+
readonly name: "nonce";
|
|
14118
|
+
readonly type: "uint64";
|
|
14119
|
+
}];
|
|
14120
|
+
readonly internalType: "struct IRouterEventsAndTypes.VaultPayTreasuryMessage";
|
|
14121
|
+
readonly name: "message";
|
|
14122
|
+
readonly type: "tuple";
|
|
14123
|
+
}, {
|
|
14124
|
+
readonly internalType: "bytes";
|
|
14125
|
+
readonly name: "signature";
|
|
14126
|
+
readonly type: "bytes";
|
|
14127
|
+
}];
|
|
14128
|
+
readonly name: "vaultPayTreasury";
|
|
14129
|
+
readonly outputs: readonly [];
|
|
14130
|
+
readonly stateMutability: "nonpayable";
|
|
14131
|
+
readonly type: "function";
|
|
13607
14132
|
}];
|
|
13608
14133
|
export declare const iFIndexOracleAbi: readonly [{
|
|
13609
14134
|
readonly anonymous: false;
|
|
@@ -13625,7 +14150,7 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
13625
14150
|
}, {
|
|
13626
14151
|
readonly indexed: false;
|
|
13627
14152
|
readonly internalType: "uint128";
|
|
13628
|
-
readonly name: "
|
|
14153
|
+
readonly name: "newMaxFRateDeviationFactor";
|
|
13629
14154
|
readonly type: "uint128";
|
|
13630
14155
|
}];
|
|
13631
14156
|
readonly name: "ConfigUpdated";
|
|
@@ -13657,7 +14182,7 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
13657
14182
|
readonly type: "uint32";
|
|
13658
14183
|
}, {
|
|
13659
14184
|
readonly internalType: "uint128";
|
|
13660
|
-
readonly name: "
|
|
14185
|
+
readonly name: "maxFRateDeviationFactor";
|
|
13661
14186
|
readonly type: "uint128";
|
|
13662
14187
|
}];
|
|
13663
14188
|
readonly stateMutability: "view";
|
|
@@ -13737,7 +14262,7 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
13737
14262
|
readonly type: "uint32";
|
|
13738
14263
|
}, {
|
|
13739
14264
|
readonly internalType: "uint128";
|
|
13740
|
-
readonly name: "
|
|
14265
|
+
readonly name: "maxFRateDeviationFactor";
|
|
13741
14266
|
readonly type: "uint128";
|
|
13742
14267
|
}];
|
|
13743
14268
|
readonly name: "setConfig";
|
|
@@ -13757,14 +14282,14 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
13757
14282
|
}, {
|
|
13758
14283
|
readonly inputs: readonly [{
|
|
13759
14284
|
readonly internalType: "int112";
|
|
13760
|
-
readonly name: "
|
|
14285
|
+
readonly name: "floatingIndexDelta";
|
|
13761
14286
|
readonly type: "int112";
|
|
13762
14287
|
}, {
|
|
13763
14288
|
readonly internalType: "uint32";
|
|
13764
14289
|
readonly name: "desiredTimestamp";
|
|
13765
14290
|
readonly type: "uint32";
|
|
13766
14291
|
}];
|
|
13767
|
-
readonly name: "
|
|
14292
|
+
readonly name: "updateFloatingIndex";
|
|
13768
14293
|
readonly outputs: readonly [];
|
|
13769
14294
|
readonly stateMutability: "nonpayable";
|
|
13770
14295
|
readonly type: "function";
|
|
@@ -13925,6 +14450,16 @@ export declare const iAMMAbi: readonly [{
|
|
|
13925
14450
|
}];
|
|
13926
14451
|
readonly name: "TotalSupplyCapUpdated";
|
|
13927
14452
|
readonly type: "event";
|
|
14453
|
+
}, {
|
|
14454
|
+
readonly inputs: readonly [];
|
|
14455
|
+
readonly name: "ACCOUNT_ONE";
|
|
14456
|
+
readonly outputs: readonly [{
|
|
14457
|
+
readonly internalType: "MarketAcc";
|
|
14458
|
+
readonly name: "";
|
|
14459
|
+
readonly type: "bytes26";
|
|
14460
|
+
}];
|
|
14461
|
+
readonly stateMutability: "view";
|
|
14462
|
+
readonly type: "function";
|
|
13928
14463
|
}, {
|
|
13929
14464
|
readonly inputs: readonly [];
|
|
13930
14465
|
readonly name: "AMM_ID";
|
|
@@ -14612,277 +15147,3 @@ export declare const iMultiTokenMerkleDistributorAbi: readonly [{
|
|
|
14612
15147
|
readonly stateMutability: "nonpayable";
|
|
14613
15148
|
readonly type: "function";
|
|
14614
15149
|
}];
|
|
14615
|
-
export declare const arbitrageExecutorAbi: readonly [{
|
|
14616
|
-
readonly inputs: readonly [{
|
|
14617
|
-
readonly internalType: "address";
|
|
14618
|
-
readonly name: "permissionController_";
|
|
14619
|
-
readonly type: "address";
|
|
14620
|
-
}, {
|
|
14621
|
-
readonly internalType: "address";
|
|
14622
|
-
readonly name: "router_";
|
|
14623
|
-
readonly type: "address";
|
|
14624
|
-
}, {
|
|
14625
|
-
readonly internalType: "address";
|
|
14626
|
-
readonly name: "marketHub_";
|
|
14627
|
-
readonly type: "address";
|
|
14628
|
-
}, {
|
|
14629
|
-
readonly internalType: "uint16";
|
|
14630
|
-
readonly name: "nTicksToTryAtOnce_";
|
|
14631
|
-
readonly type: "uint16";
|
|
14632
|
-
}];
|
|
14633
|
-
readonly stateMutability: "nonpayable";
|
|
14634
|
-
readonly type: "constructor";
|
|
14635
|
-
}, {
|
|
14636
|
-
readonly inputs: readonly [{
|
|
14637
|
-
readonly internalType: "address";
|
|
14638
|
-
readonly name: "target";
|
|
14639
|
-
readonly type: "address";
|
|
14640
|
-
}];
|
|
14641
|
-
readonly name: "AddressEmptyCode";
|
|
14642
|
-
readonly type: "error";
|
|
14643
|
-
}, {
|
|
14644
|
-
readonly inputs: readonly [{
|
|
14645
|
-
readonly internalType: "address";
|
|
14646
|
-
readonly name: "implementation";
|
|
14647
|
-
readonly type: "address";
|
|
14648
|
-
}];
|
|
14649
|
-
readonly name: "ERC1967InvalidImplementation";
|
|
14650
|
-
readonly type: "error";
|
|
14651
|
-
}, {
|
|
14652
|
-
readonly inputs: readonly [];
|
|
14653
|
-
readonly name: "ERC1967NonPayable";
|
|
14654
|
-
readonly type: "error";
|
|
14655
|
-
}, {
|
|
14656
|
-
readonly inputs: readonly [];
|
|
14657
|
-
readonly name: "FailedCall";
|
|
14658
|
-
readonly type: "error";
|
|
14659
|
-
}, {
|
|
14660
|
-
readonly inputs: readonly [];
|
|
14661
|
-
readonly name: "InsufficientProfit";
|
|
14662
|
-
readonly type: "error";
|
|
14663
|
-
}, {
|
|
14664
|
-
readonly inputs: readonly [];
|
|
14665
|
-
readonly name: "InvalidInitialization";
|
|
14666
|
-
readonly type: "error";
|
|
14667
|
-
}, {
|
|
14668
|
-
readonly inputs: readonly [];
|
|
14669
|
-
readonly name: "MarketMatured";
|
|
14670
|
-
readonly type: "error";
|
|
14671
|
-
}, {
|
|
14672
|
-
readonly inputs: readonly [];
|
|
14673
|
-
readonly name: "NotInitializing";
|
|
14674
|
-
readonly type: "error";
|
|
14675
|
-
}, {
|
|
14676
|
-
readonly inputs: readonly [];
|
|
14677
|
-
readonly name: "ProfitMismatch";
|
|
14678
|
-
readonly type: "error";
|
|
14679
|
-
}, {
|
|
14680
|
-
readonly inputs: readonly [{
|
|
14681
|
-
readonly internalType: "address";
|
|
14682
|
-
readonly name: "token";
|
|
14683
|
-
readonly type: "address";
|
|
14684
|
-
}];
|
|
14685
|
-
readonly name: "SafeERC20FailedOperation";
|
|
14686
|
-
readonly type: "error";
|
|
14687
|
-
}, {
|
|
14688
|
-
readonly inputs: readonly [];
|
|
14689
|
-
readonly name: "UUPSUnauthorizedCallContext";
|
|
14690
|
-
readonly type: "error";
|
|
14691
|
-
}, {
|
|
14692
|
-
readonly inputs: readonly [{
|
|
14693
|
-
readonly internalType: "bytes32";
|
|
14694
|
-
readonly name: "slot";
|
|
14695
|
-
readonly type: "bytes32";
|
|
14696
|
-
}];
|
|
14697
|
-
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
14698
|
-
readonly type: "error";
|
|
14699
|
-
}, {
|
|
14700
|
-
readonly inputs: readonly [];
|
|
14701
|
-
readonly name: "Unauthorized";
|
|
14702
|
-
readonly type: "error";
|
|
14703
|
-
}, {
|
|
14704
|
-
readonly anonymous: false;
|
|
14705
|
-
readonly inputs: readonly [{
|
|
14706
|
-
readonly indexed: false;
|
|
14707
|
-
readonly internalType: "uint64";
|
|
14708
|
-
readonly name: "version";
|
|
14709
|
-
readonly type: "uint64";
|
|
14710
|
-
}];
|
|
14711
|
-
readonly name: "Initialized";
|
|
14712
|
-
readonly type: "event";
|
|
14713
|
-
}, {
|
|
14714
|
-
readonly anonymous: false;
|
|
14715
|
-
readonly inputs: readonly [{
|
|
14716
|
-
readonly indexed: true;
|
|
14717
|
-
readonly internalType: "address";
|
|
14718
|
-
readonly name: "implementation";
|
|
14719
|
-
readonly type: "address";
|
|
14720
|
-
}];
|
|
14721
|
-
readonly name: "Upgraded";
|
|
14722
|
-
readonly type: "event";
|
|
14723
|
-
}, {
|
|
14724
|
-
readonly inputs: readonly [];
|
|
14725
|
-
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
14726
|
-
readonly outputs: readonly [{
|
|
14727
|
-
readonly internalType: "string";
|
|
14728
|
-
readonly name: "";
|
|
14729
|
-
readonly type: "string";
|
|
14730
|
-
}];
|
|
14731
|
-
readonly stateMutability: "view";
|
|
14732
|
-
readonly type: "function";
|
|
14733
|
-
}, {
|
|
14734
|
-
readonly inputs: readonly [{
|
|
14735
|
-
readonly internalType: "TokenId";
|
|
14736
|
-
readonly name: "tokenId";
|
|
14737
|
-
readonly type: "uint16";
|
|
14738
|
-
}, {
|
|
14739
|
-
readonly internalType: "uint256";
|
|
14740
|
-
readonly name: "amount";
|
|
14741
|
-
readonly type: "uint256";
|
|
14742
|
-
}];
|
|
14743
|
-
readonly name: "deposit";
|
|
14744
|
-
readonly outputs: readonly [];
|
|
14745
|
-
readonly stateMutability: "nonpayable";
|
|
14746
|
-
readonly type: "function";
|
|
14747
|
-
}, {
|
|
14748
|
-
readonly inputs: readonly [{
|
|
14749
|
-
readonly components: readonly [{
|
|
14750
|
-
readonly internalType: "enum Side";
|
|
14751
|
-
readonly name: "bookSide";
|
|
14752
|
-
readonly type: "uint8";
|
|
14753
|
-
}, {
|
|
14754
|
-
readonly internalType: "AMMId";
|
|
14755
|
-
readonly name: "ammId";
|
|
14756
|
-
readonly type: "uint24";
|
|
14757
|
-
}, {
|
|
14758
|
-
readonly internalType: "int256";
|
|
14759
|
-
readonly name: "minProfit";
|
|
14760
|
-
readonly type: "int256";
|
|
14761
|
-
}, {
|
|
14762
|
-
readonly internalType: "bool";
|
|
14763
|
-
readonly name: "maximizeProfit";
|
|
14764
|
-
readonly type: "bool";
|
|
14765
|
-
}];
|
|
14766
|
-
readonly internalType: "struct ArbitrageExecutor.ArbitrageParams";
|
|
14767
|
-
readonly name: "params";
|
|
14768
|
-
readonly type: "tuple";
|
|
14769
|
-
}];
|
|
14770
|
-
readonly name: "executeArbitrage";
|
|
14771
|
-
readonly outputs: readonly [{
|
|
14772
|
-
readonly internalType: "uint256";
|
|
14773
|
-
readonly name: "arbSize";
|
|
14774
|
-
readonly type: "uint256";
|
|
14775
|
-
}, {
|
|
14776
|
-
readonly internalType: "int256";
|
|
14777
|
-
readonly name: "profit";
|
|
14778
|
-
readonly type: "int256";
|
|
14779
|
-
}];
|
|
14780
|
-
readonly stateMutability: "nonpayable";
|
|
14781
|
-
readonly type: "function";
|
|
14782
|
-
}, {
|
|
14783
|
-
readonly inputs: readonly [];
|
|
14784
|
-
readonly name: "initialize";
|
|
14785
|
-
readonly outputs: readonly [];
|
|
14786
|
-
readonly stateMutability: "nonpayable";
|
|
14787
|
-
readonly type: "function";
|
|
14788
|
-
}, {
|
|
14789
|
-
readonly inputs: readonly [];
|
|
14790
|
-
readonly name: "marketHub";
|
|
14791
|
-
readonly outputs: readonly [{
|
|
14792
|
-
readonly internalType: "contract IMarketHub";
|
|
14793
|
-
readonly name: "";
|
|
14794
|
-
readonly type: "address";
|
|
14795
|
-
}];
|
|
14796
|
-
readonly stateMutability: "view";
|
|
14797
|
-
readonly type: "function";
|
|
14798
|
-
}, {
|
|
14799
|
-
readonly inputs: readonly [];
|
|
14800
|
-
readonly name: "nTicksToTryAtOnce";
|
|
14801
|
-
readonly outputs: readonly [{
|
|
14802
|
-
readonly internalType: "uint16";
|
|
14803
|
-
readonly name: "";
|
|
14804
|
-
readonly type: "uint16";
|
|
14805
|
-
}];
|
|
14806
|
-
readonly stateMutability: "view";
|
|
14807
|
-
readonly type: "function";
|
|
14808
|
-
}, {
|
|
14809
|
-
readonly inputs: readonly [{
|
|
14810
|
-
readonly internalType: "bool";
|
|
14811
|
-
readonly name: "cross";
|
|
14812
|
-
readonly type: "bool";
|
|
14813
|
-
}, {
|
|
14814
|
-
readonly internalType: "MarketId";
|
|
14815
|
-
readonly name: "marketId";
|
|
14816
|
-
readonly type: "uint24";
|
|
14817
|
-
}];
|
|
14818
|
-
readonly name: "payMarketEntranceFee";
|
|
14819
|
-
readonly outputs: readonly [];
|
|
14820
|
-
readonly stateMutability: "nonpayable";
|
|
14821
|
-
readonly type: "function";
|
|
14822
|
-
}, {
|
|
14823
|
-
readonly inputs: readonly [];
|
|
14824
|
-
readonly name: "proxiableUUID";
|
|
14825
|
-
readonly outputs: readonly [{
|
|
14826
|
-
readonly internalType: "bytes32";
|
|
14827
|
-
readonly name: "";
|
|
14828
|
-
readonly type: "bytes32";
|
|
14829
|
-
}];
|
|
14830
|
-
readonly stateMutability: "view";
|
|
14831
|
-
readonly type: "function";
|
|
14832
|
-
}, {
|
|
14833
|
-
readonly inputs: readonly [{
|
|
14834
|
-
readonly internalType: "TokenId";
|
|
14835
|
-
readonly name: "tokenId";
|
|
14836
|
-
readonly type: "uint16";
|
|
14837
|
-
}, {
|
|
14838
|
-
readonly internalType: "uint256";
|
|
14839
|
-
readonly name: "amount";
|
|
14840
|
-
readonly type: "uint256";
|
|
14841
|
-
}];
|
|
14842
|
-
readonly name: "requestWithdrawal";
|
|
14843
|
-
readonly outputs: readonly [];
|
|
14844
|
-
readonly stateMutability: "nonpayable";
|
|
14845
|
-
readonly type: "function";
|
|
14846
|
-
}, {
|
|
14847
|
-
readonly inputs: readonly [];
|
|
14848
|
-
readonly name: "router";
|
|
14849
|
-
readonly outputs: readonly [{
|
|
14850
|
-
readonly internalType: "contract IRouter";
|
|
14851
|
-
readonly name: "";
|
|
14852
|
-
readonly type: "address";
|
|
14853
|
-
}];
|
|
14854
|
-
readonly stateMutability: "view";
|
|
14855
|
-
readonly type: "function";
|
|
14856
|
-
}, {
|
|
14857
|
-
readonly inputs: readonly [{
|
|
14858
|
-
readonly internalType: "address";
|
|
14859
|
-
readonly name: "newImplementation";
|
|
14860
|
-
readonly type: "address";
|
|
14861
|
-
}, {
|
|
14862
|
-
readonly internalType: "bytes";
|
|
14863
|
-
readonly name: "data";
|
|
14864
|
-
readonly type: "bytes";
|
|
14865
|
-
}];
|
|
14866
|
-
readonly name: "upgradeToAndCall";
|
|
14867
|
-
readonly outputs: readonly [];
|
|
14868
|
-
readonly stateMutability: "payable";
|
|
14869
|
-
readonly type: "function";
|
|
14870
|
-
}, {
|
|
14871
|
-
readonly inputs: readonly [{
|
|
14872
|
-
readonly internalType: "TokenId";
|
|
14873
|
-
readonly name: "tokenId";
|
|
14874
|
-
readonly type: "uint16";
|
|
14875
|
-
}, {
|
|
14876
|
-
readonly internalType: "uint256";
|
|
14877
|
-
readonly name: "amount";
|
|
14878
|
-
readonly type: "uint256";
|
|
14879
|
-
}, {
|
|
14880
|
-
readonly internalType: "address";
|
|
14881
|
-
readonly name: "receiver";
|
|
14882
|
-
readonly type: "address";
|
|
14883
|
-
}];
|
|
14884
|
-
readonly name: "withdraw";
|
|
14885
|
-
readonly outputs: readonly [];
|
|
14886
|
-
readonly stateMutability: "nonpayable";
|
|
14887
|
-
readonly type: "function";
|
|
14888
|
-
}];
|