@gitmyabi/treasury 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,1014 +5,529 @@ import type { Address, PublicClient, WalletClient } from 'viem';
5
5
  * This ABI is typed using viem's type system for full type safety.
6
6
  */
7
7
  export declare const Treasury_jsonAbi: readonly [{
8
+ readonly anonymous: false;
8
9
  readonly inputs: readonly [{
9
- readonly internalType: "contract IFWA";
10
- readonly name: "_fwa";
11
- readonly type: "address";
12
- }, {
10
+ readonly indexed: false;
13
11
  readonly internalType: "address";
14
- readonly name: "_owner";
15
- readonly type: "address";
16
- }, {
17
- readonly internalType: "contract IPoolManager";
18
- readonly name: "_poolManager";
12
+ readonly name: "factory";
19
13
  readonly type: "address";
20
14
  }, {
15
+ readonly indexed: false;
21
16
  readonly internalType: "address";
22
- readonly name: "_token";
23
- readonly type: "address";
24
- }, {
25
- readonly internalType: "contract IHooks";
26
- readonly name: "_hook";
17
+ readonly name: "ruleList";
27
18
  readonly type: "address";
28
19
  }, {
20
+ readonly indexed: false;
29
21
  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";
22
+ readonly name: "escrowedDeposit";
115
23
  readonly type: "address";
116
24
  }];
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";
25
+ readonly name: "connectedContracts";
153
26
  readonly type: "event";
154
27
  }, {
155
28
  readonly anonymous: false;
156
29
  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
30
  readonly indexed: false;
168
31
  readonly internalType: "uint256";
169
- readonly name: "tokenId";
32
+ readonly name: "speedBumpIndex";
170
33
  readonly type: "uint256";
171
34
  }, {
172
35
  readonly indexed: false;
173
36
  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";
37
+ readonly name: "timeCreated";
185
38
  readonly type: "uint256";
186
39
  }, {
187
40
  readonly indexed: false;
188
41
  readonly internalType: "uint256";
189
- readonly name: "tokensBurned";
42
+ readonly name: "speedBumpHours";
190
43
  readonly type: "uint256";
191
44
  }];
192
- readonly name: "BuybackBurned";
45
+ readonly name: "updatedSpeedBump";
193
46
  readonly type: "event";
