@pendle/sdk-boros 0.4.3 → 0.4.4
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/abis/viemAbis.d.ts +365 -409
- package/dist/contracts/abis/viemAbis.js +248 -281
- package/dist/contracts/abis/viemAbis.js.map +1 -1
- package/dist/contracts/explorer.d.ts +5 -5
- package/dist/contracts/market.d.ts +2 -12
- package/dist/entities/exchange/exchange.d.ts +132 -0
- package/dist/entities/exchange/utils.d.ts +24 -40
- package/package.json +2 -2
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
readonly inputs: readonly [];
|
|
3
|
-
readonly name: "InsufficientProfit";
|
|
4
|
-
readonly type: "error";
|
|
5
|
-
}, {
|
|
1
|
+
export declare const iArbitrageExecutorFacetAbi: readonly [{
|
|
6
2
|
readonly anonymous: false;
|
|
7
3
|
readonly inputs: readonly [{
|
|
8
4
|
readonly indexed: false;
|
|
@@ -17,40 +13,6 @@ export declare const iArbitrageExecutorAbi: readonly [{
|
|
|
17
13
|
}];
|
|
18
14
|
readonly name: "ArbitrageExecuted";
|
|
19
15
|
readonly type: "event";
|
|
20
|
-
}, {
|
|
21
|
-
readonly inputs: readonly [];
|
|
22
|
-
readonly name: "MARKET_HUB";
|
|
23
|
-
readonly outputs: readonly [{
|
|
24
|
-
readonly internalType: "address";
|
|
25
|
-
readonly name: "";
|
|
26
|
-
readonly type: "address";
|
|
27
|
-
}];
|
|
28
|
-
readonly stateMutability: "view";
|
|
29
|
-
readonly type: "function";
|
|
30
|
-
}, {
|
|
31
|
-
readonly inputs: readonly [];
|
|
32
|
-
readonly name: "ROUTER";
|
|
33
|
-
readonly outputs: readonly [{
|
|
34
|
-
readonly internalType: "address";
|
|
35
|
-
readonly name: "";
|
|
36
|
-
readonly type: "address";
|
|
37
|
-
}];
|
|
38
|
-
readonly stateMutability: "view";
|
|
39
|
-
readonly type: "function";
|
|
40
|
-
}, {
|
|
41
|
-
readonly inputs: readonly [{
|
|
42
|
-
readonly internalType: "TokenId";
|
|
43
|
-
readonly name: "tokenId";
|
|
44
|
-
readonly type: "uint16";
|
|
45
|
-
}, {
|
|
46
|
-
readonly internalType: "uint256";
|
|
47
|
-
readonly name: "amount";
|
|
48
|
-
readonly type: "uint256";
|
|
49
|
-
}];
|
|
50
|
-
readonly name: "deposit";
|
|
51
|
-
readonly outputs: readonly [];
|
|
52
|
-
readonly stateMutability: "nonpayable";
|
|
53
|
-
readonly type: "function";
|
|
54
16
|
}, {
|
|
55
17
|
readonly inputs: readonly [{
|
|
56
18
|
readonly components: readonly [{
|
|
@@ -70,7 +32,7 @@ export declare const iArbitrageExecutorAbi: readonly [{
|
|
|
70
32
|
readonly name: "maximizeProfit";
|
|
71
33
|
readonly type: "bool";
|
|
72
34
|
}];
|
|
73
|
-
readonly internalType: "struct
|
|
35
|
+
readonly internalType: "struct IArbitrageExecutorFacet.ArbitrageParams";
|
|
74
36
|
readonly name: "params";
|
|
75
37
|
readonly type: "tuple";
|
|
76
38
|
}];
|
|
@@ -96,48 +58,6 @@ export declare const iArbitrageExecutorAbi: readonly [{
|
|
|
96
58
|
}];
|
|
97
59
|
readonly stateMutability: "view";
|
|
98
60
|
readonly type: "function";
|
|
99
|
-
}, {
|
|
100
|
-
readonly inputs: readonly [{
|
|
101
|
-
readonly internalType: "MarketId";
|
|
102
|
-
readonly name: "marketId";
|
|
103
|
-
readonly type: "uint24";
|
|
104
|
-
}];
|
|
105
|
-
readonly name: "payMarketEntranceFee";
|
|
106
|
-
readonly outputs: readonly [];
|
|
107
|
-
readonly stateMutability: "nonpayable";
|
|
108
|
-
readonly type: "function";
|
|
109
|
-
}, {
|
|
110
|
-
readonly inputs: readonly [{
|
|
111
|
-
readonly internalType: "TokenId";
|
|
112
|
-
readonly name: "tokenId";
|
|
113
|
-
readonly type: "uint16";
|
|
114
|
-
}, {
|
|
115
|
-
readonly internalType: "uint256";
|
|
116
|
-
readonly name: "amount";
|
|
117
|
-
readonly type: "uint256";
|
|
118
|
-
}];
|
|
119
|
-
readonly name: "requestWithdrawal";
|
|
120
|
-
readonly outputs: readonly [];
|
|
121
|
-
readonly stateMutability: "nonpayable";
|
|
122
|
-
readonly type: "function";
|
|
123
|
-
}, {
|
|
124
|
-
readonly inputs: readonly [{
|
|
125
|
-
readonly internalType: "TokenId";
|
|
126
|
-
readonly name: "tokenId";
|
|
127
|
-
readonly type: "uint16";
|
|
128
|
-
}, {
|
|
129
|
-
readonly internalType: "uint256";
|
|
130
|
-
readonly name: "amount";
|
|
131
|
-
readonly type: "uint256";
|
|
132
|
-
}, {
|
|
133
|
-
readonly internalType: "address";
|
|
134
|
-
readonly name: "receiver";
|
|
135
|
-
readonly type: "address";
|
|
136
|
-
}];
|
|
137
|
-
readonly name: "withdraw";
|
|
138
|
-
readonly outputs: readonly [];
|
|
139
|
-
readonly stateMutability: "nonpayable";
|
|
140
|
-
readonly type: "function";
|
|
141
61
|
}];
|
|
142
62
|
export declare const iAMMFactoryAbi: readonly [{
|
|
143
63
|
readonly anonymous: false;
|
|
@@ -747,20 +667,6 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
747
667
|
readonly type: "function";
|
|
748
668
|
}];
|
|
749
669
|
export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
750
|
-
readonly inputs: readonly [{
|
|
751
|
-
readonly internalType: "MarketAcc";
|
|
752
|
-
readonly name: "user";
|
|
753
|
-
readonly type: "bytes26";
|
|
754
|
-
}, {
|
|
755
|
-
readonly internalType: "int256";
|
|
756
|
-
readonly name: "delta";
|
|
757
|
-
readonly type: "int256";
|
|
758
|
-
}];
|
|
759
|
-
readonly name: "adjustAccCash";
|
|
760
|
-
readonly outputs: readonly [];
|
|
761
|
-
readonly stateMutability: "nonpayable";
|
|
762
|
-
readonly type: "function";
|
|
763
|
-
}, {
|
|
764
670
|
readonly inputs: readonly [{
|
|
765
671
|
readonly internalType: "MarketId";
|
|
766
672
|
readonly name: "marketId";
|
|
@@ -857,20 +763,6 @@ export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
|
857
763
|
}];
|
|
858
764
|
readonly stateMutability: "nonpayable";
|
|
859
765
|
readonly type: "function";
|
|
860
|
-
}, {
|
|
861
|
-
readonly inputs: readonly [{
|
|
862
|
-
readonly internalType: "MarketAcc";
|
|
863
|
-
readonly name: "user";
|
|
864
|
-
readonly type: "bytes26";
|
|
865
|
-
}, {
|
|
866
|
-
readonly internalType: "int256";
|
|
867
|
-
readonly name: "desiredCash";
|
|
868
|
-
readonly type: "int256";
|
|
869
|
-
}];
|
|
870
|
-
readonly name: "setAccCash";
|
|
871
|
-
readonly outputs: readonly [];
|
|
872
|
-
readonly stateMutability: "nonpayable";
|
|
873
|
-
readonly type: "function";
|
|
874
766
|
}];
|
|
875
767
|
export declare const iMarketHubAbi: readonly [{
|
|
876
768
|
readonly anonymous: false;
|
|
@@ -1226,20 +1118,6 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1226
1118
|
}];
|
|
1227
1119
|
readonly stateMutability: "view";
|
|
1228
1120
|
readonly type: "function";
|
|
1229
|
-
}, {
|
|
1230
|
-
readonly inputs: readonly [{
|
|
1231
|
-
readonly internalType: "MarketAcc";
|
|
1232
|
-
readonly name: "user";
|
|
1233
|
-
readonly type: "bytes26";
|
|
1234
|
-
}, {
|
|
1235
|
-
readonly internalType: "int256";
|
|
1236
|
-
readonly name: "delta";
|
|
1237
|
-
readonly type: "int256";
|
|
1238
|
-
}];
|
|
1239
|
-
readonly name: "adjustAccCash";
|
|
1240
|
-
readonly outputs: readonly [];
|
|
1241
|
-
readonly stateMutability: "nonpayable";
|
|
1242
|
-
readonly type: "function";
|
|
1243
1121
|
}, {
|
|
1244
1122
|
readonly inputs: readonly [{
|
|
1245
1123
|
readonly internalType: "MarketAcc";
|
|
@@ -1881,20 +1759,6 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1881
1759
|
}];
|
|
1882
1760
|
readonly stateMutability: "view";
|
|
1883
1761
|
readonly type: "function";
|
|
1884
|
-
}, {
|
|
1885
|
-
readonly inputs: readonly [{
|
|
1886
|
-
readonly internalType: "MarketAcc";
|
|
1887
|
-
readonly name: "user";
|
|
1888
|
-
readonly type: "bytes26";
|
|
1889
|
-
}, {
|
|
1890
|
-
readonly internalType: "int256";
|
|
1891
|
-
readonly name: "desiredCash";
|
|
1892
|
-
readonly type: "int256";
|
|
1893
|
-
}];
|
|
1894
|
-
readonly name: "setAccCash";
|
|
1895
|
-
readonly outputs: readonly [];
|
|
1896
|
-
readonly stateMutability: "nonpayable";
|
|
1897
|
-
readonly type: "function";
|
|
1898
1762
|
}, {
|
|
1899
1763
|
readonly inputs: readonly [{
|
|
1900
1764
|
readonly internalType: "int128";
|
|
@@ -4302,25 +4166,6 @@ export declare const iRouterAbi: readonly [{
|
|
|
4302
4166
|
readonly outputs: readonly [];
|
|
4303
4167
|
readonly stateMutability: "nonpayable";
|
|
4304
4168
|
readonly type: "function";
|
|
4305
|
-
}, {
|
|
4306
|
-
readonly inputs: readonly [{
|
|
4307
|
-
readonly components: readonly [{
|
|
4308
|
-
readonly internalType: "Account";
|
|
4309
|
-
readonly name: "account";
|
|
4310
|
-
readonly type: "bytes21";
|
|
4311
|
-
}, {
|
|
4312
|
-
readonly internalType: "bytes";
|
|
4313
|
-
readonly name: "data";
|
|
4314
|
-
readonly type: "bytes";
|
|
4315
|
-
}];
|
|
4316
|
-
readonly internalType: "struct IMiscModule.ManipulateData[]";
|
|
4317
|
-
readonly name: "calls";
|
|
4318
|
-
readonly type: "tuple[]";
|
|
4319
|
-
}];
|
|
4320
|
-
readonly name: "batchManipulate";
|
|
4321
|
-
readonly outputs: readonly [];
|
|
4322
|
-
readonly stateMutability: "nonpayable";
|
|
4323
|
-
readonly type: "function";
|
|
4324
4169
|
}, {
|
|
4325
4170
|
readonly inputs: readonly [{
|
|
4326
4171
|
readonly components: readonly [{
|
|
@@ -4671,7 +4516,7 @@ export declare const iRouterAbi: readonly [{
|
|
|
4671
4516
|
readonly name: "tick";
|
|
4672
4517
|
readonly type: "int16";
|
|
4673
4518
|
}];
|
|
4674
|
-
readonly internalType: "struct IRouterEventsAndTypes.
|
|
4519
|
+
readonly internalType: "struct IRouterEventsAndTypes.OrderReq";
|
|
4675
4520
|
readonly name: "order";
|
|
4676
4521
|
readonly type: "tuple";
|
|
4677
4522
|
}, {
|
|
@@ -6709,16 +6554,6 @@ export declare const iMarketAbi: readonly [{
|
|
|
6709
6554
|
}];
|
|
6710
6555
|
readonly stateMutability: "nonpayable";
|
|
6711
6556
|
readonly type: "function";
|
|
6712
|
-
}, {
|
|
6713
|
-
readonly inputs: readonly [{
|
|
6714
|
-
readonly internalType: "MarketAcc";
|
|
6715
|
-
readonly name: "user";
|
|
6716
|
-
readonly type: "bytes26";
|
|
6717
|
-
}];
|
|
6718
|
-
readonly name: "resetDelevLiqNonce";
|
|
6719
|
-
readonly outputs: readonly [];
|
|
6720
|
-
readonly stateMutability: "nonpayable";
|
|
6721
|
-
readonly type: "function";
|
|
6722
6557
|
}, {
|
|
6723
6558
|
readonly inputs: readonly [{
|
|
6724
6559
|
readonly internalType: "uint64";
|
|
@@ -7617,7 +7452,7 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
7617
7452
|
readonly name: "rate";
|
|
7618
7453
|
readonly type: "int256";
|
|
7619
7454
|
}];
|
|
7620
|
-
readonly internalType: "struct
|
|
7455
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
7621
7456
|
readonly name: "";
|
|
7622
7457
|
readonly type: "tuple[]";
|
|
7623
7458
|
}];
|
|
@@ -7932,7 +7767,7 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
7932
7767
|
readonly name: "rate";
|
|
7933
7768
|
readonly type: "int256";
|
|
7934
7769
|
}];
|
|
7935
|
-
readonly internalType: "struct
|
|
7770
|
+
readonly internalType: "struct IMarketAllTypes.Order";
|
|
7936
7771
|
readonly name: "order";
|
|
7937
7772
|
readonly type: "tuple";
|
|
7938
7773
|
}];
|
|
@@ -8344,16 +8179,6 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
8344
8179
|
}];
|
|
8345
8180
|
readonly stateMutability: "nonpayable";
|
|
8346
8181
|
readonly type: "function";
|
|
8347
|
-
}, {
|
|
8348
|
-
readonly inputs: readonly [{
|
|
8349
|
-
readonly internalType: "MarketAcc";
|
|
8350
|
-
readonly name: "user";
|
|
8351
|
-
readonly type: "bytes26";
|
|
8352
|
-
}];
|
|
8353
|
-
readonly name: "resetDelevLiqNonce";
|
|
8354
|
-
readonly outputs: readonly [];
|
|
8355
|
-
readonly stateMutability: "nonpayable";
|
|
8356
|
-
readonly type: "function";
|
|
8357
8182
|
}, {
|
|
8358
8183
|
readonly inputs: readonly [{
|
|
8359
8184
|
readonly internalType: "uint64";
|
|
@@ -11157,16 +10982,6 @@ export declare const iMarketEntryAbi: readonly [{
|
|
|
11157
10982
|
}];
|
|
11158
10983
|
readonly stateMutability: "nonpayable";
|
|
11159
10984
|
readonly type: "function";
|
|
11160
|
-
}, {
|
|
11161
|
-
readonly inputs: readonly [{
|
|
11162
|
-
readonly internalType: "MarketAcc";
|
|
11163
|
-
readonly name: "user";
|
|
11164
|
-
readonly type: "bytes26";
|
|
11165
|
-
}];
|
|
11166
|
-
readonly name: "resetDelevLiqNonce";
|
|
11167
|
-
readonly outputs: readonly [];
|
|
11168
|
-
readonly stateMutability: "nonpayable";
|
|
11169
|
-
readonly type: "function";
|
|
11170
10985
|
}, {
|
|
11171
10986
|
readonly inputs: readonly [{
|
|
11172
10987
|
readonly internalType: "MarketAcc";
|
|
@@ -11724,7 +11539,7 @@ export declare const iMarketOffViewOnlyAbi: readonly [{
|
|
|
11724
11539
|
readonly name: "rate";
|
|
11725
11540
|
readonly type: "int256";
|
|
11726
11541
|
}];
|
|
11727
|
-
readonly internalType: "struct
|
|
11542
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
11728
11543
|
readonly name: "";
|
|
11729
11544
|
readonly type: "tuple[]";
|
|
11730
11545
|
}];
|
|
@@ -11925,7 +11740,7 @@ export declare const iMarketOffViewOnlyAbi: readonly [{
|
|
|
11925
11740
|
readonly name: "rate";
|
|
11926
11741
|
readonly type: "int256";
|
|
11927
11742
|
}];
|
|
11928
|
-
readonly internalType: "struct
|
|
11743
|
+
readonly internalType: "struct IMarketAllTypes.Order";
|
|
11929
11744
|
readonly name: "order";
|
|
11930
11745
|
readonly type: "tuple";
|
|
11931
11746
|
}];
|
|
@@ -12520,7 +12335,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12520
12335
|
readonly name: "rate";
|
|
12521
12336
|
readonly type: "int256";
|
|
12522
12337
|
}];
|
|
12523
|
-
readonly internalType: "struct
|
|
12338
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
12524
12339
|
readonly name: "orders";
|
|
12525
12340
|
readonly type: "tuple[]";
|
|
12526
12341
|
}];
|
|
@@ -12613,7 +12428,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12613
12428
|
readonly name: "rate";
|
|
12614
12429
|
readonly type: "int256";
|
|
12615
12430
|
}];
|
|
12616
|
-
readonly internalType: "struct
|
|
12431
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
12617
12432
|
readonly name: "orders";
|
|
12618
12433
|
readonly type: "tuple[]";
|
|
12619
12434
|
}];
|
|
@@ -12684,7 +12499,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12684
12499
|
readonly name: "rate";
|
|
12685
12500
|
readonly type: "int256";
|
|
12686
12501
|
}];
|
|
12687
|
-
readonly internalType: "struct
|
|
12502
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
12688
12503
|
readonly name: "orders";
|
|
12689
12504
|
readonly type: "tuple[]";
|
|
12690
12505
|
}];
|
|
@@ -12793,7 +12608,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12793
12608
|
readonly name: "rate";
|
|
12794
12609
|
readonly type: "int256";
|
|
12795
12610
|
}];
|
|
12796
|
-
readonly internalType: "struct
|
|
12611
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
12797
12612
|
readonly name: "orders";
|
|
12798
12613
|
readonly type: "tuple[]";
|
|
12799
12614
|
}];
|
|
@@ -12864,7 +12679,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12864
12679
|
readonly name: "rate";
|
|
12865
12680
|
readonly type: "int256";
|
|
12866
12681
|
}];
|
|
12867
|
-
readonly internalType: "struct
|
|
12682
|
+
readonly internalType: "struct IMarketAllTypes.Order[]";
|
|
12868
12683
|
readonly name: "orders";
|
|
12869
12684
|
readonly type: "tuple[]";
|
|
12870
12685
|
}];
|
|
@@ -13427,7 +13242,7 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
13427
13242
|
readonly name: "tick";
|
|
13428
13243
|
readonly type: "int16";
|
|
13429
13244
|
}];
|
|
13430
|
-
readonly internalType: "struct IRouterEventsAndTypes.
|
|
13245
|
+
readonly internalType: "struct IRouterEventsAndTypes.OrderReq";
|
|
13431
13246
|
readonly name: "order";
|
|
13432
13247
|
readonly type: "tuple";
|
|
13433
13248
|
}, {
|
|
@@ -14357,7 +14172,7 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
14357
14172
|
readonly name: "desiredTimestamp";
|
|
14358
14173
|
readonly type: "uint32";
|
|
14359
14174
|
}];
|
|
14360
|
-
readonly name: "
|
|
14175
|
+
readonly name: "updateFloatingIndex";
|
|
14361
14176
|
readonly outputs: readonly [];
|
|
14362
14177
|
readonly stateMutability: "nonpayable";
|
|
14363
14178
|
readonly type: "function";
|
|
@@ -15029,7 +14844,7 @@ export declare const iBOROS20Abi: readonly [{
|
|
|
15029
14844
|
readonly stateMutability: "view";
|
|
15030
14845
|
readonly type: "function";
|
|
15031
14846
|
}];
|
|
15032
|
-
export declare const
|
|
14847
|
+
export declare const iCLOSetterFacetAbi: readonly [{
|
|
15033
14848
|
readonly anonymous: false;
|
|
15034
14849
|
readonly inputs: readonly [{
|
|
15035
14850
|
readonly indexed: false;
|
|
@@ -15047,22 +14862,12 @@ export declare const iCLOSetterAbi: readonly [{
|
|
|
15047
14862
|
readonly type: "uint128";
|
|
15048
14863
|
}];
|
|
15049
14864
|
readonly indexed: false;
|
|
15050
|
-
readonly internalType: "struct
|
|
14865
|
+
readonly internalType: "struct ICLOSetterFacet.CLOThreshold";
|
|
15051
14866
|
readonly name: "newThreshold";
|
|
15052
14867
|
readonly type: "tuple";
|
|
15053
14868
|
}];
|
|
15054
14869
|
readonly name: "CLOThresholdSet";
|
|
15055
14870
|
readonly type: "event";
|
|
15056
|
-
}, {
|
|
15057
|
-
readonly inputs: readonly [];
|
|
15058
|
-
readonly name: "MARKET_HUB";
|
|
15059
|
-
readonly outputs: readonly [{
|
|
15060
|
-
readonly internalType: "address";
|
|
15061
|
-
readonly name: "";
|
|
15062
|
-
readonly type: "address";
|
|
15063
|
-
}];
|
|
15064
|
-
readonly stateMutability: "view";
|
|
15065
|
-
readonly type: "function";
|
|
15066
14871
|
}, {
|
|
15067
14872
|
readonly inputs: readonly [{
|
|
15068
14873
|
readonly internalType: "MarketId";
|
|
@@ -15080,7 +14885,7 @@ export declare const iCLOSetterAbi: readonly [{
|
|
|
15080
14885
|
readonly name: "upperThres";
|
|
15081
14886
|
readonly type: "uint128";
|
|
15082
14887
|
}];
|
|
15083
|
-
readonly internalType: "struct
|
|
14888
|
+
readonly internalType: "struct ICLOSetterFacet.CLOThreshold";
|
|
15084
14889
|
readonly name: "";
|
|
15085
14890
|
readonly type: "tuple";
|
|
15086
14891
|
}];
|
|
@@ -15101,7 +14906,7 @@ export declare const iCLOSetterAbi: readonly [{
|
|
|
15101
14906
|
readonly name: "upperThres";
|
|
15102
14907
|
readonly type: "uint128";
|
|
15103
14908
|
}];
|
|
15104
|
-
readonly internalType: "struct
|
|
14909
|
+
readonly internalType: "struct ICLOSetterFacet.CLOThreshold";
|
|
15105
14910
|
readonly name: "newThreshold";
|
|
15106
14911
|
readonly type: "tuple";
|
|
15107
14912
|
}];
|
|
@@ -15115,22 +14920,12 @@ export declare const iCLOSetterAbi: readonly [{
|
|
|
15115
14920
|
readonly name: "marketId";
|
|
15116
14921
|
readonly type: "uint24";
|
|
15117
14922
|
}];
|
|
15118
|
-
readonly name: "
|
|
15119
|
-
readonly outputs: readonly [];
|
|
15120
|
-
readonly stateMutability: "nonpayable";
|
|
15121
|
-
readonly type: "function";
|
|
15122
|
-
}, {
|
|
15123
|
-
readonly inputs: readonly [{
|
|
15124
|
-
readonly internalType: "MarketId";
|
|
15125
|
-
readonly name: "marketId";
|
|
15126
|
-
readonly type: "uint24";
|
|
15127
|
-
}];
|
|
15128
|
-
readonly name: "turnOnCLO";
|
|
14923
|
+
readonly name: "toggleCLO";
|
|
15129
14924
|
readonly outputs: readonly [];
|
|
15130
14925
|
readonly stateMutability: "nonpayable";
|
|
15131
14926
|
readonly type: "function";
|
|
15132
14927
|
}];
|
|
15133
|
-
export declare const
|
|
14928
|
+
export declare const iDeleveragerFacetAbi: readonly [{
|
|
15134
14929
|
readonly anonymous: false;
|
|
15135
14930
|
readonly inputs: readonly [{
|
|
15136
14931
|
readonly indexed: false;
|
|
@@ -15140,16 +14935,6 @@ export declare const iDeleveragerAbi: readonly [{
|
|
|
15140
14935
|
}];
|
|
15141
14936
|
readonly name: "DeleverageThresHRSet";
|
|
15142
14937
|
readonly type: "event";
|
|
15143
|
-
}, {
|
|
15144
|
-
readonly inputs: readonly [];
|
|
15145
|
-
readonly name: "MARKET_HUB";
|
|
15146
|
-
readonly outputs: readonly [{
|
|
15147
|
-
readonly internalType: "address";
|
|
15148
|
-
readonly name: "";
|
|
15149
|
-
readonly type: "address";
|
|
15150
|
-
}];
|
|
15151
|
-
readonly stateMutability: "view";
|
|
15152
|
-
readonly type: "function";
|
|
15153
14938
|
}, {
|
|
15154
14939
|
readonly inputs: readonly [{
|
|
15155
14940
|
readonly components: readonly [{
|
|
@@ -15174,15 +14959,15 @@ export declare const iDeleveragerAbi: readonly [{
|
|
|
15174
14959
|
readonly name: "sizesToWin";
|
|
15175
14960
|
readonly type: "int256[]";
|
|
15176
14961
|
}];
|
|
15177
|
-
readonly internalType: "struct
|
|
14962
|
+
readonly internalType: "struct IDeleveragerFacet.MarketDeleverageInput[]";
|
|
15178
14963
|
readonly name: "inputs";
|
|
15179
14964
|
readonly type: "tuple[]";
|
|
15180
14965
|
}];
|
|
15181
|
-
readonly internalType: "struct
|
|
15182
|
-
readonly name: "
|
|
15183
|
-
readonly type: "tuple
|
|
14966
|
+
readonly internalType: "struct IDeleveragerFacet.DeleverageRequest";
|
|
14967
|
+
readonly name: "req";
|
|
14968
|
+
readonly type: "tuple";
|
|
15184
14969
|
}];
|
|
15185
|
-
readonly name: "
|
|
14970
|
+
readonly name: "deleverage";
|
|
15186
14971
|
readonly outputs: readonly [];
|
|
15187
14972
|
readonly stateMutability: "nonpayable";
|
|
15188
14973
|
readonly type: "function";
|
|
@@ -15207,7 +14992,7 @@ export declare const iDeleveragerAbi: readonly [{
|
|
|
15207
14992
|
readonly stateMutability: "nonpayable";
|
|
15208
14993
|
readonly type: "function";
|
|
15209
14994
|
}];
|
|
15210
|
-
export declare const
|
|
14995
|
+
export declare const iLiquidationExecutorFacetAbi: readonly [{
|
|
15211
14996
|
readonly anonymous: false;
|
|
15212
14997
|
readonly inputs: readonly [{
|
|
15213
14998
|
readonly indexed: true;
|
|
@@ -15222,26 +15007,6 @@ export declare const iLiquidationExecutorAbi: readonly [{
|
|
|
15222
15007
|
}];
|
|
15223
15008
|
readonly name: "LiquidationExecuted";
|
|
15224
15009
|
readonly type: "event";
|
|
15225
|
-
}, {
|
|
15226
|
-
readonly inputs: readonly [];
|
|
15227
|
-
readonly name: "MARKET_HUB";
|
|
15228
|
-
readonly outputs: readonly [{
|
|
15229
|
-
readonly internalType: "address";
|
|
15230
|
-
readonly name: "";
|
|
15231
|
-
readonly type: "address";
|
|
15232
|
-
}];
|
|
15233
|
-
readonly stateMutability: "view";
|
|
15234
|
-
readonly type: "function";
|
|
15235
|
-
}, {
|
|
15236
|
-
readonly inputs: readonly [];
|
|
15237
|
-
readonly name: "ROUTER";
|
|
15238
|
-
readonly outputs: readonly [{
|
|
15239
|
-
readonly internalType: "address";
|
|
15240
|
-
readonly name: "";
|
|
15241
|
-
readonly type: "address";
|
|
15242
|
-
}];
|
|
15243
|
-
readonly stateMutability: "view";
|
|
15244
|
-
readonly type: "function";
|
|
15245
15010
|
}, {
|
|
15246
15011
|
readonly inputs: readonly [{
|
|
15247
15012
|
readonly components: readonly [{
|
|
@@ -15265,130 +15030,35 @@ export declare const iLiquidationExecutorAbi: readonly [{
|
|
|
15265
15030
|
readonly name: "minProfit";
|
|
15266
15031
|
readonly type: "uint256";
|
|
15267
15032
|
}];
|
|
15268
|
-
readonly internalType: "struct
|
|
15269
|
-
readonly name: "
|
|
15270
|
-
readonly type: "tuple
|
|
15033
|
+
readonly internalType: "struct ILiquidationExecutorFacet.LiquidationParams";
|
|
15034
|
+
readonly name: "params";
|
|
15035
|
+
readonly type: "tuple";
|
|
15271
15036
|
}];
|
|
15272
|
-
readonly name: "
|
|
15037
|
+
readonly name: "executeLiquidation";
|
|
15273
15038
|
readonly outputs: readonly [{
|
|
15274
|
-
readonly internalType: "
|
|
15275
|
-
readonly name: "
|
|
15276
|
-
readonly type: "
|
|
15039
|
+
readonly internalType: "int256";
|
|
15040
|
+
readonly name: "sizeToLiq";
|
|
15041
|
+
readonly type: "int256";
|
|
15277
15042
|
}, {
|
|
15278
|
-
readonly internalType: "
|
|
15279
|
-
readonly name: "
|
|
15280
|
-
readonly type: "
|
|
15043
|
+
readonly internalType: "int256";
|
|
15044
|
+
readonly name: "profit";
|
|
15045
|
+
readonly type: "int256";
|
|
15281
15046
|
}];
|
|
15282
15047
|
readonly stateMutability: "nonpayable";
|
|
15283
15048
|
readonly type: "function";
|
|
15284
15049
|
}, {
|
|
15285
|
-
readonly inputs: readonly [
|
|
15286
|
-
|
|
15287
|
-
|
|
15050
|
+
readonly inputs: readonly [];
|
|
15051
|
+
readonly name: "nTicksToTryAtOnce";
|
|
15052
|
+
readonly outputs: readonly [{
|
|
15053
|
+
readonly internalType: "uint16";
|
|
15054
|
+
readonly name: "";
|
|
15288
15055
|
readonly type: "uint16";
|
|
15289
|
-
}, {
|
|
15290
|
-
readonly internalType: "uint256";
|
|
15291
|
-
readonly name: "amount";
|
|
15292
|
-
readonly type: "uint256";
|
|
15293
15056
|
}];
|
|
15294
|
-
readonly
|
|
15295
|
-
readonly outputs: readonly [];
|
|
15296
|
-
readonly stateMutability: "nonpayable";
|
|
15057
|
+
readonly stateMutability: "view";
|
|
15297
15058
|
readonly type: "function";
|
|
15298
|
-
}
|
|
15299
|
-
|
|
15300
|
-
|
|
15301
|
-
readonly internalType: "MarketId";
|
|
15302
|
-
readonly name: "marketId";
|
|
15303
|
-
readonly type: "uint24";
|
|
15304
|
-
}, {
|
|
15305
|
-
readonly internalType: "AMMId";
|
|
15306
|
-
readonly name: "ammId";
|
|
15307
|
-
readonly type: "uint24";
|
|
15308
|
-
}, {
|
|
15309
|
-
readonly internalType: "MarketAcc";
|
|
15310
|
-
readonly name: "violator";
|
|
15311
|
-
readonly type: "bytes26";
|
|
15312
|
-
}, {
|
|
15313
|
-
readonly internalType: "int256";
|
|
15314
|
-
readonly name: "maxVioHealthRatio";
|
|
15315
|
-
readonly type: "int256";
|
|
15316
|
-
}, {
|
|
15317
|
-
readonly internalType: "uint256";
|
|
15318
|
-
readonly name: "minProfit";
|
|
15319
|
-
readonly type: "uint256";
|
|
15320
|
-
}];
|
|
15321
|
-
readonly internalType: "struct ILiquidationExecutor.LiquidationParams";
|
|
15322
|
-
readonly name: "params";
|
|
15323
|
-
readonly type: "tuple";
|
|
15324
|
-
}];
|
|
15325
|
-
readonly name: "executeLiquidation";
|
|
15326
|
-
readonly outputs: readonly [{
|
|
15327
|
-
readonly internalType: "int256";
|
|
15328
|
-
readonly name: "sizeToLiq";
|
|
15329
|
-
readonly type: "int256";
|
|
15330
|
-
}, {
|
|
15331
|
-
readonly internalType: "int256";
|
|
15332
|
-
readonly name: "profit";
|
|
15333
|
-
readonly type: "int256";
|
|
15334
|
-
}];
|
|
15335
|
-
readonly stateMutability: "nonpayable";
|
|
15336
|
-
readonly type: "function";
|
|
15337
|
-
}, {
|
|
15338
|
-
readonly inputs: readonly [];
|
|
15339
|
-
readonly name: "nTicksToTryAtOnce";
|
|
15340
|
-
readonly outputs: readonly [{
|
|
15341
|
-
readonly internalType: "uint16";
|
|
15342
|
-
readonly name: "";
|
|
15343
|
-
readonly type: "uint16";
|
|
15344
|
-
}];
|
|
15345
|
-
readonly stateMutability: "view";
|
|
15346
|
-
readonly type: "function";
|
|
15347
|
-
}, {
|
|
15348
|
-
readonly inputs: readonly [{
|
|
15349
|
-
readonly internalType: "MarketId";
|
|
15350
|
-
readonly name: "marketId";
|
|
15351
|
-
readonly type: "uint24";
|
|
15352
|
-
}];
|
|
15353
|
-
readonly name: "payMarketEntranceFee";
|
|
15354
|
-
readonly outputs: readonly [];
|
|
15355
|
-
readonly stateMutability: "nonpayable";
|
|
15356
|
-
readonly type: "function";
|
|
15357
|
-
}, {
|
|
15358
|
-
readonly inputs: readonly [{
|
|
15359
|
-
readonly internalType: "TokenId";
|
|
15360
|
-
readonly name: "tokenId";
|
|
15361
|
-
readonly type: "uint16";
|
|
15362
|
-
}, {
|
|
15363
|
-
readonly internalType: "uint256";
|
|
15364
|
-
readonly name: "amount";
|
|
15365
|
-
readonly type: "uint256";
|
|
15366
|
-
}];
|
|
15367
|
-
readonly name: "requestWithdrawal";
|
|
15368
|
-
readonly outputs: readonly [];
|
|
15369
|
-
readonly stateMutability: "nonpayable";
|
|
15370
|
-
readonly type: "function";
|
|
15371
|
-
}, {
|
|
15372
|
-
readonly inputs: readonly [{
|
|
15373
|
-
readonly internalType: "TokenId";
|
|
15374
|
-
readonly name: "tokenId";
|
|
15375
|
-
readonly type: "uint16";
|
|
15376
|
-
}, {
|
|
15377
|
-
readonly internalType: "uint256";
|
|
15378
|
-
readonly name: "amount";
|
|
15379
|
-
readonly type: "uint256";
|
|
15380
|
-
}, {
|
|
15381
|
-
readonly internalType: "address";
|
|
15382
|
-
readonly name: "receiver";
|
|
15383
|
-
readonly type: "address";
|
|
15384
|
-
}];
|
|
15385
|
-
readonly name: "withdraw";
|
|
15386
|
-
readonly outputs: readonly [];
|
|
15387
|
-
readonly stateMutability: "nonpayable";
|
|
15388
|
-
readonly type: "function";
|
|
15389
|
-
}];
|
|
15390
|
-
export declare const iOrderCancellerAbi: readonly [{
|
|
15391
|
-
readonly anonymous: false;
|
|
15059
|
+
}];
|
|
15060
|
+
export declare const iOrderCancellerFacetAbi: readonly [{
|
|
15061
|
+
readonly anonymous: false;
|
|
15392
15062
|
readonly inputs: readonly [{
|
|
15393
15063
|
readonly indexed: false;
|
|
15394
15064
|
readonly internalType: "int256";
|
|
@@ -15397,16 +15067,6 @@ export declare const iOrderCancellerAbi: readonly [{
|
|
|
15397
15067
|
}];
|
|
15398
15068
|
readonly name: "CancelThresHRSet";
|
|
15399
15069
|
readonly type: "event";
|
|
15400
|
-
}, {
|
|
15401
|
-
readonly inputs: readonly [];
|
|
15402
|
-
readonly name: "MARKET_HUB";
|
|
15403
|
-
readonly outputs: readonly [{
|
|
15404
|
-
readonly internalType: "address";
|
|
15405
|
-
readonly name: "";
|
|
15406
|
-
readonly type: "address";
|
|
15407
|
-
}];
|
|
15408
|
-
readonly stateMutability: "view";
|
|
15409
|
-
readonly type: "function";
|
|
15410
15070
|
}, {
|
|
15411
15071
|
readonly inputs: readonly [];
|
|
15412
15072
|
readonly name: "cancelThresHR";
|
|
@@ -15442,7 +15102,7 @@ export declare const iOrderCancellerAbi: readonly [{
|
|
|
15442
15102
|
readonly name: "ids";
|
|
15443
15103
|
readonly type: "uint64[]";
|
|
15444
15104
|
}];
|
|
15445
|
-
readonly internalType: "struct
|
|
15105
|
+
readonly internalType: "struct IOrderCancellerFacet.HealthJumpProof[]";
|
|
15446
15106
|
readonly name: "proofs";
|
|
15447
15107
|
readonly type: "tuple[]";
|
|
15448
15108
|
}];
|
|
@@ -15463,7 +15123,7 @@ export declare const iOrderCancellerAbi: readonly [{
|
|
|
15463
15123
|
readonly name: "ids";
|
|
15464
15124
|
readonly type: "uint64[]";
|
|
15465
15125
|
}];
|
|
15466
|
-
readonly internalType: "struct
|
|
15126
|
+
readonly internalType: "struct IOrderCancellerFacet.HealthJumpProof[]";
|
|
15467
15127
|
readonly name: "proofs";
|
|
15468
15128
|
readonly type: "tuple[]";
|
|
15469
15129
|
}];
|
|
@@ -15482,7 +15142,7 @@ export declare const iOrderCancellerAbi: readonly [{
|
|
|
15482
15142
|
readonly stateMutability: "nonpayable";
|
|
15483
15143
|
readonly type: "function";
|
|
15484
15144
|
}];
|
|
15485
|
-
export declare const
|
|
15145
|
+
export declare const iPauserFacetAbi: readonly [{
|
|
15486
15146
|
readonly anonymous: false;
|
|
15487
15147
|
readonly inputs: readonly [{
|
|
15488
15148
|
readonly indexed: false;
|
|
@@ -15497,16 +15157,6 @@ export declare const iPauserAbi: readonly [{
|
|
|
15497
15157
|
}];
|
|
15498
15158
|
readonly name: "MinTotalMMSet";
|
|
15499
15159
|
readonly type: "event";
|
|
15500
|
-
}, {
|
|
15501
|
-
readonly inputs: readonly [];
|
|
15502
|
-
readonly name: "MARKET_HUB";
|
|
15503
|
-
readonly outputs: readonly [{
|
|
15504
|
-
readonly internalType: "address";
|
|
15505
|
-
readonly name: "";
|
|
15506
|
-
readonly type: "address";
|
|
15507
|
-
}];
|
|
15508
|
-
readonly stateMutability: "view";
|
|
15509
|
-
readonly type: "function";
|
|
15510
15160
|
}, {
|
|
15511
15161
|
readonly inputs: readonly [{
|
|
15512
15162
|
readonly internalType: "MarketAcc[]";
|
|
@@ -15574,7 +15224,7 @@ export declare const iPauserAbi: readonly [{
|
|
|
15574
15224
|
readonly stateMutability: "nonpayable";
|
|
15575
15225
|
readonly type: "function";
|
|
15576
15226
|
}];
|
|
15577
|
-
export declare const
|
|
15227
|
+
export declare const iWithdrawalPoliceFacetAbi: readonly [{
|
|
15578
15228
|
readonly anonymous: false;
|
|
15579
15229
|
readonly inputs: readonly [{
|
|
15580
15230
|
readonly indexed: false;
|
|
@@ -15609,16 +15259,6 @@ export declare const iWithdrawalPoliceAbi: readonly [{
|
|
|
15609
15259
|
}];
|
|
15610
15260
|
readonly name: "ResetPersonalCooldown";
|
|
15611
15261
|
readonly type: "event";
|
|
15612
|
-
}, {
|
|
15613
|
-
readonly inputs: readonly [];
|
|
15614
|
-
readonly name: "MARKET_HUB";
|
|
15615
|
-
readonly outputs: readonly [{
|
|
15616
|
-
readonly internalType: "address";
|
|
15617
|
-
readonly name: "";
|
|
15618
|
-
readonly type: "address";
|
|
15619
|
-
}];
|
|
15620
|
-
readonly stateMutability: "view";
|
|
15621
|
-
readonly type: "function";
|
|
15622
15262
|
}, {
|
|
15623
15263
|
readonly inputs: readonly [{
|
|
15624
15264
|
readonly internalType: "address";
|
|
@@ -15682,6 +15322,185 @@ export declare const iWithdrawalPoliceAbi: readonly [{
|
|
|
15682
15322
|
readonly stateMutability: "nonpayable";
|
|
15683
15323
|
readonly type: "function";
|
|
15684
15324
|
}];
|
|
15325
|
+
export declare const iMarkRatePusherAbi: readonly [{
|
|
15326
|
+
readonly anonymous: false;
|
|
15327
|
+
readonly inputs: readonly [{
|
|
15328
|
+
readonly indexed: false;
|
|
15329
|
+
readonly internalType: "uint256";
|
|
15330
|
+
readonly name: "newMaxDelta";
|
|
15331
|
+
readonly type: "uint256";
|
|
15332
|
+
}];
|
|
15333
|
+
readonly name: "MaxDeltaSet";
|
|
15334
|
+
readonly type: "event";
|
|
15335
|
+
}, {
|
|
15336
|
+
readonly inputs: readonly [];
|
|
15337
|
+
readonly name: "MARKET_HUB";
|
|
15338
|
+
readonly outputs: readonly [{
|
|
15339
|
+
readonly internalType: "address";
|
|
15340
|
+
readonly name: "";
|
|
15341
|
+
readonly type: "address";
|
|
15342
|
+
}];
|
|
15343
|
+
readonly stateMutability: "view";
|
|
15344
|
+
readonly type: "function";
|
|
15345
|
+
}, {
|
|
15346
|
+
readonly inputs: readonly [];
|
|
15347
|
+
readonly name: "ROUTER";
|
|
15348
|
+
readonly outputs: readonly [{
|
|
15349
|
+
readonly internalType: "address";
|
|
15350
|
+
readonly name: "";
|
|
15351
|
+
readonly type: "address";
|
|
15352
|
+
}];
|
|
15353
|
+
readonly stateMutability: "view";
|
|
15354
|
+
readonly type: "function";
|
|
15355
|
+
}, {
|
|
15356
|
+
readonly inputs: readonly [{
|
|
15357
|
+
readonly internalType: "uint256";
|
|
15358
|
+
readonly name: "index";
|
|
15359
|
+
readonly type: "uint256";
|
|
15360
|
+
}, {
|
|
15361
|
+
readonly internalType: "MarketId";
|
|
15362
|
+
readonly name: "marketId";
|
|
15363
|
+
readonly type: "uint24";
|
|
15364
|
+
}, {
|
|
15365
|
+
readonly internalType: "int256";
|
|
15366
|
+
readonly name: "signedAmount";
|
|
15367
|
+
readonly type: "int256";
|
|
15368
|
+
}];
|
|
15369
|
+
readonly name: "cashTransfer";
|
|
15370
|
+
readonly outputs: readonly [];
|
|
15371
|
+
readonly stateMutability: "nonpayable";
|
|
15372
|
+
readonly type: "function";
|
|
15373
|
+
}, {
|
|
15374
|
+
readonly inputs: readonly [{
|
|
15375
|
+
readonly internalType: "uint256";
|
|
15376
|
+
readonly name: "index";
|
|
15377
|
+
readonly type: "uint256";
|
|
15378
|
+
}, {
|
|
15379
|
+
readonly internalType: "TokenId";
|
|
15380
|
+
readonly name: "tokenId";
|
|
15381
|
+
readonly type: "uint16";
|
|
15382
|
+
}, {
|
|
15383
|
+
readonly internalType: "uint256";
|
|
15384
|
+
readonly name: "amount";
|
|
15385
|
+
readonly type: "uint256";
|
|
15386
|
+
}];
|
|
15387
|
+
readonly name: "deposit";
|
|
15388
|
+
readonly outputs: readonly [];
|
|
15389
|
+
readonly stateMutability: "nonpayable";
|
|
15390
|
+
readonly type: "function";
|
|
15391
|
+
}, {
|
|
15392
|
+
readonly inputs: readonly [{
|
|
15393
|
+
readonly internalType: "uint256";
|
|
15394
|
+
readonly name: "index";
|
|
15395
|
+
readonly type: "uint256";
|
|
15396
|
+
}, {
|
|
15397
|
+
readonly internalType: "MarketId";
|
|
15398
|
+
readonly name: "marketId";
|
|
15399
|
+
readonly type: "uint24";
|
|
15400
|
+
}];
|
|
15401
|
+
readonly name: "enterMarket";
|
|
15402
|
+
readonly outputs: readonly [];
|
|
15403
|
+
readonly stateMutability: "nonpayable";
|
|
15404
|
+
readonly type: "function";
|
|
15405
|
+
}, {
|
|
15406
|
+
readonly inputs: readonly [];
|
|
15407
|
+
readonly name: "forwarder1";
|
|
15408
|
+
readonly outputs: readonly [{
|
|
15409
|
+
readonly internalType: "address";
|
|
15410
|
+
readonly name: "";
|
|
15411
|
+
readonly type: "address";
|
|
15412
|
+
}];
|
|
15413
|
+
readonly stateMutability: "view";
|
|
15414
|
+
readonly type: "function";
|
|
15415
|
+
}, {
|
|
15416
|
+
readonly inputs: readonly [];
|
|
15417
|
+
readonly name: "forwarder2";
|
|
15418
|
+
readonly outputs: readonly [{
|
|
15419
|
+
readonly internalType: "address";
|
|
15420
|
+
readonly name: "";
|
|
15421
|
+
readonly type: "address";
|
|
15422
|
+
}];
|
|
15423
|
+
readonly stateMutability: "view";
|
|
15424
|
+
readonly type: "function";
|
|
15425
|
+
}, {
|
|
15426
|
+
readonly inputs: readonly [];
|
|
15427
|
+
readonly name: "maxDelta";
|
|
15428
|
+
readonly outputs: readonly [{
|
|
15429
|
+
readonly internalType: "uint256";
|
|
15430
|
+
readonly name: "";
|
|
15431
|
+
readonly type: "uint256";
|
|
15432
|
+
}];
|
|
15433
|
+
readonly stateMutability: "view";
|
|
15434
|
+
readonly type: "function";
|
|
15435
|
+
}, {
|
|
15436
|
+
readonly inputs: readonly [{
|
|
15437
|
+
readonly internalType: "MarketId";
|
|
15438
|
+
readonly name: "marketId";
|
|
15439
|
+
readonly type: "uint24";
|
|
15440
|
+
}, {
|
|
15441
|
+
readonly internalType: "AMMId";
|
|
15442
|
+
readonly name: "ammId";
|
|
15443
|
+
readonly type: "uint24";
|
|
15444
|
+
}];
|
|
15445
|
+
readonly name: "pushMarkRate";
|
|
15446
|
+
readonly outputs: readonly [{
|
|
15447
|
+
readonly internalType: "bool";
|
|
15448
|
+
readonly name: "";
|
|
15449
|
+
readonly type: "bool";
|
|
15450
|
+
}];
|
|
15451
|
+
readonly stateMutability: "nonpayable";
|
|
15452
|
+
readonly type: "function";
|
|
15453
|
+
}, {
|
|
15454
|
+
readonly inputs: readonly [{
|
|
15455
|
+
readonly internalType: "uint256";
|
|
15456
|
+
readonly name: "index";
|
|
15457
|
+
readonly type: "uint256";
|
|
15458
|
+
}, {
|
|
15459
|
+
readonly internalType: "TokenId";
|
|
15460
|
+
readonly name: "tokenId";
|
|
15461
|
+
readonly type: "uint16";
|
|
15462
|
+
}, {
|
|
15463
|
+
readonly internalType: "uint256";
|
|
15464
|
+
readonly name: "amount";
|
|
15465
|
+
readonly type: "uint256";
|
|
15466
|
+
}];
|
|
15467
|
+
readonly name: "requestWithdrawal";
|
|
15468
|
+
readonly outputs: readonly [];
|
|
15469
|
+
readonly stateMutability: "nonpayable";
|
|
15470
|
+
readonly type: "function";
|
|
15471
|
+
}, {
|
|
15472
|
+
readonly inputs: readonly [{
|
|
15473
|
+
readonly internalType: "uint256";
|
|
15474
|
+
readonly name: "newMaxDelta";
|
|
15475
|
+
readonly type: "uint256";
|
|
15476
|
+
}];
|
|
15477
|
+
readonly name: "setMaxDelta";
|
|
15478
|
+
readonly outputs: readonly [];
|
|
15479
|
+
readonly stateMutability: "nonpayable";
|
|
15480
|
+
readonly type: "function";
|
|
15481
|
+
}, {
|
|
15482
|
+
readonly inputs: readonly [{
|
|
15483
|
+
readonly internalType: "uint256";
|
|
15484
|
+
readonly name: "index";
|
|
15485
|
+
readonly type: "uint256";
|
|
15486
|
+
}, {
|
|
15487
|
+
readonly internalType: "TokenId";
|
|
15488
|
+
readonly name: "tokenId";
|
|
15489
|
+
readonly type: "uint16";
|
|
15490
|
+
}, {
|
|
15491
|
+
readonly internalType: "uint256";
|
|
15492
|
+
readonly name: "amount";
|
|
15493
|
+
readonly type: "uint256";
|
|
15494
|
+
}, {
|
|
15495
|
+
readonly internalType: "address";
|
|
15496
|
+
readonly name: "receiver";
|
|
15497
|
+
readonly type: "address";
|
|
15498
|
+
}];
|
|
15499
|
+
readonly name: "withdraw";
|
|
15500
|
+
readonly outputs: readonly [];
|
|
15501
|
+
readonly stateMutability: "nonpayable";
|
|
15502
|
+
readonly type: "function";
|
|
15503
|
+
}];
|
|
15685
15504
|
export declare const iZoneResponderAbi: readonly [{
|
|
15686
15505
|
readonly anonymous: false;
|
|
15687
15506
|
readonly inputs: readonly [{
|
|
@@ -15959,6 +15778,143 @@ export declare const iZoneResponderAbi: readonly [{
|
|
|
15959
15778
|
readonly stateMutability: "nonpayable";
|
|
15960
15779
|
readonly type: "function";
|
|
15961
15780
|
}];
|
|
15781
|
+
export declare const iBotMiscFacetAbi: readonly [{
|
|
15782
|
+
readonly anonymous: false;
|
|
15783
|
+
readonly inputs: readonly [{
|
|
15784
|
+
readonly indexed: true;
|
|
15785
|
+
readonly internalType: "bytes4";
|
|
15786
|
+
readonly name: "selector";
|
|
15787
|
+
readonly type: "bytes4";
|
|
15788
|
+
}, {
|
|
15789
|
+
readonly indexed: true;
|
|
15790
|
+
readonly internalType: "address";
|
|
15791
|
+
readonly name: "facet";
|
|
15792
|
+
readonly type: "address";
|
|
15793
|
+
}];
|
|
15794
|
+
readonly name: "SelectorToFacetSet";
|
|
15795
|
+
readonly type: "event";
|
|
15796
|
+
}, {
|
|
15797
|
+
readonly inputs: readonly [{
|
|
15798
|
+
readonly internalType: "TokenId";
|
|
15799
|
+
readonly name: "tokenId";
|
|
15800
|
+
readonly type: "uint16";
|
|
15801
|
+
}, {
|
|
15802
|
+
readonly internalType: "uint256";
|
|
15803
|
+
readonly name: "amount";
|
|
15804
|
+
readonly type: "uint256";
|
|
15805
|
+
}];
|
|
15806
|
+
readonly name: "deposit";
|
|
15807
|
+
readonly outputs: readonly [];
|
|
15808
|
+
readonly stateMutability: "nonpayable";
|
|
15809
|
+
readonly type: "function";
|
|
15810
|
+
}, {
|
|
15811
|
+
readonly inputs: readonly [{
|
|
15812
|
+
readonly internalType: "MarketId";
|
|
15813
|
+
readonly name: "marketId";
|
|
15814
|
+
readonly type: "uint24";
|
|
15815
|
+
}];
|
|
15816
|
+
readonly name: "enterMarketIsolated";
|
|
15817
|
+
readonly outputs: readonly [];
|
|
15818
|
+
readonly stateMutability: "nonpayable";
|
|
15819
|
+
readonly type: "function";
|
|
15820
|
+
}, {
|
|
15821
|
+
readonly inputs: readonly [{
|
|
15822
|
+
readonly components: readonly [{
|
|
15823
|
+
readonly internalType: "bool";
|
|
15824
|
+
readonly name: "allowFailure";
|
|
15825
|
+
readonly type: "bool";
|
|
15826
|
+
}, {
|
|
15827
|
+
readonly internalType: "bytes";
|
|
15828
|
+
readonly name: "callData";
|
|
15829
|
+
readonly type: "bytes";
|
|
15830
|
+
}];
|
|
15831
|
+
readonly internalType: "struct IBotMiscFacet.Call[]";
|
|
15832
|
+
readonly name: "calls";
|
|
15833
|
+
readonly type: "tuple[]";
|
|
15834
|
+
}];
|
|
15835
|
+
readonly name: "multicall";
|
|
15836
|
+
readonly outputs: readonly [{
|
|
15837
|
+
readonly components: readonly [{
|
|
15838
|
+
readonly internalType: "bool";
|
|
15839
|
+
readonly name: "success";
|
|
15840
|
+
readonly type: "bool";
|
|
15841
|
+
}, {
|
|
15842
|
+
readonly internalType: "bytes";
|
|
15843
|
+
readonly name: "returnData";
|
|
15844
|
+
readonly type: "bytes";
|
|
15845
|
+
}];
|
|
15846
|
+
readonly internalType: "struct IBotMiscFacet.Result[]";
|
|
15847
|
+
readonly name: "results";
|
|
15848
|
+
readonly type: "tuple[]";
|
|
15849
|
+
}];
|
|
15850
|
+
readonly stateMutability: "nonpayable";
|
|
15851
|
+
readonly type: "function";
|
|
15852
|
+
}, {
|
|
15853
|
+
readonly inputs: readonly [{
|
|
15854
|
+
readonly internalType: "TokenId";
|
|
15855
|
+
readonly name: "tokenId";
|
|
15856
|
+
readonly type: "uint16";
|
|
15857
|
+
}, {
|
|
15858
|
+
readonly internalType: "uint256";
|
|
15859
|
+
readonly name: "amount";
|
|
15860
|
+
readonly type: "uint256";
|
|
15861
|
+
}];
|
|
15862
|
+
readonly name: "requestWithdrawal";
|
|
15863
|
+
readonly outputs: readonly [];
|
|
15864
|
+
readonly stateMutability: "nonpayable";
|
|
15865
|
+
readonly type: "function";
|
|
15866
|
+
}, {
|
|
15867
|
+
readonly inputs: readonly [{
|
|
15868
|
+
readonly internalType: "bytes4";
|
|
15869
|
+
readonly name: "selector";
|
|
15870
|
+
readonly type: "bytes4";
|
|
15871
|
+
}];
|
|
15872
|
+
readonly name: "selectorToFacet";
|
|
15873
|
+
readonly outputs: readonly [{
|
|
15874
|
+
readonly internalType: "address";
|
|
15875
|
+
readonly name: "";
|
|
15876
|
+
readonly type: "address";
|
|
15877
|
+
}];
|
|
15878
|
+
readonly stateMutability: "view";
|
|
15879
|
+
readonly type: "function";
|
|
15880
|
+
}, {
|
|
15881
|
+
readonly inputs: readonly [{
|
|
15882
|
+
readonly components: readonly [{
|
|
15883
|
+
readonly internalType: "address";
|
|
15884
|
+
readonly name: "facet";
|
|
15885
|
+
readonly type: "address";
|
|
15886
|
+
}, {
|
|
15887
|
+
readonly internalType: "bytes4[]";
|
|
15888
|
+
readonly name: "selectors";
|
|
15889
|
+
readonly type: "bytes4[]";
|
|
15890
|
+
}];
|
|
15891
|
+
readonly internalType: "struct IBotMiscFacet.SelectorsToFacet[]";
|
|
15892
|
+
readonly name: "arr";
|
|
15893
|
+
readonly type: "tuple[]";
|
|
15894
|
+
}];
|
|
15895
|
+
readonly name: "setSelectorToFacets";
|
|
15896
|
+
readonly outputs: readonly [];
|
|
15897
|
+
readonly stateMutability: "nonpayable";
|
|
15898
|
+
readonly type: "function";
|
|
15899
|
+
}, {
|
|
15900
|
+
readonly inputs: readonly [{
|
|
15901
|
+
readonly internalType: "TokenId";
|
|
15902
|
+
readonly name: "tokenId";
|
|
15903
|
+
readonly type: "uint16";
|
|
15904
|
+
}, {
|
|
15905
|
+
readonly internalType: "uint256";
|
|
15906
|
+
readonly name: "amount";
|
|
15907
|
+
readonly type: "uint256";
|
|
15908
|
+
}, {
|
|
15909
|
+
readonly internalType: "address";
|
|
15910
|
+
readonly name: "receiver";
|
|
15911
|
+
readonly type: "address";
|
|
15912
|
+
}];
|
|
15913
|
+
readonly name: "withdraw";
|
|
15914
|
+
readonly outputs: readonly [];
|
|
15915
|
+
readonly stateMutability: "nonpayable";
|
|
15916
|
+
readonly type: "function";
|
|
15917
|
+
}];
|
|
15962
15918
|
export declare const iMultiTokenMerkleDistributorAbi: readonly [{
|
|
15963
15919
|
readonly inputs: readonly [];
|
|
15964
15920
|
readonly name: "InvalidMerkleProof";
|