@pendle/sdk-boros 0.4.1-mm → 0.4.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/dist/backend/secrettune/BorosCoreSDK.d.ts +1 -1
- package/dist/backend/secrettune/BorosCoreSDK.js +2 -2
- package/dist/backend/secrettune/BorosCoreSDK.js.map +1 -1
- package/dist/backend/secrettune/BorosSendTxsBotSDK.js +1 -1
- package/dist/backend/secrettune/BorosSendTxsBotSDK.js.map +1 -1
- package/dist/common/cacheDecorators.d.ts +19 -0
- package/dist/common/cacheDecorators.js +112 -0
- package/dist/common/cacheDecorators.js.map +1 -0
- package/dist/common/time.d.ts +19 -0
- package/dist/common/time.js +102 -0
- package/dist/common/time.js.map +1 -0
- package/dist/common/types.d.ts +155 -0
- package/dist/common/types.js +16 -0
- package/dist/common/types.js.map +1 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/contracts/abis/distributorAbi.js.map +1 -0
- package/dist/contracts/abis/multiTokenMerkleDistributorAbi.js.map +1 -0
- package/dist/contracts/{viemAbis.d.ts → abis/viemAbis.d.ts} +410 -366
- package/dist/contracts/{viemAbis.js → abis/viemAbis.js} +281 -248
- package/dist/contracts/abis/viemAbis.js.map +1 -0
- package/dist/contracts/amm.d.ts +600 -0
- package/dist/contracts/amm.js +36 -0
- package/dist/contracts/amm.js.map +1 -0
- package/dist/contracts/base-contract-helper.d.ts +15 -0
- package/dist/contracts/base-contract-helper.js +36 -0
- package/dist/contracts/base-contract-helper.js.map +1 -0
- package/dist/contracts/consts.d.ts +1 -0
- package/dist/contracts/consts.js +5 -0
- package/dist/contracts/consts.js.map +1 -0
- package/dist/contracts/contracts.factory.d.ts +25 -0
- package/dist/contracts/contracts.factory.js +73 -0
- package/dist/contracts/contracts.factory.js.map +1 -0
- package/dist/contracts/explorer.d.ts +582 -0
- package/dist/contracts/explorer.js +53 -0
- package/dist/contracts/explorer.js.map +1 -0
- package/dist/contracts/index.d.ts +3 -3
- package/dist/contracts/index.js +3 -3
- package/dist/contracts/index.js.map +1 -1
- package/dist/contracts/market.d.ts +1700 -0
- package/dist/contracts/market.js +85 -0
- package/dist/contracts/market.js.map +1 -0
- package/dist/entities/accManager/accManager.js +1 -1
- package/dist/entities/accManager/accManager.js.map +1 -1
- package/dist/entities/agent/agent.js +1 -1
- package/dist/entities/agent/agent.js.map +1 -1
- package/dist/entities/exchange/exchange.d.ts +3423 -287
- package/dist/entities/exchange/exchange.js +277 -15
- package/dist/entities/exchange/exchange.js.map +1 -1
- package/dist/entities/exchange/types.d.ts +32 -3
- package/dist/entities/exchange/utils.d.ts +40 -24
- package/dist/entities/exchange/utils.js +2 -2
- package/dist/entities/exchange/utils.js.map +1 -1
- package/dist/entities/marketHub.d.ts +1 -1
- package/dist/entities/marketHub.js +1 -1
- package/dist/entities/marketHub.js.map +1 -1
- package/dist/entities/multiTokenMerkleDistributor/constants.d.ts +1 -0
- package/dist/entities/multiTokenMerkleDistributor/constants.js +2 -1
- package/dist/entities/multiTokenMerkleDistributor/constants.js.map +1 -1
- package/dist/entities/multiTokenMerkleDistributor/index.d.ts +1 -0
- package/dist/entities/multiTokenMerkleDistributor/index.js +1 -0
- package/dist/entities/multiTokenMerkleDistributor/index.js.map +1 -1
- package/dist/entities/multiTokenMerkleDistributor/lpRewardsDistributor.d.ts +13 -0
- package/dist/entities/multiTokenMerkleDistributor/lpRewardsDistributor.js +25 -0
- package/dist/entities/multiTokenMerkleDistributor/lpRewardsDistributor.js.map +1 -0
- package/dist/entities/multiTokenMerkleDistributor/multiTokenMerkleDistributorContract.js +1 -1
- package/dist/entities/multiTokenMerkleDistributor/multiTokenMerkleDistributorContract.js.map +1 -1
- package/dist/entities/publicClient.js +1 -1
- package/dist/entities/publicClient.js.map +1 -1
- package/dist/multicall/constants.d.ts +27 -0
- package/dist/multicall/constants.js +31 -0
- package/dist/multicall/constants.js.map +1 -0
- package/dist/multicall/helpers.d.ts +9 -0
- package/dist/multicall/helpers.js +40 -0
- package/dist/multicall/helpers.js.map +1 -0
- package/dist/multicall/multicall.d.ts +71 -0
- package/dist/multicall/multicall.js +250 -0
- package/dist/multicall/multicall.js.map +1 -0
- package/dist/types/encoders.d.ts +6 -0
- package/dist/types/encoders.js +8 -1
- package/dist/types/encoders.js.map +1 -1
- package/dist/utils/signing/agent.d.ts +18 -3
- package/dist/utils/signing/agent.js +39 -15
- package/dist/utils/signing/agent.js.map +1 -1
- package/dist/utils/signing/common.js +10 -1
- package/dist/utils/signing/common.js.map +1 -1
- package/package.json +2 -1
- package/dist/contracts/distributorAbi.js.map +0 -1
- package/dist/contracts/multiTokenMerkleDistributorAbi.js.map +0 -1
- package/dist/contracts/viemAbis.js.map +0 -1
- /package/dist/contracts/{distributorAbi.d.ts → abis/distributorAbi.d.ts} +0 -0
- /package/dist/contracts/{distributorAbi.js → abis/distributorAbi.js} +0 -0
- /package/dist/contracts/{multiTokenMerkleDistributorAbi.d.ts → abis/multiTokenMerkleDistributorAbi.d.ts} +0 -0
- /package/dist/contracts/{multiTokenMerkleDistributorAbi.js → abis/multiTokenMerkleDistributorAbi.js} +0 -0
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const iArbitrageExecutorAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [];
|
|
3
|
+
readonly name: "InsufficientProfit";
|
|
4
|
+
readonly type: "error";
|
|
5
|
+
}, {
|
|
2
6
|
readonly anonymous: false;
|
|
3
7
|
readonly inputs: readonly [{
|
|
4
8
|
readonly indexed: false;
|
|
@@ -13,6 +17,40 @@ export declare const iArbitrageExecutorFacetAbi: readonly [{
|
|
|
13
17
|
}];
|
|
14
18
|
readonly name: "ArbitrageExecuted";
|
|
15
19
|
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";
|
|
16
54
|
}, {
|
|
17
55
|
readonly inputs: readonly [{
|
|
18
56
|
readonly components: readonly [{
|
|
@@ -32,7 +70,7 @@ export declare const iArbitrageExecutorFacetAbi: readonly [{
|
|
|
32
70
|
readonly name: "maximizeProfit";
|
|
33
71
|
readonly type: "bool";
|
|
34
72
|
}];
|
|
35
|
-
readonly internalType: "struct
|
|
73
|
+
readonly internalType: "struct IArbitrageExecutor.ArbitrageParams";
|
|
36
74
|
readonly name: "params";
|
|
37
75
|
readonly type: "tuple";
|
|
38
76
|
}];
|
|
@@ -58,6 +96,48 @@ export declare const iArbitrageExecutorFacetAbi: readonly [{
|
|
|
58
96
|
}];
|
|
59
97
|
readonly stateMutability: "view";
|
|
60
98
|
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";
|
|
61
141
|
}];
|
|
62
142
|
export declare const iAMMFactoryAbi: readonly [{
|
|
63
143
|
readonly anonymous: false;
|
|
@@ -667,6 +747,20 @@ export declare const iMarketHubEntryOnlyAbi: readonly [{
|
|
|
667
747
|
readonly type: "function";
|
|
668
748
|
}];
|
|
669
749
|
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
|
+
}, {
|
|
670
764
|
readonly inputs: readonly [{
|
|
671
765
|
readonly internalType: "MarketId";
|
|
672
766
|
readonly name: "marketId";
|
|
@@ -763,6 +857,20 @@ export declare const iMarketHubRiskManagementAbi: readonly [{
|
|
|
763
857
|
}];
|
|
764
858
|
readonly stateMutability: "nonpayable";
|
|
765
859
|
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";
|
|
766
874
|
}];
|
|
767
875
|
export declare const iMarketHubAbi: readonly [{
|
|
768
876
|
readonly anonymous: false;
|
|
@@ -1118,6 +1226,20 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1118
1226
|
}];
|
|
1119
1227
|
readonly stateMutability: "view";
|
|
1120
1228
|
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";
|
|
1121
1243
|
}, {
|
|
1122
1244
|
readonly inputs: readonly [{
|
|
1123
1245
|
readonly internalType: "MarketAcc";
|
|
@@ -1759,6 +1881,20 @@ export declare const iMarketHubAbi: readonly [{
|
|
|
1759
1881
|
}];
|
|
1760
1882
|
readonly stateMutability: "view";
|
|
1761
1883
|
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";
|
|
1762
1898
|
}, {
|
|
1763
1899
|
readonly inputs: readonly [{
|
|
1764
1900
|
readonly internalType: "int128";
|
|
@@ -4166,6 +4302,25 @@ export declare const iRouterAbi: readonly [{
|
|
|
4166
4302
|
readonly outputs: readonly [];
|
|
4167
4303
|
readonly stateMutability: "nonpayable";
|
|
4168
4304
|
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";
|
|
4169
4324
|
}, {
|
|
4170
4325
|
readonly inputs: readonly [{
|
|
4171
4326
|
readonly components: readonly [{
|
|
@@ -4516,7 +4671,7 @@ export declare const iRouterAbi: readonly [{
|
|
|
4516
4671
|
readonly name: "tick";
|
|
4517
4672
|
readonly type: "int16";
|
|
4518
4673
|
}];
|
|
4519
|
-
readonly internalType: "struct IRouterEventsAndTypes.
|
|
4674
|
+
readonly internalType: "struct IRouterEventsAndTypes.Order";
|
|
4520
4675
|
readonly name: "order";
|
|
4521
4676
|
readonly type: "tuple";
|
|
4522
4677
|
}, {
|
|
@@ -6554,6 +6709,16 @@ export declare const iMarketAbi: readonly [{
|
|
|
6554
6709
|
}];
|
|
6555
6710
|
readonly stateMutability: "nonpayable";
|
|
6556
6711
|
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";
|
|
6557
6722
|
}, {
|
|
6558
6723
|
readonly inputs: readonly [{
|
|
6559
6724
|
readonly internalType: "uint64";
|
|
@@ -7452,7 +7617,7 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
7452
7617
|
readonly name: "rate";
|
|
7453
7618
|
readonly type: "int256";
|
|
7454
7619
|
}];
|
|
7455
|
-
readonly internalType: "struct
|
|
7620
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
7456
7621
|
readonly name: "";
|
|
7457
7622
|
readonly type: "tuple[]";
|
|
7458
7623
|
}];
|
|
@@ -7767,7 +7932,7 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
7767
7932
|
readonly name: "rate";
|
|
7768
7933
|
readonly type: "int256";
|
|
7769
7934
|
}];
|
|
7770
|
-
readonly internalType: "struct
|
|
7935
|
+
readonly internalType: "struct IMarketOffViewOnly.Order";
|
|
7771
7936
|
readonly name: "order";
|
|
7772
7937
|
readonly type: "tuple";
|
|
7773
7938
|
}];
|
|
@@ -8179,6 +8344,16 @@ export declare const iMarketOffAbi: readonly [{
|
|
|
8179
8344
|
}];
|
|
8180
8345
|
readonly stateMutability: "nonpayable";
|
|
8181
8346
|
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";
|
|
8182
8357
|
}, {
|
|
8183
8358
|
readonly inputs: readonly [{
|
|
8184
8359
|
readonly internalType: "uint64";
|
|
@@ -10982,6 +11157,16 @@ export declare const iMarketEntryAbi: readonly [{
|
|
|
10982
11157
|
}];
|
|
10983
11158
|
readonly stateMutability: "nonpayable";
|
|
10984
11159
|
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";
|
|
10985
11170
|
}, {
|
|
10986
11171
|
readonly inputs: readonly [{
|
|
10987
11172
|
readonly internalType: "MarketAcc";
|
|
@@ -11539,7 +11724,7 @@ export declare const iMarketOffViewOnlyAbi: readonly [{
|
|
|
11539
11724
|
readonly name: "rate";
|
|
11540
11725
|
readonly type: "int256";
|
|
11541
11726
|
}];
|
|
11542
|
-
readonly internalType: "struct
|
|
11727
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
11543
11728
|
readonly name: "";
|
|
11544
11729
|
readonly type: "tuple[]";
|
|
11545
11730
|
}];
|
|
@@ -11740,7 +11925,7 @@ export declare const iMarketOffViewOnlyAbi: readonly [{
|
|
|
11740
11925
|
readonly name: "rate";
|
|
11741
11926
|
readonly type: "int256";
|
|
11742
11927
|
}];
|
|
11743
|
-
readonly internalType: "struct
|
|
11928
|
+
readonly internalType: "struct IMarketOffViewOnly.Order";
|
|
11744
11929
|
readonly name: "order";
|
|
11745
11930
|
readonly type: "tuple";
|
|
11746
11931
|
}];
|
|
@@ -12335,7 +12520,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12335
12520
|
readonly name: "rate";
|
|
12336
12521
|
readonly type: "int256";
|
|
12337
12522
|
}];
|
|
12338
|
-
readonly internalType: "struct
|
|
12523
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
12339
12524
|
readonly name: "orders";
|
|
12340
12525
|
readonly type: "tuple[]";
|
|
12341
12526
|
}];
|
|
@@ -12428,7 +12613,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12428
12613
|
readonly name: "rate";
|
|
12429
12614
|
readonly type: "int256";
|
|
12430
12615
|
}];
|
|
12431
|
-
readonly internalType: "struct
|
|
12616
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
12432
12617
|
readonly name: "orders";
|
|
12433
12618
|
readonly type: "tuple[]";
|
|
12434
12619
|
}];
|
|
@@ -12499,7 +12684,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12499
12684
|
readonly name: "rate";
|
|
12500
12685
|
readonly type: "int256";
|
|
12501
12686
|
}];
|
|
12502
|
-
readonly internalType: "struct
|
|
12687
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
12503
12688
|
readonly name: "orders";
|
|
12504
12689
|
readonly type: "tuple[]";
|
|
12505
12690
|
}];
|
|
@@ -12608,7 +12793,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12608
12793
|
readonly name: "rate";
|
|
12609
12794
|
readonly type: "int256";
|
|
12610
12795
|
}];
|
|
12611
|
-
readonly internalType: "struct
|
|
12796
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
12612
12797
|
readonly name: "orders";
|
|
12613
12798
|
readonly type: "tuple[]";
|
|
12614
12799
|
}];
|
|
@@ -12679,7 +12864,7 @@ export declare const iExplorerAbi: readonly [{
|
|
|
12679
12864
|
readonly name: "rate";
|
|
12680
12865
|
readonly type: "int256";
|
|
12681
12866
|
}];
|
|
12682
|
-
readonly internalType: "struct
|
|
12867
|
+
readonly internalType: "struct IMarketOffViewOnly.Order[]";
|
|
12683
12868
|
readonly name: "orders";
|
|
12684
12869
|
readonly type: "tuple[]";
|
|
12685
12870
|
}];
|
|
@@ -13242,7 +13427,7 @@ export declare const iTradeModuleAbi: readonly [{
|
|
|
13242
13427
|
readonly name: "tick";
|
|
13243
13428
|
readonly type: "int16";
|
|
13244
13429
|
}];
|
|
13245
|
-
readonly internalType: "struct IRouterEventsAndTypes.
|
|
13430
|
+
readonly internalType: "struct IRouterEventsAndTypes.Order";
|
|
13246
13431
|
readonly name: "order";
|
|
13247
13432
|
readonly type: "tuple";
|
|
13248
13433
|
}, {
|
|
@@ -14172,7 +14357,7 @@ export declare const iFIndexOracleAbi: readonly [{
|
|
|
14172
14357
|
readonly name: "desiredTimestamp";
|
|
14173
14358
|
readonly type: "uint32";
|
|
14174
14359
|
}];
|
|
14175
|
-
readonly name: "
|
|
14360
|
+
readonly name: "updateFloatingRate";
|
|
14176
14361
|
readonly outputs: readonly [];
|
|
14177
14362
|
readonly stateMutability: "nonpayable";
|
|
14178
14363
|
readonly type: "function";
|
|
@@ -14844,7 +15029,7 @@ export declare const iBOROS20Abi: readonly [{
|
|
|
14844
15029
|
readonly stateMutability: "view";
|
|
14845
15030
|
readonly type: "function";
|
|
14846
15031
|
}];
|
|
14847
|
-
export declare const
|
|
15032
|
+
export declare const iCLOSetterAbi: readonly [{
|
|
14848
15033
|
readonly anonymous: false;
|
|
14849
15034
|
readonly inputs: readonly [{
|
|
14850
15035
|
readonly indexed: false;
|
|
@@ -14862,12 +15047,22 @@ export declare const iCLOSetterFacetAbi: readonly [{
|
|
|
14862
15047
|
readonly type: "uint128";
|
|
14863
15048
|
}];
|
|
14864
15049
|
readonly indexed: false;
|
|
14865
|
-
readonly internalType: "struct
|
|
15050
|
+
readonly internalType: "struct ICLOSetter.CLOThreshold";
|
|
14866
15051
|
readonly name: "newThreshold";
|
|
14867
15052
|
readonly type: "tuple";
|
|
14868
15053
|
}];
|
|
14869
15054
|
readonly name: "CLOThresholdSet";
|
|
14870
15055
|
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";
|
|
14871
15066
|
}, {
|
|
14872
15067
|
readonly inputs: readonly [{
|
|
14873
15068
|
readonly internalType: "MarketId";
|
|
@@ -14885,7 +15080,7 @@ export declare const iCLOSetterFacetAbi: readonly [{
|
|
|
14885
15080
|
readonly name: "upperThres";
|
|
14886
15081
|
readonly type: "uint128";
|
|
14887
15082
|
}];
|
|
14888
|
-
readonly internalType: "struct
|
|
15083
|
+
readonly internalType: "struct ICLOSetter.CLOThreshold";
|
|
14889
15084
|
readonly name: "";
|
|
14890
15085
|
readonly type: "tuple";
|
|
14891
15086
|
}];
|
|
@@ -14906,7 +15101,7 @@ export declare const iCLOSetterFacetAbi: readonly [{
|
|
|
14906
15101
|
readonly name: "upperThres";
|
|
14907
15102
|
readonly type: "uint128";
|
|
14908
15103
|
}];
|
|
14909
|
-
readonly internalType: "struct
|
|
15104
|
+
readonly internalType: "struct ICLOSetter.CLOThreshold";
|
|
14910
15105
|
readonly name: "newThreshold";
|
|
14911
15106
|
readonly type: "tuple";
|
|
14912
15107
|
}];
|
|
@@ -14920,12 +15115,22 @@ export declare const iCLOSetterFacetAbi: readonly [{
|
|
|
14920
15115
|
readonly name: "marketId";
|
|
14921
15116
|
readonly type: "uint24";
|
|
14922
15117
|
}];
|
|
14923
|
-
readonly name: "
|
|
15118
|
+
readonly name: "turnOffCLO";
|
|
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";
|
|
14924
15129
|
readonly outputs: readonly [];
|
|
14925
15130
|
readonly stateMutability: "nonpayable";
|
|
14926
15131
|
readonly type: "function";
|
|
14927
15132
|
}];
|
|
14928
|
-
export declare const
|
|
15133
|
+
export declare const iDeleveragerAbi: readonly [{
|
|
14929
15134
|
readonly anonymous: false;
|
|
14930
15135
|
readonly inputs: readonly [{
|
|
14931
15136
|
readonly indexed: false;
|
|
@@ -14935,6 +15140,16 @@ export declare const iDeleveragerFacetAbi: readonly [{
|
|
|
14935
15140
|
}];
|
|
14936
15141
|
readonly name: "DeleverageThresHRSet";
|
|
14937
15142
|
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";
|
|
14938
15153
|
}, {
|
|
14939
15154
|
readonly inputs: readonly [{
|
|
14940
15155
|
readonly components: readonly [{
|
|
@@ -14959,15 +15174,15 @@ export declare const iDeleveragerFacetAbi: readonly [{
|
|
|
14959
15174
|
readonly name: "sizesToWin";
|
|
14960
15175
|
readonly type: "int256[]";
|
|
14961
15176
|
}];
|
|
14962
|
-
readonly internalType: "struct
|
|
15177
|
+
readonly internalType: "struct IDeleverager.MarketDeleverageInput[]";
|
|
14963
15178
|
readonly name: "inputs";
|
|
14964
15179
|
readonly type: "tuple[]";
|
|
14965
15180
|
}];
|
|
14966
|
-
readonly internalType: "struct
|
|
14967
|
-
readonly name: "
|
|
14968
|
-
readonly type: "tuple";
|
|
15181
|
+
readonly internalType: "struct IDeleverager.DeleverageRequest[]";
|
|
15182
|
+
readonly name: "requests";
|
|
15183
|
+
readonly type: "tuple[]";
|
|
14969
15184
|
}];
|
|
14970
|
-
readonly name: "
|
|
15185
|
+
readonly name: "batchDeleverage";
|
|
14971
15186
|
readonly outputs: readonly [];
|
|
14972
15187
|
readonly stateMutability: "nonpayable";
|
|
14973
15188
|
readonly type: "function";
|
|
@@ -14992,7 +15207,7 @@ export declare const iDeleveragerFacetAbi: readonly [{
|
|
|
14992
15207
|
readonly stateMutability: "nonpayable";
|
|
14993
15208
|
readonly type: "function";
|
|
14994
15209
|
}];
|
|
14995
|
-
export declare const
|
|
15210
|
+
export declare const iLiquidationExecutorAbi: readonly [{
|
|
14996
15211
|
readonly anonymous: false;
|
|
14997
15212
|
readonly inputs: readonly [{
|
|
14998
15213
|
readonly indexed: true;
|
|
@@ -15007,6 +15222,26 @@ export declare const iLiquidationExecutorFacetAbi: readonly [{
|
|
|
15007
15222
|
}];
|
|
15008
15223
|
readonly name: "LiquidationExecuted";
|
|
15009
15224
|
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";
|
|
15010
15245
|
}, {
|
|
15011
15246
|
readonly inputs: readonly [{
|
|
15012
15247
|
readonly components: readonly [{
|
|
@@ -15030,43 +15265,148 @@ export declare const iLiquidationExecutorFacetAbi: readonly [{
|
|
|
15030
15265
|
readonly name: "minProfit";
|
|
15031
15266
|
readonly type: "uint256";
|
|
15032
15267
|
}];
|
|
15033
|
-
readonly internalType: "struct
|
|
15034
|
-
readonly name: "
|
|
15035
|
-
readonly type: "tuple";
|
|
15268
|
+
readonly internalType: "struct ILiquidationExecutor.LiquidationParams[]";
|
|
15269
|
+
readonly name: "batch";
|
|
15270
|
+
readonly type: "tuple[]";
|
|
15036
15271
|
}];
|
|
15037
|
-
readonly name: "
|
|
15272
|
+
readonly name: "batchLiquidate";
|
|
15038
15273
|
readonly outputs: readonly [{
|
|
15039
|
-
readonly internalType: "
|
|
15040
|
-
readonly name: "
|
|
15041
|
-
readonly type: "
|
|
15274
|
+
readonly internalType: "bool[]";
|
|
15275
|
+
readonly name: "success";
|
|
15276
|
+
readonly type: "bool[]";
|
|
15042
15277
|
}, {
|
|
15043
|
-
readonly internalType: "
|
|
15044
|
-
readonly name: "
|
|
15045
|
-
readonly type: "
|
|
15278
|
+
readonly internalType: "bytes[]";
|
|
15279
|
+
readonly name: "results";
|
|
15280
|
+
readonly type: "bytes[]";
|
|
15046
15281
|
}];
|
|
15047
15282
|
readonly stateMutability: "nonpayable";
|
|
15048
15283
|
readonly type: "function";
|
|
15049
15284
|
}, {
|
|
15050
|
-
readonly inputs: readonly [
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
readonly internalType: "uint16";
|
|
15054
|
-
readonly name: "";
|
|
15285
|
+
readonly inputs: readonly [{
|
|
15286
|
+
readonly internalType: "TokenId";
|
|
15287
|
+
readonly name: "tokenId";
|
|
15055
15288
|
readonly type: "uint16";
|
|
15289
|
+
}, {
|
|
15290
|
+
readonly internalType: "uint256";
|
|
15291
|
+
readonly name: "amount";
|
|
15292
|
+
readonly type: "uint256";
|
|
15056
15293
|
}];
|
|
15057
|
-
readonly
|
|
15294
|
+
readonly name: "deposit";
|
|
15295
|
+
readonly outputs: readonly [];
|
|
15296
|
+
readonly stateMutability: "nonpayable";
|
|
15058
15297
|
readonly type: "function";
|
|
15059
|
-
}
|
|
15060
|
-
export declare const iOrderCancellerFacetAbi: readonly [{
|
|
15061
|
-
readonly anonymous: false;
|
|
15298
|
+
}, {
|
|
15062
15299
|
readonly inputs: readonly [{
|
|
15063
|
-
readonly
|
|
15300
|
+
readonly components: readonly [{
|
|
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;
|
|
15392
|
+
readonly inputs: readonly [{
|
|
15393
|
+
readonly indexed: false;
|
|
15064
15394
|
readonly internalType: "int256";
|
|
15065
15395
|
readonly name: "newCancelThresHR";
|
|
15066
15396
|
readonly type: "int256";
|
|
15067
15397
|
}];
|
|
15068
15398
|
readonly name: "CancelThresHRSet";
|
|
15069
15399
|
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";
|
|
15070
15410
|
}, {
|
|
15071
15411
|
readonly inputs: readonly [];
|
|
15072
15412
|
readonly name: "cancelThresHR";
|
|
@@ -15102,7 +15442,7 @@ export declare const iOrderCancellerFacetAbi: readonly [{
|
|
|
15102
15442
|
readonly name: "ids";
|
|
15103
15443
|
readonly type: "uint64[]";
|
|
15104
15444
|
}];
|
|
15105
|
-
readonly internalType: "struct
|
|
15445
|
+
readonly internalType: "struct IOrderCanceller.HealthJumpProof[]";
|
|
15106
15446
|
readonly name: "proofs";
|
|
15107
15447
|
readonly type: "tuple[]";
|
|
15108
15448
|
}];
|
|
@@ -15123,7 +15463,7 @@ export declare const iOrderCancellerFacetAbi: readonly [{
|
|
|
15123
15463
|
readonly name: "ids";
|
|
15124
15464
|
readonly type: "uint64[]";
|
|
15125
15465
|
}];
|
|
15126
|
-
readonly internalType: "struct
|
|
15466
|
+
readonly internalType: "struct IOrderCanceller.HealthJumpProof[]";
|
|
15127
15467
|
readonly name: "proofs";
|
|
15128
15468
|
readonly type: "tuple[]";
|
|
15129
15469
|
}];
|
|
@@ -15142,7 +15482,7 @@ export declare const iOrderCancellerFacetAbi: readonly [{
|
|
|
15142
15482
|
readonly stateMutability: "nonpayable";
|
|
15143
15483
|
readonly type: "function";
|
|
15144
15484
|
}];
|
|
15145
|
-
export declare const
|
|
15485
|
+
export declare const iPauserAbi: readonly [{
|
|
15146
15486
|
readonly anonymous: false;
|
|
15147
15487
|
readonly inputs: readonly [{
|
|
15148
15488
|
readonly indexed: false;
|
|
@@ -15157,6 +15497,16 @@ export declare const iPauserFacetAbi: readonly [{
|
|
|
15157
15497
|
}];
|
|
15158
15498
|
readonly name: "MinTotalMMSet";
|
|
15159
15499
|
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";
|
|
15160
15510
|
}, {
|
|
15161
15511
|
readonly inputs: readonly [{
|
|
15162
15512
|
readonly internalType: "MarketAcc[]";
|
|
@@ -15224,7 +15574,7 @@ export declare const iPauserFacetAbi: readonly [{
|
|
|
15224
15574
|
readonly stateMutability: "nonpayable";
|
|
15225
15575
|
readonly type: "function";
|
|
15226
15576
|
}];
|
|
15227
|
-
export declare const
|
|
15577
|
+
export declare const iWithdrawalPoliceAbi: readonly [{
|
|
15228
15578
|
readonly anonymous: false;
|
|
15229
15579
|
readonly inputs: readonly [{
|
|
15230
15580
|
readonly indexed: false;
|
|
@@ -15259,6 +15609,16 @@ export declare const iWithdrawalPoliceFacetAbi: readonly [{
|
|
|
15259
15609
|
}];
|
|
15260
15610
|
readonly name: "ResetPersonalCooldown";
|
|
15261
15611
|
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";
|
|
15262
15622
|
}, {
|
|
15263
15623
|
readonly inputs: readonly [{
|
|
15264
15624
|
readonly internalType: "address";
|
|
@@ -15322,185 +15682,6 @@ export declare const iWithdrawalPoliceFacetAbi: readonly [{
|
|
|
15322
15682
|
readonly stateMutability: "nonpayable";
|
|
15323
15683
|
readonly type: "function";
|
|
15324
15684
|
}];
|
|
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
|
-
}];
|
|
15504
15685
|
export declare const iZoneResponderAbi: readonly [{
|
|
15505
15686
|
readonly anonymous: false;
|
|
15506
15687
|
readonly inputs: readonly [{
|
|
@@ -15778,143 +15959,6 @@ export declare const iZoneResponderAbi: readonly [{
|
|
|
15778
15959
|
readonly stateMutability: "nonpayable";
|
|
15779
15960
|
readonly type: "function";
|
|
15780
15961
|
}];
|
|
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
|
-
}];
|
|
15918
15962
|
export declare const iMultiTokenMerkleDistributorAbi: readonly [{
|
|
15919
15963
|
readonly inputs: readonly [];
|
|
15920
15964
|
readonly name: "InvalidMerkleProof";
|