194
47
  }, {
195
48
  readonly anonymous: false;
196
49
  readonly inputs: readonly [{
197
50
  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";
51
+ readonly internalType: "string";
52
+ readonly name: "verificationDetails";
53
+ readonly type: "string";
216
54
  }, {
217
55
  readonly indexed: false;
218
- readonly internalType: "uint256";
219
- readonly name: "amount";
220
- readonly type: "uint256";
56
+ readonly internalType: "string";
57
+ readonly name: "locationOfDetails";
58
+ readonly type: "string";
221
59
  }];
222
- readonly name: "EmergencyWithdrawERC20";
60
+ readonly name: "updatedTreasuryFunctionVerification";
223
61
  readonly type: "event";
224
62
  }, {
225
63
  readonly anonymous: false;
226
64
  readonly inputs: readonly [{
227
- readonly indexed: true;
228
- readonly internalType: "address";
229
- readonly name: "collection";
230
- readonly type: "address";
231
- }, {
232
- readonly indexed: true;
65
+ readonly indexed: false;
233
66
  readonly internalType: "address";
234
- readonly name: "to";
67
+ readonly name: "newWithdrawalAddress";
235
68
  readonly type: "address";
236
69
  }, {
237
70
  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
71
  readonly internalType: "address";
249
- readonly name: "to";
72
+ readonly name: "newOperator";
250
73
  readonly type: "address";
251
74
  }, {
252
75
  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";
76
+ readonly internalType: "bool";
77
+ readonly name: "circuitBreaker";
78
+ readonly type: "bool";
291
79
  }];
292
- readonly name: "FwaRecovery";
80
+ readonly name: "updatedTreasuryMainVariables";
293
81
  readonly type: "event";
294
82
  }, {
295
83
  readonly anonymous: false;
296
84
  readonly inputs: readonly [{
297
85
  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";
86
+ readonly internalType: "uint16";
87
+ readonly name: "mappDisputeFeeMultipler";
88
+ readonly type: "uint16";
331
89
  }, {
332
90
  readonly indexed: false;
333
- readonly internalType: "uint256";
334
- readonly name: "tokenId";
335
- readonly type: "uint256";
91
+ readonly internalType: "uint16";
92
+ readonly name: "commissionDivider";
93
+ readonly type: "uint16";
336
94
  }, {
337
95
  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";
96
+ readonly internalType: "uint16";
97
+ readonly name: "gatewayPenaltyMultipler";
98
+ readonly type: "uint16";
351
99
  }, {
352
100
  readonly indexed: false;
353
- readonly internalType: "uint256";
354
- readonly name: "amount";
355
- readonly type: "uint256";
101
+ readonly internalType: "uint16";
102
+ readonly name: "treasuryPenaltyMultipler";
103
+ readonly type: "uint16";
356
104
  }];
357
- readonly name: "OperatorFunded";
105
+ readonly name: "updatedTreasuryVariables";
358
106
  readonly type: "event";
359
107
  }, {
360
- readonly anonymous: false;
361
- readonly inputs: readonly [{
362
- readonly indexed: true;
108
+ readonly constant: true;
109
+ readonly inputs: readonly [];
110
+ readonly name: "QNTAddress";
111
+ readonly outputs: readonly [{
363
112
  readonly internalType: "address";
364
- readonly name: "operator";
113
+ readonly name: "";
365
114
  readonly type: "address";
366
115
  }];
367
- readonly name: "OperatorSet";
368
- readonly type: "event";
116
+ readonly payable: false;
117
+ readonly stateMutability: "view";
118
+ readonly type: "function";
369
119
  }, {
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;
120
+ readonly constant: true;
121
+ readonly inputs: readonly [];
122
+ readonly name: "admin";
123
+ readonly outputs: readonly [{
378
124
  readonly internalType: "address";
379
- readonly name: "newOwner";
125
+ readonly name: "";
380
126
  readonly type: "address";
381
127
  }];
382
- readonly name: "OwnershipTransferStarted";
383
- readonly type: "event";
128
+ readonly payable: false;
129
+ readonly stateMutability: "view";
130
+ readonly type: "function";
384
131
  }, {
385
- readonly anonymous: false;
132
+ readonly constant: false;
386
133
  readonly inputs: readonly [{
387
- readonly indexed: true;
388
134
  readonly internalType: "address";
389
- readonly name: "previousOwner";
135
+ readonly name: "nextAdmin";
390
136
  readonly type: "address";
391
137
  }, {
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
138
  readonly internalType: "address";
404
- readonly name: "account";
139
+ readonly name: "nextImplementation";
405
140
  readonly type: "address";
406
141
  }];
407
- readonly name: "Paused";
408
- readonly type: "event";
142
+ readonly name: "changeProxyVariables";
143
+ readonly outputs: readonly [];
144
+ readonly payable: false;
145
+ readonly stateMutability: "nonpayable";
146
+ readonly type: "function";
409
147
  }, {
410
- readonly anonymous: false;
411
- readonly inputs: readonly [{
412
- readonly indexed: false;
413
- readonly internalType: "uint256";
414
- readonly name: "total";
415
- readonly type: "uint256";
148
+ readonly constant: true;
149
+ readonly inputs: readonly [];
150
+ readonly name: "circuitBreakerOn";
151
+ readonly outputs: readonly [{
152
+ readonly internalType: "bool";
153
+ readonly name: "";
154
+ readonly type: "bool";
416
155
  }];
417
- readonly name: "RewardsClaimed";
418
- readonly type: "event";
156
+ readonly payable: false;
157
+ readonly stateMutability: "view";
158
+ readonly type: "function";
419
159
  }, {
420
- readonly anonymous: false;
421
- readonly inputs: readonly [{
422
- readonly indexed: false;
423
- readonly internalType: "address";
424
- readonly name: "account";
425
- readonly type: "address";
160
+ readonly constant: true;
161
+ readonly inputs: readonly [];
162
+ readonly name: "commissionDivider";
163
+ readonly outputs: readonly [{
164
+ readonly internalType: "uint16";
165
+ readonly name: "";
166
+ readonly type: "uint16";
426
167
  }];
427
- readonly name: "Unpaused";
428
- readonly type: "event";
168
+ readonly payable: false;
169
+ readonly stateMutability: "view";
170
+ readonly type: "function";
429
171
  }, {
172
+ readonly constant: true;
430
173
  readonly inputs: readonly [];
431
- readonly name: "MAX_BUYBACK_SLIPPAGE_BPS";
174
+ readonly name: "gatewayPenaltyMultipler";
432
175
  readonly outputs: readonly [{
433
- readonly internalType: "uint256";
176
+ readonly internalType: "uint16";
434
177
  readonly name: "";
435
- readonly type: "uint256";
178
+ readonly type: "uint16";
436
179
  }];
180
+ readonly payable: false;
437
181
  readonly stateMutability: "view";
438
182
  readonly type: "function";
439
183
  }, {
184
+ readonly constant: true;
440
185
  readonly inputs: readonly [];
441
- readonly name: "acceptOwnership";
442
- readonly outputs: readonly [];
443
- readonly stateMutability: "nonpayable";
186
+ readonly name: "implementation";
187
+ readonly outputs: readonly [{
188
+ readonly internalType: "address";
189
+ readonly name: "";
190
+ readonly type: "address";
191
+ }];
192
+ readonly payable: false;
193
+ readonly stateMutability: "view";
444
194
  readonly type: "function";
445
195
  }, {
196
+ readonly constant: false;
446
197
  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";
198
+ readonly internalType: "address";
199
+ readonly name: "thisQNTAddress";
200
+ readonly type: "address";
464
201
  }, {
465
202
  readonly internalType: "address";
466
- readonly name: "collection";
203
+ readonly name: "thisOperatorAddress";
467
204
  readonly type: "address";
468
205
  }, {
469
- readonly internalType: "uint256";
470
- readonly name: "tokenId";
471
- readonly type: "uint256";
206
+ readonly internalType: "uint16";
207
+ readonly name: "mappDisputeFee";
208
+ readonly type: "uint16";
472
209
  }, {
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";
210
+ readonly internalType: "uint16";
211
+ readonly name: "commission";
212
+ readonly type: "uint16";
490
213
  }, {
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";
214
+ readonly internalType: "uint16";
215
+ readonly name: "treasuryPenalty";
216
+ readonly type: "uint16";
217
+ }, {
218
+ readonly internalType: "uint16";
219
+ readonly name: "gatewayPenalty";
220
+ readonly type: "uint16";
221
+ }, {
222
+ readonly internalType: "uint16";
223
+ readonly name: "speedBumpTime";
224
+ readonly type: "uint16";
500
225
  }];
226
+ readonly name: "initialize";
227
+ readonly outputs: readonly [];
228
+ readonly payable: false;
501
229
  readonly stateMutability: "nonpayable";
502
230
  readonly type: "function";
503
231
  }, {
232
+ readonly constant: true;
504
233
  readonly inputs: readonly [];
505
- readonly name: "buybackSlippageBps";
234
+ readonly name: "initialized";
506
235
  readonly outputs: readonly [{
507
- readonly internalType: "uint256";
236
+ readonly internalType: "bool";
508
237
  readonly name: "";
509
- readonly type: "uint256";
238
+ readonly type: "bool";
510
239
  }];
240
+ readonly payable: false;
511
241
  readonly stateMutability: "view";
512
242
  readonly type: "function";
513
243
  }, {
514
- readonly inputs: readonly [{
515
- readonly internalType: "uint256[]";
516
- readonly name: "ids";
517
- readonly type: "uint256[]";
518
- }];
519
- readonly name: "claimFees";
244
+ readonly constant: true;
245
+ readonly inputs: readonly [];
246
+ readonly name: "mappDisputeFeeMultipler";
520
247
  readonly outputs: readonly [{
521
- readonly internalType: "uint256";
522
- readonly name: "total";
523
- readonly type: "uint256";
248
+ readonly internalType: "uint16";
249
+ readonly name: "";
250
+ readonly type: "uint16";
524
251
  }];
525
- readonly stateMutability: "nonpayable";
252
+ readonly payable: false;
253
+ readonly stateMutability: "view";
526
254
  readonly type: "function";
527
255
  }, {
528
- readonly inputs: readonly [{
529
- readonly internalType: "uint256[]";
530
- readonly name: "ids";
531
- readonly type: "uint256[]";
532
- }];
533
- readonly name: "claimRewards";
256
+ readonly constant: true;
257
+ readonly inputs: readonly [];
258
+ readonly name: "operatorAddress";
534
259
  readonly outputs: readonly [{
535
- readonly internalType: "uint256";
536
- readonly name: "total";
537
- readonly type: "uint256";
260
+ readonly internalType: "address";
261
+ readonly name: "";
262
+ readonly type: "address";
538
263
  }];
539
- readonly stateMutability: "nonpayable";
264
+ readonly payable: false;
265
+ readonly stateMutability: "view";
540
266
  readonly type: "function";
541
267
  }, {
268
+ readonly constant: true;
542
269
  readonly inputs: readonly [{
543
- readonly internalType: "uint256";
544
- readonly name: "listingId";
545
- readonly type: "uint256";
270
+ readonly internalType: "bool";
271
+ readonly name: "gateway";
272
+ readonly type: "bool";
546
273
  }];
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";
274
+ readonly name: "readFunctionPenaltyMultipler";
554
275
  readonly outputs: readonly [{
555
276
  readonly internalType: "uint256";
556
277
  readonly name: "";
557
278
  readonly type: "uint256";
558
279
  }];
280
+ readonly payable: false;
559
281
  readonly stateMutability: "view";
560
282
  readonly type: "function";
561
283
  }, {
562
- readonly inputs: readonly [{
563
- readonly internalType: "uint256";
564
- readonly name: "listingId";
565
- readonly type: "uint256";
566
- }];
567
- readonly name: "depositorReclaimBacking";
284
+ readonly constant: false;
285
+ readonly inputs: readonly [];
286
+ readonly name: "setAdmin";
568
287
  readonly outputs: readonly [];
288
+ readonly payable: false;
569
289
  readonly stateMutability: "nonpayable";
570
290
  readonly type: "function";
571
291
  }, {
572
- readonly inputs: readonly [{
573
- readonly internalType: "uint256";
574
- readonly name: "listingId";
575
- readonly type: "uint256";
576
- }];
577
- readonly name: "depositorReclaimNFT";
292
+ readonly constant: false;
293
+ readonly inputs: readonly [];
294
+ readonly name: "setImplementation";
578
295
  readonly outputs: readonly [];
296
+ readonly payable: false;
579
297
  readonly stateMutability: "nonpayable";
580
298
  readonly type: "function";
581
299
  }, {
300
+ readonly constant: true;
582
301
  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";
302
+ readonly internalType: "uint8";
303
+ readonly name: "index";
304
+ readonly type: "uint8";
590
305
  }, {
591
- readonly internalType: "uint256";
592
- readonly name: "amount";
593
- readonly type: "uint256";
306
+ readonly internalType: "uint8";
307
+ readonly name: "addressIndex";
308
+ readonly type: "uint8";
594
309
  }];
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
- }, {
310
+ readonly name: "speedBumpAddresses";
311
+ readonly outputs: readonly [{
605
312
  readonly internalType: "address";
606
- readonly name: "to";
313
+ readonly name: "";
607
314
  readonly type: "address";
608
- }, {
609
- readonly internalType: "uint256";
610
- readonly name: "tokenId";
611
- readonly type: "uint256";
612
315
  }];
613
- readonly name: "emergencyWithdrawERC721";
614
- readonly outputs: readonly [];
615
- readonly stateMutability: "nonpayable";
316
+ readonly payable: false;
317
+ readonly stateMutability: "view";
616
318
  readonly type: "function";
617
319
  }, {
320
+ readonly constant: true;
618
321
  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";
322
+ readonly internalType: "uint8";
323
+ readonly name: "index";
324
+ readonly type: "uint8";
626
325
  }];
627
- readonly name: "emergencyWithdrawETH";
628
- readonly outputs: readonly [];
629
- readonly stateMutability: "nonpayable";
326
+ readonly name: "speedBumpCircuitBreaker";
327
+ readonly outputs: readonly [{
328
+ readonly internalType: "bool";
329
+ readonly name: "";
330
+ readonly type: "bool";
331
+ }];
332
+ readonly payable: false;
333
+ readonly stateMutability: "view";
630
334
  readonly type: "function";
631
335
  }, {
336
+ readonly constant: false;
632
337
  readonly inputs: readonly [{
633
- readonly internalType: "uint256";
634
- readonly name: "listingId";
635
- readonly type: "uint256";
338
+ readonly internalType: "address[]";
339
+ readonly name: "addresses";
340
+ readonly type: "address[]";
636
341
  }];
637
- readonly name: "finalizeUnsettled";
342
+ readonly name: "speedBumpContract";
638
343
  readonly outputs: readonly [];
344
+ readonly payable: false;
639
345
  readonly stateMutability: "nonpayable";
640
346
  readonly type: "function";
641
347
  }, {
348
+ readonly constant: true;
642
349
  readonly inputs: readonly [{
643
- readonly internalType: "uint256";
644
- readonly name: "amount";
645
- readonly type: "uint256";
350
+ readonly internalType: "uint8";
351
+ readonly name: "index";
352
+ readonly type: "uint8";
646
353
  }];
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";
354
+ readonly name: "speedBumpCurrentSBHours";
654
355
  readonly outputs: readonly [{
655
- readonly internalType: "contract IFWA";
356
+ readonly internalType: "uint16";
656
357
  readonly name: "";
657
- readonly type: "address";
358
+ readonly type: "uint16";
658
359
  }];
360
+ readonly payable: false;
659
361
  readonly stateMutability: "view";
660
362
  readonly type: "function";
661
363
  }, {
364
+ readonly constant: false;
662
365
  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";
366
+ readonly internalType: "uint16[]";
367
+ readonly name: "uint16s";
368
+ readonly type: "uint16[]";
680
369
  }];
