@polymarket/clob-client-v2 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2495 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1000 -0
- package/dist/index.d.ts +1000 -8
- package/dist/index.js +2437 -8
- package/dist/index.js.map +1 -1
- package/package.json +12 -5
- package/dist/client.d.ts +0 -139
- package/dist/client.js +0 -973
- package/dist/client.js.map +0 -1
- package/dist/config.d.ts +0 -14
- package/dist/config.js +0 -32
- package/dist/config.js.map +0 -1
- package/dist/constants.d.ts +0 -6
- package/dist/constants.js +0 -10
- package/dist/constants.js.map +0 -1
- package/dist/endpoints.d.ts +0 -60
- package/dist/endpoints.js +0 -75
- package/dist/endpoints.js.map +0 -1
- package/dist/errors.d.ts +0 -7
- package/dist/errors.js +0 -13
- package/dist/errors.js.map +0 -1
- package/dist/headers/index.d.ts +0 -4
- package/dist/headers/index.js +0 -38
- package/dist/headers/index.js.map +0 -1
- package/dist/http-helpers/index.d.ts +0 -18
- package/dist/http-helpers/index.js +0 -124
- package/dist/http-helpers/index.js.map +0 -1
- package/dist/order-builder/helpers/buildMarketOrderCreationArgs.d.ts +0 -5
- package/dist/order-builder/helpers/buildMarketOrderCreationArgs.js +0 -37
- package/dist/order-builder/helpers/buildMarketOrderCreationArgs.js.map +0 -1
- package/dist/order-builder/helpers/buildOrder.d.ts +0 -14
- package/dist/order-builder/helpers/buildOrder.js +0 -29
- package/dist/order-builder/helpers/buildOrder.js.map +0 -1
- package/dist/order-builder/helpers/buildOrderCreationArgs.d.ts +0 -5
- package/dist/order-builder/helpers/buildOrderCreationArgs.js +0 -39
- package/dist/order-builder/helpers/buildOrderCreationArgs.js.map +0 -1
- package/dist/order-builder/helpers/calculateBuyMarketPrice.d.ts +0 -8
- package/dist/order-builder/helpers/calculateBuyMarketPrice.js +0 -34
- package/dist/order-builder/helpers/calculateBuyMarketPrice.js.map +0 -1
- package/dist/order-builder/helpers/calculateSellMarketPrice.d.ts +0 -8
- package/dist/order-builder/helpers/calculateSellMarketPrice.js +0 -34
- package/dist/order-builder/helpers/calculateSellMarketPrice.js.map +0 -1
- package/dist/order-builder/helpers/createMarketOrder.d.ts +0 -5
- package/dist/order-builder/helpers/createMarketOrder.js +0 -33
- package/dist/order-builder/helpers/createMarketOrder.js.map +0 -1
- package/dist/order-builder/helpers/createOrder.d.ts +0 -5
- package/dist/order-builder/helpers/createOrder.js +0 -33
- package/dist/order-builder/helpers/createOrder.js.map +0 -1
- package/dist/order-builder/helpers/getMarketOrderRawAmounts.d.ts +0 -6
- package/dist/order-builder/helpers/getMarketOrderRawAmounts.js +0 -37
- package/dist/order-builder/helpers/getMarketOrderRawAmounts.js.map +0 -1
- package/dist/order-builder/helpers/getOrderRawAmounts.d.ts +0 -6
- package/dist/order-builder/helpers/getOrderRawAmounts.js +0 -37
- package/dist/order-builder/helpers/getOrderRawAmounts.js.map +0 -1
- package/dist/order-builder/helpers/index.d.ts +0 -10
- package/dist/order-builder/helpers/index.js +0 -11
- package/dist/order-builder/helpers/index.js.map +0 -1
- package/dist/order-builder/helpers/roundingConfig.d.ts +0 -2
- package/dist/order-builder/helpers/roundingConfig.js +0 -23
- package/dist/order-builder/helpers/roundingConfig.js.map +0 -1
- package/dist/order-builder/index.d.ts +0 -1
- package/dist/order-builder/index.js +0 -2
- package/dist/order-builder/index.js.map +0 -1
- package/dist/order-builder/orderBuilder.d.ts +0 -28
- package/dist/order-builder/orderBuilder.js +0 -52
- package/dist/order-builder/orderBuilder.js.map +0 -1
- package/dist/order-utils/abi/ExchangeV1.d.ts +0 -1444
- package/dist/order-utils/abi/ExchangeV1.js +0 -1853
- package/dist/order-utils/abi/ExchangeV1.js.map +0 -1
- package/dist/order-utils/abi/ExchangeV2.d.ts +0 -1259
- package/dist/order-utils/abi/ExchangeV2.js +0 -1614
- package/dist/order-utils/abi/ExchangeV2.js.map +0 -1
- package/dist/order-utils/exchangeOrderBuilderV1.d.ts +0 -42
- package/dist/order-utils/exchangeOrderBuilderV1.js +0 -148
- package/dist/order-utils/exchangeOrderBuilderV1.js.map +0 -1
- package/dist/order-utils/exchangeOrderBuilderV2.d.ts +0 -42
- package/dist/order-utils/exchangeOrderBuilderV2.js +0 -119
- package/dist/order-utils/exchangeOrderBuilderV2.js.map +0 -1
- package/dist/order-utils/index.d.ts +0 -2711
- package/dist/order-utils/index.js +0 -13
- package/dist/order-utils/index.js.map +0 -1
- package/dist/order-utils/model/abi.d.ts +0 -21
- package/dist/order-utils/model/abi.js +0 -2
- package/dist/order-utils/model/abi.js.map +0 -1
- package/dist/order-utils/model/ctfExchangeV1TypedData.d.ts +0 -6
- package/dist/order-utils/model/ctfExchangeV1TypedData.js +0 -17
- package/dist/order-utils/model/ctfExchangeV1TypedData.js.map +0 -1
- package/dist/order-utils/model/ctfExchangeV2TypedData.d.ts +0 -6
- package/dist/order-utils/model/ctfExchangeV2TypedData.js +0 -16
- package/dist/order-utils/model/ctfExchangeV2TypedData.js.map +0 -1
- package/dist/order-utils/model/eip712.d.ts +0 -29
- package/dist/order-utils/model/eip712.js +0 -7
- package/dist/order-utils/model/eip712.js.map +0 -1
- package/dist/order-utils/model/order.d.ts +0 -2
- package/dist/order-utils/model/order.js +0 -2
- package/dist/order-utils/model/order.js.map +0 -1
- package/dist/order-utils/model/orderDataV1.d.ts +0 -111
- package/dist/order-utils/model/orderDataV1.js +0 -2
- package/dist/order-utils/model/orderDataV1.js.map +0 -1
- package/dist/order-utils/model/orderDataV2.d.ts +0 -110
- package/dist/order-utils/model/orderDataV2.js +0 -2
- package/dist/order-utils/model/orderDataV2.js.map +0 -1
- package/dist/order-utils/model/side.d.ts +0 -4
- package/dist/order-utils/model/side.js +0 -6
- package/dist/order-utils/model/side.js.map +0 -1
- package/dist/order-utils/model/signatureTypeV1.d.ts +0 -14
- package/dist/order-utils/model/signatureTypeV1.js +0 -16
- package/dist/order-utils/model/signatureTypeV1.js.map +0 -1
- package/dist/order-utils/model/signatureTypeV2.d.ts +0 -18
- package/dist/order-utils/model/signatureTypeV2.js +0 -20
- package/dist/order-utils/model/signatureTypeV2.js.map +0 -1
- package/dist/order-utils/utils.d.ts +0 -1
- package/dist/order-utils/utils.js +0 -4
- package/dist/order-utils/utils.js.map +0 -1
- package/dist/signing/constants.d.ts +0 -14
- package/dist/signing/constants.js +0 -16
- package/dist/signing/constants.js.map +0 -1
- package/dist/signing/eip712.d.ts +0 -9
- package/dist/signing/eip712.js +0 -40
- package/dist/signing/eip712.js.map +0 -1
- package/dist/signing/hmac.d.ts +0 -9
- package/dist/signing/hmac.js +0 -27
- package/dist/signing/hmac.js.map +0 -1
- package/dist/signing/index.d.ts +0 -3
- package/dist/signing/index.js +0 -4
- package/dist/signing/index.js.map +0 -1
- package/dist/signing/signer.d.ts +0 -22
- package/dist/signing/signer.js +0 -50
- package/dist/signing/signer.js.map +0 -1
- package/dist/types/clob.d.ts +0 -398
- package/dist/types/clob.js +0 -28
- package/dist/types/clob.js.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.js +0 -5
- package/dist/types/index.js.map +0 -1
- package/dist/types/ordersV1.d.ts +0 -108
- package/dist/types/ordersV1.js +0 -24
- package/dist/types/ordersV1.js.map +0 -1
- package/dist/types/ordersV2.d.ts +0 -99
- package/dist/types/ordersV2.js +0 -25
- package/dist/types/ordersV2.js.map +0 -1
- package/dist/types/unifiedOrder.d.ts +0 -38
- package/dist/types/unifiedOrder.js +0 -9
- package/dist/types/unifiedOrder.js.map +0 -1
- package/dist/utilities.d.ts +0 -13
- package/dist/utilities.js +0 -47
- package/dist/utilities.js.map +0 -1
|
@@ -1,2711 +0,0 @@
|
|
|
1
|
-
export * from "./exchangeOrderBuilderV1.js";
|
|
2
|
-
export * from "./exchangeOrderBuilderV2.js";
|
|
3
|
-
export declare const ABIs: {
|
|
4
|
-
exchangeV1: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "_collateral";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
readonly name: "_ctf";
|
|
12
|
-
readonly type: "address";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "address";
|
|
15
|
-
readonly name: "_proxyFactory";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly internalType: "address";
|
|
19
|
-
readonly name: "_safeFactory";
|
|
20
|
-
readonly type: "address";
|
|
21
|
-
}];
|
|
22
|
-
readonly stateMutability: "nonpayable";
|
|
23
|
-
readonly type: "constructor";
|
|
24
|
-
}, {
|
|
25
|
-
readonly inputs: readonly [];
|
|
26
|
-
readonly name: "AlreadyRegistered";
|
|
27
|
-
readonly type: "error";
|
|
28
|
-
}, {
|
|
29
|
-
readonly inputs: readonly [];
|
|
30
|
-
readonly name: "FeeTooHigh";
|
|
31
|
-
readonly type: "error";
|
|
32
|
-
}, {
|
|
33
|
-
readonly inputs: readonly [];
|
|
34
|
-
readonly name: "InvalidComplement";
|
|
35
|
-
readonly type: "error";
|
|
36
|
-
}, {
|
|
37
|
-
readonly inputs: readonly [];
|
|
38
|
-
readonly name: "InvalidNonce";
|
|
39
|
-
readonly type: "error";
|
|
40
|
-
}, {
|
|
41
|
-
readonly inputs: readonly [];
|
|
42
|
-
readonly name: "InvalidSignature";
|
|
43
|
-
readonly type: "error";
|
|
44
|
-
}, {
|
|
45
|
-
readonly inputs: readonly [];
|
|
46
|
-
readonly name: "InvalidTokenId";
|
|
47
|
-
readonly type: "error";
|
|
48
|
-
}, {
|
|
49
|
-
readonly inputs: readonly [];
|
|
50
|
-
readonly name: "MakingGtRemaining";
|
|
51
|
-
readonly type: "error";
|
|
52
|
-
}, {
|
|
53
|
-
readonly inputs: readonly [];
|
|
54
|
-
readonly name: "MismatchedTokenIds";
|
|
55
|
-
readonly type: "error";
|
|
56
|
-
}, {
|
|
57
|
-
readonly inputs: readonly [];
|
|
58
|
-
readonly name: "NotAdmin";
|
|
59
|
-
readonly type: "error";
|
|
60
|
-
}, {
|
|
61
|
-
readonly inputs: readonly [];
|
|
62
|
-
readonly name: "NotCrossing";
|
|
63
|
-
readonly type: "error";
|
|
64
|
-
}, {
|
|
65
|
-
readonly inputs: readonly [];
|
|
66
|
-
readonly name: "NotOperator";
|
|
67
|
-
readonly type: "error";
|
|
68
|
-
}, {
|
|
69
|
-
readonly inputs: readonly [];
|
|
70
|
-
readonly name: "NotOwner";
|
|
71
|
-
readonly type: "error";
|
|
72
|
-
}, {
|
|
73
|
-
readonly inputs: readonly [];
|
|
74
|
-
readonly name: "NotTaker";
|
|
75
|
-
readonly type: "error";
|
|
76
|
-
}, {
|
|
77
|
-
readonly inputs: readonly [];
|
|
78
|
-
readonly name: "OrderExpired";
|
|
79
|
-
readonly type: "error";
|
|
80
|
-
}, {
|
|
81
|
-
readonly inputs: readonly [];
|
|
82
|
-
readonly name: "OrderFilledOrCancelled";
|
|
83
|
-
readonly type: "error";
|
|
84
|
-
}, {
|
|
85
|
-
readonly inputs: readonly [];
|
|
86
|
-
readonly name: "Paused";
|
|
87
|
-
readonly type: "error";
|
|
88
|
-
}, {
|
|
89
|
-
readonly inputs: readonly [];
|
|
90
|
-
readonly name: "TooLittleTokensReceived";
|
|
91
|
-
readonly type: "error";
|
|
92
|
-
}, {
|
|
93
|
-
readonly anonymous: false;
|
|
94
|
-
readonly inputs: readonly [{
|
|
95
|
-
readonly indexed: true;
|
|
96
|
-
readonly internalType: "address";
|
|
97
|
-
readonly name: "receiver";
|
|
98
|
-
readonly type: "address";
|
|
99
|
-
}, {
|
|
100
|
-
readonly indexed: false;
|
|
101
|
-
readonly internalType: "uint256";
|
|
102
|
-
readonly name: "tokenId";
|
|
103
|
-
readonly type: "uint256";
|
|
104
|
-
}, {
|
|
105
|
-
readonly indexed: false;
|
|
106
|
-
readonly internalType: "uint256";
|
|
107
|
-
readonly name: "amount";
|
|
108
|
-
readonly type: "uint256";
|
|
109
|
-
}];
|
|
110
|
-
readonly name: "FeeCharged";
|
|
111
|
-
readonly type: "event";
|
|
112
|
-
}, {
|
|
113
|
-
readonly anonymous: false;
|
|
114
|
-
readonly inputs: readonly [{
|
|
115
|
-
readonly indexed: true;
|
|
116
|
-
readonly internalType: "address";
|
|
117
|
-
readonly name: "newAdminAddress";
|
|
118
|
-
readonly type: "address";
|
|
119
|
-
}, {
|
|
120
|
-
readonly indexed: true;
|
|
121
|
-
readonly internalType: "address";
|
|
122
|
-
readonly name: "admin";
|
|
123
|
-
readonly type: "address";
|
|
124
|
-
}];
|
|
125
|
-
readonly name: "NewAdmin";
|
|
126
|
-
readonly type: "event";
|
|
127
|
-
}, {
|
|
128
|
-
readonly anonymous: false;
|
|
129
|
-
readonly inputs: readonly [{
|
|
130
|
-
readonly indexed: true;
|
|
131
|
-
readonly internalType: "address";
|
|
132
|
-
readonly name: "newOperatorAddress";
|
|
133
|
-
readonly type: "address";
|
|
134
|
-
}, {
|
|
135
|
-
readonly indexed: true;
|
|
136
|
-
readonly internalType: "address";
|
|
137
|
-
readonly name: "admin";
|
|
138
|
-
readonly type: "address";
|
|
139
|
-
}];
|
|
140
|
-
readonly name: "NewOperator";
|
|
141
|
-
readonly type: "event";
|
|
142
|
-
}, {
|
|
143
|
-
readonly anonymous: false;
|
|
144
|
-
readonly inputs: readonly [{
|
|
145
|
-
readonly indexed: true;
|
|
146
|
-
readonly internalType: "bytes32";
|
|
147
|
-
readonly name: "orderHash";
|
|
148
|
-
readonly type: "bytes32";
|
|
149
|
-
}];
|
|
150
|
-
readonly name: "OrderCancelled";
|
|
151
|
-
readonly type: "event";
|
|
152
|
-
}, {
|
|
153
|
-
readonly anonymous: false;
|
|
154
|
-
readonly inputs: readonly [{
|
|
155
|
-
readonly indexed: true;
|
|
156
|
-
readonly internalType: "bytes32";
|
|
157
|
-
readonly name: "orderHash";
|
|
158
|
-
readonly type: "bytes32";
|
|
159
|
-
}, {
|
|
160
|
-
readonly indexed: true;
|
|
161
|
-
readonly internalType: "address";
|
|
162
|
-
readonly name: "maker";
|
|
163
|
-
readonly type: "address";
|
|
164
|
-
}, {
|
|
165
|
-
readonly indexed: true;
|
|
166
|
-
readonly internalType: "address";
|
|
167
|
-
readonly name: "taker";
|
|
168
|
-
readonly type: "address";
|
|
169
|
-
}, {
|
|
170
|
-
readonly indexed: false;
|
|
171
|
-
readonly internalType: "uint256";
|
|
172
|
-
readonly name: "makerAssetId";
|
|
173
|
-
readonly type: "uint256";
|
|
174
|
-
}, {
|
|
175
|
-
readonly indexed: false;
|
|
176
|
-
readonly internalType: "uint256";
|
|
177
|
-
readonly name: "takerAssetId";
|
|
178
|
-
readonly type: "uint256";
|
|
179
|
-
}, {
|
|
180
|
-
readonly indexed: false;
|
|
181
|
-
readonly internalType: "uint256";
|
|
182
|
-
readonly name: "makerAmountFilled";
|
|
183
|
-
readonly type: "uint256";
|
|
184
|
-
}, {
|
|
185
|
-
readonly indexed: false;
|
|
186
|
-
readonly internalType: "uint256";
|
|
187
|
-
readonly name: "takerAmountFilled";
|
|
188
|
-
readonly type: "uint256";
|
|
189
|
-
}, {
|
|
190
|
-
readonly indexed: false;
|
|
191
|
-
readonly internalType: "uint256";
|
|
192
|
-
readonly name: "fee";
|
|
193
|
-
readonly type: "uint256";
|
|
194
|
-
}];
|
|
195
|
-
readonly name: "OrderFilled";
|
|
196
|
-
readonly type: "event";
|
|
197
|
-
}, {
|
|
198
|
-
readonly anonymous: false;
|
|
199
|
-
readonly inputs: readonly [{
|
|
200
|
-
readonly indexed: true;
|
|
201
|
-
readonly internalType: "bytes32";
|
|
202
|
-
readonly name: "takerOrderHash";
|
|
203
|
-
readonly type: "bytes32";
|
|
204
|
-
}, {
|
|
205
|
-
readonly indexed: true;
|
|
206
|
-
readonly internalType: "address";
|
|
207
|
-
readonly name: "takerOrderMaker";
|
|
208
|
-
readonly type: "address";
|
|
209
|
-
}, {
|
|
210
|
-
readonly indexed: false;
|
|
211
|
-
readonly internalType: "uint256";
|
|
212
|
-
readonly name: "makerAssetId";
|
|
213
|
-
readonly type: "uint256";
|
|
214
|
-
}, {
|
|
215
|
-
readonly indexed: false;
|
|
216
|
-
readonly internalType: "uint256";
|
|
217
|
-
readonly name: "takerAssetId";
|
|
218
|
-
readonly type: "uint256";
|
|
219
|
-
}, {
|
|
220
|
-
readonly indexed: false;
|
|
221
|
-
readonly internalType: "uint256";
|
|
222
|
-
readonly name: "makerAmountFilled";
|
|
223
|
-
readonly type: "uint256";
|
|
224
|
-
}, {
|
|
225
|
-
readonly indexed: false;
|
|
226
|
-
readonly internalType: "uint256";
|
|
227
|
-
readonly name: "takerAmountFilled";
|
|
228
|
-
readonly type: "uint256";
|
|
229
|
-
}];
|
|
230
|
-
readonly name: "OrdersMatched";
|
|
231
|
-
readonly type: "event";
|
|
232
|
-
}, {
|
|
233
|
-
readonly anonymous: false;
|
|
234
|
-
readonly inputs: readonly [{
|
|
235
|
-
readonly indexed: true;
|
|
236
|
-
readonly internalType: "address";
|
|
237
|
-
readonly name: "oldProxyFactory";
|
|
238
|
-
readonly type: "address";
|
|
239
|
-
}, {
|
|
240
|
-
readonly indexed: true;
|
|
241
|
-
readonly internalType: "address";
|
|
242
|
-
readonly name: "newProxyFactory";
|
|
243
|
-
readonly type: "address";
|
|
244
|
-
}];
|
|
245
|
-
readonly name: "ProxyFactoryUpdated";
|
|
246
|
-
readonly type: "event";
|
|
247
|
-
}, {
|
|
248
|
-
readonly anonymous: false;
|
|
249
|
-
readonly inputs: readonly [{
|
|
250
|
-
readonly indexed: true;
|
|
251
|
-
readonly internalType: "address";
|
|
252
|
-
readonly name: "removedAdmin";
|
|
253
|
-
readonly type: "address";
|
|
254
|
-
}, {
|
|
255
|
-
readonly indexed: true;
|
|
256
|
-
readonly internalType: "address";
|
|
257
|
-
readonly name: "admin";
|
|
258
|
-
readonly type: "address";
|
|
259
|
-
}];
|
|
260
|
-
readonly name: "RemovedAdmin";
|
|
261
|
-
readonly type: "event";
|
|
262
|
-
}, {
|
|
263
|
-
readonly anonymous: false;
|
|
264
|
-
readonly inputs: readonly [{
|
|
265
|
-
readonly indexed: true;
|
|
266
|
-
readonly internalType: "address";
|
|
267
|
-
readonly name: "removedOperator";
|
|
268
|
-
readonly type: "address";
|
|
269
|
-
}, {
|
|
270
|
-
readonly indexed: true;
|
|
271
|
-
readonly internalType: "address";
|
|
272
|
-
readonly name: "admin";
|
|
273
|
-
readonly type: "address";
|
|
274
|
-
}];
|
|
275
|
-
readonly name: "RemovedOperator";
|
|
276
|
-
readonly type: "event";
|
|
277
|
-
}, {
|
|
278
|
-
readonly anonymous: false;
|
|
279
|
-
readonly inputs: readonly [{
|
|
280
|
-
readonly indexed: true;
|
|
281
|
-
readonly internalType: "address";
|
|
282
|
-
readonly name: "oldSafeFactory";
|
|
283
|
-
readonly type: "address";
|
|
284
|
-
}, {
|
|
285
|
-
readonly indexed: true;
|
|
286
|
-
readonly internalType: "address";
|
|
287
|
-
readonly name: "newSafeFactory";
|
|
288
|
-
readonly type: "address";
|
|
289
|
-
}];
|
|
290
|
-
readonly name: "SafeFactoryUpdated";
|
|
291
|
-
readonly type: "event";
|
|
292
|
-
}, {
|
|
293
|
-
readonly anonymous: false;
|
|
294
|
-
readonly inputs: readonly [{
|
|
295
|
-
readonly indexed: true;
|
|
296
|
-
readonly internalType: "uint256";
|
|
297
|
-
readonly name: "token0";
|
|
298
|
-
readonly type: "uint256";
|
|
299
|
-
}, {
|
|
300
|
-
readonly indexed: true;
|
|
301
|
-
readonly internalType: "uint256";
|
|
302
|
-
readonly name: "token1";
|
|
303
|
-
readonly type: "uint256";
|
|
304
|
-
}, {
|
|
305
|
-
readonly indexed: true;
|
|
306
|
-
readonly internalType: "bytes32";
|
|
307
|
-
readonly name: "conditionId";
|
|
308
|
-
readonly type: "bytes32";
|
|
309
|
-
}];
|
|
310
|
-
readonly name: "TokenRegistered";
|
|
311
|
-
readonly type: "event";
|
|
312
|
-
}, {
|
|
313
|
-
readonly anonymous: false;
|
|
314
|
-
readonly inputs: readonly [{
|
|
315
|
-
readonly indexed: true;
|
|
316
|
-
readonly internalType: "address";
|
|
317
|
-
readonly name: "pauser";
|
|
318
|
-
readonly type: "address";
|
|
319
|
-
}];
|
|
320
|
-
readonly name: "TradingPaused";
|
|
321
|
-
readonly type: "event";
|
|
322
|
-
}, {
|
|
323
|
-
readonly anonymous: false;
|
|
324
|
-
readonly inputs: readonly [{
|
|
325
|
-
readonly indexed: true;
|
|
326
|
-
readonly internalType: "address";
|
|
327
|
-
readonly name: "pauser";
|
|
328
|
-
readonly type: "address";
|
|
329
|
-
}];
|
|
330
|
-
readonly name: "TradingUnpaused";
|
|
331
|
-
readonly type: "event";
|
|
332
|
-
}, {
|
|
333
|
-
readonly inputs: readonly [{
|
|
334
|
-
readonly internalType: "address";
|
|
335
|
-
readonly name: "admin_";
|
|
336
|
-
readonly type: "address";
|
|
337
|
-
}];
|
|
338
|
-
readonly name: "addAdmin";
|
|
339
|
-
readonly outputs: readonly [];
|
|
340
|
-
readonly stateMutability: "nonpayable";
|
|
341
|
-
readonly type: "function";
|
|
342
|
-
}, {
|
|
343
|
-
readonly inputs: readonly [{
|
|
344
|
-
readonly internalType: "address";
|
|
345
|
-
readonly name: "operator_";
|
|
346
|
-
readonly type: "address";
|
|
347
|
-
}];
|
|
348
|
-
readonly name: "addOperator";
|
|
349
|
-
readonly outputs: readonly [];
|
|
350
|
-
readonly stateMutability: "nonpayable";
|
|
351
|
-
readonly type: "function";
|
|
352
|
-
}, {
|
|
353
|
-
readonly inputs: readonly [{
|
|
354
|
-
readonly internalType: "address";
|
|
355
|
-
readonly name: "";
|
|
356
|
-
readonly type: "address";
|
|
357
|
-
}];
|
|
358
|
-
readonly name: "admins";
|
|
359
|
-
readonly outputs: readonly [{
|
|
360
|
-
readonly internalType: "uint256";
|
|
361
|
-
readonly name: "";
|
|
362
|
-
readonly type: "uint256";
|
|
363
|
-
}];
|
|
364
|
-
readonly stateMutability: "view";
|
|
365
|
-
readonly type: "function";
|
|
366
|
-
}, {
|
|
367
|
-
readonly inputs: readonly [{
|
|
368
|
-
readonly components: readonly [{
|
|
369
|
-
readonly internalType: "uint256";
|
|
370
|
-
readonly name: "salt";
|
|
371
|
-
readonly type: "uint256";
|
|
372
|
-
}, {
|
|
373
|
-
readonly internalType: "address";
|
|
374
|
-
readonly name: "maker";
|
|
375
|
-
readonly type: "address";
|
|
376
|
-
}, {
|
|
377
|
-
readonly internalType: "address";
|
|
378
|
-
readonly name: "signer";
|
|
379
|
-
readonly type: "address";
|
|
380
|
-
}, {
|
|
381
|
-
readonly internalType: "address";
|
|
382
|
-
readonly name: "taker";
|
|
383
|
-
readonly type: "address";
|
|
384
|
-
}, {
|
|
385
|
-
readonly internalType: "uint256";
|
|
386
|
-
readonly name: "tokenId";
|
|
387
|
-
readonly type: "uint256";
|
|
388
|
-
}, {
|
|
389
|
-
readonly internalType: "uint256";
|
|
390
|
-
readonly name: "makerAmount";
|
|
391
|
-
readonly type: "uint256";
|
|
392
|
-
}, {
|
|
393
|
-
readonly internalType: "uint256";
|
|
394
|
-
readonly name: "takerAmount";
|
|
395
|
-
readonly type: "uint256";
|
|
396
|
-
}, {
|
|
397
|
-
readonly internalType: "uint256";
|
|
398
|
-
readonly name: "expiration";
|
|
399
|
-
readonly type: "uint256";
|
|
400
|
-
}, {
|
|
401
|
-
readonly internalType: "uint256";
|
|
402
|
-
readonly name: "nonce";
|
|
403
|
-
readonly type: "uint256";
|
|
404
|
-
}, {
|
|
405
|
-
readonly internalType: "uint256";
|
|
406
|
-
readonly name: "feeRateBps";
|
|
407
|
-
readonly type: "uint256";
|
|
408
|
-
}, {
|
|
409
|
-
readonly internalType: "enum Side";
|
|
410
|
-
readonly name: "side";
|
|
411
|
-
readonly type: "uint8";
|
|
412
|
-
}, {
|
|
413
|
-
readonly internalType: "enum SignatureType";
|
|
414
|
-
readonly name: "signatureType";
|
|
415
|
-
readonly type: "uint8";
|
|
416
|
-
}, {
|
|
417
|
-
readonly internalType: "bytes";
|
|
418
|
-
readonly name: "signature";
|
|
419
|
-
readonly type: "bytes";
|
|
420
|
-
}];
|
|
421
|
-
readonly internalType: "struct Order";
|
|
422
|
-
readonly name: "order";
|
|
423
|
-
readonly type: "tuple";
|
|
424
|
-
}];
|
|
425
|
-
readonly name: "cancelOrder";
|
|
426
|
-
readonly outputs: readonly [];
|
|
427
|
-
readonly stateMutability: "nonpayable";
|
|
428
|
-
readonly type: "function";
|
|
429
|
-
}, {
|
|
430
|
-
readonly inputs: readonly [{
|
|
431
|
-
readonly components: readonly [{
|
|
432
|
-
readonly internalType: "uint256";
|
|
433
|
-
readonly name: "salt";
|
|
434
|
-
readonly type: "uint256";
|
|
435
|
-
}, {
|
|
436
|
-
readonly internalType: "address";
|
|
437
|
-
readonly name: "maker";
|
|
438
|
-
readonly type: "address";
|
|
439
|
-
}, {
|
|
440
|
-
readonly internalType: "address";
|
|
441
|
-
readonly name: "signer";
|
|
442
|
-
readonly type: "address";
|
|
443
|
-
}, {
|
|
444
|
-
readonly internalType: "address";
|
|
445
|
-
readonly name: "taker";
|
|
446
|
-
readonly type: "address";
|
|
447
|
-
}, {
|
|
448
|
-
readonly internalType: "uint256";
|
|
449
|
-
readonly name: "tokenId";
|
|
450
|
-
readonly type: "uint256";
|
|
451
|
-
}, {
|
|
452
|
-
readonly internalType: "uint256";
|
|
453
|
-
readonly name: "makerAmount";
|
|
454
|
-
readonly type: "uint256";
|
|
455
|
-
}, {
|
|
456
|
-
readonly internalType: "uint256";
|
|
457
|
-
readonly name: "takerAmount";
|
|
458
|
-
readonly type: "uint256";
|
|
459
|
-
}, {
|
|
460
|
-
readonly internalType: "uint256";
|
|
461
|
-
readonly name: "expiration";
|
|
462
|
-
readonly type: "uint256";
|
|
463
|
-
}, {
|
|
464
|
-
readonly internalType: "uint256";
|
|
465
|
-
readonly name: "nonce";
|
|
466
|
-
readonly type: "uint256";
|
|
467
|
-
}, {
|
|
468
|
-
readonly internalType: "uint256";
|
|
469
|
-
readonly name: "feeRateBps";
|
|
470
|
-
readonly type: "uint256";
|
|
471
|
-
}, {
|
|
472
|
-
readonly internalType: "enum Side";
|
|
473
|
-
readonly name: "side";
|
|
474
|
-
readonly type: "uint8";
|
|
475
|
-
}, {
|
|
476
|
-
readonly internalType: "enum SignatureType";
|
|
477
|
-
readonly name: "signatureType";
|
|
478
|
-
readonly type: "uint8";
|
|
479
|
-
}, {
|
|
480
|
-
readonly internalType: "bytes";
|
|
481
|
-
readonly name: "signature";
|
|
482
|
-
readonly type: "bytes";
|
|
483
|
-
}];
|
|
484
|
-
readonly internalType: "struct Order[]";
|
|
485
|
-
readonly name: "orders";
|
|
486
|
-
readonly type: "tuple[]";
|
|
487
|
-
}];
|
|
488
|
-
readonly name: "cancelOrders";
|
|
489
|
-
readonly outputs: readonly [];
|
|
490
|
-
readonly stateMutability: "nonpayable";
|
|
491
|
-
readonly type: "function";
|
|
492
|
-
}, {
|
|
493
|
-
readonly inputs: readonly [];
|
|
494
|
-
readonly name: "domainSeparator";
|
|
495
|
-
readonly outputs: readonly [{
|
|
496
|
-
readonly internalType: "bytes32";
|
|
497
|
-
readonly name: "";
|
|
498
|
-
readonly type: "bytes32";
|
|
499
|
-
}];
|
|
500
|
-
readonly stateMutability: "view";
|
|
501
|
-
readonly type: "function";
|
|
502
|
-
}, {
|
|
503
|
-
readonly inputs: readonly [{
|
|
504
|
-
readonly components: readonly [{
|
|
505
|
-
readonly internalType: "uint256";
|
|
506
|
-
readonly name: "salt";
|
|
507
|
-
readonly type: "uint256";
|
|
508
|
-
}, {
|
|
509
|
-
readonly internalType: "address";
|
|
510
|
-
readonly name: "maker";
|
|
511
|
-
readonly type: "address";
|
|
512
|
-
}, {
|
|
513
|
-
readonly internalType: "address";
|
|
514
|
-
readonly name: "signer";
|
|
515
|
-
readonly type: "address";
|
|
516
|
-
}, {
|
|
517
|
-
readonly internalType: "address";
|
|
518
|
-
readonly name: "taker";
|
|
519
|
-
readonly type: "address";
|
|
520
|
-
}, {
|
|
521
|
-
readonly internalType: "uint256";
|
|
522
|
-
readonly name: "tokenId";
|
|
523
|
-
readonly type: "uint256";
|
|
524
|
-
}, {
|
|
525
|
-
readonly internalType: "uint256";
|
|
526
|
-
readonly name: "makerAmount";
|
|
527
|
-
readonly type: "uint256";
|
|
528
|
-
}, {
|
|
529
|
-
readonly internalType: "uint256";
|
|
530
|
-
readonly name: "takerAmount";
|
|
531
|
-
readonly type: "uint256";
|
|
532
|
-
}, {
|
|
533
|
-
readonly internalType: "uint256";
|
|
534
|
-
readonly name: "expiration";
|
|
535
|
-
readonly type: "uint256";
|
|
536
|
-
}, {
|
|
537
|
-
readonly internalType: "uint256";
|
|
538
|
-
readonly name: "nonce";
|
|
539
|
-
readonly type: "uint256";
|
|
540
|
-
}, {
|
|
541
|
-
readonly internalType: "uint256";
|
|
542
|
-
readonly name: "feeRateBps";
|
|
543
|
-
readonly type: "uint256";
|
|
544
|
-
}, {
|
|
545
|
-
readonly internalType: "enum Side";
|
|
546
|
-
readonly name: "side";
|
|
547
|
-
readonly type: "uint8";
|
|
548
|
-
}, {
|
|
549
|
-
readonly internalType: "enum SignatureType";
|
|
550
|
-
readonly name: "signatureType";
|
|
551
|
-
readonly type: "uint8";
|
|
552
|
-
}, {
|
|
553
|
-
readonly internalType: "bytes";
|
|
554
|
-
readonly name: "signature";
|
|
555
|
-
readonly type: "bytes";
|
|
556
|
-
}];
|
|
557
|
-
readonly internalType: "struct Order";
|
|
558
|
-
readonly name: "order";
|
|
559
|
-
readonly type: "tuple";
|
|
560
|
-
}, {
|
|
561
|
-
readonly internalType: "uint256";
|
|
562
|
-
readonly name: "fillAmount";
|
|
563
|
-
readonly type: "uint256";
|
|
564
|
-
}];
|
|
565
|
-
readonly name: "fillOrder";
|
|
566
|
-
readonly outputs: readonly [];
|
|
567
|
-
readonly stateMutability: "nonpayable";
|
|
568
|
-
readonly type: "function";
|
|
569
|
-
}, {
|
|
570
|
-
readonly inputs: readonly [{
|
|
571
|
-
readonly components: readonly [{
|
|
572
|
-
readonly internalType: "uint256";
|
|
573
|
-
readonly name: "salt";
|
|
574
|
-
readonly type: "uint256";
|
|
575
|
-
}, {
|
|
576
|
-
readonly internalType: "address";
|
|
577
|
-
readonly name: "maker";
|
|
578
|
-
readonly type: "address";
|
|
579
|
-
}, {
|
|
580
|
-
readonly internalType: "address";
|
|
581
|
-
readonly name: "signer";
|
|
582
|
-
readonly type: "address";
|
|
583
|
-
}, {
|
|
584
|
-
readonly internalType: "address";
|
|
585
|
-
readonly name: "taker";
|
|
586
|
-
readonly type: "address";
|
|
587
|
-
}, {
|
|
588
|
-
readonly internalType: "uint256";
|
|
589
|
-
readonly name: "tokenId";
|
|
590
|
-
readonly type: "uint256";
|
|
591
|
-
}, {
|
|
592
|
-
readonly internalType: "uint256";
|
|
593
|
-
readonly name: "makerAmount";
|
|
594
|
-
readonly type: "uint256";
|
|
595
|
-
}, {
|
|
596
|
-
readonly internalType: "uint256";
|
|
597
|
-
readonly name: "takerAmount";
|
|
598
|
-
readonly type: "uint256";
|
|
599
|
-
}, {
|
|
600
|
-
readonly internalType: "uint256";
|
|
601
|
-
readonly name: "expiration";
|
|
602
|
-
readonly type: "uint256";
|
|
603
|
-
}, {
|
|
604
|
-
readonly internalType: "uint256";
|
|
605
|
-
readonly name: "nonce";
|
|
606
|
-
readonly type: "uint256";
|
|
607
|
-
}, {
|
|
608
|
-
readonly internalType: "uint256";
|
|
609
|
-
readonly name: "feeRateBps";
|
|
610
|
-
readonly type: "uint256";
|
|
611
|
-
}, {
|
|
612
|
-
readonly internalType: "enum Side";
|
|
613
|
-
readonly name: "side";
|
|
614
|
-
readonly type: "uint8";
|
|
615
|
-
}, {
|
|
616
|
-
readonly internalType: "enum SignatureType";
|
|
617
|
-
readonly name: "signatureType";
|
|
618
|
-
readonly type: "uint8";
|
|
619
|
-
}, {
|
|
620
|
-
readonly internalType: "bytes";
|
|
621
|
-
readonly name: "signature";
|
|
622
|
-
readonly type: "bytes";
|
|
623
|
-
}];
|
|
624
|
-
readonly internalType: "struct Order[]";
|
|
625
|
-
readonly name: "orders";
|
|
626
|
-
readonly type: "tuple[]";
|
|
627
|
-
}, {
|
|
628
|
-
readonly internalType: "uint256[]";
|
|
629
|
-
readonly name: "fillAmounts";
|
|
630
|
-
readonly type: "uint256[]";
|
|
631
|
-
}];
|
|
632
|
-
readonly name: "fillOrders";
|
|
633
|
-
readonly outputs: readonly [];
|
|
634
|
-
readonly stateMutability: "nonpayable";
|
|
635
|
-
readonly type: "function";
|
|
636
|
-
}, {
|
|
637
|
-
readonly inputs: readonly [];
|
|
638
|
-
readonly name: "getCollateral";
|
|
639
|
-
readonly outputs: readonly [{
|
|
640
|
-
readonly internalType: "address";
|
|
641
|
-
readonly name: "";
|
|
642
|
-
readonly type: "address";
|
|
643
|
-
}];
|
|
644
|
-
readonly stateMutability: "view";
|
|
645
|
-
readonly type: "function";
|
|
646
|
-
}, {
|
|
647
|
-
readonly inputs: readonly [{
|
|
648
|
-
readonly internalType: "uint256";
|
|
649
|
-
readonly name: "token";
|
|
650
|
-
readonly type: "uint256";
|
|
651
|
-
}];
|
|
652
|
-
readonly name: "getComplement";
|
|
653
|
-
readonly outputs: readonly [{
|
|
654
|
-
readonly internalType: "uint256";
|
|
655
|
-
readonly name: "";
|
|
656
|
-
readonly type: "uint256";
|
|
657
|
-
}];
|
|
658
|
-
readonly stateMutability: "view";
|
|
659
|
-
readonly type: "function";
|
|
660
|
-
}, {
|
|
661
|
-
readonly inputs: readonly [{
|
|
662
|
-
readonly internalType: "uint256";
|
|
663
|
-
readonly name: "token";
|
|
664
|
-
readonly type: "uint256";
|
|
665
|
-
}];
|
|
666
|
-
readonly name: "getConditionId";
|
|
667
|
-
readonly outputs: readonly [{
|
|
668
|
-
readonly internalType: "bytes32";
|
|
669
|
-
readonly name: "";
|
|
670
|
-
readonly type: "bytes32";
|
|
671
|
-
}];
|
|
672
|
-
readonly stateMutability: "view";
|
|
673
|
-
readonly type: "function";
|
|
674
|
-
}, {
|
|
675
|
-
readonly inputs: readonly [];
|
|
676
|
-
readonly name: "getCtf";
|
|
677
|
-
readonly outputs: readonly [{
|
|
678
|
-
readonly internalType: "address";
|
|
679
|
-
readonly name: "";
|
|
680
|
-
readonly type: "address";
|
|
681
|
-
}];
|
|
682
|
-
readonly stateMutability: "view";
|
|
683
|
-
readonly type: "function";
|
|
684
|
-
}, {
|
|
685
|
-
readonly inputs: readonly [];
|
|
686
|
-
readonly name: "getMaxFeeRate";
|
|
687
|
-
readonly outputs: readonly [{
|
|
688
|
-
readonly internalType: "uint256";
|
|
689
|
-
readonly name: "";
|
|
690
|
-
readonly type: "uint256";
|
|
691
|
-
}];
|
|
692
|
-
readonly stateMutability: "pure";
|
|
693
|
-
readonly type: "function";
|
|
694
|
-
}, {
|
|
695
|
-
readonly inputs: readonly [{
|
|
696
|
-
readonly internalType: "bytes32";
|
|
697
|
-
readonly name: "orderHash";
|
|
698
|
-
readonly type: "bytes32";
|
|
699
|
-
}];
|
|
700
|
-
readonly name: "getOrderStatus";
|
|
701
|
-
readonly outputs: readonly [{
|
|
702
|
-
readonly components: readonly [{
|
|
703
|
-
readonly internalType: "bool";
|
|
704
|
-
readonly name: "isFilledOrCancelled";
|
|
705
|
-
readonly type: "bool";
|
|
706
|
-
}, {
|
|
707
|
-
readonly internalType: "uint256";
|
|
708
|
-
readonly name: "remaining";
|
|
709
|
-
readonly type: "uint256";
|
|
710
|
-
}];
|
|
711
|
-
readonly internalType: "struct OrderStatus";
|
|
712
|
-
readonly name: "";
|
|
713
|
-
readonly type: "tuple";
|
|
714
|
-
}];
|
|
715
|
-
readonly stateMutability: "view";
|
|
716
|
-
readonly type: "function";
|
|
717
|
-
}, {
|
|
718
|
-
readonly inputs: readonly [];
|
|
719
|
-
readonly name: "getPolyProxyFactoryImplementation";
|
|
720
|
-
readonly outputs: readonly [{
|
|
721
|
-
readonly internalType: "address";
|
|
722
|
-
readonly name: "";
|
|
723
|
-
readonly type: "address";
|
|
724
|
-
}];
|
|
725
|
-
readonly stateMutability: "view";
|
|
726
|
-
readonly type: "function";
|
|
727
|
-
}, {
|
|
728
|
-
readonly inputs: readonly [{
|
|
729
|
-
readonly internalType: "address";
|
|
730
|
-
readonly name: "_addr";
|
|
731
|
-
readonly type: "address";
|
|
732
|
-
}];
|
|
733
|
-
readonly name: "getPolyProxyWalletAddress";
|
|
734
|
-
readonly outputs: readonly [{
|
|
735
|
-
readonly internalType: "address";
|
|
736
|
-
readonly name: "";
|
|
737
|
-
readonly type: "address";
|
|
738
|
-
}];
|
|
739
|
-
readonly stateMutability: "view";
|
|
740
|
-
readonly type: "function";
|
|
741
|
-
}, {
|
|
742
|
-
readonly inputs: readonly [];
|
|
743
|
-
readonly name: "getProxyFactory";
|
|
744
|
-
readonly outputs: readonly [{
|
|
745
|
-
readonly internalType: "address";
|
|
746
|
-
readonly name: "";
|
|
747
|
-
readonly type: "address";
|
|
748
|
-
}];
|
|
749
|
-
readonly stateMutability: "view";
|
|
750
|
-
readonly type: "function";
|
|
751
|
-
}, {
|
|
752
|
-
readonly inputs: readonly [{
|
|
753
|
-
readonly internalType: "address";
|
|
754
|
-
readonly name: "_addr";
|
|
755
|
-
readonly type: "address";
|
|
756
|
-
}];
|
|
757
|
-
readonly name: "getSafeAddress";
|
|
758
|
-
readonly outputs: readonly [{
|
|
759
|
-
readonly internalType: "address";
|
|
760
|
-
readonly name: "";
|
|
761
|
-
readonly type: "address";
|
|
762
|
-
}];
|
|
763
|
-
readonly stateMutability: "view";
|
|
764
|
-
readonly type: "function";
|
|
765
|
-
}, {
|
|
766
|
-
readonly inputs: readonly [];
|
|
767
|
-
readonly name: "getSafeFactory";
|
|
768
|
-
readonly outputs: readonly [{
|
|
769
|
-
readonly internalType: "address";
|
|
770
|
-
readonly name: "";
|
|
771
|
-
readonly type: "address";
|
|
772
|
-
}];
|
|
773
|
-
readonly stateMutability: "view";
|
|
774
|
-
readonly type: "function";
|
|
775
|
-
}, {
|
|
776
|
-
readonly inputs: readonly [];
|
|
777
|
-
readonly name: "getSafeFactoryImplementation";
|
|
778
|
-
readonly outputs: readonly [{
|
|
779
|
-
readonly internalType: "address";
|
|
780
|
-
readonly name: "";
|
|
781
|
-
readonly type: "address";
|
|
782
|
-
}];
|
|
783
|
-
readonly stateMutability: "view";
|
|
784
|
-
readonly type: "function";
|
|
785
|
-
}, {
|
|
786
|
-
readonly inputs: readonly [{
|
|
787
|
-
readonly components: readonly [{
|
|
788
|
-
readonly internalType: "uint256";
|
|
789
|
-
readonly name: "salt";
|
|
790
|
-
readonly type: "uint256";
|
|
791
|
-
}, {
|
|
792
|
-
readonly internalType: "address";
|
|
793
|
-
readonly name: "maker";
|
|
794
|
-
readonly type: "address";
|
|
795
|
-
}, {
|
|
796
|
-
readonly internalType: "address";
|
|
797
|
-
readonly name: "signer";
|
|
798
|
-
readonly type: "address";
|
|
799
|
-
}, {
|
|
800
|
-
readonly internalType: "address";
|
|
801
|
-
readonly name: "taker";
|
|
802
|
-
readonly type: "address";
|
|
803
|
-
}, {
|
|
804
|
-
readonly internalType: "uint256";
|
|
805
|
-
readonly name: "tokenId";
|
|
806
|
-
readonly type: "uint256";
|
|
807
|
-
}, {
|
|
808
|
-
readonly internalType: "uint256";
|
|
809
|
-
readonly name: "makerAmount";
|
|
810
|
-
readonly type: "uint256";
|
|
811
|
-
}, {
|
|
812
|
-
readonly internalType: "uint256";
|
|
813
|
-
readonly name: "takerAmount";
|
|
814
|
-
readonly type: "uint256";
|
|
815
|
-
}, {
|
|
816
|
-
readonly internalType: "uint256";
|
|
817
|
-
readonly name: "expiration";
|
|
818
|
-
readonly type: "uint256";
|
|
819
|
-
}, {
|
|
820
|
-
readonly internalType: "uint256";
|
|
821
|
-
readonly name: "nonce";
|
|
822
|
-
readonly type: "uint256";
|
|
823
|
-
}, {
|
|
824
|
-
readonly internalType: "uint256";
|
|
825
|
-
readonly name: "feeRateBps";
|
|
826
|
-
readonly type: "uint256";
|
|
827
|
-
}, {
|
|
828
|
-
readonly internalType: "enum Side";
|
|
829
|
-
readonly name: "side";
|
|
830
|
-
readonly type: "uint8";
|
|
831
|
-
}, {
|
|
832
|
-
readonly internalType: "enum SignatureType";
|
|
833
|
-
readonly name: "signatureType";
|
|
834
|
-
readonly type: "uint8";
|
|
835
|
-
}, {
|
|
836
|
-
readonly internalType: "bytes";
|
|
837
|
-
readonly name: "signature";
|
|
838
|
-
readonly type: "bytes";
|
|
839
|
-
}];
|
|
840
|
-
readonly internalType: "struct Order";
|
|
841
|
-
readonly name: "order";
|
|
842
|
-
readonly type: "tuple";
|
|
843
|
-
}];
|
|
844
|
-
readonly name: "hashOrder";
|
|
845
|
-
readonly outputs: readonly [{
|
|
846
|
-
readonly internalType: "bytes32";
|
|
847
|
-
readonly name: "";
|
|
848
|
-
readonly type: "bytes32";
|
|
849
|
-
}];
|
|
850
|
-
readonly stateMutability: "view";
|
|
851
|
-
readonly type: "function";
|
|
852
|
-
}, {
|
|
853
|
-
readonly inputs: readonly [];
|
|
854
|
-
readonly name: "incrementNonce";
|
|
855
|
-
readonly outputs: readonly [];
|
|
856
|
-
readonly stateMutability: "nonpayable";
|
|
857
|
-
readonly type: "function";
|
|
858
|
-
}, {
|
|
859
|
-
readonly inputs: readonly [{
|
|
860
|
-
readonly internalType: "address";
|
|
861
|
-
readonly name: "usr";
|
|
862
|
-
readonly type: "address";
|
|
863
|
-
}];
|
|
864
|
-
readonly name: "isAdmin";
|
|
865
|
-
readonly outputs: readonly [{
|
|
866
|
-
readonly internalType: "bool";
|
|
867
|
-
readonly name: "";
|
|
868
|
-
readonly type: "bool";
|
|
869
|
-
}];
|
|
870
|
-
readonly stateMutability: "view";
|
|
871
|
-
readonly type: "function";
|
|
872
|
-
}, {
|
|
873
|
-
readonly inputs: readonly [{
|
|
874
|
-
readonly internalType: "address";
|
|
875
|
-
readonly name: "usr";
|
|
876
|
-
readonly type: "address";
|
|
877
|
-
}];
|
|
878
|
-
readonly name: "isOperator";
|
|
879
|
-
readonly outputs: readonly [{
|
|
880
|
-
readonly internalType: "bool";
|
|
881
|
-
readonly name: "";
|
|
882
|
-
readonly type: "bool";
|
|
883
|
-
}];
|
|
884
|
-
readonly stateMutability: "view";
|
|
885
|
-
readonly type: "function";
|
|
886
|
-
}, {
|
|
887
|
-
readonly inputs: readonly [{
|
|
888
|
-
readonly internalType: "address";
|
|
889
|
-
readonly name: "usr";
|
|
890
|
-
readonly type: "address";
|
|
891
|
-
}, {
|
|
892
|
-
readonly internalType: "uint256";
|
|
893
|
-
readonly name: "nonce";
|
|
894
|
-
readonly type: "uint256";
|
|
895
|
-
}];
|
|
896
|
-
readonly name: "isValidNonce";
|
|
897
|
-
readonly outputs: readonly [{
|
|
898
|
-
readonly internalType: "bool";
|
|
899
|
-
readonly name: "";
|
|
900
|
-
readonly type: "bool";
|
|
901
|
-
}];
|
|
902
|
-
readonly stateMutability: "view";
|
|
903
|
-
readonly type: "function";
|
|
904
|
-
}, {
|
|
905
|
-
readonly inputs: readonly [{
|
|
906
|
-
readonly components: readonly [{
|
|
907
|
-
readonly internalType: "uint256";
|
|
908
|
-
readonly name: "salt";
|
|
909
|
-
readonly type: "uint256";
|
|
910
|
-
}, {
|
|
911
|
-
readonly internalType: "address";
|
|
912
|
-
readonly name: "maker";
|
|
913
|
-
readonly type: "address";
|
|
914
|
-
}, {
|
|
915
|
-
readonly internalType: "address";
|
|
916
|
-
readonly name: "signer";
|
|
917
|
-
readonly type: "address";
|
|
918
|
-
}, {
|
|
919
|
-
readonly internalType: "address";
|
|
920
|
-
readonly name: "taker";
|
|
921
|
-
readonly type: "address";
|
|
922
|
-
}, {
|
|
923
|
-
readonly internalType: "uint256";
|
|
924
|
-
readonly name: "tokenId";
|
|
925
|
-
readonly type: "uint256";
|
|
926
|
-
}, {
|
|
927
|
-
readonly internalType: "uint256";
|
|
928
|
-
readonly name: "makerAmount";
|
|
929
|
-
readonly type: "uint256";
|
|
930
|
-
}, {
|
|
931
|
-
readonly internalType: "uint256";
|
|
932
|
-
readonly name: "takerAmount";
|
|
933
|
-
readonly type: "uint256";
|
|
934
|
-
}, {
|
|
935
|
-
readonly internalType: "uint256";
|
|
936
|
-
readonly name: "expiration";
|
|
937
|
-
readonly type: "uint256";
|
|
938
|
-
}, {
|
|
939
|
-
readonly internalType: "uint256";
|
|
940
|
-
readonly name: "nonce";
|
|
941
|
-
readonly type: "uint256";
|
|
942
|
-
}, {
|
|
943
|
-
readonly internalType: "uint256";
|
|
944
|
-
readonly name: "feeRateBps";
|
|
945
|
-
readonly type: "uint256";
|
|
946
|
-
}, {
|
|
947
|
-
readonly internalType: "enum Side";
|
|
948
|
-
readonly name: "side";
|
|
949
|
-
readonly type: "uint8";
|
|
950
|
-
}, {
|
|
951
|
-
readonly internalType: "enum SignatureType";
|
|
952
|
-
readonly name: "signatureType";
|
|
953
|
-
readonly type: "uint8";
|
|
954
|
-
}, {
|
|
955
|
-
readonly internalType: "bytes";
|
|
956
|
-
readonly name: "signature";
|
|
957
|
-
readonly type: "bytes";
|
|
958
|
-
}];
|
|
959
|
-
readonly internalType: "struct Order";
|
|
960
|
-
readonly name: "takerOrder";
|
|
961
|
-
readonly type: "tuple";
|
|
962
|
-
}, {
|
|
963
|
-
readonly components: readonly [{
|
|
964
|
-
readonly internalType: "uint256";
|
|
965
|
-
readonly name: "salt";
|
|
966
|
-
readonly type: "uint256";
|
|
967
|
-
}, {
|
|
968
|
-
readonly internalType: "address";
|
|
969
|
-
readonly name: "maker";
|
|
970
|
-
readonly type: "address";
|
|
971
|
-
}, {
|
|
972
|
-
readonly internalType: "address";
|
|
973
|
-
readonly name: "signer";
|
|
974
|
-
readonly type: "address";
|
|
975
|
-
}, {
|
|
976
|
-
readonly internalType: "address";
|
|
977
|
-
readonly name: "taker";
|
|
978
|
-
readonly type: "address";
|
|
979
|
-
}, {
|
|
980
|
-
readonly internalType: "uint256";
|
|
981
|
-
readonly name: "tokenId";
|
|
982
|
-
readonly type: "uint256";
|
|
983
|
-
}, {
|
|
984
|
-
readonly internalType: "uint256";
|
|
985
|
-
readonly name: "makerAmount";
|
|
986
|
-
readonly type: "uint256";
|
|
987
|
-
}, {
|
|
988
|
-
readonly internalType: "uint256";
|
|
989
|
-
readonly name: "takerAmount";
|
|
990
|
-
readonly type: "uint256";
|
|
991
|
-
}, {
|
|
992
|
-
readonly internalType: "uint256";
|
|
993
|
-
readonly name: "expiration";
|
|
994
|
-
readonly type: "uint256";
|
|
995
|
-
}, {
|
|
996
|
-
readonly internalType: "uint256";
|
|
997
|
-
readonly name: "nonce";
|
|
998
|
-
readonly type: "uint256";
|
|
999
|
-
}, {
|
|
1000
|
-
readonly internalType: "uint256";
|
|
1001
|
-
readonly name: "feeRateBps";
|
|
1002
|
-
readonly type: "uint256";
|
|
1003
|
-
}, {
|
|
1004
|
-
readonly internalType: "enum Side";
|
|
1005
|
-
readonly name: "side";
|
|
1006
|
-
readonly type: "uint8";
|
|
1007
|
-
}, {
|
|
1008
|
-
readonly internalType: "enum SignatureType";
|
|
1009
|
-
readonly name: "signatureType";
|
|
1010
|
-
readonly type: "uint8";
|
|
1011
|
-
}, {
|
|
1012
|
-
readonly internalType: "bytes";
|
|
1013
|
-
readonly name: "signature";
|
|
1014
|
-
readonly type: "bytes";
|
|
1015
|
-
}];
|
|
1016
|
-
readonly internalType: "struct Order[]";
|
|
1017
|
-
readonly name: "makerOrders";
|
|
1018
|
-
readonly type: "tuple[]";
|
|
1019
|
-
}, {
|
|
1020
|
-
readonly internalType: "uint256";
|
|
1021
|
-
readonly name: "takerFillAmount";
|
|
1022
|
-
readonly type: "uint256";
|
|
1023
|
-
}, {
|
|
1024
|
-
readonly internalType: "uint256[]";
|
|
1025
|
-
readonly name: "makerFillAmounts";
|
|
1026
|
-
readonly type: "uint256[]";
|
|
1027
|
-
}];
|
|
1028
|
-
readonly name: "matchOrders";
|
|
1029
|
-
readonly outputs: readonly [];
|
|
1030
|
-
readonly stateMutability: "nonpayable";
|
|
1031
|
-
readonly type: "function";
|
|
1032
|
-
}, {
|
|
1033
|
-
readonly inputs: readonly [{
|
|
1034
|
-
readonly internalType: "address";
|
|
1035
|
-
readonly name: "";
|
|
1036
|
-
readonly type: "address";
|
|
1037
|
-
}];
|
|
1038
|
-
readonly name: "nonces";
|
|
1039
|
-
readonly outputs: readonly [{
|
|
1040
|
-
readonly internalType: "uint256";
|
|
1041
|
-
readonly name: "";
|
|
1042
|
-
readonly type: "uint256";
|
|
1043
|
-
}];
|
|
1044
|
-
readonly stateMutability: "view";
|
|
1045
|
-
readonly type: "function";
|
|
1046
|
-
}, {
|
|
1047
|
-
readonly inputs: readonly [{
|
|
1048
|
-
readonly internalType: "address";
|
|
1049
|
-
readonly name: "";
|
|
1050
|
-
readonly type: "address";
|
|
1051
|
-
}, {
|
|
1052
|
-
readonly internalType: "address";
|
|
1053
|
-
readonly name: "";
|
|
1054
|
-
readonly type: "address";
|
|
1055
|
-
}, {
|
|
1056
|
-
readonly internalType: "uint256[]";
|
|
1057
|
-
readonly name: "";
|
|
1058
|
-
readonly type: "uint256[]";
|
|
1059
|
-
}, {
|
|
1060
|
-
readonly internalType: "uint256[]";
|
|
1061
|
-
readonly name: "";
|
|
1062
|
-
readonly type: "uint256[]";
|
|
1063
|
-
}, {
|
|
1064
|
-
readonly internalType: "bytes";
|
|
1065
|
-
readonly name: "";
|
|
1066
|
-
readonly type: "bytes";
|
|
1067
|
-
}];
|
|
1068
|
-
readonly name: "onERC1155BatchReceived";
|
|
1069
|
-
readonly outputs: readonly [{
|
|
1070
|
-
readonly internalType: "bytes4";
|
|
1071
|
-
readonly name: "";
|
|
1072
|
-
readonly type: "bytes4";
|
|
1073
|
-
}];
|
|
1074
|
-
readonly stateMutability: "nonpayable";
|
|
1075
|
-
readonly type: "function";
|
|
1076
|
-
}, {
|
|
1077
|
-
readonly inputs: readonly [{
|
|
1078
|
-
readonly internalType: "address";
|
|
1079
|
-
readonly name: "";
|
|
1080
|
-
readonly type: "address";
|
|
1081
|
-
}, {
|
|
1082
|
-
readonly internalType: "address";
|
|
1083
|
-
readonly name: "";
|
|
1084
|
-
readonly type: "address";
|
|
1085
|
-
}, {
|
|
1086
|
-
readonly internalType: "uint256";
|
|
1087
|
-
readonly name: "";
|
|
1088
|
-
readonly type: "uint256";
|
|
1089
|
-
}, {
|
|
1090
|
-
readonly internalType: "uint256";
|
|
1091
|
-
readonly name: "";
|
|
1092
|
-
readonly type: "uint256";
|
|
1093
|
-
}, {
|
|
1094
|
-
readonly internalType: "bytes";
|
|
1095
|
-
readonly name: "";
|
|
1096
|
-
readonly type: "bytes";
|
|
1097
|
-
}];
|
|
1098
|
-
readonly name: "onERC1155Received";
|
|
1099
|
-
readonly outputs: readonly [{
|
|
1100
|
-
readonly internalType: "bytes4";
|
|
1101
|
-
readonly name: "";
|
|
1102
|
-
readonly type: "bytes4";
|
|
1103
|
-
}];
|
|
1104
|
-
readonly stateMutability: "nonpayable";
|
|
1105
|
-
readonly type: "function";
|
|
1106
|
-
}, {
|
|
1107
|
-
readonly inputs: readonly [{
|
|
1108
|
-
readonly internalType: "address";
|
|
1109
|
-
readonly name: "";
|
|
1110
|
-
readonly type: "address";
|
|
1111
|
-
}];
|
|
1112
|
-
readonly name: "operators";
|
|
1113
|
-
readonly outputs: readonly [{
|
|
1114
|
-
readonly internalType: "uint256";
|
|
1115
|
-
readonly name: "";
|
|
1116
|
-
readonly type: "uint256";
|
|
1117
|
-
}];
|
|
1118
|
-
readonly stateMutability: "view";
|
|
1119
|
-
readonly type: "function";
|
|
1120
|
-
}, {
|
|
1121
|
-
readonly inputs: readonly [{
|
|
1122
|
-
readonly internalType: "bytes32";
|
|
1123
|
-
readonly name: "";
|
|
1124
|
-
readonly type: "bytes32";
|
|
1125
|
-
}];
|
|
1126
|
-
readonly name: "orderStatus";
|
|
1127
|
-
readonly outputs: readonly [{
|
|
1128
|
-
readonly internalType: "bool";
|
|
1129
|
-
readonly name: "isFilledOrCancelled";
|
|
1130
|
-
readonly type: "bool";
|
|
1131
|
-
}, {
|
|
1132
|
-
readonly internalType: "uint256";
|
|
1133
|
-
readonly name: "remaining";
|
|
1134
|
-
readonly type: "uint256";
|
|
1135
|
-
}];
|
|
1136
|
-
readonly stateMutability: "view";
|
|
1137
|
-
readonly type: "function";
|
|
1138
|
-
}, {
|
|
1139
|
-
readonly inputs: readonly [];
|
|
1140
|
-
readonly name: "parentCollectionId";
|
|
1141
|
-
readonly outputs: readonly [{
|
|
1142
|
-
readonly internalType: "bytes32";
|
|
1143
|
-
readonly name: "";
|
|
1144
|
-
readonly type: "bytes32";
|
|
1145
|
-
}];
|
|
1146
|
-
readonly stateMutability: "view";
|
|
1147
|
-
readonly type: "function";
|
|
1148
|
-
}, {
|
|
1149
|
-
readonly inputs: readonly [];
|
|
1150
|
-
readonly name: "pauseTrading";
|
|
1151
|
-
readonly outputs: readonly [];
|
|
1152
|
-
readonly stateMutability: "nonpayable";
|
|
1153
|
-
readonly type: "function";
|
|
1154
|
-
}, {
|
|
1155
|
-
readonly inputs: readonly [];
|
|
1156
|
-
readonly name: "paused";
|
|
1157
|
-
readonly outputs: readonly [{
|
|
1158
|
-
readonly internalType: "bool";
|
|
1159
|
-
readonly name: "";
|
|
1160
|
-
readonly type: "bool";
|
|
1161
|
-
}];
|
|
1162
|
-
readonly stateMutability: "view";
|
|
1163
|
-
readonly type: "function";
|
|
1164
|
-
}, {
|
|
1165
|
-
readonly inputs: readonly [];
|
|
1166
|
-
readonly name: "proxyFactory";
|
|
1167
|
-
readonly outputs: readonly [{
|
|
1168
|
-
readonly internalType: "address";
|
|
1169
|
-
readonly name: "";
|
|
1170
|
-
readonly type: "address";
|
|
1171
|
-
}];
|
|
1172
|
-
readonly stateMutability: "view";
|
|
1173
|
-
readonly type: "function";
|
|
1174
|
-
}, {
|
|
1175
|
-
readonly inputs: readonly [{
|
|
1176
|
-
readonly internalType: "uint256";
|
|
1177
|
-
readonly name: "token";
|
|
1178
|
-
readonly type: "uint256";
|
|
1179
|
-
}, {
|
|
1180
|
-
readonly internalType: "uint256";
|
|
1181
|
-
readonly name: "complement";
|
|
1182
|
-
readonly type: "uint256";
|
|
1183
|
-
}, {
|
|
1184
|
-
readonly internalType: "bytes32";
|
|
1185
|
-
readonly name: "conditionId";
|
|
1186
|
-
readonly type: "bytes32";
|
|
1187
|
-
}];
|
|
1188
|
-
readonly name: "registerToken";
|
|
1189
|
-
readonly outputs: readonly [];
|
|
1190
|
-
readonly stateMutability: "nonpayable";
|
|
1191
|
-
readonly type: "function";
|
|
1192
|
-
}, {
|
|
1193
|
-
readonly inputs: readonly [{
|
|
1194
|
-
readonly internalType: "uint256";
|
|
1195
|
-
readonly name: "";
|
|
1196
|
-
readonly type: "uint256";
|
|
1197
|
-
}];
|
|
1198
|
-
readonly name: "registry";
|
|
1199
|
-
readonly outputs: readonly [{
|
|
1200
|
-
readonly internalType: "uint256";
|
|
1201
|
-
readonly name: "complement";
|
|
1202
|
-
readonly type: "uint256";
|
|
1203
|
-
}, {
|
|
1204
|
-
readonly internalType: "bytes32";
|
|
1205
|
-
readonly name: "conditionId";
|
|
1206
|
-
readonly type: "bytes32";
|
|
1207
|
-
}];
|
|
1208
|
-
readonly stateMutability: "view";
|
|
1209
|
-
readonly type: "function";
|
|
1210
|
-
}, {
|
|
1211
|
-
readonly inputs: readonly [{
|
|
1212
|
-
readonly internalType: "address";
|
|
1213
|
-
readonly name: "admin";
|
|
1214
|
-
readonly type: "address";
|
|
1215
|
-
}];
|
|
1216
|
-
readonly name: "removeAdmin";
|
|
1217
|
-
readonly outputs: readonly [];
|
|
1218
|
-
readonly stateMutability: "nonpayable";
|
|
1219
|
-
readonly type: "function";
|
|
1220
|
-
}, {
|
|
1221
|
-
readonly inputs: readonly [{
|
|
1222
|
-
readonly internalType: "address";
|
|
1223
|
-
readonly name: "operator";
|
|
1224
|
-
readonly type: "address";
|
|
1225
|
-
}];
|
|
1226
|
-
readonly name: "removeOperator";
|
|
1227
|
-
readonly outputs: readonly [];
|
|
1228
|
-
readonly stateMutability: "nonpayable";
|
|
1229
|
-
readonly type: "function";
|
|
1230
|
-
}, {
|
|
1231
|
-
readonly inputs: readonly [];
|
|
1232
|
-
readonly name: "renounceAdminRole";
|
|
1233
|
-
readonly outputs: readonly [];
|
|
1234
|
-
readonly stateMutability: "nonpayable";
|
|
1235
|
-
readonly type: "function";
|
|
1236
|
-
}, {
|
|
1237
|
-
readonly inputs: readonly [];
|
|
1238
|
-
readonly name: "renounceOperatorRole";
|
|
1239
|
-
readonly outputs: readonly [];
|
|
1240
|
-
readonly stateMutability: "nonpayable";
|
|
1241
|
-
readonly type: "function";
|
|
1242
|
-
}, {
|
|
1243
|
-
readonly inputs: readonly [];
|
|
1244
|
-
readonly name: "safeFactory";
|
|
1245
|
-
readonly outputs: readonly [{
|
|
1246
|
-
readonly internalType: "address";
|
|
1247
|
-
readonly name: "";
|
|
1248
|
-
readonly type: "address";
|
|
1249
|
-
}];
|
|
1250
|
-
readonly stateMutability: "view";
|
|
1251
|
-
readonly type: "function";
|
|
1252
|
-
}, {
|
|
1253
|
-
readonly inputs: readonly [{
|
|
1254
|
-
readonly internalType: "address";
|
|
1255
|
-
readonly name: "_newProxyFactory";
|
|
1256
|
-
readonly type: "address";
|
|
1257
|
-
}];
|
|
1258
|
-
readonly name: "setProxyFactory";
|
|
1259
|
-
readonly outputs: readonly [];
|
|
1260
|
-
readonly stateMutability: "nonpayable";
|
|
1261
|
-
readonly type: "function";
|
|
1262
|
-
}, {
|
|
1263
|
-
readonly inputs: readonly [{
|
|
1264
|
-
readonly internalType: "address";
|
|
1265
|
-
readonly name: "_newSafeFactory";
|
|
1266
|
-
readonly type: "address";
|
|
1267
|
-
}];
|
|
1268
|
-
readonly name: "setSafeFactory";
|
|
1269
|
-
readonly outputs: readonly [];
|
|
1270
|
-
readonly stateMutability: "nonpayable";
|
|
1271
|
-
readonly type: "function";
|
|
1272
|
-
}, {
|
|
1273
|
-
readonly inputs: readonly [{
|
|
1274
|
-
readonly internalType: "bytes4";
|
|
1275
|
-
readonly name: "interfaceId";
|
|
1276
|
-
readonly type: "bytes4";
|
|
1277
|
-
}];
|
|
1278
|
-
readonly name: "supportsInterface";
|
|
1279
|
-
readonly outputs: readonly [{
|
|
1280
|
-
readonly internalType: "bool";
|
|
1281
|
-
readonly name: "";
|
|
1282
|
-
readonly type: "bool";
|
|
1283
|
-
}];
|
|
1284
|
-
readonly stateMutability: "view";
|
|
1285
|
-
readonly type: "function";
|
|
1286
|
-
}, {
|
|
1287
|
-
readonly inputs: readonly [];
|
|
1288
|
-
readonly name: "unpauseTrading";
|
|
1289
|
-
readonly outputs: readonly [];
|
|
1290
|
-
readonly stateMutability: "nonpayable";
|
|
1291
|
-
readonly type: "function";
|
|
1292
|
-
}, {
|
|
1293
|
-
readonly inputs: readonly [{
|
|
1294
|
-
readonly internalType: "uint256";
|
|
1295
|
-
readonly name: "token";
|
|
1296
|
-
readonly type: "uint256";
|
|
1297
|
-
}, {
|
|
1298
|
-
readonly internalType: "uint256";
|
|
1299
|
-
readonly name: "complement";
|
|
1300
|
-
readonly type: "uint256";
|
|
1301
|
-
}];
|
|
1302
|
-
readonly name: "validateComplement";
|
|
1303
|
-
readonly outputs: readonly [];
|
|
1304
|
-
readonly stateMutability: "view";
|
|
1305
|
-
readonly type: "function";
|
|
1306
|
-
}, {
|
|
1307
|
-
readonly inputs: readonly [{
|
|
1308
|
-
readonly components: readonly [{
|
|
1309
|
-
readonly internalType: "uint256";
|
|
1310
|
-
readonly name: "salt";
|
|
1311
|
-
readonly type: "uint256";
|
|
1312
|
-
}, {
|
|
1313
|
-
readonly internalType: "address";
|
|
1314
|
-
readonly name: "maker";
|
|
1315
|
-
readonly type: "address";
|
|
1316
|
-
}, {
|
|
1317
|
-
readonly internalType: "address";
|
|
1318
|
-
readonly name: "signer";
|
|
1319
|
-
readonly type: "address";
|
|
1320
|
-
}, {
|
|
1321
|
-
readonly internalType: "address";
|
|
1322
|
-
readonly name: "taker";
|
|
1323
|
-
readonly type: "address";
|
|
1324
|
-
}, {
|
|
1325
|
-
readonly internalType: "uint256";
|
|
1326
|
-
readonly name: "tokenId";
|
|
1327
|
-
readonly type: "uint256";
|
|
1328
|
-
}, {
|
|
1329
|
-
readonly internalType: "uint256";
|
|
1330
|
-
readonly name: "makerAmount";
|
|
1331
|
-
readonly type: "uint256";
|
|
1332
|
-
}, {
|
|
1333
|
-
readonly internalType: "uint256";
|
|
1334
|
-
readonly name: "takerAmount";
|
|
1335
|
-
readonly type: "uint256";
|
|
1336
|
-
}, {
|
|
1337
|
-
readonly internalType: "uint256";
|
|
1338
|
-
readonly name: "expiration";
|
|
1339
|
-
readonly type: "uint256";
|
|
1340
|
-
}, {
|
|
1341
|
-
readonly internalType: "uint256";
|
|
1342
|
-
readonly name: "nonce";
|
|
1343
|
-
readonly type: "uint256";
|
|
1344
|
-
}, {
|
|
1345
|
-
readonly internalType: "uint256";
|
|
1346
|
-
readonly name: "feeRateBps";
|
|
1347
|
-
readonly type: "uint256";
|
|
1348
|
-
}, {
|
|
1349
|
-
readonly internalType: "enum Side";
|
|
1350
|
-
readonly name: "side";
|
|
1351
|
-
readonly type: "uint8";
|
|
1352
|
-
}, {
|
|
1353
|
-
readonly internalType: "enum SignatureType";
|
|
1354
|
-
readonly name: "signatureType";
|
|
1355
|
-
readonly type: "uint8";
|
|
1356
|
-
}, {
|
|
1357
|
-
readonly internalType: "bytes";
|
|
1358
|
-
readonly name: "signature";
|
|
1359
|
-
readonly type: "bytes";
|
|
1360
|
-
}];
|
|
1361
|
-
readonly internalType: "struct Order";
|
|
1362
|
-
readonly name: "order";
|
|
1363
|
-
readonly type: "tuple";
|
|
1364
|
-
}];
|
|
1365
|
-
readonly name: "validateOrder";
|
|
1366
|
-
readonly outputs: readonly [];
|
|
1367
|
-
readonly stateMutability: "view";
|
|
1368
|
-
readonly type: "function";
|
|
1369
|
-
}, {
|
|
1370
|
-
readonly inputs: readonly [{
|
|
1371
|
-
readonly internalType: "bytes32";
|
|
1372
|
-
readonly name: "orderHash";
|
|
1373
|
-
readonly type: "bytes32";
|
|
1374
|
-
}, {
|
|
1375
|
-
readonly components: readonly [{
|
|
1376
|
-
readonly internalType: "uint256";
|
|
1377
|
-
readonly name: "salt";
|
|
1378
|
-
readonly type: "uint256";
|
|
1379
|
-
}, {
|
|
1380
|
-
readonly internalType: "address";
|
|
1381
|
-
readonly name: "maker";
|
|
1382
|
-
readonly type: "address";
|
|
1383
|
-
}, {
|
|
1384
|
-
readonly internalType: "address";
|
|
1385
|
-
readonly name: "signer";
|
|
1386
|
-
readonly type: "address";
|
|
1387
|
-
}, {
|
|
1388
|
-
readonly internalType: "address";
|
|
1389
|
-
readonly name: "taker";
|
|
1390
|
-
readonly type: "address";
|
|
1391
|
-
}, {
|
|
1392
|
-
readonly internalType: "uint256";
|
|
1393
|
-
readonly name: "tokenId";
|
|
1394
|
-
readonly type: "uint256";
|
|
1395
|
-
}, {
|
|
1396
|
-
readonly internalType: "uint256";
|
|
1397
|
-
readonly name: "makerAmount";
|
|
1398
|
-
readonly type: "uint256";
|
|
1399
|
-
}, {
|
|
1400
|
-
readonly internalType: "uint256";
|
|
1401
|
-
readonly name: "takerAmount";
|
|
1402
|
-
readonly type: "uint256";
|
|
1403
|
-
}, {
|
|
1404
|
-
readonly internalType: "uint256";
|
|
1405
|
-
readonly name: "expiration";
|
|
1406
|
-
readonly type: "uint256";
|
|
1407
|
-
}, {
|
|
1408
|
-
readonly internalType: "uint256";
|
|
1409
|
-
readonly name: "nonce";
|
|
1410
|
-
readonly type: "uint256";
|
|
1411
|
-
}, {
|
|
1412
|
-
readonly internalType: "uint256";
|
|
1413
|
-
readonly name: "feeRateBps";
|
|
1414
|
-
readonly type: "uint256";
|
|
1415
|
-
}, {
|
|
1416
|
-
readonly internalType: "enum Side";
|
|
1417
|
-
readonly name: "side";
|
|
1418
|
-
readonly type: "uint8";
|
|
1419
|
-
}, {
|
|
1420
|
-
readonly internalType: "enum SignatureType";
|
|
1421
|
-
readonly name: "signatureType";
|
|
1422
|
-
readonly type: "uint8";
|
|
1423
|
-
}, {
|
|
1424
|
-
readonly internalType: "bytes";
|
|
1425
|
-
readonly name: "signature";
|
|
1426
|
-
readonly type: "bytes";
|
|
1427
|
-
}];
|
|
1428
|
-
readonly internalType: "struct Order";
|
|
1429
|
-
readonly name: "order";
|
|
1430
|
-
readonly type: "tuple";
|
|
1431
|
-
}];
|
|
1432
|
-
readonly name: "validateOrderSignature";
|
|
1433
|
-
readonly outputs: readonly [];
|
|
1434
|
-
readonly stateMutability: "view";
|
|
1435
|
-
readonly type: "function";
|
|
1436
|
-
}, {
|
|
1437
|
-
readonly inputs: readonly [{
|
|
1438
|
-
readonly internalType: "uint256";
|
|
1439
|
-
readonly name: "tokenId";
|
|
1440
|
-
readonly type: "uint256";
|
|
1441
|
-
}];
|
|
1442
|
-
readonly name: "validateTokenId";
|
|
1443
|
-
readonly outputs: readonly [];
|
|
1444
|
-
readonly stateMutability: "view";
|
|
1445
|
-
readonly type: "function";
|
|
1446
|
-
}];
|
|
1447
|
-
exchangeV2: readonly [{
|
|
1448
|
-
readonly type: "constructor";
|
|
1449
|
-
readonly inputs: readonly [{
|
|
1450
|
-
readonly name: "params";
|
|
1451
|
-
readonly type: "tuple";
|
|
1452
|
-
readonly internalType: "struct ExchangeInitParams";
|
|
1453
|
-
readonly components: readonly [{
|
|
1454
|
-
readonly name: "admin";
|
|
1455
|
-
readonly type: "address";
|
|
1456
|
-
readonly internalType: "address";
|
|
1457
|
-
}, {
|
|
1458
|
-
readonly name: "collateral";
|
|
1459
|
-
readonly type: "address";
|
|
1460
|
-
readonly internalType: "address";
|
|
1461
|
-
}, {
|
|
1462
|
-
readonly name: "ctf";
|
|
1463
|
-
readonly type: "address";
|
|
1464
|
-
readonly internalType: "address";
|
|
1465
|
-
}, {
|
|
1466
|
-
readonly name: "ctfCollateral";
|
|
1467
|
-
readonly type: "address";
|
|
1468
|
-
readonly internalType: "address";
|
|
1469
|
-
}, {
|
|
1470
|
-
readonly name: "outcomeTokenFactory";
|
|
1471
|
-
readonly type: "address";
|
|
1472
|
-
readonly internalType: "address";
|
|
1473
|
-
}, {
|
|
1474
|
-
readonly name: "proxyFactory";
|
|
1475
|
-
readonly type: "address";
|
|
1476
|
-
readonly internalType: "address";
|
|
1477
|
-
}, {
|
|
1478
|
-
readonly name: "safeFactory";
|
|
1479
|
-
readonly type: "address";
|
|
1480
|
-
readonly internalType: "address";
|
|
1481
|
-
}, {
|
|
1482
|
-
readonly name: "feeReceiver";
|
|
1483
|
-
readonly type: "address";
|
|
1484
|
-
readonly internalType: "address";
|
|
1485
|
-
}];
|
|
1486
|
-
}];
|
|
1487
|
-
readonly stateMutability: "nonpayable";
|
|
1488
|
-
}, {
|
|
1489
|
-
readonly type: "function";
|
|
1490
|
-
readonly name: "PARENT_COLLECTION_ID";
|
|
1491
|
-
readonly inputs: readonly [];
|
|
1492
|
-
readonly outputs: readonly [{
|
|
1493
|
-
readonly name: "";
|
|
1494
|
-
readonly type: "bytes32";
|
|
1495
|
-
readonly internalType: "bytes32";
|
|
1496
|
-
}];
|
|
1497
|
-
readonly stateMutability: "view";
|
|
1498
|
-
}, {
|
|
1499
|
-
readonly type: "function";
|
|
1500
|
-
readonly name: "addAdmin";
|
|
1501
|
-
readonly inputs: readonly [{
|
|
1502
|
-
readonly name: "_admin";
|
|
1503
|
-
readonly type: "address";
|
|
1504
|
-
readonly internalType: "address";
|
|
1505
|
-
}];
|
|
1506
|
-
readonly outputs: readonly [];
|
|
1507
|
-
readonly stateMutability: "nonpayable";
|
|
1508
|
-
}, {
|
|
1509
|
-
readonly type: "function";
|
|
1510
|
-
readonly name: "addOperator";
|
|
1511
|
-
readonly inputs: readonly [{
|
|
1512
|
-
readonly name: "_operator";
|
|
1513
|
-
readonly type: "address";
|
|
1514
|
-
readonly internalType: "address";
|
|
1515
|
-
}];
|
|
1516
|
-
readonly outputs: readonly [];
|
|
1517
|
-
readonly stateMutability: "nonpayable";
|
|
1518
|
-
}, {
|
|
1519
|
-
readonly type: "function";
|
|
1520
|
-
readonly name: "eip712Domain";
|
|
1521
|
-
readonly inputs: readonly [];
|
|
1522
|
-
readonly outputs: readonly [{
|
|
1523
|
-
readonly name: "fields";
|
|
1524
|
-
readonly type: "bytes1";
|
|
1525
|
-
readonly internalType: "bytes1";
|
|
1526
|
-
}, {
|
|
1527
|
-
readonly name: "name";
|
|
1528
|
-
readonly type: "string";
|
|
1529
|
-
readonly internalType: "string";
|
|
1530
|
-
}, {
|
|
1531
|
-
readonly name: "version";
|
|
1532
|
-
readonly type: "string";
|
|
1533
|
-
readonly internalType: "string";
|
|
1534
|
-
}, {
|
|
1535
|
-
readonly name: "chainId";
|
|
1536
|
-
readonly type: "uint256";
|
|
1537
|
-
readonly internalType: "uint256";
|
|
1538
|
-
}, {
|
|
1539
|
-
readonly name: "verifyingContract";
|
|
1540
|
-
readonly type: "address";
|
|
1541
|
-
readonly internalType: "address";
|
|
1542
|
-
}, {
|
|
1543
|
-
readonly name: "salt";
|
|
1544
|
-
readonly type: "bytes32";
|
|
1545
|
-
readonly internalType: "bytes32";
|
|
1546
|
-
}, {
|
|
1547
|
-
readonly name: "extensions";
|
|
1548
|
-
readonly type: "uint256[]";
|
|
1549
|
-
readonly internalType: "uint256[]";
|
|
1550
|
-
}];
|
|
1551
|
-
readonly stateMutability: "view";
|
|
1552
|
-
}, {
|
|
1553
|
-
readonly type: "function";
|
|
1554
|
-
readonly name: "getCollateral";
|
|
1555
|
-
readonly inputs: readonly [];
|
|
1556
|
-
readonly outputs: readonly [{
|
|
1557
|
-
readonly name: "";
|
|
1558
|
-
readonly type: "address";
|
|
1559
|
-
readonly internalType: "address";
|
|
1560
|
-
}];
|
|
1561
|
-
readonly stateMutability: "view";
|
|
1562
|
-
}, {
|
|
1563
|
-
readonly type: "function";
|
|
1564
|
-
readonly name: "getCtf";
|
|
1565
|
-
readonly inputs: readonly [];
|
|
1566
|
-
readonly outputs: readonly [{
|
|
1567
|
-
readonly name: "";
|
|
1568
|
-
readonly type: "address";
|
|
1569
|
-
readonly internalType: "address";
|
|
1570
|
-
}];
|
|
1571
|
-
readonly stateMutability: "view";
|
|
1572
|
-
}, {
|
|
1573
|
-
readonly type: "function";
|
|
1574
|
-
readonly name: "getCtfCollateral";
|
|
1575
|
-
readonly inputs: readonly [];
|
|
1576
|
-
readonly outputs: readonly [{
|
|
1577
|
-
readonly name: "";
|
|
1578
|
-
readonly type: "address";
|
|
1579
|
-
readonly internalType: "address";
|
|
1580
|
-
}];
|
|
1581
|
-
readonly stateMutability: "view";
|
|
1582
|
-
}, {
|
|
1583
|
-
readonly type: "function";
|
|
1584
|
-
readonly name: "getFeeReceiver";
|
|
1585
|
-
readonly inputs: readonly [];
|
|
1586
|
-
readonly outputs: readonly [{
|
|
1587
|
-
readonly name: "";
|
|
1588
|
-
readonly type: "address";
|
|
1589
|
-
readonly internalType: "address";
|
|
1590
|
-
}];
|
|
1591
|
-
readonly stateMutability: "view";
|
|
1592
|
-
}, {
|
|
1593
|
-
readonly type: "function";
|
|
1594
|
-
readonly name: "getMaxFeeRate";
|
|
1595
|
-
readonly inputs: readonly [];
|
|
1596
|
-
readonly outputs: readonly [{
|
|
1597
|
-
readonly name: "";
|
|
1598
|
-
readonly type: "uint256";
|
|
1599
|
-
readonly internalType: "uint256";
|
|
1600
|
-
}];
|
|
1601
|
-
readonly stateMutability: "view";
|
|
1602
|
-
}, {
|
|
1603
|
-
readonly type: "function";
|
|
1604
|
-
readonly name: "getOrderStatus";
|
|
1605
|
-
readonly inputs: readonly [{
|
|
1606
|
-
readonly name: "orderHash";
|
|
1607
|
-
readonly type: "bytes32";
|
|
1608
|
-
readonly internalType: "bytes32";
|
|
1609
|
-
}];
|
|
1610
|
-
readonly outputs: readonly [{
|
|
1611
|
-
readonly name: "";
|
|
1612
|
-
readonly type: "tuple";
|
|
1613
|
-
readonly internalType: "struct OrderStatus";
|
|
1614
|
-
readonly components: readonly [{
|
|
1615
|
-
readonly name: "filled";
|
|
1616
|
-
readonly type: "bool";
|
|
1617
|
-
readonly internalType: "bool";
|
|
1618
|
-
}, {
|
|
1619
|
-
readonly name: "remaining";
|
|
1620
|
-
readonly type: "uint248";
|
|
1621
|
-
readonly internalType: "uint248";
|
|
1622
|
-
}];
|
|
1623
|
-
}];
|
|
1624
|
-
readonly stateMutability: "view";
|
|
1625
|
-
}, {
|
|
1626
|
-
readonly type: "function";
|
|
1627
|
-
readonly name: "getOutcomeTokenFactory";
|
|
1628
|
-
readonly inputs: readonly [];
|
|
1629
|
-
readonly outputs: readonly [{
|
|
1630
|
-
readonly name: "";
|
|
1631
|
-
readonly type: "address";
|
|
1632
|
-
readonly internalType: "address";
|
|
1633
|
-
}];
|
|
1634
|
-
readonly stateMutability: "view";
|
|
1635
|
-
}, {
|
|
1636
|
-
readonly type: "function";
|
|
1637
|
-
readonly name: "getProxyFactory";
|
|
1638
|
-
readonly inputs: readonly [];
|
|
1639
|
-
readonly outputs: readonly [{
|
|
1640
|
-
readonly name: "";
|
|
1641
|
-
readonly type: "address";
|
|
1642
|
-
readonly internalType: "address";
|
|
1643
|
-
}];
|
|
1644
|
-
readonly stateMutability: "view";
|
|
1645
|
-
}, {
|
|
1646
|
-
readonly type: "function";
|
|
1647
|
-
readonly name: "getProxyImplementation";
|
|
1648
|
-
readonly inputs: readonly [];
|
|
1649
|
-
readonly outputs: readonly [{
|
|
1650
|
-
readonly name: "";
|
|
1651
|
-
readonly type: "address";
|
|
1652
|
-
readonly internalType: "address";
|
|
1653
|
-
}];
|
|
1654
|
-
readonly stateMutability: "view";
|
|
1655
|
-
}, {
|
|
1656
|
-
readonly type: "function";
|
|
1657
|
-
readonly name: "getProxyWalletAddress";
|
|
1658
|
-
readonly inputs: readonly [{
|
|
1659
|
-
readonly name: "_addr";
|
|
1660
|
-
readonly type: "address";
|
|
1661
|
-
readonly internalType: "address";
|
|
1662
|
-
}];
|
|
1663
|
-
readonly outputs: readonly [{
|
|
1664
|
-
readonly name: "";
|
|
1665
|
-
readonly type: "address";
|
|
1666
|
-
readonly internalType: "address";
|
|
1667
|
-
}];
|
|
1668
|
-
readonly stateMutability: "view";
|
|
1669
|
-
}, {
|
|
1670
|
-
readonly type: "function";
|
|
1671
|
-
readonly name: "getSafeFactory";
|
|
1672
|
-
readonly inputs: readonly [];
|
|
1673
|
-
readonly outputs: readonly [{
|
|
1674
|
-
readonly name: "";
|
|
1675
|
-
readonly type: "address";
|
|
1676
|
-
readonly internalType: "address";
|
|
1677
|
-
}];
|
|
1678
|
-
readonly stateMutability: "view";
|
|
1679
|
-
}, {
|
|
1680
|
-
readonly type: "function";
|
|
1681
|
-
readonly name: "getSafeImplementation";
|
|
1682
|
-
readonly inputs: readonly [];
|
|
1683
|
-
readonly outputs: readonly [{
|
|
1684
|
-
readonly name: "";
|
|
1685
|
-
readonly type: "address";
|
|
1686
|
-
readonly internalType: "address";
|
|
1687
|
-
}];
|
|
1688
|
-
readonly stateMutability: "view";
|
|
1689
|
-
}, {
|
|
1690
|
-
readonly type: "function";
|
|
1691
|
-
readonly name: "getSafeWalletAddress";
|
|
1692
|
-
readonly inputs: readonly [{
|
|
1693
|
-
readonly name: "_addr";
|
|
1694
|
-
readonly type: "address";
|
|
1695
|
-
readonly internalType: "address";
|
|
1696
|
-
}];
|
|
1697
|
-
readonly outputs: readonly [{
|
|
1698
|
-
readonly name: "";
|
|
1699
|
-
readonly type: "address";
|
|
1700
|
-
readonly internalType: "address";
|
|
1701
|
-
}];
|
|
1702
|
-
readonly stateMutability: "view";
|
|
1703
|
-
}, {
|
|
1704
|
-
readonly type: "function";
|
|
1705
|
-
readonly name: "hashOrder";
|
|
1706
|
-
readonly inputs: readonly [{
|
|
1707
|
-
readonly name: "order";
|
|
1708
|
-
readonly type: "tuple";
|
|
1709
|
-
readonly internalType: "struct Order";
|
|
1710
|
-
readonly components: readonly [{
|
|
1711
|
-
readonly name: "salt";
|
|
1712
|
-
readonly type: "uint256";
|
|
1713
|
-
readonly internalType: "uint256";
|
|
1714
|
-
}, {
|
|
1715
|
-
readonly name: "maker";
|
|
1716
|
-
readonly type: "address";
|
|
1717
|
-
readonly internalType: "address";
|
|
1718
|
-
}, {
|
|
1719
|
-
readonly name: "signer";
|
|
1720
|
-
readonly type: "address";
|
|
1721
|
-
readonly internalType: "address";
|
|
1722
|
-
}, {
|
|
1723
|
-
readonly name: "tokenId";
|
|
1724
|
-
readonly type: "uint256";
|
|
1725
|
-
readonly internalType: "uint256";
|
|
1726
|
-
}, {
|
|
1727
|
-
readonly name: "makerAmount";
|
|
1728
|
-
readonly type: "uint256";
|
|
1729
|
-
readonly internalType: "uint256";
|
|
1730
|
-
}, {
|
|
1731
|
-
readonly name: "takerAmount";
|
|
1732
|
-
readonly type: "uint256";
|
|
1733
|
-
readonly internalType: "uint256";
|
|
1734
|
-
}, {
|
|
1735
|
-
readonly name: "side";
|
|
1736
|
-
readonly type: "uint8";
|
|
1737
|
-
readonly internalType: "enum Side";
|
|
1738
|
-
}, {
|
|
1739
|
-
readonly name: "signatureType";
|
|
1740
|
-
readonly type: "uint8";
|
|
1741
|
-
readonly internalType: "enum SignatureType";
|
|
1742
|
-
}, {
|
|
1743
|
-
readonly name: "timestamp";
|
|
1744
|
-
readonly type: "uint256";
|
|
1745
|
-
readonly internalType: "uint256";
|
|
1746
|
-
}, {
|
|
1747
|
-
readonly name: "metadata";
|
|
1748
|
-
readonly type: "bytes32";
|
|
1749
|
-
readonly internalType: "bytes32";
|
|
1750
|
-
}, {
|
|
1751
|
-
readonly name: "builder";
|
|
1752
|
-
readonly type: "bytes32";
|
|
1753
|
-
readonly internalType: "bytes32";
|
|
1754
|
-
}, {
|
|
1755
|
-
readonly name: "signature";
|
|
1756
|
-
readonly type: "bytes";
|
|
1757
|
-
readonly internalType: "bytes";
|
|
1758
|
-
}];
|
|
1759
|
-
}];
|
|
1760
|
-
readonly outputs: readonly [{
|
|
1761
|
-
readonly name: "";
|
|
1762
|
-
readonly type: "bytes32";
|
|
1763
|
-
readonly internalType: "bytes32";
|
|
1764
|
-
}];
|
|
1765
|
-
readonly stateMutability: "view";
|
|
1766
|
-
}, {
|
|
1767
|
-
readonly type: "function";
|
|
1768
|
-
readonly name: "invalidatePreapprovedOrder";
|
|
1769
|
-
readonly inputs: readonly [{
|
|
1770
|
-
readonly name: "orderHash";
|
|
1771
|
-
readonly type: "bytes32";
|
|
1772
|
-
readonly internalType: "bytes32";
|
|
1773
|
-
}];
|
|
1774
|
-
readonly outputs: readonly [];
|
|
1775
|
-
readonly stateMutability: "nonpayable";
|
|
1776
|
-
}, {
|
|
1777
|
-
readonly type: "function";
|
|
1778
|
-
readonly name: "isAdmin";
|
|
1779
|
-
readonly inputs: readonly [{
|
|
1780
|
-
readonly name: "_usr";
|
|
1781
|
-
readonly type: "address";
|
|
1782
|
-
readonly internalType: "address";
|
|
1783
|
-
}];
|
|
1784
|
-
readonly outputs: readonly [{
|
|
1785
|
-
readonly name: "";
|
|
1786
|
-
readonly type: "bool";
|
|
1787
|
-
readonly internalType: "bool";
|
|
1788
|
-
}];
|
|
1789
|
-
readonly stateMutability: "view";
|
|
1790
|
-
}, {
|
|
1791
|
-
readonly type: "function";
|
|
1792
|
-
readonly name: "isOperator";
|
|
1793
|
-
readonly inputs: readonly [{
|
|
1794
|
-
readonly name: "_usr";
|
|
1795
|
-
readonly type: "address";
|
|
1796
|
-
readonly internalType: "address";
|
|
1797
|
-
}];
|
|
1798
|
-
readonly outputs: readonly [{
|
|
1799
|
-
readonly name: "";
|
|
1800
|
-
readonly type: "bool";
|
|
1801
|
-
readonly internalType: "bool";
|
|
1802
|
-
}];
|
|
1803
|
-
readonly stateMutability: "view";
|
|
1804
|
-
}, {
|
|
1805
|
-
readonly type: "function";
|
|
1806
|
-
readonly name: "isUserPaused";
|
|
1807
|
-
readonly inputs: readonly [{
|
|
1808
|
-
readonly name: "user";
|
|
1809
|
-
readonly type: "address";
|
|
1810
|
-
readonly internalType: "address";
|
|
1811
|
-
}];
|
|
1812
|
-
readonly outputs: readonly [{
|
|
1813
|
-
readonly name: "";
|
|
1814
|
-
readonly type: "bool";
|
|
1815
|
-
readonly internalType: "bool";
|
|
1816
|
-
}];
|
|
1817
|
-
readonly stateMutability: "view";
|
|
1818
|
-
}, {
|
|
1819
|
-
readonly type: "function";
|
|
1820
|
-
readonly name: "matchOrders";
|
|
1821
|
-
readonly inputs: readonly [{
|
|
1822
|
-
readonly name: "conditionId";
|
|
1823
|
-
readonly type: "bytes32";
|
|
1824
|
-
readonly internalType: "bytes32";
|
|
1825
|
-
}, {
|
|
1826
|
-
readonly name: "takerOrder";
|
|
1827
|
-
readonly type: "tuple";
|
|
1828
|
-
readonly internalType: "struct Order";
|
|
1829
|
-
readonly components: readonly [{
|
|
1830
|
-
readonly name: "salt";
|
|
1831
|
-
readonly type: "uint256";
|
|
1832
|
-
readonly internalType: "uint256";
|
|
1833
|
-
}, {
|
|
1834
|
-
readonly name: "maker";
|
|
1835
|
-
readonly type: "address";
|
|
1836
|
-
readonly internalType: "address";
|
|
1837
|
-
}, {
|
|
1838
|
-
readonly name: "signer";
|
|
1839
|
-
readonly type: "address";
|
|
1840
|
-
readonly internalType: "address";
|
|
1841
|
-
}, {
|
|
1842
|
-
readonly name: "tokenId";
|
|
1843
|
-
readonly type: "uint256";
|
|
1844
|
-
readonly internalType: "uint256";
|
|
1845
|
-
}, {
|
|
1846
|
-
readonly name: "makerAmount";
|
|
1847
|
-
readonly type: "uint256";
|
|
1848
|
-
readonly internalType: "uint256";
|
|
1849
|
-
}, {
|
|
1850
|
-
readonly name: "takerAmount";
|
|
1851
|
-
readonly type: "uint256";
|
|
1852
|
-
readonly internalType: "uint256";
|
|
1853
|
-
}, {
|
|
1854
|
-
readonly name: "side";
|
|
1855
|
-
readonly type: "uint8";
|
|
1856
|
-
readonly internalType: "enum Side";
|
|
1857
|
-
}, {
|
|
1858
|
-
readonly name: "signatureType";
|
|
1859
|
-
readonly type: "uint8";
|
|
1860
|
-
readonly internalType: "enum SignatureType";
|
|
1861
|
-
}, {
|
|
1862
|
-
readonly name: "timestamp";
|
|
1863
|
-
readonly type: "uint256";
|
|
1864
|
-
readonly internalType: "uint256";
|
|
1865
|
-
}, {
|
|
1866
|
-
readonly name: "metadata";
|
|
1867
|
-
readonly type: "bytes32";
|
|
1868
|
-
readonly internalType: "bytes32";
|
|
1869
|
-
}, {
|
|
1870
|
-
readonly name: "builder";
|
|
1871
|
-
readonly type: "bytes32";
|
|
1872
|
-
readonly internalType: "bytes32";
|
|
1873
|
-
}, {
|
|
1874
|
-
readonly name: "signature";
|
|
1875
|
-
readonly type: "bytes";
|
|
1876
|
-
readonly internalType: "bytes";
|
|
1877
|
-
}];
|
|
1878
|
-
}, {
|
|
1879
|
-
readonly name: "makerOrders";
|
|
1880
|
-
readonly type: "tuple[]";
|
|
1881
|
-
readonly internalType: "struct Order[]";
|
|
1882
|
-
readonly components: readonly [{
|
|
1883
|
-
readonly name: "salt";
|
|
1884
|
-
readonly type: "uint256";
|
|
1885
|
-
readonly internalType: "uint256";
|
|
1886
|
-
}, {
|
|
1887
|
-
readonly name: "maker";
|
|
1888
|
-
readonly type: "address";
|
|
1889
|
-
readonly internalType: "address";
|
|
1890
|
-
}, {
|
|
1891
|
-
readonly name: "signer";
|
|
1892
|
-
readonly type: "address";
|
|
1893
|
-
readonly internalType: "address";
|
|
1894
|
-
}, {
|
|
1895
|
-
readonly name: "tokenId";
|
|
1896
|
-
readonly type: "uint256";
|
|
1897
|
-
readonly internalType: "uint256";
|
|
1898
|
-
}, {
|
|
1899
|
-
readonly name: "makerAmount";
|
|
1900
|
-
readonly type: "uint256";
|
|
1901
|
-
readonly internalType: "uint256";
|
|
1902
|
-
}, {
|
|
1903
|
-
readonly name: "takerAmount";
|
|
1904
|
-
readonly type: "uint256";
|
|
1905
|
-
readonly internalType: "uint256";
|
|
1906
|
-
}, {
|
|
1907
|
-
readonly name: "side";
|
|
1908
|
-
readonly type: "uint8";
|
|
1909
|
-
readonly internalType: "enum Side";
|
|
1910
|
-
}, {
|
|
1911
|
-
readonly name: "signatureType";
|
|
1912
|
-
readonly type: "uint8";
|
|
1913
|
-
readonly internalType: "enum SignatureType";
|
|
1914
|
-
}, {
|
|
1915
|
-
readonly name: "timestamp";
|
|
1916
|
-
readonly type: "uint256";
|
|
1917
|
-
readonly internalType: "uint256";
|
|
1918
|
-
}, {
|
|
1919
|
-
readonly name: "metadata";
|
|
1920
|
-
readonly type: "bytes32";
|
|
1921
|
-
readonly internalType: "bytes32";
|
|
1922
|
-
}, {
|
|
1923
|
-
readonly name: "builder";
|
|
1924
|
-
readonly type: "bytes32";
|
|
1925
|
-
readonly internalType: "bytes32";
|
|
1926
|
-
}, {
|
|
1927
|
-
readonly name: "signature";
|
|
1928
|
-
readonly type: "bytes";
|
|
1929
|
-
readonly internalType: "bytes";
|
|
1930
|
-
}];
|
|
1931
|
-
}, {
|
|
1932
|
-
readonly name: "takerFillAmount";
|
|
1933
|
-
readonly type: "uint256";
|
|
1934
|
-
readonly internalType: "uint256";
|
|
1935
|
-
}, {
|
|
1936
|
-
readonly name: "makerFillAmounts";
|
|
1937
|
-
readonly type: "uint256[]";
|
|
1938
|
-
readonly internalType: "uint256[]";
|
|
1939
|
-
}, {
|
|
1940
|
-
readonly name: "takerFeeAmount";
|
|
1941
|
-
readonly type: "uint256";
|
|
1942
|
-
readonly internalType: "uint256";
|
|
1943
|
-
}, {
|
|
1944
|
-
readonly name: "makerFeeAmounts";
|
|
1945
|
-
readonly type: "uint256[]";
|
|
1946
|
-
readonly internalType: "uint256[]";
|
|
1947
|
-
}];
|
|
1948
|
-
readonly outputs: readonly [];
|
|
1949
|
-
readonly stateMutability: "nonpayable";
|
|
1950
|
-
}, {
|
|
1951
|
-
readonly type: "function";
|
|
1952
|
-
readonly name: "onERC1155BatchReceived";
|
|
1953
|
-
readonly inputs: readonly [{
|
|
1954
|
-
readonly name: "";
|
|
1955
|
-
readonly type: "address";
|
|
1956
|
-
readonly internalType: "address";
|
|
1957
|
-
}, {
|
|
1958
|
-
readonly name: "";
|
|
1959
|
-
readonly type: "address";
|
|
1960
|
-
readonly internalType: "address";
|
|
1961
|
-
}, {
|
|
1962
|
-
readonly name: "";
|
|
1963
|
-
readonly type: "uint256[]";
|
|
1964
|
-
readonly internalType: "uint256[]";
|
|
1965
|
-
}, {
|
|
1966
|
-
readonly name: "";
|
|
1967
|
-
readonly type: "uint256[]";
|
|
1968
|
-
readonly internalType: "uint256[]";
|
|
1969
|
-
}, {
|
|
1970
|
-
readonly name: "";
|
|
1971
|
-
readonly type: "bytes";
|
|
1972
|
-
readonly internalType: "bytes";
|
|
1973
|
-
}];
|
|
1974
|
-
readonly outputs: readonly [{
|
|
1975
|
-
readonly name: "";
|
|
1976
|
-
readonly type: "bytes4";
|
|
1977
|
-
readonly internalType: "bytes4";
|
|
1978
|
-
}];
|
|
1979
|
-
readonly stateMutability: "nonpayable";
|
|
1980
|
-
}, {
|
|
1981
|
-
readonly type: "function";
|
|
1982
|
-
readonly name: "onERC1155Received";
|
|
1983
|
-
readonly inputs: readonly [{
|
|
1984
|
-
readonly name: "";
|
|
1985
|
-
readonly type: "address";
|
|
1986
|
-
readonly internalType: "address";
|
|
1987
|
-
}, {
|
|
1988
|
-
readonly name: "";
|
|
1989
|
-
readonly type: "address";
|
|
1990
|
-
readonly internalType: "address";
|
|
1991
|
-
}, {
|
|
1992
|
-
readonly name: "";
|
|
1993
|
-
readonly type: "uint256";
|
|
1994
|
-
readonly internalType: "uint256";
|
|
1995
|
-
}, {
|
|
1996
|
-
readonly name: "";
|
|
1997
|
-
readonly type: "uint256";
|
|
1998
|
-
readonly internalType: "uint256";
|
|
1999
|
-
}, {
|
|
2000
|
-
readonly name: "";
|
|
2001
|
-
readonly type: "bytes";
|
|
2002
|
-
readonly internalType: "bytes";
|
|
2003
|
-
}];
|
|
2004
|
-
readonly outputs: readonly [{
|
|
2005
|
-
readonly name: "";
|
|
2006
|
-
readonly type: "bytes4";
|
|
2007
|
-
readonly internalType: "bytes4";
|
|
2008
|
-
}];
|
|
2009
|
-
readonly stateMutability: "nonpayable";
|
|
2010
|
-
}, {
|
|
2011
|
-
readonly type: "function";
|
|
2012
|
-
readonly name: "orderStatus";
|
|
2013
|
-
readonly inputs: readonly [{
|
|
2014
|
-
readonly name: "";
|
|
2015
|
-
readonly type: "bytes32";
|
|
2016
|
-
readonly internalType: "bytes32";
|
|
2017
|
-
}];
|
|
2018
|
-
readonly outputs: readonly [{
|
|
2019
|
-
readonly name: "filled";
|
|
2020
|
-
readonly type: "bool";
|
|
2021
|
-
readonly internalType: "bool";
|
|
2022
|
-
}, {
|
|
2023
|
-
readonly name: "remaining";
|
|
2024
|
-
readonly type: "uint248";
|
|
2025
|
-
readonly internalType: "uint248";
|
|
2026
|
-
}];
|
|
2027
|
-
readonly stateMutability: "view";
|
|
2028
|
-
}, {
|
|
2029
|
-
readonly type: "function";
|
|
2030
|
-
readonly name: "pauseTrading";
|
|
2031
|
-
readonly inputs: readonly [];
|
|
2032
|
-
readonly outputs: readonly [];
|
|
2033
|
-
readonly stateMutability: "nonpayable";
|
|
2034
|
-
}, {
|
|
2035
|
-
readonly type: "function";
|
|
2036
|
-
readonly name: "pauseUser";
|
|
2037
|
-
readonly inputs: readonly [];
|
|
2038
|
-
readonly outputs: readonly [];
|
|
2039
|
-
readonly stateMutability: "nonpayable";
|
|
2040
|
-
}, {
|
|
2041
|
-
readonly type: "function";
|
|
2042
|
-
readonly name: "paused";
|
|
2043
|
-
readonly inputs: readonly [];
|
|
2044
|
-
readonly outputs: readonly [{
|
|
2045
|
-
readonly name: "";
|
|
2046
|
-
readonly type: "bool";
|
|
2047
|
-
readonly internalType: "bool";
|
|
2048
|
-
}];
|
|
2049
|
-
readonly stateMutability: "view";
|
|
2050
|
-
}, {
|
|
2051
|
-
readonly type: "function";
|
|
2052
|
-
readonly name: "preapproveOrder";
|
|
2053
|
-
readonly inputs: readonly [{
|
|
2054
|
-
readonly name: "order";
|
|
2055
|
-
readonly type: "tuple";
|
|
2056
|
-
readonly internalType: "struct Order";
|
|
2057
|
-
readonly components: readonly [{
|
|
2058
|
-
readonly name: "salt";
|
|
2059
|
-
readonly type: "uint256";
|
|
2060
|
-
readonly internalType: "uint256";
|
|
2061
|
-
}, {
|
|
2062
|
-
readonly name: "maker";
|
|
2063
|
-
readonly type: "address";
|
|
2064
|
-
readonly internalType: "address";
|
|
2065
|
-
}, {
|
|
2066
|
-
readonly name: "signer";
|
|
2067
|
-
readonly type: "address";
|
|
2068
|
-
readonly internalType: "address";
|
|
2069
|
-
}, {
|
|
2070
|
-
readonly name: "tokenId";
|
|
2071
|
-
readonly type: "uint256";
|
|
2072
|
-
readonly internalType: "uint256";
|
|
2073
|
-
}, {
|
|
2074
|
-
readonly name: "makerAmount";
|
|
2075
|
-
readonly type: "uint256";
|
|
2076
|
-
readonly internalType: "uint256";
|
|
2077
|
-
}, {
|
|
2078
|
-
readonly name: "takerAmount";
|
|
2079
|
-
readonly type: "uint256";
|
|
2080
|
-
readonly internalType: "uint256";
|
|
2081
|
-
}, {
|
|
2082
|
-
readonly name: "side";
|
|
2083
|
-
readonly type: "uint8";
|
|
2084
|
-
readonly internalType: "enum Side";
|
|
2085
|
-
}, {
|
|
2086
|
-
readonly name: "signatureType";
|
|
2087
|
-
readonly type: "uint8";
|
|
2088
|
-
readonly internalType: "enum SignatureType";
|
|
2089
|
-
}, {
|
|
2090
|
-
readonly name: "timestamp";
|
|
2091
|
-
readonly type: "uint256";
|
|
2092
|
-
readonly internalType: "uint256";
|
|
2093
|
-
}, {
|
|
2094
|
-
readonly name: "metadata";
|
|
2095
|
-
readonly type: "bytes32";
|
|
2096
|
-
readonly internalType: "bytes32";
|
|
2097
|
-
}, {
|
|
2098
|
-
readonly name: "builder";
|
|
2099
|
-
readonly type: "bytes32";
|
|
2100
|
-
readonly internalType: "bytes32";
|
|
2101
|
-
}, {
|
|
2102
|
-
readonly name: "signature";
|
|
2103
|
-
readonly type: "bytes";
|
|
2104
|
-
readonly internalType: "bytes";
|
|
2105
|
-
}];
|
|
2106
|
-
}];
|
|
2107
|
-
readonly outputs: readonly [];
|
|
2108
|
-
readonly stateMutability: "nonpayable";
|
|
2109
|
-
}, {
|
|
2110
|
-
readonly type: "function";
|
|
2111
|
-
readonly name: "removeAdmin";
|
|
2112
|
-
readonly inputs: readonly [{
|
|
2113
|
-
readonly name: "_admin";
|
|
2114
|
-
readonly type: "address";
|
|
2115
|
-
readonly internalType: "address";
|
|
2116
|
-
}];
|
|
2117
|
-
readonly outputs: readonly [];
|
|
2118
|
-
readonly stateMutability: "nonpayable";
|
|
2119
|
-
}, {
|
|
2120
|
-
readonly type: "function";
|
|
2121
|
-
readonly name: "removeOperator";
|
|
2122
|
-
readonly inputs: readonly [{
|
|
2123
|
-
readonly name: "_operator";
|
|
2124
|
-
readonly type: "address";
|
|
2125
|
-
readonly internalType: "address";
|
|
2126
|
-
}];
|
|
2127
|
-
readonly outputs: readonly [];
|
|
2128
|
-
readonly stateMutability: "nonpayable";
|
|
2129
|
-
}, {
|
|
2130
|
-
readonly type: "function";
|
|
2131
|
-
readonly name: "renounceOperatorRole";
|
|
2132
|
-
readonly inputs: readonly [];
|
|
2133
|
-
readonly outputs: readonly [];
|
|
2134
|
-
readonly stateMutability: "nonpayable";
|
|
2135
|
-
}, {
|
|
2136
|
-
readonly type: "function";
|
|
2137
|
-
readonly name: "setFeeReceiver";
|
|
2138
|
-
readonly inputs: readonly [{
|
|
2139
|
-
readonly name: "receiver";
|
|
2140
|
-
readonly type: "address";
|
|
2141
|
-
readonly internalType: "address";
|
|
2142
|
-
}];
|
|
2143
|
-
readonly outputs: readonly [];
|
|
2144
|
-
readonly stateMutability: "nonpayable";
|
|
2145
|
-
}, {
|
|
2146
|
-
readonly type: "function";
|
|
2147
|
-
readonly name: "setMaxFeeRate";
|
|
2148
|
-
readonly inputs: readonly [{
|
|
2149
|
-
readonly name: "rate";
|
|
2150
|
-
readonly type: "uint256";
|
|
2151
|
-
readonly internalType: "uint256";
|
|
2152
|
-
}];
|
|
2153
|
-
readonly outputs: readonly [];
|
|
2154
|
-
readonly stateMutability: "nonpayable";
|
|
2155
|
-
}, {
|
|
2156
|
-
readonly type: "function";
|
|
2157
|
-
readonly name: "setUserPauseBlockInterval";
|
|
2158
|
-
readonly inputs: readonly [{
|
|
2159
|
-
readonly name: "_interval";
|
|
2160
|
-
readonly type: "uint256";
|
|
2161
|
-
readonly internalType: "uint256";
|
|
2162
|
-
}];
|
|
2163
|
-
readonly outputs: readonly [];
|
|
2164
|
-
readonly stateMutability: "nonpayable";
|
|
2165
|
-
}, {
|
|
2166
|
-
readonly type: "function";
|
|
2167
|
-
readonly name: "supportsInterface";
|
|
2168
|
-
readonly inputs: readonly [{
|
|
2169
|
-
readonly name: "interfaceId";
|
|
2170
|
-
readonly type: "bytes4";
|
|
2171
|
-
readonly internalType: "bytes4";
|
|
2172
|
-
}];
|
|
2173
|
-
readonly outputs: readonly [{
|
|
2174
|
-
readonly name: "";
|
|
2175
|
-
readonly type: "bool";
|
|
2176
|
-
readonly internalType: "bool";
|
|
2177
|
-
}];
|
|
2178
|
-
readonly stateMutability: "pure";
|
|
2179
|
-
}, {
|
|
2180
|
-
readonly type: "function";
|
|
2181
|
-
readonly name: "unpauseTrading";
|
|
2182
|
-
readonly inputs: readonly [];
|
|
2183
|
-
readonly outputs: readonly [];
|
|
2184
|
-
readonly stateMutability: "nonpayable";
|
|
2185
|
-
}, {
|
|
2186
|
-
readonly type: "function";
|
|
2187
|
-
readonly name: "unpauseUser";
|
|
2188
|
-
readonly inputs: readonly [];
|
|
2189
|
-
readonly outputs: readonly [];
|
|
2190
|
-
readonly stateMutability: "nonpayable";
|
|
2191
|
-
}, {
|
|
2192
|
-
readonly type: "function";
|
|
2193
|
-
readonly name: "userPauseBlockInterval";
|
|
2194
|
-
readonly inputs: readonly [];
|
|
2195
|
-
readonly outputs: readonly [{
|
|
2196
|
-
readonly name: "";
|
|
2197
|
-
readonly type: "uint256";
|
|
2198
|
-
readonly internalType: "uint256";
|
|
2199
|
-
}];
|
|
2200
|
-
readonly stateMutability: "view";
|
|
2201
|
-
}, {
|
|
2202
|
-
readonly type: "function";
|
|
2203
|
-
readonly name: "userPausedBlockAt";
|
|
2204
|
-
readonly inputs: readonly [{
|
|
2205
|
-
readonly name: "";
|
|
2206
|
-
readonly type: "address";
|
|
2207
|
-
readonly internalType: "address";
|
|
2208
|
-
}];
|
|
2209
|
-
readonly outputs: readonly [{
|
|
2210
|
-
readonly name: "";
|
|
2211
|
-
readonly type: "uint256";
|
|
2212
|
-
readonly internalType: "uint256";
|
|
2213
|
-
}];
|
|
2214
|
-
readonly stateMutability: "view";
|
|
2215
|
-
}, {
|
|
2216
|
-
readonly type: "function";
|
|
2217
|
-
readonly name: "validateFee";
|
|
2218
|
-
readonly inputs: readonly [{
|
|
2219
|
-
readonly name: "fee";
|
|
2220
|
-
readonly type: "uint256";
|
|
2221
|
-
readonly internalType: "uint256";
|
|
2222
|
-
}, {
|
|
2223
|
-
readonly name: "cashValue";
|
|
2224
|
-
readonly type: "uint256";
|
|
2225
|
-
readonly internalType: "uint256";
|
|
2226
|
-
}];
|
|
2227
|
-
readonly outputs: readonly [];
|
|
2228
|
-
readonly stateMutability: "view";
|
|
2229
|
-
}, {
|
|
2230
|
-
readonly type: "function";
|
|
2231
|
-
readonly name: "validateOrder";
|
|
2232
|
-
readonly inputs: readonly [{
|
|
2233
|
-
readonly name: "order";
|
|
2234
|
-
readonly type: "tuple";
|
|
2235
|
-
readonly internalType: "struct Order";
|
|
2236
|
-
readonly components: readonly [{
|
|
2237
|
-
readonly name: "salt";
|
|
2238
|
-
readonly type: "uint256";
|
|
2239
|
-
readonly internalType: "uint256";
|
|
2240
|
-
}, {
|
|
2241
|
-
readonly name: "maker";
|
|
2242
|
-
readonly type: "address";
|
|
2243
|
-
readonly internalType: "address";
|
|
2244
|
-
}, {
|
|
2245
|
-
readonly name: "signer";
|
|
2246
|
-
readonly type: "address";
|
|
2247
|
-
readonly internalType: "address";
|
|
2248
|
-
}, {
|
|
2249
|
-
readonly name: "tokenId";
|
|
2250
|
-
readonly type: "uint256";
|
|
2251
|
-
readonly internalType: "uint256";
|
|
2252
|
-
}, {
|
|
2253
|
-
readonly name: "makerAmount";
|
|
2254
|
-
readonly type: "uint256";
|
|
2255
|
-
readonly internalType: "uint256";
|
|
2256
|
-
}, {
|
|
2257
|
-
readonly name: "takerAmount";
|
|
2258
|
-
readonly type: "uint256";
|
|
2259
|
-
readonly internalType: "uint256";
|
|
2260
|
-
}, {
|
|
2261
|
-
readonly name: "side";
|
|
2262
|
-
readonly type: "uint8";
|
|
2263
|
-
readonly internalType: "enum Side";
|
|
2264
|
-
}, {
|
|
2265
|
-
readonly name: "signatureType";
|
|
2266
|
-
readonly type: "uint8";
|
|
2267
|
-
readonly internalType: "enum SignatureType";
|
|
2268
|
-
}, {
|
|
2269
|
-
readonly name: "timestamp";
|
|
2270
|
-
readonly type: "uint256";
|
|
2271
|
-
readonly internalType: "uint256";
|
|
2272
|
-
}, {
|
|
2273
|
-
readonly name: "metadata";
|
|
2274
|
-
readonly type: "bytes32";
|
|
2275
|
-
readonly internalType: "bytes32";
|
|
2276
|
-
}, {
|
|
2277
|
-
readonly name: "builder";
|
|
2278
|
-
readonly type: "bytes32";
|
|
2279
|
-
readonly internalType: "bytes32";
|
|
2280
|
-
}, {
|
|
2281
|
-
readonly name: "signature";
|
|
2282
|
-
readonly type: "bytes";
|
|
2283
|
-
readonly internalType: "bytes";
|
|
2284
|
-
}];
|
|
2285
|
-
}];
|
|
2286
|
-
readonly outputs: readonly [];
|
|
2287
|
-
readonly stateMutability: "view";
|
|
2288
|
-
}, {
|
|
2289
|
-
readonly type: "function";
|
|
2290
|
-
readonly name: "validateOrderSignature";
|
|
2291
|
-
readonly inputs: readonly [{
|
|
2292
|
-
readonly name: "orderHash";
|
|
2293
|
-
readonly type: "bytes32";
|
|
2294
|
-
readonly internalType: "bytes32";
|
|
2295
|
-
}, {
|
|
2296
|
-
readonly name: "order";
|
|
2297
|
-
readonly type: "tuple";
|
|
2298
|
-
readonly internalType: "struct Order";
|
|
2299
|
-
readonly components: readonly [{
|
|
2300
|
-
readonly name: "salt";
|
|
2301
|
-
readonly type: "uint256";
|
|
2302
|
-
readonly internalType: "uint256";
|
|
2303
|
-
}, {
|
|
2304
|
-
readonly name: "maker";
|
|
2305
|
-
readonly type: "address";
|
|
2306
|
-
readonly internalType: "address";
|
|
2307
|
-
}, {
|
|
2308
|
-
readonly name: "signer";
|
|
2309
|
-
readonly type: "address";
|
|
2310
|
-
readonly internalType: "address";
|
|
2311
|
-
}, {
|
|
2312
|
-
readonly name: "tokenId";
|
|
2313
|
-
readonly type: "uint256";
|
|
2314
|
-
readonly internalType: "uint256";
|
|
2315
|
-
}, {
|
|
2316
|
-
readonly name: "makerAmount";
|
|
2317
|
-
readonly type: "uint256";
|
|
2318
|
-
readonly internalType: "uint256";
|
|
2319
|
-
}, {
|
|
2320
|
-
readonly name: "takerAmount";
|
|
2321
|
-
readonly type: "uint256";
|
|
2322
|
-
readonly internalType: "uint256";
|
|
2323
|
-
}, {
|
|
2324
|
-
readonly name: "side";
|
|
2325
|
-
readonly type: "uint8";
|
|
2326
|
-
readonly internalType: "enum Side";
|
|
2327
|
-
}, {
|
|
2328
|
-
readonly name: "signatureType";
|
|
2329
|
-
readonly type: "uint8";
|
|
2330
|
-
readonly internalType: "enum SignatureType";
|
|
2331
|
-
}, {
|
|
2332
|
-
readonly name: "timestamp";
|
|
2333
|
-
readonly type: "uint256";
|
|
2334
|
-
readonly internalType: "uint256";
|
|
2335
|
-
}, {
|
|
2336
|
-
readonly name: "metadata";
|
|
2337
|
-
readonly type: "bytes32";
|
|
2338
|
-
readonly internalType: "bytes32";
|
|
2339
|
-
}, {
|
|
2340
|
-
readonly name: "builder";
|
|
2341
|
-
readonly type: "bytes32";
|
|
2342
|
-
readonly internalType: "bytes32";
|
|
2343
|
-
}, {
|
|
2344
|
-
readonly name: "signature";
|
|
2345
|
-
readonly type: "bytes";
|
|
2346
|
-
readonly internalType: "bytes";
|
|
2347
|
-
}];
|
|
2348
|
-
}];
|
|
2349
|
-
readonly outputs: readonly [];
|
|
2350
|
-
readonly stateMutability: "view";
|
|
2351
|
-
}, {
|
|
2352
|
-
readonly type: "event";
|
|
2353
|
-
readonly name: "FeeCharged";
|
|
2354
|
-
readonly inputs: readonly [{
|
|
2355
|
-
readonly name: "receiver";
|
|
2356
|
-
readonly type: "address";
|
|
2357
|
-
readonly indexed: true;
|
|
2358
|
-
readonly internalType: "address";
|
|
2359
|
-
}, {
|
|
2360
|
-
readonly name: "amount";
|
|
2361
|
-
readonly type: "uint256";
|
|
2362
|
-
readonly indexed: false;
|
|
2363
|
-
readonly internalType: "uint256";
|
|
2364
|
-
}];
|
|
2365
|
-
readonly anonymous: false;
|
|
2366
|
-
}, {
|
|
2367
|
-
readonly type: "event";
|
|
2368
|
-
readonly name: "FeeReceiverUpdated";
|
|
2369
|
-
readonly inputs: readonly [{
|
|
2370
|
-
readonly name: "feeReceiver";
|
|
2371
|
-
readonly type: "address";
|
|
2372
|
-
readonly indexed: true;
|
|
2373
|
-
readonly internalType: "address";
|
|
2374
|
-
}];
|
|
2375
|
-
readonly anonymous: false;
|
|
2376
|
-
}, {
|
|
2377
|
-
readonly type: "event";
|
|
2378
|
-
readonly name: "MaxFeeRateUpdated";
|
|
2379
|
-
readonly inputs: readonly [{
|
|
2380
|
-
readonly name: "maxFeeRate";
|
|
2381
|
-
readonly type: "uint256";
|
|
2382
|
-
readonly indexed: false;
|
|
2383
|
-
readonly internalType: "uint256";
|
|
2384
|
-
}];
|
|
2385
|
-
readonly anonymous: false;
|
|
2386
|
-
}, {
|
|
2387
|
-
readonly type: "event";
|
|
2388
|
-
readonly name: "NewAdmin";
|
|
2389
|
-
readonly inputs: readonly [{
|
|
2390
|
-
readonly name: "newAdminAddress";
|
|
2391
|
-
readonly type: "address";
|
|
2392
|
-
readonly indexed: true;
|
|
2393
|
-
readonly internalType: "address";
|
|
2394
|
-
}, {
|
|
2395
|
-
readonly name: "admin";
|
|
2396
|
-
readonly type: "address";
|
|
2397
|
-
readonly indexed: true;
|
|
2398
|
-
readonly internalType: "address";
|
|
2399
|
-
}];
|
|
2400
|
-
readonly anonymous: false;
|
|
2401
|
-
}, {
|
|
2402
|
-
readonly type: "event";
|
|
2403
|
-
readonly name: "NewOperator";
|
|
2404
|
-
readonly inputs: readonly [{
|
|
2405
|
-
readonly name: "newOperatorAddress";
|
|
2406
|
-
readonly type: "address";
|
|
2407
|
-
readonly indexed: true;
|
|
2408
|
-
readonly internalType: "address";
|
|
2409
|
-
}, {
|
|
2410
|
-
readonly name: "admin";
|
|
2411
|
-
readonly type: "address";
|
|
2412
|
-
readonly indexed: true;
|
|
2413
|
-
readonly internalType: "address";
|
|
2414
|
-
}];
|
|
2415
|
-
readonly anonymous: false;
|
|
2416
|
-
}, {
|
|
2417
|
-
readonly type: "event";
|
|
2418
|
-
readonly name: "OrderFilled";
|
|
2419
|
-
readonly inputs: readonly [{
|
|
2420
|
-
readonly name: "orderHash";
|
|
2421
|
-
readonly type: "bytes32";
|
|
2422
|
-
readonly indexed: true;
|
|
2423
|
-
readonly internalType: "bytes32";
|
|
2424
|
-
}, {
|
|
2425
|
-
readonly name: "maker";
|
|
2426
|
-
readonly type: "address";
|
|
2427
|
-
readonly indexed: true;
|
|
2428
|
-
readonly internalType: "address";
|
|
2429
|
-
}, {
|
|
2430
|
-
readonly name: "taker";
|
|
2431
|
-
readonly type: "address";
|
|
2432
|
-
readonly indexed: true;
|
|
2433
|
-
readonly internalType: "address";
|
|
2434
|
-
}, {
|
|
2435
|
-
readonly name: "side";
|
|
2436
|
-
readonly type: "uint8";
|
|
2437
|
-
readonly indexed: false;
|
|
2438
|
-
readonly internalType: "enum Side";
|
|
2439
|
-
}, {
|
|
2440
|
-
readonly name: "tokenId";
|
|
2441
|
-
readonly type: "uint256";
|
|
2442
|
-
readonly indexed: false;
|
|
2443
|
-
readonly internalType: "uint256";
|
|
2444
|
-
}, {
|
|
2445
|
-
readonly name: "makerAmountFilled";
|
|
2446
|
-
readonly type: "uint256";
|
|
2447
|
-
readonly indexed: false;
|
|
2448
|
-
readonly internalType: "uint256";
|
|
2449
|
-
}, {
|
|
2450
|
-
readonly name: "takerAmountFilled";
|
|
2451
|
-
readonly type: "uint256";
|
|
2452
|
-
readonly indexed: false;
|
|
2453
|
-
readonly internalType: "uint256";
|
|
2454
|
-
}, {
|
|
2455
|
-
readonly name: "fee";
|
|
2456
|
-
readonly type: "uint256";
|
|
2457
|
-
readonly indexed: false;
|
|
2458
|
-
readonly internalType: "uint256";
|
|
2459
|
-
}, {
|
|
2460
|
-
readonly name: "builder";
|
|
2461
|
-
readonly type: "bytes32";
|
|
2462
|
-
readonly indexed: false;
|
|
2463
|
-
readonly internalType: "bytes32";
|
|
2464
|
-
}, {
|
|
2465
|
-
readonly name: "metadata";
|
|
2466
|
-
readonly type: "bytes32";
|
|
2467
|
-
readonly indexed: false;
|
|
2468
|
-
readonly internalType: "bytes32";
|
|
2469
|
-
}];
|
|
2470
|
-
readonly anonymous: false;
|
|
2471
|
-
}, {
|
|
2472
|
-
readonly type: "event";
|
|
2473
|
-
readonly name: "OrderPreapprovalInvalidated";
|
|
2474
|
-
readonly inputs: readonly [{
|
|
2475
|
-
readonly name: "orderHash";
|
|
2476
|
-
readonly type: "bytes32";
|
|
2477
|
-
readonly indexed: true;
|
|
2478
|
-
readonly internalType: "bytes32";
|
|
2479
|
-
}];
|
|
2480
|
-
readonly anonymous: false;
|
|
2481
|
-
}, {
|
|
2482
|
-
readonly type: "event";
|
|
2483
|
-
readonly name: "OrderPreapproved";
|
|
2484
|
-
readonly inputs: readonly [{
|
|
2485
|
-
readonly name: "orderHash";
|
|
2486
|
-
readonly type: "bytes32";
|
|
2487
|
-
readonly indexed: true;
|
|
2488
|
-
readonly internalType: "bytes32";
|
|
2489
|
-
}];
|
|
2490
|
-
readonly anonymous: false;
|
|
2491
|
-
}, {
|
|
2492
|
-
readonly type: "event";
|
|
2493
|
-
readonly name: "OrdersMatched";
|
|
2494
|
-
readonly inputs: readonly [{
|
|
2495
|
-
readonly name: "takerOrderHash";
|
|
2496
|
-
readonly type: "bytes32";
|
|
2497
|
-
readonly indexed: true;
|
|
2498
|
-
readonly internalType: "bytes32";
|
|
2499
|
-
}, {
|
|
2500
|
-
readonly name: "takerOrderMaker";
|
|
2501
|
-
readonly type: "address";
|
|
2502
|
-
readonly indexed: true;
|
|
2503
|
-
readonly internalType: "address";
|
|
2504
|
-
}, {
|
|
2505
|
-
readonly name: "side";
|
|
2506
|
-
readonly type: "uint8";
|
|
2507
|
-
readonly indexed: false;
|
|
2508
|
-
readonly internalType: "enum Side";
|
|
2509
|
-
}, {
|
|
2510
|
-
readonly name: "tokenId";
|
|
2511
|
-
readonly type: "uint256";
|
|
2512
|
-
readonly indexed: false;
|
|
2513
|
-
readonly internalType: "uint256";
|
|
2514
|
-
}, {
|
|
2515
|
-
readonly name: "makerAmountFilled";
|
|
2516
|
-
readonly type: "uint256";
|
|
2517
|
-
readonly indexed: false;
|
|
2518
|
-
readonly internalType: "uint256";
|
|
2519
|
-
}, {
|
|
2520
|
-
readonly name: "takerAmountFilled";
|
|
2521
|
-
readonly type: "uint256";
|
|
2522
|
-
readonly indexed: false;
|
|
2523
|
-
readonly internalType: "uint256";
|
|
2524
|
-
}];
|
|
2525
|
-
readonly anonymous: false;
|
|
2526
|
-
}, {
|
|
2527
|
-
readonly type: "event";
|
|
2528
|
-
readonly name: "RemovedAdmin";
|
|
2529
|
-
readonly inputs: readonly [{
|
|
2530
|
-
readonly name: "removedAdmin";
|
|
2531
|
-
readonly type: "address";
|
|
2532
|
-
readonly indexed: true;
|
|
2533
|
-
readonly internalType: "address";
|
|
2534
|
-
}, {
|
|
2535
|
-
readonly name: "admin";
|
|
2536
|
-
readonly type: "address";
|
|
2537
|
-
readonly indexed: true;
|
|
2538
|
-
readonly internalType: "address";
|
|
2539
|
-
}];
|
|
2540
|
-
readonly anonymous: false;
|
|
2541
|
-
}, {
|
|
2542
|
-
readonly type: "event";
|
|
2543
|
-
readonly name: "RemovedOperator";
|
|
2544
|
-
readonly inputs: readonly [{
|
|
2545
|
-
readonly name: "removedOperator";
|
|
2546
|
-
readonly type: "address";
|
|
2547
|
-
readonly indexed: true;
|
|
2548
|
-
readonly internalType: "address";
|
|
2549
|
-
}, {
|
|
2550
|
-
readonly name: "admin";
|
|
2551
|
-
readonly type: "address";
|
|
2552
|
-
readonly indexed: true;
|
|
2553
|
-
readonly internalType: "address";
|
|
2554
|
-
}];
|
|
2555
|
-
readonly anonymous: false;
|
|
2556
|
-
}, {
|
|
2557
|
-
readonly type: "event";
|
|
2558
|
-
readonly name: "TradingPaused";
|
|
2559
|
-
readonly inputs: readonly [{
|
|
2560
|
-
readonly name: "pauser";
|
|
2561
|
-
readonly type: "address";
|
|
2562
|
-
readonly indexed: true;
|
|
2563
|
-
readonly internalType: "address";
|
|
2564
|
-
}];
|
|
2565
|
-
readonly anonymous: false;
|
|
2566
|
-
}, {
|
|
2567
|
-
readonly type: "event";
|
|
2568
|
-
readonly name: "TradingUnpaused";
|
|
2569
|
-
readonly inputs: readonly [{
|
|
2570
|
-
readonly name: "pauser";
|
|
2571
|
-
readonly type: "address";
|
|
2572
|
-
readonly indexed: true;
|
|
2573
|
-
readonly internalType: "address";
|
|
2574
|
-
}];
|
|
2575
|
-
readonly anonymous: false;
|
|
2576
|
-
}, {
|
|
2577
|
-
readonly type: "event";
|
|
2578
|
-
readonly name: "UserPauseBlockIntervalUpdated";
|
|
2579
|
-
readonly inputs: readonly [{
|
|
2580
|
-
readonly name: "oldInterval";
|
|
2581
|
-
readonly type: "uint256";
|
|
2582
|
-
readonly indexed: false;
|
|
2583
|
-
readonly internalType: "uint256";
|
|
2584
|
-
}, {
|
|
2585
|
-
readonly name: "newInterval";
|
|
2586
|
-
readonly type: "uint256";
|
|
2587
|
-
readonly indexed: false;
|
|
2588
|
-
readonly internalType: "uint256";
|
|
2589
|
-
}];
|
|
2590
|
-
readonly anonymous: false;
|
|
2591
|
-
}, {
|
|
2592
|
-
readonly type: "event";
|
|
2593
|
-
readonly name: "UserPaused";
|
|
2594
|
-
readonly inputs: readonly [{
|
|
2595
|
-
readonly name: "user";
|
|
2596
|
-
readonly type: "address";
|
|
2597
|
-
readonly indexed: true;
|
|
2598
|
-
readonly internalType: "address";
|
|
2599
|
-
}, {
|
|
2600
|
-
readonly name: "effectivePauseBlock";
|
|
2601
|
-
readonly type: "uint256";
|
|
2602
|
-
readonly indexed: false;
|
|
2603
|
-
readonly internalType: "uint256";
|
|
2604
|
-
}];
|
|
2605
|
-
readonly anonymous: false;
|
|
2606
|
-
}, {
|
|
2607
|
-
readonly type: "event";
|
|
2608
|
-
readonly name: "UserUnpaused";
|
|
2609
|
-
readonly inputs: readonly [{
|
|
2610
|
-
readonly name: "user";
|
|
2611
|
-
readonly type: "address";
|
|
2612
|
-
readonly indexed: true;
|
|
2613
|
-
readonly internalType: "address";
|
|
2614
|
-
}];
|
|
2615
|
-
readonly anonymous: false;
|
|
2616
|
-
}, {
|
|
2617
|
-
readonly type: "error";
|
|
2618
|
-
readonly name: "AlreadyAdmin";
|
|
2619
|
-
readonly inputs: readonly [];
|
|
2620
|
-
}, {
|
|
2621
|
-
readonly type: "error";
|
|
2622
|
-
readonly name: "AlreadyOperator";
|
|
2623
|
-
readonly inputs: readonly [];
|
|
2624
|
-
}, {
|
|
2625
|
-
readonly type: "error";
|
|
2626
|
-
readonly name: "ComplementaryFillExceedsTakerFill";
|
|
2627
|
-
readonly inputs: readonly [];
|
|
2628
|
-
}, {
|
|
2629
|
-
readonly type: "error";
|
|
2630
|
-
readonly name: "ExceedsMaxPauseInterval";
|
|
2631
|
-
readonly inputs: readonly [];
|
|
2632
|
-
}, {
|
|
2633
|
-
readonly type: "error";
|
|
2634
|
-
readonly name: "FeeExceedsMaxRate";
|
|
2635
|
-
readonly inputs: readonly [];
|
|
2636
|
-
}, {
|
|
2637
|
-
readonly type: "error";
|
|
2638
|
-
readonly name: "FeeExceedsProceeds";
|
|
2639
|
-
readonly inputs: readonly [];
|
|
2640
|
-
}, {
|
|
2641
|
-
readonly type: "error";
|
|
2642
|
-
readonly name: "InvalidSignature";
|
|
2643
|
-
readonly inputs: readonly [];
|
|
2644
|
-
}, {
|
|
2645
|
-
readonly type: "error";
|
|
2646
|
-
readonly name: "LastAdmin";
|
|
2647
|
-
readonly inputs: readonly [];
|
|
2648
|
-
}, {
|
|
2649
|
-
readonly type: "error";
|
|
2650
|
-
readonly name: "MakingGtRemaining";
|
|
2651
|
-
readonly inputs: readonly [];
|
|
2652
|
-
}, {
|
|
2653
|
-
readonly type: "error";
|
|
2654
|
-
readonly name: "MaxFeeRateExceedsCeiling";
|
|
2655
|
-
readonly inputs: readonly [];
|
|
2656
|
-
}, {
|
|
2657
|
-
readonly type: "error";
|
|
2658
|
-
readonly name: "MismatchedArrayLengths";
|
|
2659
|
-
readonly inputs: readonly [];
|
|
2660
|
-
}, {
|
|
2661
|
-
readonly type: "error";
|
|
2662
|
-
readonly name: "MismatchedTokenIds";
|
|
2663
|
-
readonly inputs: readonly [];
|
|
2664
|
-
}, {
|
|
2665
|
-
readonly type: "error";
|
|
2666
|
-
readonly name: "NoMakerOrders";
|
|
2667
|
-
readonly inputs: readonly [];
|
|
2668
|
-
}, {
|
|
2669
|
-
readonly type: "error";
|
|
2670
|
-
readonly name: "NotAdmin";
|
|
2671
|
-
readonly inputs: readonly [];
|
|
2672
|
-
}, {
|
|
2673
|
-
readonly type: "error";
|
|
2674
|
-
readonly name: "NotCrossing";
|
|
2675
|
-
readonly inputs: readonly [];
|
|
2676
|
-
}, {
|
|
2677
|
-
readonly type: "error";
|
|
2678
|
-
readonly name: "NotOperator";
|
|
2679
|
-
readonly inputs: readonly [];
|
|
2680
|
-
}, {
|
|
2681
|
-
readonly type: "error";
|
|
2682
|
-
readonly name: "OrderAlreadyFilled";
|
|
2683
|
-
readonly inputs: readonly [];
|
|
2684
|
-
}, {
|
|
2685
|
-
readonly type: "error";
|
|
2686
|
-
readonly name: "Paused";
|
|
2687
|
-
readonly inputs: readonly [];
|
|
2688
|
-
}, {
|
|
2689
|
-
readonly type: "error";
|
|
2690
|
-
readonly name: "TooLittleTokensReceived";
|
|
2691
|
-
readonly inputs: readonly [];
|
|
2692
|
-
}, {
|
|
2693
|
-
readonly type: "error";
|
|
2694
|
-
readonly name: "UserAlreadyPaused";
|
|
2695
|
-
readonly inputs: readonly [];
|
|
2696
|
-
}, {
|
|
2697
|
-
readonly type: "error";
|
|
2698
|
-
readonly name: "UserIsPaused";
|
|
2699
|
-
readonly inputs: readonly [];
|
|
2700
|
-
}, {
|
|
2701
|
-
readonly type: "error";
|
|
2702
|
-
readonly name: "ZeroMakerAmount";
|
|
2703
|
-
readonly inputs: readonly [];
|
|
2704
|
-
}];
|
|
2705
|
-
};
|
|
2706
|
-
export * from "./model/abi.js";
|
|
2707
|
-
export * from "./model/eip712.js";
|
|
2708
|
-
export * from "./model/orderDataV1.js";
|
|
2709
|
-
export * from "./model/orderDataV2.js";
|
|
2710
|
-
export * from "./model/signatureTypeV1.js";
|
|
2711
|
-
export * from "./model/signatureTypeV2.js";
|