@gitmyabi/treasury 1.0.0
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/README.md +108 -0
- package/contracts/Treasury_json.d.ts +2397 -0
- package/contracts/Treasury_json.js +2439 -0
- package/contracts/Treasury_json.ts +3160 -0
- package/contracts/index.d.ts +2 -0
- package/contracts/index.js +7 -0
- package/contracts/index.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +19 -0
- package/package.json +43 -0
|
@@ -0,0 +1,2397 @@
|
|
|
1
|
+
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* Treasury_json ABI
|
|
4
|
+
*
|
|
5
|
+
* This ABI is typed using viem's type system for full type safety.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Treasury_jsonAbi: readonly [{
|
|
8
|
+
readonly inputs: readonly [{
|
|
9
|
+
readonly internalType: "contract IFWA";
|
|
10
|
+
readonly name: "_fwa";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "_owner";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}, {
|
|
17
|
+
readonly internalType: "contract IPoolManager";
|
|
18
|
+
readonly name: "_poolManager";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
}, {
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
readonly name: "_token";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly internalType: "contract IHooks";
|
|
26
|
+
readonly name: "_hook";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}, {
|
|
29
|
+
readonly internalType: "address";
|
|
30
|
+
readonly name: "_seaport";
|
|
31
|
+
readonly type: "address";
|
|
32
|
+
}];
|
|
33
|
+
readonly stateMutability: "nonpayable";
|
|
34
|
+
readonly type: "constructor";
|
|
35
|
+
}, {
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly name: "target";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
}];
|
|
41
|
+
readonly name: "AddressEmptyCode";
|
|
42
|
+
readonly type: "error";
|
|
43
|
+
}, {
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly name: "account";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}];
|
|
49
|
+
readonly name: "AddressInsufficientBalance";
|
|
50
|
+
readonly type: "error";
|
|
51
|
+
}, {
|
|
52
|
+
readonly inputs: readonly [];
|
|
53
|
+
readonly name: "BackingTooHigh";
|
|
54
|
+
readonly type: "error";
|
|
55
|
+
}, {
|
|
56
|
+
readonly inputs: readonly [];
|
|
57
|
+
readonly name: "CapExceeded";
|
|
58
|
+
readonly type: "error";
|
|
59
|
+
}, {
|
|
60
|
+
readonly inputs: readonly [];
|
|
61
|
+
readonly name: "EnforcedPause";
|
|
62
|
+
readonly type: "error";
|
|
63
|
+
}, {
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly name: "ExpectedPause";
|
|
66
|
+
readonly type: "error";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [];
|
|
69
|
+
readonly name: "FailedInnerCall";
|
|
70
|
+
readonly type: "error";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "InsufficientBalance";
|
|
74
|
+
readonly type: "error";
|
|
75
|
+
}, {
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly name: "NftNotReceived";
|
|
78
|
+
readonly type: "error";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "NftPriceTooHigh";
|
|
82
|
+
readonly type: "error";
|
|
83
|
+
}, {
|
|
84
|
+
readonly inputs: readonly [];
|
|
85
|
+
readonly name: "NotOperatorOrOwner";
|
|
86
|
+
readonly type: "error";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly name: "NotPoolManager";
|
|
90
|
+
readonly type: "error";
|
|
91
|
+
}, {
|
|
92
|
+
readonly inputs: readonly [{
|
|
93
|
+
readonly internalType: "address";
|
|
94
|
+
readonly name: "owner";
|
|
95
|
+
readonly type: "address";
|
|
96
|
+
}];
|
|
97
|
+
readonly name: "OwnableInvalidOwner";
|
|
98
|
+
readonly type: "error";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly internalType: "address";
|
|
102
|
+
readonly name: "account";
|
|
103
|
+
readonly type: "address";
|
|
104
|
+
}];
|
|
105
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
106
|
+
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "token";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}];
|
|
117
|
+
readonly name: "SafeERC20FailedOperation";
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
}, {
|
|
120
|
+
readonly inputs: readonly [];
|
|
121
|
+
readonly name: "SeaportBuyFailed";
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly name: "SlippageBuyback";
|
|
126
|
+
readonly type: "error";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [];
|
|
129
|
+
readonly name: "SlippageTooHigh";
|
|
130
|
+
readonly type: "error";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "TransferFailed";
|
|
134
|
+
readonly type: "error";
|
|
135
|
+
}, {
|
|
136
|
+
readonly inputs: readonly [];
|
|
137
|
+
readonly name: "ZeroAddress";
|
|
138
|
+
readonly type: "error";
|
|
139
|
+
}, {
|
|
140
|
+
readonly anonymous: false;
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly indexed: true;
|
|
143
|
+
readonly internalType: "uint256";
|
|
144
|
+
readonly name: "listingId";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
}, {
|
|
147
|
+
readonly indexed: false;
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "newBacking";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "BackingUpdated";
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: true;
|
|
158
|
+
readonly internalType: "uint256";
|
|
159
|
+
readonly name: "listingId";
|
|
160
|
+
readonly type: "uint256";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: true;
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "collection";
|
|
165
|
+
readonly type: "address";
|
|
166
|
+
}, {
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "tokenId";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly indexed: false;
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
readonly name: "priceWei";
|
|
175
|
+
readonly type: "uint256";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "BoughtAndListed";
|
|
178
|
+
readonly type: "event";
|
|
179
|
+
}, {
|
|
180
|
+
readonly anonymous: false;
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly indexed: false;
|
|
183
|
+
readonly internalType: "uint256";
|
|
184
|
+
readonly name: "ethIn";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
}, {
|
|
187
|
+
readonly indexed: false;
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
readonly name: "tokensBurned";
|
|
190
|
+
readonly type: "uint256";
|
|
191
|
+
}];
|
|
192
|
+
readonly name: "BuybackBurned";
|
|
193
|
+
readonly type: "event";
|
|
194
|
+
}, {
|
|
195
|
+
readonly anonymous: false;
|
|
196
|
+
readonly inputs: readonly [{
|
|
197
|
+
readonly indexed: false;
|
|
198
|
+
readonly internalType: "uint256";
|
|
199
|
+
readonly name: "bps";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
}];
|
|
202
|
+
readonly name: "BuybackSlippageSet";
|
|
203
|
+
readonly type: "event";
|
|
204
|
+
}, {
|
|
205
|
+
readonly anonymous: false;
|
|
206
|
+
readonly inputs: readonly [{
|
|
207
|
+
readonly indexed: true;
|
|
208
|
+
readonly internalType: "address";
|
|
209
|
+
readonly name: "token";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
}, {
|
|
212
|
+
readonly indexed: true;
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly name: "to";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
}, {
|
|
217
|
+
readonly indexed: false;
|
|
218
|
+
readonly internalType: "uint256";
|
|
219
|
+
readonly name: "amount";
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
}];
|
|
222
|
+
readonly name: "EmergencyWithdrawERC20";
|
|
223
|
+
readonly type: "event";
|
|
224
|
+
}, {
|
|
225
|
+
readonly anonymous: false;
|
|
226
|
+
readonly inputs: readonly [{
|
|
227
|
+
readonly indexed: true;
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly name: "collection";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly indexed: true;
|
|
233
|
+
readonly internalType: "address";
|
|
234
|
+
readonly name: "to";
|
|
235
|
+
readonly type: "address";
|
|
236
|
+
}, {
|
|
237
|
+
readonly indexed: false;
|
|
238
|
+
readonly internalType: "uint256";
|
|
239
|
+
readonly name: "tokenId";
|
|
240
|
+
readonly type: "uint256";
|
|
241
|
+
}];
|
|
242
|
+
readonly name: "EmergencyWithdrawERC721";
|
|
243
|
+
readonly type: "event";
|
|
244
|
+
}, {
|
|
245
|
+
readonly anonymous: false;
|
|
246
|
+
readonly inputs: readonly [{
|
|
247
|
+
readonly indexed: true;
|
|
248
|
+
readonly internalType: "address";
|
|
249
|
+
readonly name: "to";
|
|
250
|
+
readonly type: "address";
|
|
251
|
+
}, {
|
|
252
|
+
readonly indexed: false;
|
|
253
|
+
readonly internalType: "uint256";
|
|
254
|
+
readonly name: "amount";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "EmergencyWithdrawETH";
|
|
258
|
+
readonly type: "event";
|
|
259
|
+
}, {
|
|
260
|
+
readonly anonymous: false;
|
|
261
|
+
readonly inputs: readonly [{
|
|
262
|
+
readonly indexed: false;
|
|
263
|
+
readonly internalType: "uint256";
|
|
264
|
+
readonly name: "total";
|
|
265
|
+
readonly type: "uint256";
|
|
266
|
+
}];
|
|
267
|
+
readonly name: "FeesClaimed";
|
|
268
|
+
readonly type: "event";
|
|
269
|
+
}, {
|
|
270
|
+
readonly anonymous: false;
|
|
271
|
+
readonly inputs: readonly [{
|
|
272
|
+
readonly indexed: false;
|
|
273
|
+
readonly internalType: "uint256";
|
|
274
|
+
readonly name: "amount";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
}];
|
|
277
|
+
readonly name: "FundsReturned";
|
|
278
|
+
readonly type: "event";
|
|
279
|
+
}, {
|
|
280
|
+
readonly anonymous: false;
|
|
281
|
+
readonly inputs: readonly [{
|
|
282
|
+
readonly indexed: false;
|
|
283
|
+
readonly internalType: "string";
|
|
284
|
+
readonly name: "action";
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
}, {
|
|
287
|
+
readonly indexed: true;
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
readonly name: "listingId";
|
|
290
|
+
readonly type: "uint256";
|
|
291
|
+
}];
|
|
292
|
+
readonly name: "FwaRecovery";
|
|
293
|
+
readonly type: "event";
|
|
294
|
+
}, {
|
|
295
|
+
readonly anonymous: false;
|
|
296
|
+
readonly inputs: readonly [{
|
|
297
|
+
readonly indexed: false;
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
readonly name: "maxBackingWei";
|
|
300
|
+
readonly type: "uint256";
|
|
301
|
+
}, {
|
|
302
|
+
readonly indexed: false;
|
|
303
|
+
readonly internalType: "uint256";
|
|
304
|
+
readonly name: "maxNftPriceWei";
|
|
305
|
+
readonly type: "uint256";
|
|
306
|
+
}, {
|
|
307
|
+
readonly indexed: false;
|
|
308
|
+
readonly internalType: "uint256";
|
|
309
|
+
readonly name: "maxPerTx";
|
|
310
|
+
readonly type: "uint256";
|
|
311
|
+
}, {
|
|
312
|
+
readonly indexed: false;
|
|
313
|
+
readonly internalType: "uint256";
|
|
314
|
+
readonly name: "maxPerDay";
|
|
315
|
+
readonly type: "uint256";
|
|
316
|
+
}];
|
|
317
|
+
readonly name: "LimitsSet";
|
|
318
|
+
readonly type: "event";
|
|
319
|
+
}, {
|
|
320
|
+
readonly anonymous: false;
|
|
321
|
+
readonly inputs: readonly [{
|
|
322
|
+
readonly indexed: true;
|
|
323
|
+
readonly internalType: "uint256";
|
|
324
|
+
readonly name: "listingId";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}, {
|
|
327
|
+
readonly indexed: true;
|
|
328
|
+
readonly internalType: "address";
|
|
329
|
+
readonly name: "collection";
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
}, {
|
|
332
|
+
readonly indexed: false;
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
readonly name: "tokenId";
|
|
335
|
+
readonly type: "uint256";
|
|
336
|
+
}, {
|
|
337
|
+
readonly indexed: false;
|
|
338
|
+
readonly internalType: "uint256";
|
|
339
|
+
readonly name: "backingWei";
|
|
340
|
+
readonly type: "uint256";
|
|
341
|
+
}];
|
|
342
|
+
readonly name: "ListedOnFwa";
|
|
343
|
+
readonly type: "event";
|
|
344
|
+
}, {
|
|
345
|
+
readonly anonymous: false;
|
|
346
|
+
readonly inputs: readonly [{
|
|
347
|
+
readonly indexed: true;
|
|
348
|
+
readonly internalType: "address";
|
|
349
|
+
readonly name: "operator";
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
}, {
|
|
352
|
+
readonly indexed: false;
|
|
353
|
+
readonly internalType: "uint256";
|
|
354
|
+
readonly name: "amount";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "OperatorFunded";
|
|
358
|
+
readonly type: "event";
|
|
359
|
+
}, {
|
|
360
|
+
readonly anonymous: false;
|
|
361
|
+
readonly inputs: readonly [{
|
|
362
|
+
readonly indexed: true;
|
|
363
|
+
readonly internalType: "address";
|
|
364
|
+
readonly name: "operator";
|
|
365
|
+
readonly type: "address";
|
|
366
|
+
}];
|
|
367
|
+
readonly name: "OperatorSet";
|
|
368
|
+
readonly type: "event";
|
|
369
|
+
}, {
|
|
370
|
+
readonly anonymous: false;
|
|
371
|
+
readonly inputs: readonly [{
|
|
372
|
+
readonly indexed: true;
|
|
373
|
+
readonly internalType: "address";
|
|
374
|
+
readonly name: "previousOwner";
|
|
375
|
+
readonly type: "address";
|
|
376
|
+
}, {
|
|
377
|
+
readonly indexed: true;
|
|
378
|
+
readonly internalType: "address";
|
|
379
|
+
readonly name: "newOwner";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
}];
|
|
382
|
+
readonly name: "OwnershipTransferStarted";
|
|
383
|
+
readonly type: "event";
|
|
384
|
+
}, {
|
|
385
|
+
readonly anonymous: false;
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly indexed: true;
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
readonly name: "previousOwner";
|
|
390
|
+
readonly type: "address";
|
|
391
|
+
}, {
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly internalType: "address";
|
|
394
|
+
readonly name: "newOwner";
|
|
395
|
+
readonly type: "address";
|
|
396
|
+
}];
|
|
397
|
+
readonly name: "OwnershipTransferred";
|
|
398
|
+
readonly type: "event";
|
|
399
|
+
}, {
|
|
400
|
+
readonly anonymous: false;
|
|
401
|
+
readonly inputs: readonly [{
|
|
402
|
+
readonly indexed: false;
|
|
403
|
+
readonly internalType: "address";
|
|
404
|
+
readonly name: "account";
|
|
405
|
+
readonly type: "address";
|
|
406
|
+
}];
|
|
407
|
+
readonly name: "Paused";
|
|
408
|
+
readonly type: "event";
|
|
409
|
+
}, {
|
|
410
|
+
readonly anonymous: false;
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly indexed: false;
|
|
413
|
+
readonly internalType: "uint256";
|
|
414
|
+
readonly name: "total";
|
|
415
|
+
readonly type: "uint256";
|
|
416
|
+
}];
|
|
417
|
+
readonly name: "RewardsClaimed";
|
|
418
|
+
readonly type: "event";
|
|
419
|
+
}, {
|
|
420
|
+
readonly anonymous: false;
|
|
421
|
+
readonly inputs: readonly [{
|
|
422
|
+
readonly indexed: false;
|
|
423
|
+
readonly internalType: "address";
|
|
424
|
+
readonly name: "account";
|
|
425
|
+
readonly type: "address";
|
|
426
|
+
}];
|
|
427
|
+
readonly name: "Unpaused";
|
|
428
|
+
readonly type: "event";
|
|
429
|
+
}, {
|
|
430
|
+
readonly inputs: readonly [];
|
|
431
|
+
readonly name: "MAX_BUYBACK_SLIPPAGE_BPS";
|
|
432
|
+
readonly outputs: readonly [{
|
|
433
|
+
readonly internalType: "uint256";
|
|
434
|
+
readonly name: "";
|
|
435
|
+
readonly type: "uint256";
|
|
436
|
+
}];
|
|
437
|
+
readonly stateMutability: "view";
|
|
438
|
+
readonly type: "function";
|
|
439
|
+
}, {
|
|
440
|
+
readonly inputs: readonly [];
|
|
441
|
+
readonly name: "acceptOwnership";
|
|
442
|
+
readonly outputs: readonly [];
|
|
443
|
+
readonly stateMutability: "nonpayable";
|
|
444
|
+
readonly type: "function";
|
|
445
|
+
}, {
|
|
446
|
+
readonly inputs: readonly [{
|
|
447
|
+
readonly internalType: "uint256";
|
|
448
|
+
readonly name: "maxCount";
|
|
449
|
+
readonly type: "uint256";
|
|
450
|
+
}];
|
|
451
|
+
readonly name: "activateFwaListings";
|
|
452
|
+
readonly outputs: readonly [];
|
|
453
|
+
readonly stateMutability: "nonpayable";
|
|
454
|
+
readonly type: "function";
|
|
455
|
+
}, {
|
|
456
|
+
readonly inputs: readonly [{
|
|
457
|
+
readonly internalType: "bytes";
|
|
458
|
+
readonly name: "seaportCalldata";
|
|
459
|
+
readonly type: "bytes";
|
|
460
|
+
}, {
|
|
461
|
+
readonly internalType: "uint256";
|
|
462
|
+
readonly name: "priceWei";
|
|
463
|
+
readonly type: "uint256";
|
|
464
|
+
}, {
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
readonly name: "collection";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "tokenId";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}, {
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
readonly name: "backingWei";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
}];
|
|
477
|
+
readonly name: "buyAndList";
|
|
478
|
+
readonly outputs: readonly [{
|
|
479
|
+
readonly internalType: "uint256";
|
|
480
|
+
readonly name: "listingId";
|
|
481
|
+
readonly type: "uint256";
|
|
482
|
+
}];
|
|
483
|
+
readonly stateMutability: "nonpayable";
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
}, {
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly internalType: "uint256";
|
|
488
|
+
readonly name: "ethAmount";
|
|
489
|
+
readonly type: "uint256";
|
|
490
|
+
}, {
|
|
491
|
+
readonly internalType: "uint256";
|
|
492
|
+
readonly name: "minTokensOut";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
}];
|
|
495
|
+
readonly name: "buybackAndBurn";
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly internalType: "uint256";
|
|
498
|
+
readonly name: "tokensBurned";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}];
|
|
501
|
+
readonly stateMutability: "nonpayable";
|
|
502
|
+
readonly type: "function";
|
|
503
|
+
}, {
|
|
504
|
+
readonly inputs: readonly [];
|
|
505
|
+
readonly name: "buybackSlippageBps";
|
|
506
|
+
readonly outputs: readonly [{
|
|
507
|
+
readonly internalType: "uint256";
|
|
508
|
+
readonly name: "";
|
|
509
|
+
readonly type: "uint256";
|
|
510
|
+
}];
|
|
511
|
+
readonly stateMutability: "view";
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
}, {
|
|
514
|
+
readonly inputs: readonly [{
|
|
515
|
+
readonly internalType: "uint256[]";
|
|
516
|
+
readonly name: "ids";
|
|
517
|
+
readonly type: "uint256[]";
|
|
518
|
+
}];
|
|
519
|
+
readonly name: "claimFees";
|
|
520
|
+
readonly outputs: readonly [{
|
|
521
|
+
readonly internalType: "uint256";
|
|
522
|
+
readonly name: "total";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
}];
|
|
525
|
+
readonly stateMutability: "nonpayable";
|
|
526
|
+
readonly type: "function";
|
|
527
|
+
}, {
|
|
528
|
+
readonly inputs: readonly [{
|
|
529
|
+
readonly internalType: "uint256[]";
|
|
530
|
+
readonly name: "ids";
|
|
531
|
+
readonly type: "uint256[]";
|
|
532
|
+
}];
|
|
533
|
+
readonly name: "claimRewards";
|
|
534
|
+
readonly outputs: readonly [{
|
|
535
|
+
readonly internalType: "uint256";
|
|
536
|
+
readonly name: "total";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
}];
|
|
539
|
+
readonly stateMutability: "nonpayable";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
}, {
|
|
542
|
+
readonly inputs: readonly [{
|
|
543
|
+
readonly internalType: "uint256";
|
|
544
|
+
readonly name: "listingId";
|
|
545
|
+
readonly type: "uint256";
|
|
546
|
+
}];
|
|
547
|
+
readonly name: "claimTopSpot";
|
|
548
|
+
readonly outputs: readonly [];
|
|
549
|
+
readonly stateMutability: "nonpayable";
|
|
550
|
+
readonly type: "function";
|
|
551
|
+
}, {
|
|
552
|
+
readonly inputs: readonly [];
|
|
553
|
+
readonly name: "currentDay";
|
|
554
|
+
readonly outputs: readonly [{
|
|
555
|
+
readonly internalType: "uint256";
|
|
556
|
+
readonly name: "";
|
|
557
|
+
readonly type: "uint256";
|
|
558
|
+
}];
|
|
559
|
+
readonly stateMutability: "view";
|
|
560
|
+
readonly type: "function";
|
|
561
|
+
}, {
|
|
562
|
+
readonly inputs: readonly [{
|
|
563
|
+
readonly internalType: "uint256";
|
|
564
|
+
readonly name: "listingId";
|
|
565
|
+
readonly type: "uint256";
|
|
566
|
+
}];
|
|
567
|
+
readonly name: "depositorReclaimBacking";
|
|
568
|
+
readonly outputs: readonly [];
|
|
569
|
+
readonly stateMutability: "nonpayable";
|
|
570
|
+
readonly type: "function";
|
|
571
|
+
}, {
|
|
572
|
+
readonly inputs: readonly [{
|
|
573
|
+
readonly internalType: "uint256";
|
|
574
|
+
readonly name: "listingId";
|
|
575
|
+
readonly type: "uint256";
|
|
576
|
+
}];
|
|
577
|
+
readonly name: "depositorReclaimNFT";
|
|
578
|
+
readonly outputs: readonly [];
|
|
579
|
+
readonly stateMutability: "nonpayable";
|
|
580
|
+
readonly type: "function";
|
|
581
|
+
}, {
|
|
582
|
+
readonly inputs: readonly [{
|
|
583
|
+
readonly internalType: "address";
|
|
584
|
+
readonly name: "token_";
|
|
585
|
+
readonly type: "address";
|
|
586
|
+
}, {
|
|
587
|
+
readonly internalType: "address";
|
|
588
|
+
readonly name: "to";
|
|
589
|
+
readonly type: "address";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "uint256";
|
|
592
|
+
readonly name: "amount";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
}];
|
|
595
|
+
readonly name: "emergencyWithdrawERC20";
|
|
596
|
+
readonly outputs: readonly [];
|
|
597
|
+
readonly stateMutability: "nonpayable";
|
|
598
|
+
readonly type: "function";
|
|
599
|
+
}, {
|
|
600
|
+
readonly inputs: readonly [{
|
|
601
|
+
readonly internalType: "address";
|
|
602
|
+
readonly name: "collection";
|
|
603
|
+
readonly type: "address";
|
|
604
|
+
}, {
|
|
605
|
+
readonly internalType: "address";
|
|
606
|
+
readonly name: "to";
|
|
607
|
+
readonly type: "address";
|
|
608
|
+
}, {
|
|
609
|
+
readonly internalType: "uint256";
|
|
610
|
+
readonly name: "tokenId";
|
|
611
|
+
readonly type: "uint256";
|
|
612
|
+
}];
|
|
613
|
+
readonly name: "emergencyWithdrawERC721";
|
|
614
|
+
readonly outputs: readonly [];
|
|
615
|
+
readonly stateMutability: "nonpayable";
|
|
616
|
+
readonly type: "function";
|
|
617
|
+
}, {
|
|
618
|
+
readonly inputs: readonly [{
|
|
619
|
+
readonly internalType: "address";
|
|
620
|
+
readonly name: "to";
|
|
621
|
+
readonly type: "address";
|
|
622
|
+
}, {
|
|
623
|
+
readonly internalType: "uint256";
|
|
624
|
+
readonly name: "amount";
|
|
625
|
+
readonly type: "uint256";
|
|
626
|
+
}];
|
|
627
|
+
readonly name: "emergencyWithdrawETH";
|
|
628
|
+
readonly outputs: readonly [];
|
|
629
|
+
readonly stateMutability: "nonpayable";
|
|
630
|
+
readonly type: "function";
|
|
631
|
+
}, {
|
|
632
|
+
readonly inputs: readonly [{
|
|
633
|
+
readonly internalType: "uint256";
|
|
634
|
+
readonly name: "listingId";
|
|
635
|
+
readonly type: "uint256";
|
|
636
|
+
}];
|
|
637
|
+
readonly name: "finalizeUnsettled";
|
|
638
|
+
readonly outputs: readonly [];
|
|
639
|
+
readonly stateMutability: "nonpayable";
|
|
640
|
+
readonly type: "function";
|
|
641
|
+
}, {
|
|
642
|
+
readonly inputs: readonly [{
|
|
643
|
+
readonly internalType: "uint256";
|
|
644
|
+
readonly name: "amount";
|
|
645
|
+
readonly type: "uint256";
|
|
646
|
+
}];
|
|
647
|
+
readonly name: "fundOperator";
|
|
648
|
+
readonly outputs: readonly [];
|
|
649
|
+
readonly stateMutability: "nonpayable";
|
|
650
|
+
readonly type: "function";
|
|
651
|
+
}, {
|
|
652
|
+
readonly inputs: readonly [];
|
|
653
|
+
readonly name: "fwa";
|
|
654
|
+
readonly outputs: readonly [{
|
|
655
|
+
readonly internalType: "contract IFWA";
|
|
656
|
+
readonly name: "";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
}];
|
|
659
|
+
readonly stateMutability: "view";
|
|
660
|
+
readonly type: "function";
|
|
661
|
+
}, {
|
|
662
|
+
readonly inputs: readonly [{
|
|
663
|
+
readonly internalType: "uint256[]";
|
|
664
|
+
readonly name: "ids";
|
|
665
|
+
readonly type: "uint256[]";
|
|
666
|
+
}, {
|
|
667
|
+
readonly internalType: "uint256";
|
|
668
|
+
readonly name: "minTokensOut";
|
|
669
|
+
readonly type: "uint256";
|
|
670
|
+
}];
|
|
671
|
+
readonly name: "harvestFeesAndBurn";
|
|
672
|
+
readonly outputs: readonly [{
|
|
673
|
+
readonly internalType: "uint256";
|
|
674
|
+
readonly name: "harvested";
|
|
675
|
+
readonly type: "uint256";
|
|
676
|
+
}, {
|
|
677
|
+
readonly internalType: "uint256";
|
|
678
|
+
readonly name: "tokensBurned";
|
|
679
|
+
readonly type: "uint256";
|
|
680
|
+
}];
|
|
681
|
+
readonly stateMutability: "nonpayable";
|
|
682
|
+
readonly type: "function";
|
|
683
|
+
}, {
|
|
684
|
+
readonly inputs: readonly [];
|
|
685
|
+
readonly name: "hook";
|
|
686
|
+
readonly outputs: readonly [{
|
|
687
|
+
readonly internalType: "contract IHooks";
|
|
688
|
+
readonly name: "";
|
|
689
|
+
readonly type: "address";
|
|
690
|
+
}];
|
|
691
|
+
readonly stateMutability: "view";
|
|
692
|
+
readonly type: "function";
|
|
693
|
+
}, {
|
|
694
|
+
readonly inputs: readonly [{
|
|
695
|
+
readonly internalType: "address";
|
|
696
|
+
readonly name: "collection";
|
|
697
|
+
readonly type: "address";
|
|
698
|
+
}, {
|
|
699
|
+
readonly internalType: "uint256";
|
|
700
|
+
readonly name: "tokenId";
|
|
701
|
+
readonly type: "uint256";
|
|
702
|
+
}, {
|
|
703
|
+
readonly internalType: "uint256";
|
|
704
|
+
readonly name: "backingWei";
|
|
705
|
+
readonly type: "uint256";
|
|
706
|
+
}];
|
|
707
|
+
readonly name: "listOnFwa";
|
|
708
|
+
readonly outputs: readonly [{
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
readonly name: "listingId";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
}];
|
|
713
|
+
readonly stateMutability: "nonpayable";
|
|
714
|
+
readonly type: "function";
|
|
715
|
+
}, {
|
|
716
|
+
readonly inputs: readonly [];
|
|
717
|
+
readonly name: "listingCount";
|
|
718
|
+
readonly outputs: readonly [{
|
|
719
|
+
readonly internalType: "uint256";
|
|
720
|
+
readonly name: "";
|
|
721
|
+
readonly type: "uint256";
|
|
722
|
+
}];
|
|
723
|
+
readonly stateMutability: "view";
|
|
724
|
+
readonly type: "function";
|
|
725
|
+
}, {
|
|
726
|
+
readonly inputs: readonly [{
|
|
727
|
+
readonly internalType: "uint256";
|
|
728
|
+
readonly name: "";
|
|
729
|
+
readonly type: "uint256";
|
|
730
|
+
}];
|
|
731
|
+
readonly name: "listingIds";
|
|
732
|
+
readonly outputs: readonly [{
|
|
733
|
+
readonly internalType: "uint256";
|
|
734
|
+
readonly name: "";
|
|
735
|
+
readonly type: "uint256";
|
|
736
|
+
}];
|
|
737
|
+
readonly stateMutability: "view";
|
|
738
|
+
readonly type: "function";
|
|
739
|
+
}, {
|
|
740
|
+
readonly inputs: readonly [];
|
|
741
|
+
readonly name: "maxBackingWei";
|
|
742
|
+
readonly outputs: readonly [{
|
|
743
|
+
readonly internalType: "uint256";
|
|
744
|
+
readonly name: "";
|
|
745
|
+
readonly type: "uint256";
|
|
746
|
+
}];
|
|
747
|
+
readonly stateMutability: "view";
|
|
748
|
+
readonly type: "function";
|
|
749
|
+
}, {
|
|
750
|
+
readonly inputs: readonly [];
|
|
751
|
+
readonly name: "maxNftPriceWei";
|
|
752
|
+
readonly outputs: readonly [{
|
|
753
|
+
readonly internalType: "uint256";
|
|
754
|
+
readonly name: "";
|
|
755
|
+
readonly type: "uint256";
|
|
756
|
+
}];
|
|
757
|
+
readonly stateMutability: "view";
|
|
758
|
+
readonly type: "function";
|
|
759
|
+
}, {
|
|
760
|
+
readonly inputs: readonly [];
|
|
761
|
+
readonly name: "maxOperatorFundPerDay";
|
|
762
|
+
readonly outputs: readonly [{
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}];
|
|
767
|
+
readonly stateMutability: "view";
|
|
768
|
+
readonly type: "function";
|
|
769
|
+
}, {
|
|
770
|
+
readonly inputs: readonly [];
|
|
771
|
+
readonly name: "maxOperatorFundPerTx";
|
|
772
|
+
readonly outputs: readonly [{
|
|
773
|
+
readonly internalType: "uint256";
|
|
774
|
+
readonly name: "";
|
|
775
|
+
readonly type: "uint256";
|
|
776
|
+
}];
|
|
777
|
+
readonly stateMutability: "view";
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
}, {
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly internalType: "address";
|
|
782
|
+
readonly name: "";
|
|
783
|
+
readonly type: "address";
|
|
784
|
+
}, {
|
|
785
|
+
readonly internalType: "address";
|
|
786
|
+
readonly name: "";
|
|
787
|
+
readonly type: "address";
|
|
788
|
+
}, {
|
|
789
|
+
readonly internalType: "uint256";
|
|
790
|
+
readonly name: "";
|
|
791
|
+
readonly type: "uint256";
|
|
792
|
+
}, {
|
|
793
|
+
readonly internalType: "bytes";
|
|
794
|
+
readonly name: "";
|
|
795
|
+
readonly type: "bytes";
|
|
796
|
+
}];
|
|
797
|
+
readonly name: "onERC721Received";
|
|
798
|
+
readonly outputs: readonly [{
|
|
799
|
+
readonly internalType: "bytes4";
|
|
800
|
+
readonly name: "";
|
|
801
|
+
readonly type: "bytes4";
|
|
802
|
+
}];
|
|
803
|
+
readonly stateMutability: "nonpayable";
|
|
804
|
+
readonly type: "function";
|
|
805
|
+
}, {
|
|
806
|
+
readonly inputs: readonly [];
|
|
807
|
+
readonly name: "operator";
|
|
808
|
+
readonly outputs: readonly [{
|
|
809
|
+
readonly internalType: "address";
|
|
810
|
+
readonly name: "";
|
|
811
|
+
readonly type: "address";
|
|
812
|
+
}];
|
|
813
|
+
readonly stateMutability: "view";
|
|
814
|
+
readonly type: "function";
|
|
815
|
+
}, {
|
|
816
|
+
readonly inputs: readonly [];
|
|
817
|
+
readonly name: "operatorFundedToday";
|
|
818
|
+
readonly outputs: readonly [{
|
|
819
|
+
readonly internalType: "uint256";
|
|
820
|
+
readonly name: "";
|
|
821
|
+
readonly type: "uint256";
|
|
822
|
+
}];
|
|
823
|
+
readonly stateMutability: "view";
|
|
824
|
+
readonly type: "function";
|
|
825
|
+
}, {
|
|
826
|
+
readonly inputs: readonly [];
|
|
827
|
+
readonly name: "owner";
|
|
828
|
+
readonly outputs: readonly [{
|
|
829
|
+
readonly internalType: "address";
|
|
830
|
+
readonly name: "";
|
|
831
|
+
readonly type: "address";
|
|
832
|
+
}];
|
|
833
|
+
readonly stateMutability: "view";
|
|
834
|
+
readonly type: "function";
|
|
835
|
+
}, {
|
|
836
|
+
readonly inputs: readonly [];
|
|
837
|
+
readonly name: "pause";
|
|
838
|
+
readonly outputs: readonly [];
|
|
839
|
+
readonly stateMutability: "nonpayable";
|
|
840
|
+
readonly type: "function";
|
|
841
|
+
}, {
|
|
842
|
+
readonly inputs: readonly [];
|
|
843
|
+
readonly name: "paused";
|
|
844
|
+
readonly outputs: readonly [{
|
|
845
|
+
readonly internalType: "bool";
|
|
846
|
+
readonly name: "";
|
|
847
|
+
readonly type: "bool";
|
|
848
|
+
}];
|
|
849
|
+
readonly stateMutability: "view";
|
|
850
|
+
readonly type: "function";
|
|
851
|
+
}, {
|
|
852
|
+
readonly inputs: readonly [];
|
|
853
|
+
readonly name: "pendingOwner";
|
|
854
|
+
readonly outputs: readonly [{
|
|
855
|
+
readonly internalType: "address";
|
|
856
|
+
readonly name: "";
|
|
857
|
+
readonly type: "address";
|
|
858
|
+
}];
|
|
859
|
+
readonly stateMutability: "view";
|
|
860
|
+
readonly type: "function";
|
|
861
|
+
}, {
|
|
862
|
+
readonly inputs: readonly [];
|
|
863
|
+
readonly name: "poolManager";
|
|
864
|
+
readonly outputs: readonly [{
|
|
865
|
+
readonly internalType: "contract IPoolManager";
|
|
866
|
+
readonly name: "";
|
|
867
|
+
readonly type: "address";
|
|
868
|
+
}];
|
|
869
|
+
readonly stateMutability: "view";
|
|
870
|
+
readonly type: "function";
|
|
871
|
+
}, {
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly internalType: "uint256";
|
|
874
|
+
readonly name: "listingId";
|
|
875
|
+
readonly type: "uint256";
|
|
876
|
+
}];
|
|
877
|
+
readonly name: "recoverStuckNFT";
|
|
878
|
+
readonly outputs: readonly [];
|
|
879
|
+
readonly stateMutability: "nonpayable";
|
|
880
|
+
readonly type: "function";
|
|
881
|
+
}, {
|
|
882
|
+
readonly inputs: readonly [];
|
|
883
|
+
readonly name: "renounceOwnership";
|
|
884
|
+
readonly outputs: readonly [];
|
|
885
|
+
readonly stateMutability: "nonpayable";
|
|
886
|
+
readonly type: "function";
|
|
887
|
+
}, {
|
|
888
|
+
readonly inputs: readonly [];
|
|
889
|
+
readonly name: "returnFunds";
|
|
890
|
+
readonly outputs: readonly [];
|
|
891
|
+
readonly stateMutability: "payable";
|
|
892
|
+
readonly type: "function";
|
|
893
|
+
}, {
|
|
894
|
+
readonly inputs: readonly [];
|
|
895
|
+
readonly name: "seaport";
|
|
896
|
+
readonly outputs: readonly [{
|
|
897
|
+
readonly internalType: "address";
|
|
898
|
+
readonly name: "";
|
|
899
|
+
readonly type: "address";
|
|
900
|
+
}];
|
|
901
|
+
readonly stateMutability: "view";
|
|
902
|
+
readonly type: "function";
|
|
903
|
+
}, {
|
|
904
|
+
readonly inputs: readonly [{
|
|
905
|
+
readonly internalType: "uint256";
|
|
906
|
+
readonly name: "bps";
|
|
907
|
+
readonly type: "uint256";
|
|
908
|
+
}];
|
|
909
|
+
readonly name: "setBuybackSlippageBps";
|
|
910
|
+
readonly outputs: readonly [];
|
|
911
|
+
readonly stateMutability: "nonpayable";
|
|
912
|
+
readonly type: "function";
|
|
913
|
+
}, {
|
|
914
|
+
readonly inputs: readonly [{
|
|
915
|
+
readonly internalType: "uint256";
|
|
916
|
+
readonly name: "_maxBackingWei";
|
|
917
|
+
readonly type: "uint256";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
readonly name: "_maxNftPriceWei";
|
|
921
|
+
readonly type: "uint256";
|
|
922
|
+
}, {
|
|
923
|
+
readonly internalType: "uint256";
|
|
924
|
+
readonly name: "_maxPerTx";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}, {
|
|
927
|
+
readonly internalType: "uint256";
|
|
928
|
+
readonly name: "_maxPerDay";
|
|
929
|
+
readonly type: "uint256";
|
|
930
|
+
}];
|
|
931
|
+
readonly name: "setLimits";
|
|
932
|
+
readonly outputs: readonly [];
|
|
933
|
+
readonly stateMutability: "nonpayable";
|
|
934
|
+
readonly type: "function";
|
|
935
|
+
}, {
|
|
936
|
+
readonly inputs: readonly [{
|
|
937
|
+
readonly internalType: "address";
|
|
938
|
+
readonly name: "_operator";
|
|
939
|
+
readonly type: "address";
|
|
940
|
+
}];
|
|
941
|
+
readonly name: "setOperator";
|
|
942
|
+
readonly outputs: readonly [];
|
|
943
|
+
readonly stateMutability: "nonpayable";
|
|
944
|
+
readonly type: "function";
|
|
945
|
+
}, {
|
|
946
|
+
readonly inputs: readonly [];
|
|
947
|
+
readonly name: "token";
|
|
948
|
+
readonly outputs: readonly [{
|
|
949
|
+
readonly internalType: "address";
|
|
950
|
+
readonly name: "";
|
|
951
|
+
readonly type: "address";
|
|
952
|
+
}];
|
|
953
|
+
readonly stateMutability: "view";
|
|
954
|
+
readonly type: "function";
|
|
955
|
+
}, {
|
|
956
|
+
readonly inputs: readonly [{
|
|
957
|
+
readonly internalType: "address";
|
|
958
|
+
readonly name: "newOwner";
|
|
959
|
+
readonly type: "address";
|
|
960
|
+
}];
|
|
961
|
+
readonly name: "transferOwnership";
|
|
962
|
+
readonly outputs: readonly [];
|
|
963
|
+
readonly stateMutability: "nonpayable";
|
|
964
|
+
readonly type: "function";
|
|
965
|
+
}, {
|
|
966
|
+
readonly inputs: readonly [{
|
|
967
|
+
readonly internalType: "bytes";
|
|
968
|
+
readonly name: "data";
|
|
969
|
+
readonly type: "bytes";
|
|
970
|
+
}];
|
|
971
|
+
readonly name: "unlockCallback";
|
|
972
|
+
readonly outputs: readonly [{
|
|
973
|
+
readonly internalType: "bytes";
|
|
974
|
+
readonly name: "";
|
|
975
|
+
readonly type: "bytes";
|
|
976
|
+
}];
|
|
977
|
+
readonly stateMutability: "nonpayable";
|
|
978
|
+
readonly type: "function";
|
|
979
|
+
}, {
|
|
980
|
+
readonly inputs: readonly [];
|
|
981
|
+
readonly name: "unpause";
|
|
982
|
+
readonly outputs: readonly [];
|
|
983
|
+
readonly stateMutability: "nonpayable";
|
|
984
|
+
readonly type: "function";
|
|
985
|
+
}, {
|
|
986
|
+
readonly inputs: readonly [{
|
|
987
|
+
readonly internalType: "uint256";
|
|
988
|
+
readonly name: "listingId";
|
|
989
|
+
readonly type: "uint256";
|
|
990
|
+
}, {
|
|
991
|
+
readonly internalType: "uint256";
|
|
992
|
+
readonly name: "newBacking";
|
|
993
|
+
readonly type: "uint256";
|
|
994
|
+
}, {
|
|
995
|
+
readonly internalType: "uint256";
|
|
996
|
+
readonly name: "extraWei";
|
|
997
|
+
readonly type: "uint256";
|
|
998
|
+
}];
|
|
999
|
+
readonly name: "updateBacking";
|
|
1000
|
+
readonly outputs: readonly [];
|
|
1001
|
+
readonly stateMutability: "nonpayable";
|
|
1002
|
+
readonly type: "function";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly inputs: readonly [{
|
|
1005
|
+
readonly internalType: "uint256";
|
|
1006
|
+
readonly name: "listingId";
|
|
1007
|
+
readonly type: "uint256";
|
|
1008
|
+
}];
|
|
1009
|
+
readonly name: "withdrawListing";
|
|
1010
|
+
readonly outputs: readonly [];
|
|
1011
|
+
readonly stateMutability: "nonpayable";
|
|
1012
|
+
readonly type: "function";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly stateMutability: "payable";
|
|
1015
|
+
readonly type: "receive";
|
|
1016
|
+
}];
|
|
1017
|
+
/**
|
|
1018
|
+
* Type-safe ABI for Treasury_json
|
|
1019
|
+
*/
|
|
1020
|
+
export type Treasury_jsonAbi = typeof Treasury_jsonAbi;
|
|
1021
|
+
/**
|
|
1022
|
+
* Contract instance type for Treasury_json
|
|
1023
|
+
*/
|
|
1024
|
+
export type Treasury_jsonContract = any;
|
|
1025
|
+
/**
|
|
1026
|
+
* Treasury_json Contract Class
|
|
1027
|
+
*
|
|
1028
|
+
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
1029
|
+
*
|
|
1030
|
+
* @example
|
|
1031
|
+
* ```typescript
|
|
1032
|
+
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
1033
|
+
* import { mainnet } from 'viem/chains';
|
|
1034
|
+
* import { Treasury_json } from 'Treasury_json';
|
|
1035
|
+
*
|
|
1036
|
+
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
1037
|
+
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
1038
|
+
*
|
|
1039
|
+
* const contract = new Treasury_json('0x...', { publicClient, walletClient });
|
|
1040
|
+
*
|
|
1041
|
+
* // Read functions
|
|
1042
|
+
* const result = await contract.balanceOf('0x...');
|
|
1043
|
+
*
|
|
1044
|
+
* // Write functions
|
|
1045
|
+
* const hash = await contract.transfer('0x...', 1000n);
|
|
1046
|
+
*
|
|
1047
|
+
* // Simulate transactions (dry-run)
|
|
1048
|
+
* const simulation = await contract.simulate.transfer('0x...', 1000n);
|
|
1049
|
+
* console.log('Gas estimate:', simulation.request.gas);
|
|
1050
|
+
*
|
|
1051
|
+
* // Watch events
|
|
1052
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
1053
|
+
* console.log('Transfer event:', event);
|
|
1054
|
+
* });
|
|
1055
|
+
* ```
|
|
1056
|
+
*/
|
|
1057
|
+
export declare class Treasury_json {
|
|
1058
|
+
private contract;
|
|
1059
|
+
private contractAddress;
|
|
1060
|
+
private publicClient;
|
|
1061
|
+
constructor(address: Address, clients: {
|
|
1062
|
+
publicClient: PublicClient;
|
|
1063
|
+
walletClient?: WalletClient;
|
|
1064
|
+
});
|
|
1065
|
+
/**
|
|
1066
|
+
* Get the contract address
|
|
1067
|
+
*/
|
|
1068
|
+
get address(): Address;
|
|
1069
|
+
/**
|
|
1070
|
+
* Get the underlying viem contract instance
|
|
1071
|
+
*/
|
|
1072
|
+
getContract(): Treasury_jsonContract;
|
|
1073
|
+
/**
|
|
1074
|
+
* MAX_BUYBACK_SLIPPAGE_BPS
|
|
1075
|
+
* view
|
|
1076
|
+
*/
|
|
1077
|
+
MAX_BUYBACK_SLIPPAGE_BPS(): Promise<bigint>;
|
|
1078
|
+
/**
|
|
1079
|
+
* buybackSlippageBps
|
|
1080
|
+
* view
|
|
1081
|
+
*/
|
|
1082
|
+
buybackSlippageBps(): Promise<bigint>;
|
|
1083
|
+
/**
|
|
1084
|
+
* currentDay
|
|
1085
|
+
* view
|
|
1086
|
+
*/
|
|
1087
|
+
currentDay(): Promise<bigint>;
|
|
1088
|
+
/**
|
|
1089
|
+
* fwa
|
|
1090
|
+
* view
|
|
1091
|
+
*/
|
|
1092
|
+
fwa(): Promise<`0x${string}`>;
|
|
1093
|
+
/**
|
|
1094
|
+
* hook
|
|
1095
|
+
* view
|
|
1096
|
+
*/
|
|
1097
|
+
hook(): Promise<`0x${string}`>;
|
|
1098
|
+
/**
|
|
1099
|
+
* listingCount
|
|
1100
|
+
* view
|
|
1101
|
+
*/
|
|
1102
|
+
listingCount(): Promise<bigint>;
|
|
1103
|
+
/**
|
|
1104
|
+
* listingIds
|
|
1105
|
+
* view
|
|
1106
|
+
*/
|
|
1107
|
+
listingIds(arg0: bigint): Promise<bigint>;
|
|
1108
|
+
/**
|
|
1109
|
+
* maxBackingWei
|
|
1110
|
+
* view
|
|
1111
|
+
*/
|
|
1112
|
+
maxBackingWei(): Promise<bigint>;
|
|
1113
|
+
/**
|
|
1114
|
+
* maxNftPriceWei
|
|
1115
|
+
* view
|
|
1116
|
+
*/
|
|
1117
|
+
maxNftPriceWei(): Promise<bigint>;
|
|
1118
|
+
/**
|
|
1119
|
+
* maxOperatorFundPerDay
|
|
1120
|
+
* view
|
|
1121
|
+
*/
|
|
1122
|
+
maxOperatorFundPerDay(): Promise<bigint>;
|
|
1123
|
+
/**
|
|
1124
|
+
* maxOperatorFundPerTx
|
|
1125
|
+
* view
|
|
1126
|
+
*/
|
|
1127
|
+
maxOperatorFundPerTx(): Promise<bigint>;
|
|
1128
|
+
/**
|
|
1129
|
+
* operator
|
|
1130
|
+
* view
|
|
1131
|
+
*/
|
|
1132
|
+
operator(): Promise<`0x${string}`>;
|
|
1133
|
+
/**
|
|
1134
|
+
* operatorFundedToday
|
|
1135
|
+
* view
|
|
1136
|
+
*/
|
|
1137
|
+
operatorFundedToday(): Promise<bigint>;
|
|
1138
|
+
/**
|
|
1139
|
+
* owner
|
|
1140
|
+
* view
|
|
1141
|
+
*/
|
|
1142
|
+
owner(): Promise<`0x${string}`>;
|
|
1143
|
+
/**
|
|
1144
|
+
* paused
|
|
1145
|
+
* view
|
|
1146
|
+
*/
|
|
1147
|
+
paused(): Promise<boolean>;
|
|
1148
|
+
/**
|
|
1149
|
+
* pendingOwner
|
|
1150
|
+
* view
|
|
1151
|
+
*/
|
|
1152
|
+
pendingOwner(): Promise<`0x${string}`>;
|
|
1153
|
+
/**
|
|
1154
|
+
* poolManager
|
|
1155
|
+
* view
|
|
1156
|
+
*/
|
|
1157
|
+
poolManager(): Promise<`0x${string}`>;
|
|
1158
|
+
/**
|
|
1159
|
+
* seaport
|
|
1160
|
+
* view
|
|
1161
|
+
*/
|
|
1162
|
+
seaport(): Promise<`0x${string}`>;
|
|
1163
|
+
/**
|
|
1164
|
+
* token
|
|
1165
|
+
* view
|
|
1166
|
+
*/
|
|
1167
|
+
token(): Promise<`0x${string}`>;
|
|
1168
|
+
/**
|
|
1169
|
+
* acceptOwnership
|
|
1170
|
+
* nonpayable
|
|
1171
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1172
|
+
*/
|
|
1173
|
+
acceptOwnership(options?: {
|
|
1174
|
+
accessList?: import('viem').AccessList;
|
|
1175
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1176
|
+
chain?: import('viem').Chain | null;
|
|
1177
|
+
dataSuffix?: `0x${string}`;
|
|
1178
|
+
gas?: bigint;
|
|
1179
|
+
gasPrice?: bigint;
|
|
1180
|
+
maxFeePerGas?: bigint;
|
|
1181
|
+
maxPriorityFeePerGas?: bigint;
|
|
1182
|
+
nonce?: number;
|
|
1183
|
+
value?: bigint;
|
|
1184
|
+
}): Promise<`0x${string}`>;
|
|
1185
|
+
/**
|
|
1186
|
+
* activateFwaListings
|
|
1187
|
+
* nonpayable
|
|
1188
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1189
|
+
*/
|
|
1190
|
+
activateFwaListings(maxCount: bigint, options?: {
|
|
1191
|
+
accessList?: import('viem').AccessList;
|
|
1192
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1193
|
+
chain?: import('viem').Chain | null;
|
|
1194
|
+
dataSuffix?: `0x${string}`;
|
|
1195
|
+
gas?: bigint;
|
|
1196
|
+
gasPrice?: bigint;
|
|
1197
|
+
maxFeePerGas?: bigint;
|
|
1198
|
+
maxPriorityFeePerGas?: bigint;
|
|
1199
|
+
nonce?: number;
|
|
1200
|
+
value?: bigint;
|
|
1201
|
+
}): Promise<`0x${string}`>;
|
|
1202
|
+
/**
|
|
1203
|
+
* buyAndList
|
|
1204
|
+
* nonpayable
|
|
1205
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1206
|
+
*/
|
|
1207
|
+
buyAndList(seaportCalldata: `0x${string}`, priceWei: bigint, collection: `0x${string}`, tokenId: bigint, backingWei: bigint, options?: {
|
|
1208
|
+
accessList?: import('viem').AccessList;
|
|
1209
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1210
|
+
chain?: import('viem').Chain | null;
|
|
1211
|
+
dataSuffix?: `0x${string}`;
|
|
1212
|
+
gas?: bigint;
|
|
1213
|
+
gasPrice?: bigint;
|
|
1214
|
+
maxFeePerGas?: bigint;
|
|
1215
|
+
maxPriorityFeePerGas?: bigint;
|
|
1216
|
+
nonce?: number;
|
|
1217
|
+
value?: bigint;
|
|
1218
|
+
}): Promise<`0x${string}`>;
|
|
1219
|
+
/**
|
|
1220
|
+
* buybackAndBurn
|
|
1221
|
+
* nonpayable
|
|
1222
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1223
|
+
*/
|
|
1224
|
+
buybackAndBurn(ethAmount: bigint, minTokensOut: bigint, options?: {
|
|
1225
|
+
accessList?: import('viem').AccessList;
|
|
1226
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1227
|
+
chain?: import('viem').Chain | null;
|
|
1228
|
+
dataSuffix?: `0x${string}`;
|
|
1229
|
+
gas?: bigint;
|
|
1230
|
+
gasPrice?: bigint;
|
|
1231
|
+
maxFeePerGas?: bigint;
|
|
1232
|
+
maxPriorityFeePerGas?: bigint;
|
|
1233
|
+
nonce?: number;
|
|
1234
|
+
value?: bigint;
|
|
1235
|
+
}): Promise<`0x${string}`>;
|
|
1236
|
+
/**
|
|
1237
|
+
* claimFees
|
|
1238
|
+
* nonpayable
|
|
1239
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1240
|
+
*/
|
|
1241
|
+
claimFees(ids: bigint[], options?: {
|
|
1242
|
+
accessList?: import('viem').AccessList;
|
|
1243
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1244
|
+
chain?: import('viem').Chain | null;
|
|
1245
|
+
dataSuffix?: `0x${string}`;
|
|
1246
|
+
gas?: bigint;
|
|
1247
|
+
gasPrice?: bigint;
|
|
1248
|
+
maxFeePerGas?: bigint;
|
|
1249
|
+
maxPriorityFeePerGas?: bigint;
|
|
1250
|
+
nonce?: number;
|
|
1251
|
+
value?: bigint;
|
|
1252
|
+
}): Promise<`0x${string}`>;
|
|
1253
|
+
/**
|
|
1254
|
+
* claimRewards
|
|
1255
|
+
* nonpayable
|
|
1256
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1257
|
+
*/
|
|
1258
|
+
claimRewards(ids: bigint[], options?: {
|
|
1259
|
+
accessList?: import('viem').AccessList;
|
|
1260
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1261
|
+
chain?: import('viem').Chain | null;
|
|
1262
|
+
dataSuffix?: `0x${string}`;
|
|
1263
|
+
gas?: bigint;
|
|
1264
|
+
gasPrice?: bigint;
|
|
1265
|
+
maxFeePerGas?: bigint;
|
|
1266
|
+
maxPriorityFeePerGas?: bigint;
|
|
1267
|
+
nonce?: number;
|
|
1268
|
+
value?: bigint;
|
|
1269
|
+
}): Promise<`0x${string}`>;
|
|
1270
|
+
/**
|
|
1271
|
+
* claimTopSpot
|
|
1272
|
+
* nonpayable
|
|
1273
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1274
|
+
*/
|
|
1275
|
+
claimTopSpot(listingId: bigint, options?: {
|
|
1276
|
+
accessList?: import('viem').AccessList;
|
|
1277
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1278
|
+
chain?: import('viem').Chain | null;
|
|
1279
|
+
dataSuffix?: `0x${string}`;
|
|
1280
|
+
gas?: bigint;
|
|
1281
|
+
gasPrice?: bigint;
|
|
1282
|
+
maxFeePerGas?: bigint;
|
|
1283
|
+
maxPriorityFeePerGas?: bigint;
|
|
1284
|
+
nonce?: number;
|
|
1285
|
+
value?: bigint;
|
|
1286
|
+
}): Promise<`0x${string}`>;
|
|
1287
|
+
/**
|
|
1288
|
+
* depositorReclaimBacking
|
|
1289
|
+
* nonpayable
|
|
1290
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1291
|
+
*/
|
|
1292
|
+
depositorReclaimBacking(listingId: bigint, options?: {
|
|
1293
|
+
accessList?: import('viem').AccessList;
|
|
1294
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1295
|
+
chain?: import('viem').Chain | null;
|
|
1296
|
+
dataSuffix?: `0x${string}`;
|
|
1297
|
+
gas?: bigint;
|
|
1298
|
+
gasPrice?: bigint;
|
|
1299
|
+
maxFeePerGas?: bigint;
|
|
1300
|
+
maxPriorityFeePerGas?: bigint;
|
|
1301
|
+
nonce?: number;
|
|
1302
|
+
value?: bigint;
|
|
1303
|
+
}): Promise<`0x${string}`>;
|
|
1304
|
+
/**
|
|
1305
|
+
* depositorReclaimNFT
|
|
1306
|
+
* nonpayable
|
|
1307
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1308
|
+
*/
|
|
1309
|
+
depositorReclaimNFT(listingId: bigint, options?: {
|
|
1310
|
+
accessList?: import('viem').AccessList;
|
|
1311
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1312
|
+
chain?: import('viem').Chain | null;
|
|
1313
|
+
dataSuffix?: `0x${string}`;
|
|
1314
|
+
gas?: bigint;
|
|
1315
|
+
gasPrice?: bigint;
|
|
1316
|
+
maxFeePerGas?: bigint;
|
|
1317
|
+
maxPriorityFeePerGas?: bigint;
|
|
1318
|
+
nonce?: number;
|
|
1319
|
+
value?: bigint;
|
|
1320
|
+
}): Promise<`0x${string}`>;
|
|
1321
|
+
/**
|
|
1322
|
+
* emergencyWithdrawERC20
|
|
1323
|
+
* nonpayable
|
|
1324
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1325
|
+
*/
|
|
1326
|
+
emergencyWithdrawERC20(token_: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1327
|
+
accessList?: import('viem').AccessList;
|
|
1328
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1329
|
+
chain?: import('viem').Chain | null;
|
|
1330
|
+
dataSuffix?: `0x${string}`;
|
|
1331
|
+
gas?: bigint;
|
|
1332
|
+
gasPrice?: bigint;
|
|
1333
|
+
maxFeePerGas?: bigint;
|
|
1334
|
+
maxPriorityFeePerGas?: bigint;
|
|
1335
|
+
nonce?: number;
|
|
1336
|
+
value?: bigint;
|
|
1337
|
+
}): Promise<`0x${string}`>;
|
|
1338
|
+
/**
|
|
1339
|
+
* emergencyWithdrawERC721
|
|
1340
|
+
* nonpayable
|
|
1341
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1342
|
+
*/
|
|
1343
|
+
emergencyWithdrawERC721(collection: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1344
|
+
accessList?: import('viem').AccessList;
|
|
1345
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1346
|
+
chain?: import('viem').Chain | null;
|
|
1347
|
+
dataSuffix?: `0x${string}`;
|
|
1348
|
+
gas?: bigint;
|
|
1349
|
+
gasPrice?: bigint;
|
|
1350
|
+
maxFeePerGas?: bigint;
|
|
1351
|
+
maxPriorityFeePerGas?: bigint;
|
|
1352
|
+
nonce?: number;
|
|
1353
|
+
value?: bigint;
|
|
1354
|
+
}): Promise<`0x${string}`>;
|
|
1355
|
+
/**
|
|
1356
|
+
* emergencyWithdrawETH
|
|
1357
|
+
* nonpayable
|
|
1358
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1359
|
+
*/
|
|
1360
|
+
emergencyWithdrawETH(to: `0x${string}`, amount: bigint, options?: {
|
|
1361
|
+
accessList?: import('viem').AccessList;
|
|
1362
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1363
|
+
chain?: import('viem').Chain | null;
|
|
1364
|
+
dataSuffix?: `0x${string}`;
|
|
1365
|
+
gas?: bigint;
|
|
1366
|
+
gasPrice?: bigint;
|
|
1367
|
+
maxFeePerGas?: bigint;
|
|
1368
|
+
maxPriorityFeePerGas?: bigint;
|
|
1369
|
+
nonce?: number;
|
|
1370
|
+
value?: bigint;
|
|
1371
|
+
}): Promise<`0x${string}`>;
|
|
1372
|
+
/**
|
|
1373
|
+
* finalizeUnsettled
|
|
1374
|
+
* nonpayable
|
|
1375
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1376
|
+
*/
|
|
1377
|
+
finalizeUnsettled(listingId: bigint, options?: {
|
|
1378
|
+
accessList?: import('viem').AccessList;
|
|
1379
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1380
|
+
chain?: import('viem').Chain | null;
|
|
1381
|
+
dataSuffix?: `0x${string}`;
|
|
1382
|
+
gas?: bigint;
|
|
1383
|
+
gasPrice?: bigint;
|
|
1384
|
+
maxFeePerGas?: bigint;
|
|
1385
|
+
maxPriorityFeePerGas?: bigint;
|
|
1386
|
+
nonce?: number;
|
|
1387
|
+
value?: bigint;
|
|
1388
|
+
}): Promise<`0x${string}`>;
|
|
1389
|
+
/**
|
|
1390
|
+
* fundOperator
|
|
1391
|
+
* nonpayable
|
|
1392
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1393
|
+
*/
|
|
1394
|
+
fundOperator(amount: bigint, options?: {
|
|
1395
|
+
accessList?: import('viem').AccessList;
|
|
1396
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1397
|
+
chain?: import('viem').Chain | null;
|
|
1398
|
+
dataSuffix?: `0x${string}`;
|
|
1399
|
+
gas?: bigint;
|
|
1400
|
+
gasPrice?: bigint;
|
|
1401
|
+
maxFeePerGas?: bigint;
|
|
1402
|
+
maxPriorityFeePerGas?: bigint;
|
|
1403
|
+
nonce?: number;
|
|
1404
|
+
value?: bigint;
|
|
1405
|
+
}): Promise<`0x${string}`>;
|
|
1406
|
+
/**
|
|
1407
|
+
* harvestFeesAndBurn
|
|
1408
|
+
* nonpayable
|
|
1409
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1410
|
+
*/
|
|
1411
|
+
harvestFeesAndBurn(ids: bigint[], minTokensOut: bigint, options?: {
|
|
1412
|
+
accessList?: import('viem').AccessList;
|
|
1413
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1414
|
+
chain?: import('viem').Chain | null;
|
|
1415
|
+
dataSuffix?: `0x${string}`;
|
|
1416
|
+
gas?: bigint;
|
|
1417
|
+
gasPrice?: bigint;
|
|
1418
|
+
maxFeePerGas?: bigint;
|
|
1419
|
+
maxPriorityFeePerGas?: bigint;
|
|
1420
|
+
nonce?: number;
|
|
1421
|
+
value?: bigint;
|
|
1422
|
+
}): Promise<`0x${string}`>;
|
|
1423
|
+
/**
|
|
1424
|
+
* listOnFwa
|
|
1425
|
+
* nonpayable
|
|
1426
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1427
|
+
*/
|
|
1428
|
+
listOnFwa(collection: `0x${string}`, tokenId: bigint, backingWei: bigint, options?: {
|
|
1429
|
+
accessList?: import('viem').AccessList;
|
|
1430
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1431
|
+
chain?: import('viem').Chain | null;
|
|
1432
|
+
dataSuffix?: `0x${string}`;
|
|
1433
|
+
gas?: bigint;
|
|
1434
|
+
gasPrice?: bigint;
|
|
1435
|
+
maxFeePerGas?: bigint;
|
|
1436
|
+
maxPriorityFeePerGas?: bigint;
|
|
1437
|
+
nonce?: number;
|
|
1438
|
+
value?: bigint;
|
|
1439
|
+
}): Promise<`0x${string}`>;
|
|
1440
|
+
/**
|
|
1441
|
+
* onERC721Received
|
|
1442
|
+
* nonpayable
|
|
1443
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1444
|
+
*/
|
|
1445
|
+
onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`, options?: {
|
|
1446
|
+
accessList?: import('viem').AccessList;
|
|
1447
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1448
|
+
chain?: import('viem').Chain | null;
|
|
1449
|
+
dataSuffix?: `0x${string}`;
|
|
1450
|
+
gas?: bigint;
|
|
1451
|
+
gasPrice?: bigint;
|
|
1452
|
+
maxFeePerGas?: bigint;
|
|
1453
|
+
maxPriorityFeePerGas?: bigint;
|
|
1454
|
+
nonce?: number;
|
|
1455
|
+
value?: bigint;
|
|
1456
|
+
}): Promise<`0x${string}`>;
|
|
1457
|
+
/**
|
|
1458
|
+
* pause
|
|
1459
|
+
* nonpayable
|
|
1460
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1461
|
+
*/
|
|
1462
|
+
pause(options?: {
|
|
1463
|
+
accessList?: import('viem').AccessList;
|
|
1464
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1465
|
+
chain?: import('viem').Chain | null;
|
|
1466
|
+
dataSuffix?: `0x${string}`;
|
|
1467
|
+
gas?: bigint;
|
|
1468
|
+
gasPrice?: bigint;
|
|
1469
|
+
maxFeePerGas?: bigint;
|
|
1470
|
+
maxPriorityFeePerGas?: bigint;
|
|
1471
|
+
nonce?: number;
|
|
1472
|
+
value?: bigint;
|
|
1473
|
+
}): Promise<`0x${string}`>;
|
|
1474
|
+
/**
|
|
1475
|
+
* recoverStuckNFT
|
|
1476
|
+
* nonpayable
|
|
1477
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1478
|
+
*/
|
|
1479
|
+
recoverStuckNFT(listingId: bigint, options?: {
|
|
1480
|
+
accessList?: import('viem').AccessList;
|
|
1481
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1482
|
+
chain?: import('viem').Chain | null;
|
|
1483
|
+
dataSuffix?: `0x${string}`;
|
|
1484
|
+
gas?: bigint;
|
|
1485
|
+
gasPrice?: bigint;
|
|
1486
|
+
maxFeePerGas?: bigint;
|
|
1487
|
+
maxPriorityFeePerGas?: bigint;
|
|
1488
|
+
nonce?: number;
|
|
1489
|
+
value?: bigint;
|
|
1490
|
+
}): Promise<`0x${string}`>;
|
|
1491
|
+
/**
|
|
1492
|
+
* renounceOwnership
|
|
1493
|
+
* nonpayable
|
|
1494
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1495
|
+
*/
|
|
1496
|
+
renounceOwnership(options?: {
|
|
1497
|
+
accessList?: import('viem').AccessList;
|
|
1498
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1499
|
+
chain?: import('viem').Chain | null;
|
|
1500
|
+
dataSuffix?: `0x${string}`;
|
|
1501
|
+
gas?: bigint;
|
|
1502
|
+
gasPrice?: bigint;
|
|
1503
|
+
maxFeePerGas?: bigint;
|
|
1504
|
+
maxPriorityFeePerGas?: bigint;
|
|
1505
|
+
nonce?: number;
|
|
1506
|
+
value?: bigint;
|
|
1507
|
+
}): Promise<`0x${string}`>;
|
|
1508
|
+
/**
|
|
1509
|
+
* returnFunds
|
|
1510
|
+
* payable
|
|
1511
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1512
|
+
*/
|
|
1513
|
+
returnFunds(options?: {
|
|
1514
|
+
accessList?: import('viem').AccessList;
|
|
1515
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1516
|
+
chain?: import('viem').Chain | null;
|
|
1517
|
+
dataSuffix?: `0x${string}`;
|
|
1518
|
+
gas?: bigint;
|
|
1519
|
+
gasPrice?: bigint;
|
|
1520
|
+
maxFeePerGas?: bigint;
|
|
1521
|
+
maxPriorityFeePerGas?: bigint;
|
|
1522
|
+
nonce?: number;
|
|
1523
|
+
value?: bigint;
|
|
1524
|
+
}): Promise<`0x${string}`>;
|
|
1525
|
+
/**
|
|
1526
|
+
* setBuybackSlippageBps
|
|
1527
|
+
* nonpayable
|
|
1528
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1529
|
+
*/
|
|
1530
|
+
setBuybackSlippageBps(bps: bigint, options?: {
|
|
1531
|
+
accessList?: import('viem').AccessList;
|
|
1532
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1533
|
+
chain?: import('viem').Chain | null;
|
|
1534
|
+
dataSuffix?: `0x${string}`;
|
|
1535
|
+
gas?: bigint;
|
|
1536
|
+
gasPrice?: bigint;
|
|
1537
|
+
maxFeePerGas?: bigint;
|
|
1538
|
+
maxPriorityFeePerGas?: bigint;
|
|
1539
|
+
nonce?: number;
|
|
1540
|
+
value?: bigint;
|
|
1541
|
+
}): Promise<`0x${string}`>;
|
|
1542
|
+
/**
|
|
1543
|
+
* setLimits
|
|
1544
|
+
* nonpayable
|
|
1545
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1546
|
+
*/
|
|
1547
|
+
setLimits(_maxBackingWei: bigint, _maxNftPriceWei: bigint, _maxPerTx: bigint, _maxPerDay: bigint, options?: {
|
|
1548
|
+
accessList?: import('viem').AccessList;
|
|
1549
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1550
|
+
chain?: import('viem').Chain | null;
|
|
1551
|
+
dataSuffix?: `0x${string}`;
|
|
1552
|
+
gas?: bigint;
|
|
1553
|
+
gasPrice?: bigint;
|
|
1554
|
+
maxFeePerGas?: bigint;
|
|
1555
|
+
maxPriorityFeePerGas?: bigint;
|
|
1556
|
+
nonce?: number;
|
|
1557
|
+
value?: bigint;
|
|
1558
|
+
}): Promise<`0x${string}`>;
|
|
1559
|
+
/**
|
|
1560
|
+
* setOperator
|
|
1561
|
+
* nonpayable
|
|
1562
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1563
|
+
*/
|
|
1564
|
+
setOperator(_operator: `0x${string}`, options?: {
|
|
1565
|
+
accessList?: import('viem').AccessList;
|
|
1566
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1567
|
+
chain?: import('viem').Chain | null;
|
|
1568
|
+
dataSuffix?: `0x${string}`;
|
|
1569
|
+
gas?: bigint;
|
|
1570
|
+
gasPrice?: bigint;
|
|
1571
|
+
maxFeePerGas?: bigint;
|
|
1572
|
+
maxPriorityFeePerGas?: bigint;
|
|
1573
|
+
nonce?: number;
|
|
1574
|
+
value?: bigint;
|
|
1575
|
+
}): Promise<`0x${string}`>;
|
|
1576
|
+
/**
|
|
1577
|
+
* transferOwnership
|
|
1578
|
+
* nonpayable
|
|
1579
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1580
|
+
*/
|
|
1581
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
1582
|
+
accessList?: import('viem').AccessList;
|
|
1583
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1584
|
+
chain?: import('viem').Chain | null;
|
|
1585
|
+
dataSuffix?: `0x${string}`;
|
|
1586
|
+
gas?: bigint;
|
|
1587
|
+
gasPrice?: bigint;
|
|
1588
|
+
maxFeePerGas?: bigint;
|
|
1589
|
+
maxPriorityFeePerGas?: bigint;
|
|
1590
|
+
nonce?: number;
|
|
1591
|
+
value?: bigint;
|
|
1592
|
+
}): Promise<`0x${string}`>;
|
|
1593
|
+
/**
|
|
1594
|
+
* unlockCallback
|
|
1595
|
+
* nonpayable
|
|
1596
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1597
|
+
*/
|
|
1598
|
+
unlockCallback(data: `0x${string}`, options?: {
|
|
1599
|
+
accessList?: import('viem').AccessList;
|
|
1600
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1601
|
+
chain?: import('viem').Chain | null;
|
|
1602
|
+
dataSuffix?: `0x${string}`;
|
|
1603
|
+
gas?: bigint;
|
|
1604
|
+
gasPrice?: bigint;
|
|
1605
|
+
maxFeePerGas?: bigint;
|
|
1606
|
+
maxPriorityFeePerGas?: bigint;
|
|
1607
|
+
nonce?: number;
|
|
1608
|
+
value?: bigint;
|
|
1609
|
+
}): Promise<`0x${string}`>;
|
|
1610
|
+
/**
|
|
1611
|
+
* unpause
|
|
1612
|
+
* nonpayable
|
|
1613
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1614
|
+
*/
|
|
1615
|
+
unpause(options?: {
|
|
1616
|
+
accessList?: import('viem').AccessList;
|
|
1617
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1618
|
+
chain?: import('viem').Chain | null;
|
|
1619
|
+
dataSuffix?: `0x${string}`;
|
|
1620
|
+
gas?: bigint;
|
|
1621
|
+
gasPrice?: bigint;
|
|
1622
|
+
maxFeePerGas?: bigint;
|
|
1623
|
+
maxPriorityFeePerGas?: bigint;
|
|
1624
|
+
nonce?: number;
|
|
1625
|
+
value?: bigint;
|
|
1626
|
+
}): Promise<`0x${string}`>;
|
|
1627
|
+
/**
|
|
1628
|
+
* updateBacking
|
|
1629
|
+
* nonpayable
|
|
1630
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1631
|
+
*/
|
|
1632
|
+
updateBacking(listingId: bigint, newBacking: bigint, extraWei: bigint, options?: {
|
|
1633
|
+
accessList?: import('viem').AccessList;
|
|
1634
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1635
|
+
chain?: import('viem').Chain | null;
|
|
1636
|
+
dataSuffix?: `0x${string}`;
|
|
1637
|
+
gas?: bigint;
|
|
1638
|
+
gasPrice?: bigint;
|
|
1639
|
+
maxFeePerGas?: bigint;
|
|
1640
|
+
maxPriorityFeePerGas?: bigint;
|
|
1641
|
+
nonce?: number;
|
|
1642
|
+
value?: bigint;
|
|
1643
|
+
}): Promise<`0x${string}`>;
|
|
1644
|
+
/**
|
|
1645
|
+
* withdrawListing
|
|
1646
|
+
* nonpayable
|
|
1647
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1648
|
+
*/
|
|
1649
|
+
withdrawListing(listingId: bigint, options?: {
|
|
1650
|
+
accessList?: import('viem').AccessList;
|
|
1651
|
+
authorizationList?: import('viem').AuthorizationList;
|
|
1652
|
+
chain?: import('viem').Chain | null;
|
|
1653
|
+
dataSuffix?: `0x${string}`;
|
|
1654
|
+
gas?: bigint;
|
|
1655
|
+
gasPrice?: bigint;
|
|
1656
|
+
maxFeePerGas?: bigint;
|
|
1657
|
+
maxPriorityFeePerGas?: bigint;
|
|
1658
|
+
nonce?: number;
|
|
1659
|
+
value?: bigint;
|
|
1660
|
+
}): Promise<`0x${string}`>;
|
|
1661
|
+
/**
|
|
1662
|
+
* Simulate contract write operations (dry-run without sending transaction)
|
|
1663
|
+
*
|
|
1664
|
+
* @example
|
|
1665
|
+
* const result = await contract.simulate.transfer('0x...', 1000n);
|
|
1666
|
+
* console.log('Gas estimate:', result.request.gas);
|
|
1667
|
+
* console.log('Would succeed:', result.result);
|
|
1668
|
+
*/
|
|
1669
|
+
get simulate(): {
|
|
1670
|
+
/**
|
|
1671
|
+
* Simulate acceptOwnership
|
|
1672
|
+
* Returns gas estimate and result without sending transaction
|
|
1673
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1674
|
+
*/
|
|
1675
|
+
acceptOwnership(options?: {
|
|
1676
|
+
accessList?: import("viem").AccessList;
|
|
1677
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1678
|
+
chain?: import("viem").Chain | null;
|
|
1679
|
+
dataSuffix?: `0x${string}`;
|
|
1680
|
+
gas?: bigint;
|
|
1681
|
+
gasPrice?: bigint;
|
|
1682
|
+
maxFeePerGas?: bigint;
|
|
1683
|
+
maxPriorityFeePerGas?: bigint;
|
|
1684
|
+
nonce?: number;
|
|
1685
|
+
value?: bigint;
|
|
1686
|
+
}): Promise<void>;
|
|
1687
|
+
/**
|
|
1688
|
+
* Simulate activateFwaListings
|
|
1689
|
+
* Returns gas estimate and result without sending transaction
|
|
1690
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1691
|
+
*/
|
|
1692
|
+
activateFwaListings(maxCount: bigint, options?: {
|
|
1693
|
+
accessList?: import("viem").AccessList;
|
|
1694
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1695
|
+
chain?: import("viem").Chain | null;
|
|
1696
|
+
dataSuffix?: `0x${string}`;
|
|
1697
|
+
gas?: bigint;
|
|
1698
|
+
gasPrice?: bigint;
|
|
1699
|
+
maxFeePerGas?: bigint;
|
|
1700
|
+
maxPriorityFeePerGas?: bigint;
|
|
1701
|
+
nonce?: number;
|
|
1702
|
+
value?: bigint;
|
|
1703
|
+
}): Promise<void>;
|
|
1704
|
+
/**
|
|
1705
|
+
* Simulate buyAndList
|
|
1706
|
+
* Returns gas estimate and result without sending transaction
|
|
1707
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1708
|
+
*/
|
|
1709
|
+
buyAndList(seaportCalldata: `0x${string}`, priceWei: bigint, collection: `0x${string}`, tokenId: bigint, backingWei: bigint, options?: {
|
|
1710
|
+
accessList?: import("viem").AccessList;
|
|
1711
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1712
|
+
chain?: import("viem").Chain | null;
|
|
1713
|
+
dataSuffix?: `0x${string}`;
|
|
1714
|
+
gas?: bigint;
|
|
1715
|
+
gasPrice?: bigint;
|
|
1716
|
+
maxFeePerGas?: bigint;
|
|
1717
|
+
maxPriorityFeePerGas?: bigint;
|
|
1718
|
+
nonce?: number;
|
|
1719
|
+
value?: bigint;
|
|
1720
|
+
}): Promise<bigint>;
|
|
1721
|
+
/**
|
|
1722
|
+
* Simulate buybackAndBurn
|
|
1723
|
+
* Returns gas estimate and result without sending transaction
|
|
1724
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1725
|
+
*/
|
|
1726
|
+
buybackAndBurn(ethAmount: bigint, minTokensOut: bigint, options?: {
|
|
1727
|
+
accessList?: import("viem").AccessList;
|
|
1728
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1729
|
+
chain?: import("viem").Chain | null;
|
|
1730
|
+
dataSuffix?: `0x${string}`;
|
|
1731
|
+
gas?: bigint;
|
|
1732
|
+
gasPrice?: bigint;
|
|
1733
|
+
maxFeePerGas?: bigint;
|
|
1734
|
+
maxPriorityFeePerGas?: bigint;
|
|
1735
|
+
nonce?: number;
|
|
1736
|
+
value?: bigint;
|
|
1737
|
+
}): Promise<bigint>;
|
|
1738
|
+
/**
|
|
1739
|
+
* Simulate claimFees
|
|
1740
|
+
* Returns gas estimate and result without sending transaction
|
|
1741
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1742
|
+
*/
|
|
1743
|
+
claimFees(ids: bigint[], options?: {
|
|
1744
|
+
accessList?: import("viem").AccessList;
|
|
1745
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1746
|
+
chain?: import("viem").Chain | null;
|
|
1747
|
+
dataSuffix?: `0x${string}`;
|
|
1748
|
+
gas?: bigint;
|
|
1749
|
+
gasPrice?: bigint;
|
|
1750
|
+
maxFeePerGas?: bigint;
|
|
1751
|
+
maxPriorityFeePerGas?: bigint;
|
|
1752
|
+
nonce?: number;
|
|
1753
|
+
value?: bigint;
|
|
1754
|
+
}): Promise<bigint>;
|
|
1755
|
+
/**
|
|
1756
|
+
* Simulate claimRewards
|
|
1757
|
+
* Returns gas estimate and result without sending transaction
|
|
1758
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1759
|
+
*/
|
|
1760
|
+
claimRewards(ids: bigint[], options?: {
|
|
1761
|
+
accessList?: import("viem").AccessList;
|
|
1762
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1763
|
+
chain?: import("viem").Chain | null;
|
|
1764
|
+
dataSuffix?: `0x${string}`;
|
|
1765
|
+
gas?: bigint;
|
|
1766
|
+
gasPrice?: bigint;
|
|
1767
|
+
maxFeePerGas?: bigint;
|
|
1768
|
+
maxPriorityFeePerGas?: bigint;
|
|
1769
|
+
nonce?: number;
|
|
1770
|
+
value?: bigint;
|
|
1771
|
+
}): Promise<bigint>;
|
|
1772
|
+
/**
|
|
1773
|
+
* Simulate claimTopSpot
|
|
1774
|
+
* Returns gas estimate and result without sending transaction
|
|
1775
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1776
|
+
*/
|
|
1777
|
+
claimTopSpot(listingId: bigint, options?: {
|
|
1778
|
+
accessList?: import("viem").AccessList;
|
|
1779
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1780
|
+
chain?: import("viem").Chain | null;
|
|
1781
|
+
dataSuffix?: `0x${string}`;
|
|
1782
|
+
gas?: bigint;
|
|
1783
|
+
gasPrice?: bigint;
|
|
1784
|
+
maxFeePerGas?: bigint;
|
|
1785
|
+
maxPriorityFeePerGas?: bigint;
|
|
1786
|
+
nonce?: number;
|
|
1787
|
+
value?: bigint;
|
|
1788
|
+
}): Promise<void>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Simulate depositorReclaimBacking
|
|
1791
|
+
* Returns gas estimate and result without sending transaction
|
|
1792
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1793
|
+
*/
|
|
1794
|
+
depositorReclaimBacking(listingId: bigint, options?: {
|
|
1795
|
+
accessList?: import("viem").AccessList;
|
|
1796
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1797
|
+
chain?: import("viem").Chain | null;
|
|
1798
|
+
dataSuffix?: `0x${string}`;
|
|
1799
|
+
gas?: bigint;
|
|
1800
|
+
gasPrice?: bigint;
|
|
1801
|
+
maxFeePerGas?: bigint;
|
|
1802
|
+
maxPriorityFeePerGas?: bigint;
|
|
1803
|
+
nonce?: number;
|
|
1804
|
+
value?: bigint;
|
|
1805
|
+
}): Promise<void>;
|
|
1806
|
+
/**
|
|
1807
|
+
* Simulate depositorReclaimNFT
|
|
1808
|
+
* Returns gas estimate and result without sending transaction
|
|
1809
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1810
|
+
*/
|
|
1811
|
+
depositorReclaimNFT(listingId: bigint, options?: {
|
|
1812
|
+
accessList?: import("viem").AccessList;
|
|
1813
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1814
|
+
chain?: import("viem").Chain | null;
|
|
1815
|
+
dataSuffix?: `0x${string}`;
|
|
1816
|
+
gas?: bigint;
|
|
1817
|
+
gasPrice?: bigint;
|
|
1818
|
+
maxFeePerGas?: bigint;
|
|
1819
|
+
maxPriorityFeePerGas?: bigint;
|
|
1820
|
+
nonce?: number;
|
|
1821
|
+
value?: bigint;
|
|
1822
|
+
}): Promise<void>;
|
|
1823
|
+
/**
|
|
1824
|
+
* Simulate emergencyWithdrawERC20
|
|
1825
|
+
* Returns gas estimate and result without sending transaction
|
|
1826
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1827
|
+
*/
|
|
1828
|
+
emergencyWithdrawERC20(token_: `0x${string}`, to: `0x${string}`, amount: bigint, options?: {
|
|
1829
|
+
accessList?: import("viem").AccessList;
|
|
1830
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1831
|
+
chain?: import("viem").Chain | null;
|
|
1832
|
+
dataSuffix?: `0x${string}`;
|
|
1833
|
+
gas?: bigint;
|
|
1834
|
+
gasPrice?: bigint;
|
|
1835
|
+
maxFeePerGas?: bigint;
|
|
1836
|
+
maxPriorityFeePerGas?: bigint;
|
|
1837
|
+
nonce?: number;
|
|
1838
|
+
value?: bigint;
|
|
1839
|
+
}): Promise<void>;
|
|
1840
|
+
/**
|
|
1841
|
+
* Simulate emergencyWithdrawERC721
|
|
1842
|
+
* Returns gas estimate and result without sending transaction
|
|
1843
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1844
|
+
*/
|
|
1845
|
+
emergencyWithdrawERC721(collection: `0x${string}`, to: `0x${string}`, tokenId: bigint, options?: {
|
|
1846
|
+
accessList?: import("viem").AccessList;
|
|
1847
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1848
|
+
chain?: import("viem").Chain | null;
|
|
1849
|
+
dataSuffix?: `0x${string}`;
|
|
1850
|
+
gas?: bigint;
|
|
1851
|
+
gasPrice?: bigint;
|
|
1852
|
+
maxFeePerGas?: bigint;
|
|
1853
|
+
maxPriorityFeePerGas?: bigint;
|
|
1854
|
+
nonce?: number;
|
|
1855
|
+
value?: bigint;
|
|
1856
|
+
}): Promise<void>;
|
|
1857
|
+
/**
|
|
1858
|
+
* Simulate emergencyWithdrawETH
|
|
1859
|
+
* Returns gas estimate and result without sending transaction
|
|
1860
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1861
|
+
*/
|
|
1862
|
+
emergencyWithdrawETH(to: `0x${string}`, amount: bigint, options?: {
|
|
1863
|
+
accessList?: import("viem").AccessList;
|
|
1864
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1865
|
+
chain?: import("viem").Chain | null;
|
|
1866
|
+
dataSuffix?: `0x${string}`;
|
|
1867
|
+
gas?: bigint;
|
|
1868
|
+
gasPrice?: bigint;
|
|
1869
|
+
maxFeePerGas?: bigint;
|
|
1870
|
+
maxPriorityFeePerGas?: bigint;
|
|
1871
|
+
nonce?: number;
|
|
1872
|
+
value?: bigint;
|
|
1873
|
+
}): Promise<void>;
|
|
1874
|
+
/**
|
|
1875
|
+
* Simulate finalizeUnsettled
|
|
1876
|
+
* Returns gas estimate and result without sending transaction
|
|
1877
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1878
|
+
*/
|
|
1879
|
+
finalizeUnsettled(listingId: bigint, options?: {
|
|
1880
|
+
accessList?: import("viem").AccessList;
|
|
1881
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1882
|
+
chain?: import("viem").Chain | null;
|
|
1883
|
+
dataSuffix?: `0x${string}`;
|
|
1884
|
+
gas?: bigint;
|
|
1885
|
+
gasPrice?: bigint;
|
|
1886
|
+
maxFeePerGas?: bigint;
|
|
1887
|
+
maxPriorityFeePerGas?: bigint;
|
|
1888
|
+
nonce?: number;
|
|
1889
|
+
value?: bigint;
|
|
1890
|
+
}): Promise<void>;
|
|
1891
|
+
/**
|
|
1892
|
+
* Simulate fundOperator
|
|
1893
|
+
* Returns gas estimate and result without sending transaction
|
|
1894
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1895
|
+
*/
|
|
1896
|
+
fundOperator(amount: bigint, options?: {
|
|
1897
|
+
accessList?: import("viem").AccessList;
|
|
1898
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1899
|
+
chain?: import("viem").Chain | null;
|
|
1900
|
+
dataSuffix?: `0x${string}`;
|
|
1901
|
+
gas?: bigint;
|
|
1902
|
+
gasPrice?: bigint;
|
|
1903
|
+
maxFeePerGas?: bigint;
|
|
1904
|
+
maxPriorityFeePerGas?: bigint;
|
|
1905
|
+
nonce?: number;
|
|
1906
|
+
value?: bigint;
|
|
1907
|
+
}): Promise<void>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Simulate harvestFeesAndBurn
|
|
1910
|
+
* Returns gas estimate and result without sending transaction
|
|
1911
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1912
|
+
*/
|
|
1913
|
+
harvestFeesAndBurn(ids: bigint[], minTokensOut: bigint, options?: {
|
|
1914
|
+
accessList?: import("viem").AccessList;
|
|
1915
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1916
|
+
chain?: import("viem").Chain | null;
|
|
1917
|
+
dataSuffix?: `0x${string}`;
|
|
1918
|
+
gas?: bigint;
|
|
1919
|
+
gasPrice?: bigint;
|
|
1920
|
+
maxFeePerGas?: bigint;
|
|
1921
|
+
maxPriorityFeePerGas?: bigint;
|
|
1922
|
+
nonce?: number;
|
|
1923
|
+
value?: bigint;
|
|
1924
|
+
}): Promise<[bigint, bigint]>;
|
|
1925
|
+
/**
|
|
1926
|
+
* Simulate listOnFwa
|
|
1927
|
+
* Returns gas estimate and result without sending transaction
|
|
1928
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1929
|
+
*/
|
|
1930
|
+
listOnFwa(collection: `0x${string}`, tokenId: bigint, backingWei: bigint, options?: {
|
|
1931
|
+
accessList?: import("viem").AccessList;
|
|
1932
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1933
|
+
chain?: import("viem").Chain | null;
|
|
1934
|
+
dataSuffix?: `0x${string}`;
|
|
1935
|
+
gas?: bigint;
|
|
1936
|
+
gasPrice?: bigint;
|
|
1937
|
+
maxFeePerGas?: bigint;
|
|
1938
|
+
maxPriorityFeePerGas?: bigint;
|
|
1939
|
+
nonce?: number;
|
|
1940
|
+
value?: bigint;
|
|
1941
|
+
}): Promise<bigint>;
|
|
1942
|
+
/**
|
|
1943
|
+
* Simulate onERC721Received
|
|
1944
|
+
* Returns gas estimate and result without sending transaction
|
|
1945
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1946
|
+
*/
|
|
1947
|
+
onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`, options?: {
|
|
1948
|
+
accessList?: import("viem").AccessList;
|
|
1949
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1950
|
+
chain?: import("viem").Chain | null;
|
|
1951
|
+
dataSuffix?: `0x${string}`;
|
|
1952
|
+
gas?: bigint;
|
|
1953
|
+
gasPrice?: bigint;
|
|
1954
|
+
maxFeePerGas?: bigint;
|
|
1955
|
+
maxPriorityFeePerGas?: bigint;
|
|
1956
|
+
nonce?: number;
|
|
1957
|
+
value?: bigint;
|
|
1958
|
+
}): Promise<`0x${string}`>;
|
|
1959
|
+
/**
|
|
1960
|
+
* Simulate pause
|
|
1961
|
+
* Returns gas estimate and result without sending transaction
|
|
1962
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1963
|
+
*/
|
|
1964
|
+
pause(options?: {
|
|
1965
|
+
accessList?: import("viem").AccessList;
|
|
1966
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1967
|
+
chain?: import("viem").Chain | null;
|
|
1968
|
+
dataSuffix?: `0x${string}`;
|
|
1969
|
+
gas?: bigint;
|
|
1970
|
+
gasPrice?: bigint;
|
|
1971
|
+
maxFeePerGas?: bigint;
|
|
1972
|
+
maxPriorityFeePerGas?: bigint;
|
|
1973
|
+
nonce?: number;
|
|
1974
|
+
value?: bigint;
|
|
1975
|
+
}): Promise<void>;
|
|
1976
|
+
/**
|
|
1977
|
+
* Simulate recoverStuckNFT
|
|
1978
|
+
* Returns gas estimate and result without sending transaction
|
|
1979
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1980
|
+
*/
|
|
1981
|
+
recoverStuckNFT(listingId: bigint, options?: {
|
|
1982
|
+
accessList?: import("viem").AccessList;
|
|
1983
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
1984
|
+
chain?: import("viem").Chain | null;
|
|
1985
|
+
dataSuffix?: `0x${string}`;
|
|
1986
|
+
gas?: bigint;
|
|
1987
|
+
gasPrice?: bigint;
|
|
1988
|
+
maxFeePerGas?: bigint;
|
|
1989
|
+
maxPriorityFeePerGas?: bigint;
|
|
1990
|
+
nonce?: number;
|
|
1991
|
+
value?: bigint;
|
|
1992
|
+
}): Promise<void>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Simulate renounceOwnership
|
|
1995
|
+
* Returns gas estimate and result without sending transaction
|
|
1996
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1997
|
+
*/
|
|
1998
|
+
renounceOwnership(options?: {
|
|
1999
|
+
accessList?: import("viem").AccessList;
|
|
2000
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2001
|
+
chain?: import("viem").Chain | null;
|
|
2002
|
+
dataSuffix?: `0x${string}`;
|
|
2003
|
+
gas?: bigint;
|
|
2004
|
+
gasPrice?: bigint;
|
|
2005
|
+
maxFeePerGas?: bigint;
|
|
2006
|
+
maxPriorityFeePerGas?: bigint;
|
|
2007
|
+
nonce?: number;
|
|
2008
|
+
value?: bigint;
|
|
2009
|
+
}): Promise<void>;
|
|
2010
|
+
/**
|
|
2011
|
+
* Simulate returnFunds
|
|
2012
|
+
* Returns gas estimate and result without sending transaction
|
|
2013
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2014
|
+
*/
|
|
2015
|
+
returnFunds(options?: {
|
|
2016
|
+
accessList?: import("viem").AccessList;
|
|
2017
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2018
|
+
chain?: import("viem").Chain | null;
|
|
2019
|
+
dataSuffix?: `0x${string}`;
|
|
2020
|
+
gas?: bigint;
|
|
2021
|
+
gasPrice?: bigint;
|
|
2022
|
+
maxFeePerGas?: bigint;
|
|
2023
|
+
maxPriorityFeePerGas?: bigint;
|
|
2024
|
+
nonce?: number;
|
|
2025
|
+
value?: bigint;
|
|
2026
|
+
}): Promise<void>;
|
|
2027
|
+
/**
|
|
2028
|
+
* Simulate setBuybackSlippageBps
|
|
2029
|
+
* Returns gas estimate and result without sending transaction
|
|
2030
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2031
|
+
*/
|
|
2032
|
+
setBuybackSlippageBps(bps: bigint, options?: {
|
|
2033
|
+
accessList?: import("viem").AccessList;
|
|
2034
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2035
|
+
chain?: import("viem").Chain | null;
|
|
2036
|
+
dataSuffix?: `0x${string}`;
|
|
2037
|
+
gas?: bigint;
|
|
2038
|
+
gasPrice?: bigint;
|
|
2039
|
+
maxFeePerGas?: bigint;
|
|
2040
|
+
maxPriorityFeePerGas?: bigint;
|
|
2041
|
+
nonce?: number;
|
|
2042
|
+
value?: bigint;
|
|
2043
|
+
}): Promise<void>;
|
|
2044
|
+
/**
|
|
2045
|
+
* Simulate setLimits
|
|
2046
|
+
* Returns gas estimate and result without sending transaction
|
|
2047
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2048
|
+
*/
|
|
2049
|
+
setLimits(_maxBackingWei: bigint, _maxNftPriceWei: bigint, _maxPerTx: bigint, _maxPerDay: bigint, options?: {
|
|
2050
|
+
accessList?: import("viem").AccessList;
|
|
2051
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2052
|
+
chain?: import("viem").Chain | null;
|
|
2053
|
+
dataSuffix?: `0x${string}`;
|
|
2054
|
+
gas?: bigint;
|
|
2055
|
+
gasPrice?: bigint;
|
|
2056
|
+
maxFeePerGas?: bigint;
|
|
2057
|
+
maxPriorityFeePerGas?: bigint;
|
|
2058
|
+
nonce?: number;
|
|
2059
|
+
value?: bigint;
|
|
2060
|
+
}): Promise<void>;
|
|
2061
|
+
/**
|
|
2062
|
+
* Simulate setOperator
|
|
2063
|
+
* Returns gas estimate and result without sending transaction
|
|
2064
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2065
|
+
*/
|
|
2066
|
+
setOperator(_operator: `0x${string}`, options?: {
|
|
2067
|
+
accessList?: import("viem").AccessList;
|
|
2068
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2069
|
+
chain?: import("viem").Chain | null;
|
|
2070
|
+
dataSuffix?: `0x${string}`;
|
|
2071
|
+
gas?: bigint;
|
|
2072
|
+
gasPrice?: bigint;
|
|
2073
|
+
maxFeePerGas?: bigint;
|
|
2074
|
+
maxPriorityFeePerGas?: bigint;
|
|
2075
|
+
nonce?: number;
|
|
2076
|
+
value?: bigint;
|
|
2077
|
+
}): Promise<void>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Simulate transferOwnership
|
|
2080
|
+
* Returns gas estimate and result without sending transaction
|
|
2081
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2082
|
+
*/
|
|
2083
|
+
transferOwnership(newOwner: `0x${string}`, options?: {
|
|
2084
|
+
accessList?: import("viem").AccessList;
|
|
2085
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2086
|
+
chain?: import("viem").Chain | null;
|
|
2087
|
+
dataSuffix?: `0x${string}`;
|
|
2088
|
+
gas?: bigint;
|
|
2089
|
+
gasPrice?: bigint;
|
|
2090
|
+
maxFeePerGas?: bigint;
|
|
2091
|
+
maxPriorityFeePerGas?: bigint;
|
|
2092
|
+
nonce?: number;
|
|
2093
|
+
value?: bigint;
|
|
2094
|
+
}): Promise<void>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Simulate unlockCallback
|
|
2097
|
+
* Returns gas estimate and result without sending transaction
|
|
2098
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2099
|
+
*/
|
|
2100
|
+
unlockCallback(data: `0x${string}`, options?: {
|
|
2101
|
+
accessList?: import("viem").AccessList;
|
|
2102
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2103
|
+
chain?: import("viem").Chain | null;
|
|
2104
|
+
dataSuffix?: `0x${string}`;
|
|
2105
|
+
gas?: bigint;
|
|
2106
|
+
gasPrice?: bigint;
|
|
2107
|
+
maxFeePerGas?: bigint;
|
|
2108
|
+
maxPriorityFeePerGas?: bigint;
|
|
2109
|
+
nonce?: number;
|
|
2110
|
+
value?: bigint;
|
|
2111
|
+
}): Promise<`0x${string}`>;
|
|
2112
|
+
/**
|
|
2113
|
+
* Simulate unpause
|
|
2114
|
+
* Returns gas estimate and result without sending transaction
|
|
2115
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2116
|
+
*/
|
|
2117
|
+
unpause(options?: {
|
|
2118
|
+
accessList?: import("viem").AccessList;
|
|
2119
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2120
|
+
chain?: import("viem").Chain | null;
|
|
2121
|
+
dataSuffix?: `0x${string}`;
|
|
2122
|
+
gas?: bigint;
|
|
2123
|
+
gasPrice?: bigint;
|
|
2124
|
+
maxFeePerGas?: bigint;
|
|
2125
|
+
maxPriorityFeePerGas?: bigint;
|
|
2126
|
+
nonce?: number;
|
|
2127
|
+
value?: bigint;
|
|
2128
|
+
}): Promise<void>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Simulate updateBacking
|
|
2131
|
+
* Returns gas estimate and result without sending transaction
|
|
2132
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2133
|
+
*/
|
|
2134
|
+
updateBacking(listingId: bigint, newBacking: bigint, extraWei: bigint, options?: {
|
|
2135
|
+
accessList?: import("viem").AccessList;
|
|
2136
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2137
|
+
chain?: import("viem").Chain | null;
|
|
2138
|
+
dataSuffix?: `0x${string}`;
|
|
2139
|
+
gas?: bigint;
|
|
2140
|
+
gasPrice?: bigint;
|
|
2141
|
+
maxFeePerGas?: bigint;
|
|
2142
|
+
maxPriorityFeePerGas?: bigint;
|
|
2143
|
+
nonce?: number;
|
|
2144
|
+
value?: bigint;
|
|
2145
|
+
}): Promise<void>;
|
|
2146
|
+
/**
|
|
2147
|
+
* Simulate withdrawListing
|
|
2148
|
+
* Returns gas estimate and result without sending transaction
|
|
2149
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
2150
|
+
*/
|
|
2151
|
+
withdrawListing(listingId: bigint, options?: {
|
|
2152
|
+
accessList?: import("viem").AccessList;
|
|
2153
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
2154
|
+
chain?: import("viem").Chain | null;
|
|
2155
|
+
dataSuffix?: `0x${string}`;
|
|
2156
|
+
gas?: bigint;
|
|
2157
|
+
gasPrice?: bigint;
|
|
2158
|
+
maxFeePerGas?: bigint;
|
|
2159
|
+
maxPriorityFeePerGas?: bigint;
|
|
2160
|
+
nonce?: number;
|
|
2161
|
+
value?: bigint;
|
|
2162
|
+
}): Promise<void>;
|
|
2163
|
+
};
|
|
2164
|
+
/**
|
|
2165
|
+
* Watch contract events
|
|
2166
|
+
*
|
|
2167
|
+
* @example
|
|
2168
|
+
* // Watch all Transfer events
|
|
2169
|
+
* const unwatch = contract.watch.Transfer((event) => {
|
|
2170
|
+
* console.log('Transfer:', event);
|
|
2171
|
+
* });
|
|
2172
|
+
*
|
|
2173
|
+
* // Stop watching
|
|
2174
|
+
* unwatch();
|
|
2175
|
+
*/
|
|
2176
|
+
get watch(): {
|
|
2177
|
+
/**
|
|
2178
|
+
* Watch BackingUpdated events
|
|
2179
|
+
* @param callback Function to call when event is emitted
|
|
2180
|
+
* @param filter Optional filter for indexed parameters
|
|
2181
|
+
* @returns Unwatch function to stop listening
|
|
2182
|
+
*/
|
|
2183
|
+
BackingUpdated: (callback: (event: {
|
|
2184
|
+
listingId: bigint;
|
|
2185
|
+
newBacking: bigint;
|
|
2186
|
+
}) => void, filter?: {
|
|
2187
|
+
listingId: bigint;
|
|
2188
|
+
}) => () => void;
|
|
2189
|
+
/**
|
|
2190
|
+
* Watch BoughtAndListed events
|
|
2191
|
+
* @param callback Function to call when event is emitted
|
|
2192
|
+
* @param filter Optional filter for indexed parameters
|
|
2193
|
+
* @returns Unwatch function to stop listening
|
|
2194
|
+
*/
|
|
2195
|
+
BoughtAndListed: (callback: (event: {
|
|
2196
|
+
listingId: bigint;
|
|
2197
|
+
collection: `0x${string}`;
|
|
2198
|
+
tokenId: bigint;
|
|
2199
|
+
priceWei: bigint;
|
|
2200
|
+
}) => void, filter?: {
|
|
2201
|
+
listingId: bigint;
|
|
2202
|
+
collection: `0x${string}`;
|
|
2203
|
+
}) => () => void;
|
|
2204
|
+
/**
|
|
2205
|
+
* Watch BuybackBurned events
|
|
2206
|
+
* @param callback Function to call when event is emitted
|
|
2207
|
+
* @param filter Optional filter for indexed parameters
|
|
2208
|
+
* @returns Unwatch function to stop listening
|
|
2209
|
+
*/
|
|
2210
|
+
BuybackBurned: (callback: (event: {
|
|
2211
|
+
ethIn: bigint;
|
|
2212
|
+
tokensBurned: bigint;
|
|
2213
|
+
}) => void) => () => void;
|
|
2214
|
+
/**
|
|
2215
|
+
* Watch BuybackSlippageSet events
|
|
2216
|
+
* @param callback Function to call when event is emitted
|
|
2217
|
+
* @param filter Optional filter for indexed parameters
|
|
2218
|
+
* @returns Unwatch function to stop listening
|
|
2219
|
+
*/
|
|
2220
|
+
BuybackSlippageSet: (callback: (event: {
|
|
2221
|
+
bps: bigint;
|
|
2222
|
+
}) => void) => () => void;
|
|
2223
|
+
/**
|
|
2224
|
+
* Watch EmergencyWithdrawERC20 events
|
|
2225
|
+
* @param callback Function to call when event is emitted
|
|
2226
|
+
* @param filter Optional filter for indexed parameters
|
|
2227
|
+
* @returns Unwatch function to stop listening
|
|
2228
|
+
*/
|
|
2229
|
+
EmergencyWithdrawERC20: (callback: (event: {
|
|
2230
|
+
token: `0x${string}`;
|
|
2231
|
+
to: `0x${string}`;
|
|
2232
|
+
amount: bigint;
|
|
2233
|
+
}) => void, filter?: {
|
|
2234
|
+
token: `0x${string}`;
|
|
2235
|
+
to: `0x${string}`;
|
|
2236
|
+
}) => () => void;
|
|
2237
|
+
/**
|
|
2238
|
+
* Watch EmergencyWithdrawERC721 events
|
|
2239
|
+
* @param callback Function to call when event is emitted
|
|
2240
|
+
* @param filter Optional filter for indexed parameters
|
|
2241
|
+
* @returns Unwatch function to stop listening
|
|
2242
|
+
*/
|
|
2243
|
+
EmergencyWithdrawERC721: (callback: (event: {
|
|
2244
|
+
collection: `0x${string}`;
|
|
2245
|
+
to: `0x${string}`;
|
|
2246
|
+
tokenId: bigint;
|
|
2247
|
+
}) => void, filter?: {
|
|
2248
|
+
collection: `0x${string}`;
|
|
2249
|
+
to: `0x${string}`;
|
|
2250
|
+
}) => () => void;
|
|
2251
|
+
/**
|
|
2252
|
+
* Watch EmergencyWithdrawETH events
|
|
2253
|
+
* @param callback Function to call when event is emitted
|
|
2254
|
+
* @param filter Optional filter for indexed parameters
|
|
2255
|
+
* @returns Unwatch function to stop listening
|
|
2256
|
+
*/
|
|
2257
|
+
EmergencyWithdrawETH: (callback: (event: {
|
|
2258
|
+
to: `0x${string}`;
|
|
2259
|
+
amount: bigint;
|
|
2260
|
+
}) => void, filter?: {
|
|
2261
|
+
to: `0x${string}`;
|
|
2262
|
+
}) => () => void;
|
|
2263
|
+
/**
|
|
2264
|
+
* Watch FeesClaimed events
|
|
2265
|
+
* @param callback Function to call when event is emitted
|
|
2266
|
+
* @param filter Optional filter for indexed parameters
|
|
2267
|
+
* @returns Unwatch function to stop listening
|
|
2268
|
+
*/
|
|
2269
|
+
FeesClaimed: (callback: (event: {
|
|
2270
|
+
total: bigint;
|
|
2271
|
+
}) => void) => () => void;
|
|
2272
|
+
/**
|
|
2273
|
+
* Watch FundsReturned events
|
|
2274
|
+
* @param callback Function to call when event is emitted
|
|
2275
|
+
* @param filter Optional filter for indexed parameters
|
|
2276
|
+
* @returns Unwatch function to stop listening
|
|
2277
|
+
*/
|
|
2278
|
+
FundsReturned: (callback: (event: {
|
|
2279
|
+
amount: bigint;
|
|
2280
|
+
}) => void) => () => void;
|
|
2281
|
+
/**
|
|
2282
|
+
* Watch FwaRecovery events
|
|
2283
|
+
* @param callback Function to call when event is emitted
|
|
2284
|
+
* @param filter Optional filter for indexed parameters
|
|
2285
|
+
* @returns Unwatch function to stop listening
|
|
2286
|
+
*/
|
|
2287
|
+
FwaRecovery: (callback: (event: {
|
|
2288
|
+
listingId: bigint;
|
|
2289
|
+
action: string;
|
|
2290
|
+
}) => void, filter?: {
|
|
2291
|
+
listingId: bigint;
|
|
2292
|
+
}) => () => void;
|
|
2293
|
+
/**
|
|
2294
|
+
* Watch LimitsSet events
|
|
2295
|
+
* @param callback Function to call when event is emitted
|
|
2296
|
+
* @param filter Optional filter for indexed parameters
|
|
2297
|
+
* @returns Unwatch function to stop listening
|
|
2298
|
+
*/
|
|
2299
|
+
LimitsSet: (callback: (event: {
|
|
2300
|
+
maxBackingWei: bigint;
|
|
2301
|
+
maxNftPriceWei: bigint;
|
|
2302
|
+
maxPerTx: bigint;
|
|
2303
|
+
maxPerDay: bigint;
|
|
2304
|
+
}) => void) => () => void;
|
|
2305
|
+
/**
|
|
2306
|
+
* Watch ListedOnFwa events
|
|
2307
|
+
* @param callback Function to call when event is emitted
|
|
2308
|
+
* @param filter Optional filter for indexed parameters
|
|
2309
|
+
* @returns Unwatch function to stop listening
|
|
2310
|
+
*/
|
|
2311
|
+
ListedOnFwa: (callback: (event: {
|
|
2312
|
+
listingId: bigint;
|
|
2313
|
+
collection: `0x${string}`;
|
|
2314
|
+
tokenId: bigint;
|
|
2315
|
+
backingWei: bigint;
|
|
2316
|
+
}) => void, filter?: {
|
|
2317
|
+
listingId: bigint;
|
|
2318
|
+
collection: `0x${string}`;
|
|
2319
|
+
}) => () => void;
|
|
2320
|
+
/**
|
|
2321
|
+
* Watch OperatorFunded events
|
|
2322
|
+
* @param callback Function to call when event is emitted
|
|
2323
|
+
* @param filter Optional filter for indexed parameters
|
|
2324
|
+
* @returns Unwatch function to stop listening
|
|
2325
|
+
*/
|
|
2326
|
+
OperatorFunded: (callback: (event: {
|
|
2327
|
+
operator: `0x${string}`;
|
|
2328
|
+
amount: bigint;
|
|
2329
|
+
}) => void, filter?: {
|
|
2330
|
+
operator: `0x${string}`;
|
|
2331
|
+
}) => () => void;
|
|
2332
|
+
/**
|
|
2333
|
+
* Watch OperatorSet events
|
|
2334
|
+
* @param callback Function to call when event is emitted
|
|
2335
|
+
* @param filter Optional filter for indexed parameters
|
|
2336
|
+
* @returns Unwatch function to stop listening
|
|
2337
|
+
*/
|
|
2338
|
+
OperatorSet: (callback: (event: {
|
|
2339
|
+
operator: `0x${string}`;
|
|
2340
|
+
}) => void, filter?: {
|
|
2341
|
+
operator: `0x${string}`;
|
|
2342
|
+
}) => () => void;
|
|
2343
|
+
/**
|
|
2344
|
+
* Watch OwnershipTransferStarted events
|
|
2345
|
+
* @param callback Function to call when event is emitted
|
|
2346
|
+
* @param filter Optional filter for indexed parameters
|
|
2347
|
+
* @returns Unwatch function to stop listening
|
|
2348
|
+
*/
|
|
2349
|
+
OwnershipTransferStarted: (callback: (event: {
|
|
2350
|
+
previousOwner: `0x${string}`;
|
|
2351
|
+
newOwner: `0x${string}`;
|
|
2352
|
+
}) => void, filter?: {
|
|
2353
|
+
previousOwner: `0x${string}`;
|
|
2354
|
+
newOwner: `0x${string}`;
|
|
2355
|
+
}) => () => void;
|
|
2356
|
+
/**
|
|
2357
|
+
* Watch OwnershipTransferred events
|
|
2358
|
+
* @param callback Function to call when event is emitted
|
|
2359
|
+
* @param filter Optional filter for indexed parameters
|
|
2360
|
+
* @returns Unwatch function to stop listening
|
|
2361
|
+
*/
|
|
2362
|
+
OwnershipTransferred: (callback: (event: {
|
|
2363
|
+
previousOwner: `0x${string}`;
|
|
2364
|
+
newOwner: `0x${string}`;
|
|
2365
|
+
}) => void, filter?: {
|
|
2366
|
+
previousOwner: `0x${string}`;
|
|
2367
|
+
newOwner: `0x${string}`;
|
|
2368
|
+
}) => () => void;
|
|
2369
|
+
/**
|
|
2370
|
+
* Watch Paused events
|
|
2371
|
+
* @param callback Function to call when event is emitted
|
|
2372
|
+
* @param filter Optional filter for indexed parameters
|
|
2373
|
+
* @returns Unwatch function to stop listening
|
|
2374
|
+
*/
|
|
2375
|
+
Paused: (callback: (event: {
|
|
2376
|
+
account: `0x${string}`;
|
|
2377
|
+
}) => void) => () => void;
|
|
2378
|
+
/**
|
|
2379
|
+
* Watch RewardsClaimed events
|
|
2380
|
+
* @param callback Function to call when event is emitted
|
|
2381
|
+
* @param filter Optional filter for indexed parameters
|
|
2382
|
+
* @returns Unwatch function to stop listening
|
|
2383
|
+
*/
|
|
2384
|
+
RewardsClaimed: (callback: (event: {
|
|
2385
|
+
total: bigint;
|
|
2386
|
+
}) => void) => () => void;
|
|
2387
|
+
/**
|
|
2388
|
+
* Watch Unpaused events
|
|
2389
|
+
* @param callback Function to call when event is emitted
|
|
2390
|
+
* @param filter Optional filter for indexed parameters
|
|
2391
|
+
* @returns Unwatch function to stop listening
|
|
2392
|
+
*/
|
|
2393
|
+
Unpaused: (callback: (event: {
|
|
2394
|
+
account: `0x${string}`;
|
|
2395
|
+
}) => void) => () => void;
|
|
2396
|
+
};
|
|
2397
|
+
}
|