370
+ readonly name: "speedBumpFee";
371
+ readonly outputs: readonly [];
372
+ readonly payable: false;
681
373
  readonly stateMutability: "nonpayable";
682
374
  readonly type: "function";
683
375
  }, {
376
+ readonly constant: true;
684
377
  readonly inputs: readonly [];
685
- readonly name: "hook";
378
+ readonly name: "speedBumpHours";
686
379
  readonly outputs: readonly [{
687
- readonly internalType: "contract IHooks";
380
+ readonly internalType: "uint16";
688
381
  readonly name: "";
689
- readonly type: "address";
382
+ readonly type: "uint16";
690
383
  }];
384
+ readonly payable: false;
691
385
  readonly stateMutability: "view";
692
386
  readonly type: "function";
693
387
  }, {
388
+ readonly constant: false;
694
389
  readonly inputs: readonly [{
695
- readonly internalType: "address";
696
- readonly name: "collection";
697
- readonly type: "address";
390
+ readonly internalType: "address[]";
391
+ readonly name: "addresses";
392
+ readonly type: "address[]";
698
393
  }, {
699
- readonly internalType: "uint256";
700
- readonly name: "tokenId";
701
- readonly type: "uint256";
394
+ readonly internalType: "uint16";
395
+ readonly name: "newSpeedBumpHours";
396
+ readonly type: "uint16";
702
397
  }, {
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";
398
+ readonly internalType: "bool";
399
+ readonly name: "circuitBreaker";
400
+ readonly type: "bool";
712
401
  }];
402
+ readonly name: "speedBumpMain";
403
+ readonly outputs: readonly [];
404
+ readonly payable: false;
713
405
  readonly stateMutability: "nonpayable";
714
406
  readonly type: "function";
715
407
  }, {
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
- }, {
408
+ readonly constant: true;
726
409
  readonly inputs: readonly [{
727
- readonly internalType: "uint256";
728
- readonly name: "";
729
- readonly type: "uint256";
410
+ readonly internalType: "uint8";
411
+ readonly name: "index";
412
+ readonly type: "uint8";
730
413
  }];
731
- readonly name: "listingIds";
414
+ readonly name: "speedBumpNextSBHours";
732
415
  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";
416
+ readonly internalType: "uint16";
754
417
  readonly name: "";
755
- readonly type: "uint256";
418
+ readonly type: "uint16";
756
419
  }];
420
+ readonly payable: false;
757
421
  readonly stateMutability: "view";
758
422
  readonly type: "function";
759
423
  }, {
760
- readonly inputs: readonly [];
761
- readonly name: "maxOperatorFundPerDay";
762
- readonly outputs: readonly [{
763
- readonly internalType: "uint256";
764
- readonly name: "";
765
- readonly type: "uint256";
424
+ readonly constant: true;
425
+ readonly inputs: readonly [{
426
+ readonly internalType: "uint8";
427
+ readonly name: "index";
428
+ readonly type: "uint8";
766
429
  }];
767
- readonly stateMutability: "view";
768
- readonly type: "function";
769
- }, {
770
- readonly inputs: readonly [];
771
- readonly name: "maxOperatorFundPerTx";
430
+ readonly name: "speedBumpTimeCreated";
772
431
  readonly outputs: readonly [{
773
432
  readonly internalType: "uint256";
774
433
  readonly name: "";
775
434
  readonly type: "uint256";
776
435
  }];
436
+ readonly payable: false;
777
437
  readonly stateMutability: "view";
778
438
  readonly type: "function";
779
439
  }, {
440
+ readonly constant: true;
780
441
  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";
442
+ readonly internalType: "uint8";
443
+ readonly name: "index";
444
+ readonly type: "uint8";
792
445
  }, {
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";
446
+ readonly internalType: "uint8";
447
+ readonly name: "uint16Index";
448
+ readonly type: "uint8";
802
449
  }];
803
- readonly stateMutability: "nonpayable";
804
- readonly type: "function";
805
- }, {
806
- readonly inputs: readonly [];
807
- readonly name: "operator";
450
+ readonly name: "speedBumpUint16s";
808
451
  readonly outputs: readonly [{
809
- readonly internalType: "address";
452
+ readonly internalType: "uint16";
810
453
  readonly name: "";
811
- readonly type: "address";
454
+ readonly type: "uint16";
812
455
  }];
456
+ readonly payable: false;
813
457
  readonly stateMutability: "view";
814
458
  readonly type: "function";
815
459
  }, {
460
+ readonly constant: true;
816
461
  readonly inputs: readonly [];
817
- readonly name: "operatorFundedToday";
462
+ readonly name: "treasuryPenaltyMultipler";
818
463
  readonly outputs: readonly [{
819
- readonly internalType: "uint256";
464
+ readonly internalType: "uint16";
820
465
  readonly name: "";
821
- readonly type: "uint256";
466
+ readonly type: "uint16";
822
467
  }];
468
+ readonly payable: false;
823
469
  readonly stateMutability: "view";
824
470
  readonly type: "function";
825
471
  }, {
472
+ readonly constant: true;
826
473
  readonly inputs: readonly [];
827
- readonly name: "owner";
474
+ readonly name: "treasurysDeposit";
828
475
  readonly outputs: readonly [{
829
476
  readonly internalType: "address";
830
477
  readonly name: "";
831
478
  readonly type: "address";
832
479
  }];
480
+ readonly payable: false;
833
481
  readonly stateMutability: "view";
834
482
  readonly type: "function";
835
483
  }, {
484
+ readonly constant: true;
836
485
  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";
486
+ readonly name: "treasurysFactory";
854
487
  readonly outputs: readonly [{
855
488
  readonly internalType: "address";
856
489
  readonly name: "";
857
490
  readonly type: "address";
858
491
  }];
492
+ readonly payable: false;
859
493
  readonly stateMutability: "view";
860
494
  readonly type: "function";
861
495
  }, {
496
+ readonly constant: true;
862
497
  readonly inputs: readonly [];
863
- readonly name: "poolManager";
498
+ readonly name: "treasurysRuleList";
864
499
  readonly outputs: readonly [{
865
- readonly internalType: "contract IPoolManager";
500
+ readonly internalType: "address";
866
501
  readonly name: "";
867
502
  readonly type: "address";
868
503
  }];
504
+ readonly payable: false;
869
505
  readonly stateMutability: "view";
870
506
  readonly type: "function";
871
507
  }, {
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
- }, {
508
+ readonly constant: false;
882
509
  readonly inputs: readonly [];
883
- readonly name: "renounceOwnership";
510
+ readonly name: "updateTreasuryContracts";
884
511
  readonly outputs: readonly [];
512
+ readonly payable: false;
885
513
  readonly stateMutability: "nonpayable";
886
514
  readonly type: "function";
887
515
  }, {
516
+ readonly constant: false;
888
517
  readonly inputs: readonly [];
889
- readonly name: "returnFunds";
518
+ readonly name: "updateTreasuryFeeVariables";
890
519
  readonly outputs: readonly [];
891
- readonly stateMutability: "payable";
520
+ readonly payable: false;
521
+ readonly stateMutability: "nonpayable";
892
522
  readonly type: "function";
893
523
  }, {
524
+ readonly constant: false;
894
525
  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";
526
+ readonly name: "updateTreasuryMainVariables";
910
527
  readonly outputs: readonly [];
528
+ readonly payable: false;
911
529
  readonly stateMutability: "nonpayable";
912
530
  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
531
  }];
1017
532
  /**
1018
533
  * Type-safe ABI for Treasury_json
@@ -1071,914 +586,295 @@ export declare class Treasury_json {
1071
586
  */
1072
587
  getContract(): Treasury_jsonContract;
1073
588
  /**
1074
- * MAX_BUYBACK_SLIPPAGE_BPS
1075
- * view
1076
- */
1077
- MAX_BUYBACK_SLIPPAGE_BPS(): Promise<bigint>;
1078
- /**
1079
- * buybackSlippageBps
589
+ * QNTAddress
1080
590
  * view
1081
591
  */
1082
- buybackSlippageBps(): Promise<bigint>;
592
+ QNTAddress(): Promise<`0x${string}`>;
1083
593
  /**
1084
- * currentDay
594
+ * admin
1085
595
  * view
1086
596
  */
1087
- currentDay(): Promise<bigint>;
597
+ admin(): Promise<`0x${string}`>;
1088
598
  /**
1089
- * fwa
599
+ * circuitBreakerOn
1090
600
  * view
1091
601
  */
1092
- fwa(): Promise<`0x${string}`>;
602
+ circuitBreakerOn(): Promise<boolean>;
1093
603
  /**
1094
- * hook
604
+ * commissionDivider
1095
605
  * view
1096
606
  */
1097
- hook(): Promise<`0x${string}`>;
607
+ commissionDivider(): Promise<bigint>;
1098
608
  /**
1099
- * listingCount
609
+ * gatewayPenaltyMultipler
1100
610
  * view
1101
611
  */
1102
- listingCount(): Promise<bigint>;
612
+ gatewayPenaltyMultipler(): Promise<bigint>;
1103
613
  /**
1104
- * listingIds
614
+ * implementation
1105
615
  * view
1106
616
  */
1107
- listingIds(arg0: bigint): Promise<bigint>;
617
+ implementation(): Promise<`0x${string}`>;
1108
618
  /**
1109
- * maxBackingWei
619
+ * initialized
1110
620
  * view
1111
621
  */
1112
- maxBackingWei(): Promise<bigint>;
622
+ initialized(): Promise<boolean>;
1113
623
  /**
1114
- * maxNftPriceWei
624
+ * mappDisputeFeeMultipler
1115
625
  * view
1116
626
  */
1117
- maxNftPriceWei(): Promise<bigint>;
627
+ mappDisputeFeeMultipler(): Promise<bigint>;
1118
628
  /**
1119
- * maxOperatorFundPerDay
629
+ * operatorAddress
1120
630
  * view
1121
631
  */
1122
- maxOperatorFundPerDay(): Promise<bigint>;
632
+ operatorAddress(): Promise<`0x${string}`>;
1123
633
  /**
1124
- * maxOperatorFundPerTx
634
+ * readFunctionPenaltyMultipler
1125
635
  * view
1126
636
  */
1127
- maxOperatorFundPerTx(): Promise<bigint>;
637
+ readFunctionPenaltyMultipler(gateway: boolean): Promise<bigint>;
1128
638
  /**
1129
- * operator
639
+ * speedBumpAddresses
1130
640
  * view
1131
641
  */
1132
- operator(): Promise<`0x${string}`>;
642
+ speedBumpAddresses(index: bigint, addressIndex: bigint): Promise<`0x${string}`>;
1133
643
  /**
1134
- * operatorFundedToday
644
+ * speedBumpCircuitBreaker
1135
645
  * view
1136
646
  */
1137
- operatorFundedToday(): Promise<bigint>;
647
+ speedBumpCircuitBreaker(index: bigint): Promise<boolean>;
1138
648
  /**
1139
- * owner
649
+ * speedBumpCurrentSBHours
1140
650
  * view
1141
651
  */
1142
- owner(): Promise<`0x${string}`>;
652
+ speedBumpCurrentSBHours(index: bigint): Promise<bigint>;
1143
653
  /**
1144
- * paused
654
+ * speedBumpHours
1145
655
  * view
1146
656
  */
1147
- paused(): Promise<boolean>;
657
+ speedBumpHours(): Promise<bigint>;
1148
658
  /**
1149
- * pendingOwner
659
+ * speedBumpNextSBHours
1150
660
  * view
1151
661
  */
1152
- pendingOwner(): Promise<`0x${string}`>;
662
+ speedBumpNextSBHours(index: bigint): Promise<bigint>;
1153
663
  /**
1154
- * poolManager
664
+ * speedBumpTimeCreated
1155
665
  * view
1156
666
  */
1157
- poolManager(): Promise<`0x${string}`>;
667
+ speedBumpTimeCreated(index: bigint): Promise<bigint>;
1158
668
  /**
1159
- * seaport
669
+ * speedBumpUint16s
1160
670
  * view
1161
671
  */
1162
- seaport(): Promise<`0x${string}`>;
672
+ speedBumpUint16s(index: bigint, uint16Index: bigint): Promise<bigint>;
1163
673
  /**
1164
- * token
674
+ * treasuryPenaltyMultipler
1165
675
  * 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>;
676
+ */
677
+ treasuryPenaltyMultipler(): Promise<bigint>;
678
+ /**
679
+ * treasurysDeposit
680
+ * view
681
+ */
682
+ treasurysDeposit(): Promise<`0x${string}`>;
683
+ /**
684
+ * treasurysFactory
685
+ * view
686
+ */
687
+ treasurysFactory(): Promise<`0x${string}`>;
688
+ /**
689
+ * treasurysRuleList
690
+ * view
691
+ */
692
+ treasurysRuleList(): Promise<`0x${string}`>;
693
+ /**
694
+ * changeProxyVariables
695
+ * nonpayable
696
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
697
+ */
698
+ changeProxyVariables(nextAdmin: `0x${string}`, nextImplementation: `0x${string}`, options?: {
699
+ accessList?: import('viem').AccessList;
700
+ authorizationList?: import('viem').AuthorizationList;
701
+ chain?: import('viem').Chain | null;
702
+ dataSuffix?: `0x${string}`;
703
+ gas?: bigint;
704
+ gasPrice?: bigint;
705
+ maxFeePerGas?: bigint;
706
+ maxPriorityFeePerGas?: bigint;
707
+ nonce?: number;
708
+ value?: bigint;
709
+ }): Promise<`0x${string}`>;
710
+ /**
711
+ * initialize
712
+ * nonpayable
713
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
714
+ */
715
+ initialize(thisQNTAddress: `0x${string}`, thisOperatorAddress: `0x${string}`, mappDisputeFee: bigint, commission: bigint, treasuryPenalty: bigint, gatewayPenalty: bigint, speedBumpTime: bigint, options?: {
716
+ accessList?: import('viem').AccessList;
717
+ authorizationList?: import('viem').AuthorizationList;
718
+ chain?: import('viem').Chain | null;
719
+ dataSuffix?: `0x${string}`;
720
+ gas?: bigint;
721
+ gasPrice?: bigint;
722
+ maxFeePerGas?: bigint;
723
+ maxPriorityFeePerGas?: bigint;
724
+ nonce?: number;
725
+ value?: bigint;
726
+ }): Promise<`0x${string}`>;
727
+ /**
728
+ * setAdmin
729
+ * nonpayable
730
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
731
+ */
732
+ setAdmin(options?: {
733
+ accessList?: import('viem').AccessList;
734
+ authorizationList?: import('viem').AuthorizationList;
735
+ chain?: import('viem').Chain | null;
736
+ dataSuffix?: `0x${string}`;
737
+ gas?: bigint;
738
+ gasPrice?: bigint;
739
+ maxFeePerGas?: bigint;
740
+ maxPriorityFeePerGas?: bigint;
741
+ nonce?: number;
742
+ value?: bigint;
743
+ }): Promise<`0x${string}`>;
744
+ /**
745
+ * setImplementation
746
+ * nonpayable
747
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
748
+ */
749
+ setImplementation(options?: {
750
+ accessList?: import('viem').AccessList;
751
+ authorizationList?: import('viem').AuthorizationList;
752
+ chain?: import('viem').Chain | null;
753
+ dataSuffix?: `0x${string}`;
754
+ gas?: bigint;
755
+ gasPrice?: bigint;
756
+ maxFeePerGas?: bigint;
757
+ maxPriorityFeePerGas?: bigint;
758
+ nonce?: number;
759
+ value?: bigint;
760
+ }): Promise<`0x${string}`>;
761
+ /**
762
+ * speedBumpContract
763
+ * nonpayable
764
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
765
+ */
766
+ speedBumpContract(addresses: `0x${string}`[], options?: {
767
+ accessList?: import('viem').AccessList;
768
+ authorizationList?: import('viem').AuthorizationList;
769
+ chain?: import('viem').Chain | null;
770
+ dataSuffix?: `0x${string}`;
771
+ gas?: bigint;
772
+ gasPrice?: bigint;
773
+ maxFeePerGas?: bigint;
774
+ maxPriorityFeePerGas?: bigint;
775
+ nonce?: number;
776
+ value?: bigint;
777
+ }): Promise<`0x${string}`>;
778
+ /**
779
+ * speedBumpFee
780
+ * nonpayable
781
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
782
+ */
783
+ speedBumpFee(uint16s: bigint[], options?: {
784
+ accessList?: import('viem').AccessList;
785
+ authorizationList?: import('viem').AuthorizationList;
786
+ chain?: import('viem').Chain | null;
787
+ dataSuffix?: `0x${string}`;
788
+ gas?: bigint;
789
+ gasPrice?: bigint;
790
+ maxFeePerGas?: bigint;
791
+ maxPriorityFeePerGas?: bigint;
792
+ nonce?: number;
793
+ value?: bigint;
794
+ }): Promise<`0x${string}`>;
795
+ /**
796
+ * speedBumpMain
797
+ * nonpayable
798
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
799
+ */
800
+ speedBumpMain(addresses: `0x${string}`[], newSpeedBumpHours: bigint, circuitBreaker: boolean, options?: {
801
+ accessList?: import('viem').AccessList;
802
+ authorizationList?: import('viem').AuthorizationList;
803
+ chain?: import('viem').Chain | null;
804
+ dataSuffix?: `0x${string}`;
805
+ gas?: bigint;
806
+ gasPrice?: bigint;
807
+ maxFeePerGas?: bigint;
808
+ maxPriorityFeePerGas?: bigint;
809
+ nonce?: number;
810
+ value?: bigint;
811
+ }): Promise<`0x${string}`>;
812
+ /**
813
+ * updateTreasuryContracts
814
+ * nonpayable
815
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
816
+ */
817
+ updateTreasuryContracts(options?: {
818
+ accessList?: import('viem').AccessList;
819
+ authorizationList?: import('viem').AuthorizationList;
820
+ chain?: import('viem').Chain | null;
821
+ dataSuffix?: `0x${string}`;
822
+ gas?: bigint;
823
+ gasPrice?: bigint;
824
+ maxFeePerGas?: bigint;
825
+ maxPriorityFeePerGas?: bigint;
826
+ nonce?: number;
827
+ value?: bigint;
828
+ }): Promise<`0x${string}`>;
829
+ /**
830
+ * updateTreasuryFeeVariables
831
+ * nonpayable
832
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
833
+ */
834
+ updateTreasuryFeeVariables(options?: {
835
+ accessList?: import('viem').AccessList;
836
+ authorizationList?: import('viem').AuthorizationList;
837
+ chain?: import('viem').Chain | null;
838
+ dataSuffix?: `0x${string}`;
839
+ gas?: bigint;
840
+ gasPrice?: bigint;
841
+ maxFeePerGas?: bigint;
842
+ maxPriorityFeePerGas?: bigint;
843
+ nonce?: number;
844
+ value?: bigint;
845
+ }): Promise<`0x${string}`>;
846
+ /**
847
+ * updateTreasuryMainVariables
848
+ * nonpayable
849
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
850
+ */
851
+ updateTreasuryMainVariables(options?: {
852
+ accessList?: import('viem').AccessList;
853
+ authorizationList?: import('viem').AuthorizationList;
854
+ chain?: import('viem').Chain | null;
855
+ dataSuffix?: `0x${string}`;
856
+ gas?: bigint;
857
+ gasPrice?: bigint;
858
+ maxFeePerGas?: bigint;
859
+ maxPriorityFeePerGas?: bigint;
860
+ nonce?: number;
861
+ value?: bigint;
862
+ }): Promise<`0x${string}`>;
863
+ /**
864
+ * Simulate contract write operations (dry-run without sending transaction)
865
+ *
866
+ * @example
867
+ * const result = await contract.simulate.transfer('0x...', 1000n);
868
+ * console.log('Gas estimate:', result.request.gas);
869
+ * console.log('Would succeed:', result.result);
870
+ */
871
+ get simulate(): {
1976
872
  /**
1977
- * Simulate recoverStuckNFT
873
+ * Simulate changeProxyVariables
1978
874
  * Returns gas estimate and result without sending transaction
1979
875
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1980
876
  */
1981
- recoverStuckNFT(listingId: bigint, options?: {
877
+ changeProxyVariables(nextAdmin: `0x${string}`, nextImplementation: `0x${string}`, options?: {
1982
878
  accessList?: import("viem").AccessList;
1983
879
  authorizationList?: import("viem").AuthorizationList;
1984
880
  chain?: import("viem").Chain | null;
@@ -1991,11 +887,11 @@ export declare class Treasury_json {
1991
887
  value?: bigint;
1992
888
  }): Promise<void>;
1993
889
  /**
1994
- * Simulate renounceOwnership
890
+ * Simulate initialize
1995
891
  * Returns gas estimate and result without sending transaction
1996
892
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1997
893
  */
1998
- renounceOwnership(options?: {
894
+ initialize(thisQNTAddress: `0x${string}`, thisOperatorAddress: `0x${string}`, mappDisputeFee: bigint, commission: bigint, treasuryPenalty: bigint, gatewayPenalty: bigint, speedBumpTime: bigint, options?: {
1999
895
  accessList?: import("viem").AccessList;
2000
896
  authorizationList?: import("viem").AuthorizationList;
2001
897
  chain?: import("viem").Chain | null;
@@ -2008,11 +904,11 @@ export declare class Treasury_json {
2008
904
  value?: bigint;
2009
905
  }): Promise<void>;
2010
906
  /**
2011
- * Simulate returnFunds
907
+ * Simulate setAdmin
2012
908
  * Returns gas estimate and result without sending transaction
2013
909
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2014
910
  */
2015
- returnFunds(options?: {
911
+ setAdmin(options?: {
2016
912
  accessList?: import("viem").AccessList;
2017
913
  authorizationList?: import("viem").AuthorizationList;
2018
914
  chain?: import("viem").Chain | null;
@@ -2025,11 +921,11 @@ export declare class Treasury_json {
2025
921
  value?: bigint;
2026
922
  }): Promise<void>;
2027
923
  /**
2028
- * Simulate setBuybackSlippageBps
924
+ * Simulate setImplementation
2029
925
  * Returns gas estimate and result without sending transaction
2030
926
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2031
927
  */
2032
- setBuybackSlippageBps(bps: bigint, options?: {
928
+ setImplementation(options?: {
2033
929
  accessList?: import("viem").AccessList;
2034
930
  authorizationList?: import("viem").AuthorizationList;
2035
931
  chain?: import("viem").Chain | null;
@@ -2042,11 +938,11 @@ export declare class Treasury_json {
2042
938
  value?: bigint;
2043
939
  }): Promise<void>;
2044
940
  /**
2045
- * Simulate setLimits
941
+ * Simulate speedBumpContract
2046
942
  * Returns gas estimate and result without sending transaction
2047
943
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2048
944
  */
2049
- setLimits(_maxBackingWei: bigint, _maxNftPriceWei: bigint, _maxPerTx: bigint, _maxPerDay: bigint, options?: {
945
+ speedBumpContract(addresses: `0x${string}`[], options?: {
2050
946
  accessList?: import("viem").AccessList;
2051
947
  authorizationList?: import("viem").AuthorizationList;
2052
948
  chain?: import("viem").Chain | null;
@@ -2059,11 +955,11 @@ export declare class Treasury_json {
2059
955
  value?: bigint;
2060
956
  }): Promise<void>;
2061
957
  /**
2062
- * Simulate setOperator
958
+ * Simulate speedBumpFee
2063
959
  * Returns gas estimate and result without sending transaction
2064
960
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2065
961
  */
2066
- setOperator(_operator: `0x${string}`, options?: {
962
+ speedBumpFee(uint16s: bigint[], options?: {
2067
963
  accessList?: import("viem").AccessList;
2068
964
  authorizationList?: import("viem").AuthorizationList;
2069
965
  chain?: import("viem").Chain | null;
@@ -2076,11 +972,11 @@ export declare class Treasury_json {
2076
972
  value?: bigint;
2077
973
  }): Promise<void>;
2078
974
  /**
2079
- * Simulate transferOwnership
975
+ * Simulate speedBumpMain
2080
976
  * Returns gas estimate and result without sending transaction
2081
977
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2082
978
  */
2083
- transferOwnership(newOwner: `0x${string}`, options?: {
979
+ speedBumpMain(addresses: `0x${string}`[], newSpeedBumpHours: bigint, circuitBreaker: boolean, options?: {
2084
980
  accessList?: import("viem").AccessList;
2085
981
  authorizationList?: import("viem").AuthorizationList;
2086
982
  chain?: import("viem").Chain | null;
@@ -2093,28 +989,11 @@ export declare class Treasury_json {
2093
989
  value?: bigint;
2094
990
  }): Promise<void>;
2095
991
  /**
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
992
+ * Simulate updateTreasuryContracts
2114
993
  * Returns gas estimate and result without sending transaction
2115
994
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2116
995
  */
2117
- unpause(options?: {
996
+ updateTreasuryContracts(options?: {
2118
997
  accessList?: import("viem").AccessList;
2119
998
  authorizationList?: import("viem").AuthorizationList;
2120
999
  chain?: import("viem").Chain | null;
@@ -2127,11 +1006,11 @@ export declare class Treasury_json {
2127
1006
  value?: bigint;
2128
1007
  }): Promise<void>;
2129
1008
  /**
2130
- * Simulate updateBacking
1009
+ * Simulate updateTreasuryFeeVariables
2131
1010
  * Returns gas estimate and result without sending transaction
2132
1011
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2133
1012
  */
2134
- updateBacking(listingId: bigint, newBacking: bigint, extraWei: bigint, options?: {
1013
+ updateTreasuryFeeVariables(options?: {
2135
1014
  accessList?: import("viem").AccessList;
2136
1015
  authorizationList?: import("viem").AuthorizationList;
2137
1016
  chain?: import("viem").Chain | null;
@@ -2144,11 +1023,11 @@ export declare class Treasury_json {
2144
1023
  value?: bigint;
2145
1024
  }): Promise<void>;
2146
1025
  /**
2147
- * Simulate withdrawListing
1026
+ * Simulate updateTreasuryMainVariables
2148
1027
  * Returns gas estimate and result without sending transaction
2149
1028
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
2150
1029
  */
2151
- withdrawListing(listingId: bigint, options?: {
1030
+ updateTreasuryMainVariables(options?: {
2152
1031
  accessList?: import("viem").AccessList;
2153
1032
  authorizationList?: import("viem").AuthorizationList;
2154
1033
  chain?: import("viem").Chain | null;
@@ -2175,223 +1054,59 @@ export declare class Treasury_json {
2175
1054
  */
2176
1055
  get watch(): {
2177
1056
  /**
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
1057
+ * Watch connectedContracts events
2274
1058
  * @param callback Function to call when event is emitted
2275
1059
  * @param filter Optional filter for indexed parameters
2276
1060
  * @returns Unwatch function to stop listening
2277
1061
  */
2278
- FundsReturned: (callback: (event: {
2279
- amount: bigint;
1062
+ connectedContracts: (callback: (event: {
1063
+ factory: `0x${string}`;
1064
+ ruleList: `0x${string}`;
1065
+ escrowedDeposit: `0x${string}`;
2280
1066
  }) => void) => () => void;
2281
1067
  /**
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
1068
+ * Watch updatedSpeedBump events
2295
1069
  * @param callback Function to call when event is emitted
2296
1070
  * @param filter Optional filter for indexed parameters
2297
1071
  * @returns Unwatch function to stop listening
2298
1072
  */
2299
- LimitsSet: (callback: (event: {
2300
- maxBackingWei: bigint;
2301
- maxNftPriceWei: bigint;
2302
- maxPerTx: bigint;
2303
- maxPerDay: bigint;
1073
+ updatedSpeedBump: (callback: (event: {
1074
+ speedBumpIndex: bigint;
1075
+ timeCreated: bigint;
1076
+ speedBumpHours: bigint;
2304
1077
  }) => void) => () => void;
2305
1078
  /**
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
1079
+ * Watch updatedTreasuryFunctionVerification events
2371
1080
  * @param callback Function to call when event is emitted
2372
1081
  * @param filter Optional filter for indexed parameters
2373
1082
  * @returns Unwatch function to stop listening
2374
1083
  */
2375
- Paused: (callback: (event: {
2376
- account: `0x${string}`;
1084
+ updatedTreasuryFunctionVerification: (callback: (event: {
1085
+ verificationDetails: string;
1086
+ locationOfDetails: string;
2377
1087
  }) => void) => () => void;
2378
1088
  /**
2379
- * Watch RewardsClaimed events
1089
+ * Watch updatedTreasuryMainVariables events
2380
1090
  * @param callback Function to call when event is emitted
2381
1091
  * @param filter Optional filter for indexed parameters
2382
1092
  * @returns Unwatch function to stop listening
2383
1093
  */
2384
- RewardsClaimed: (callback: (event: {
2385
- total: bigint;
1094
+ updatedTreasuryMainVariables: (callback: (event: {
1095
+ newWithdrawalAddress: `0x${string}`;
1096
+ newOperator: `0x${string}`;
1097
+ circuitBreaker: boolean;
2386
1098
  }) => void) => () => void;
2387
1099
  /**
2388
- * Watch Unpaused events
1100
+ * Watch updatedTreasuryVariables events
2389
1101
  * @param callback Function to call when event is emitted
2390
1102
  * @param filter Optional filter for indexed parameters
2391
1103
  * @returns Unwatch function to stop listening
2392
1104
  */
2393
- Unpaused: (callback: (event: {
2394
- account: `0x${string}`;
1105
+ updatedTreasuryVariables: (callback: (event: {
1106
+ mappDisputeFeeMultipler: bigint;
1107
+ commissionDivider: bigint;
1108
+ gatewayPenaltyMultipler: bigint;
1109
+ treasuryPenaltyMultipler: bigint;
2395
1110
  }) => void) => () => void;
2396
1111
  };
2397
1112
  }