@gitmyabi/treasury 1.0.2 → 1.0.3

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,529 +5,633 @@ 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;
9
8
  readonly inputs: readonly [{
10
- readonly indexed: false;
11
9
  readonly internalType: "address";
12
- readonly name: "factory";
10
+ readonly name: "_manager";
13
11
  readonly type: "address";
14
- }, {
15
- readonly indexed: false;
12
+ }];
13
+ readonly stateMutability: "payable";
14
+ readonly type: "constructor";
15
+ }, {
16
+ readonly inputs: readonly [];
17
+ readonly name: "ADDRESS_ZERO";
18
+ readonly type: "error";
19
+ }, {
20
+ readonly inputs: readonly [];
21
+ readonly name: "ALREADY_INITIALIZED";
22
+ readonly type: "error";
23
+ }, {
24
+ readonly inputs: readonly [];
25
+ readonly name: "DELEGATE_CALL_FAILED";
26
+ readonly type: "error";
27
+ }, {
28
+ readonly inputs: readonly [];
29
+ readonly name: "EXECUTION_EXPIRED";
30
+ readonly type: "error";
31
+ }, {
32
+ readonly inputs: readonly [{
33
+ readonly internalType: "uint256";
34
+ readonly name: "txIndex";
35
+ readonly type: "uint256";
36
+ }];
37
+ readonly name: "EXECUTION_FAILED";
38
+ readonly type: "error";
39
+ }, {
40
+ readonly inputs: readonly [{
41
+ readonly internalType: "bytes32";
42
+ readonly name: "proposalId";
43
+ readonly type: "bytes32";
44
+ }];
45
+ readonly name: "EXECUTION_NOT_READY";
46
+ readonly type: "error";
47
+ }, {
48
+ readonly inputs: readonly [];
49
+ readonly name: "INITIALIZING";
50
+ readonly type: "error";
51
+ }, {
52
+ readonly inputs: readonly [];
53
+ readonly name: "INVALID_TARGET";
54
+ readonly type: "error";
55
+ }, {
56
+ readonly inputs: readonly [{
16
57
  readonly internalType: "address";
17
- readonly name: "ruleList";
58
+ readonly name: "impl";
18
59
  readonly type: "address";
60
+ }];
61
+ readonly name: "INVALID_UPGRADE";
62
+ readonly type: "error";
63
+ }, {
64
+ readonly inputs: readonly [];
65
+ readonly name: "NOT_INITIALIZING";
66
+ readonly type: "error";
67
+ }, {
68
+ readonly inputs: readonly [];
69
+ readonly name: "ONLY_CALL";
70
+ readonly type: "error";
71
+ }, {
72
+ readonly inputs: readonly [];
73
+ readonly name: "ONLY_DELEGATECALL";
74
+ readonly type: "error";
75
+ }, {
76
+ readonly inputs: readonly [];
77
+ readonly name: "ONLY_MANAGER";
78
+ readonly type: "error";
79
+ }, {
80
+ readonly inputs: readonly [];
81
+ readonly name: "ONLY_OWNER";
82
+ readonly type: "error";
83
+ }, {
84
+ readonly inputs: readonly [];
85
+ readonly name: "ONLY_PENDING_OWNER";
86
+ readonly type: "error";
87
+ }, {
88
+ readonly inputs: readonly [];
89
+ readonly name: "ONLY_PROXY";
90
+ readonly type: "error";
91
+ }, {
92
+ readonly inputs: readonly [];
93
+ readonly name: "ONLY_TREASURY";
94
+ readonly type: "error";
95
+ }, {
96
+ readonly inputs: readonly [];
97
+ readonly name: "ONLY_UUPS";
98
+ readonly type: "error";
99
+ }, {
100
+ readonly inputs: readonly [];
101
+ readonly name: "PROPOSAL_ALREADY_QUEUED";
102
+ readonly type: "error";
103
+ }, {
104
+ readonly inputs: readonly [];
105
+ readonly name: "PROPOSAL_NOT_QUEUED";
106
+ readonly type: "error";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "UNSAFE_CAST";
110
+ readonly type: "error";
111
+ }, {
112
+ readonly inputs: readonly [];
113
+ readonly name: "UNSUPPORTED_UUID";
114
+ readonly type: "error";
115
+ }, {
116
+ readonly anonymous: false;
117
+ readonly inputs: readonly [{
118
+ readonly indexed: false;
119
+ readonly internalType: "uint256";
120
+ readonly name: "prevDelay";
121
+ readonly type: "uint256";
19
122
  }, {
20
123
  readonly indexed: false;
21
- readonly internalType: "address";
22
- readonly name: "escrowedDeposit";
23
- readonly type: "address";
124
+ readonly internalType: "uint256";
125
+ readonly name: "newDelay";
126
+ readonly type: "uint256";
24
127
  }];
25
- readonly name: "connectedContracts";
128
+ readonly name: "DelayUpdated";
26
129
  readonly type: "event";
27
130
  }, {
28
131
  readonly anonymous: false;
29
132
  readonly inputs: readonly [{
30
133
  readonly indexed: false;
31
134
  readonly internalType: "uint256";
32
- readonly name: "speedBumpIndex";
135
+ readonly name: "prevGracePeriod";
33
136
  readonly type: "uint256";
34
137
  }, {
35
138
  readonly indexed: false;
36
139
  readonly internalType: "uint256";
37
- readonly name: "timeCreated";
140
+ readonly name: "newGracePeriod";
38
141
  readonly type: "uint256";
39
- }, {
142
+ }];
143
+ readonly name: "GracePeriodUpdated";
144
+ readonly type: "event";
145
+ }, {
146
+ readonly anonymous: false;
147
+ readonly inputs: readonly [{
40
148
  readonly indexed: false;
41
149
  readonly internalType: "uint256";
42
- readonly name: "speedBumpHours";
150
+ readonly name: "version";
43
151
  readonly type: "uint256";
44
152
  }];
45
- readonly name: "updatedSpeedBump";
153
+ readonly name: "Initialized";
46
154
  readonly type: "event";
47
155
  }, {
48
156
  readonly anonymous: false;
49
157
  readonly inputs: readonly [{
50
- readonly indexed: false;
51
- readonly internalType: "string";
52
- readonly name: "verificationDetails";
53
- readonly type: "string";
158
+ readonly indexed: true;
159
+ readonly internalType: "address";
160
+ readonly name: "owner";
161
+ readonly type: "address";
54
162
  }, {
55
- readonly indexed: false;
56
- readonly internalType: "string";
57
- readonly name: "locationOfDetails";
58
- readonly type: "string";
163
+ readonly indexed: true;
164
+ readonly internalType: "address";
165
+ readonly name: "canceledOwner";
166
+ readonly type: "address";
59
167
  }];
60
- readonly name: "updatedTreasuryFunctionVerification";
168
+ readonly name: "OwnerCanceled";
61
169
  readonly type: "event";
62
170
  }, {
63
171
  readonly anonymous: false;
64
172
  readonly inputs: readonly [{
65
- readonly indexed: false;
173
+ readonly indexed: true;
66
174
  readonly internalType: "address";
67
- readonly name: "newWithdrawalAddress";
175
+ readonly name: "owner";
68
176
  readonly type: "address";
69
177
  }, {
70
- readonly indexed: false;
178
+ readonly indexed: true;
179
+ readonly internalType: "address";
180
+ readonly name: "pendingOwner";
181
+ readonly type: "address";
182
+ }];
183
+ readonly name: "OwnerPending";
184
+ readonly type: "event";
185
+ }, {
186
+ readonly anonymous: false;
187
+ readonly inputs: readonly [{
188
+ readonly indexed: true;
71
189
  readonly internalType: "address";
72
- readonly name: "newOperator";
190
+ readonly name: "prevOwner";
73
191
  readonly type: "address";
74
192
  }, {
193
+ readonly indexed: true;
194
+ readonly internalType: "address";
195
+ readonly name: "newOwner";
196
+ readonly type: "address";
197
+ }];
198
+ readonly name: "OwnerUpdated";
199
+ readonly type: "event";
200
+ }, {
201
+ readonly anonymous: false;
202
+ readonly inputs: readonly [{
75
203
  readonly indexed: false;
76
- readonly internalType: "bool";
77
- readonly name: "circuitBreaker";
78
- readonly type: "bool";
204
+ readonly internalType: "bytes32";
205
+ readonly name: "proposalId";
206
+ readonly type: "bytes32";
79
207
  }];
80
- readonly name: "updatedTreasuryMainVariables";
208
+ readonly name: "TransactionCanceled";
81
209
  readonly type: "event";
82
210
  }, {
83
211
  readonly anonymous: false;
84
212
  readonly inputs: readonly [{
85
213
  readonly indexed: false;
86
- readonly internalType: "uint16";
87
- readonly name: "mappDisputeFeeMultipler";
88
- readonly type: "uint16";
214
+ readonly internalType: "bytes32";
215
+ readonly name: "proposalId";
216
+ readonly type: "bytes32";
89
217
  }, {
90
218
  readonly indexed: false;
91
- readonly internalType: "uint16";
92
- readonly name: "commissionDivider";
93
- readonly type: "uint16";
219
+ readonly internalType: "address[]";
220
+ readonly name: "targets";
221
+ readonly type: "address[]";
94
222
  }, {
95
223
  readonly indexed: false;
96
- readonly internalType: "uint16";
97
- readonly name: "gatewayPenaltyMultipler";
98
- readonly type: "uint16";
224
+ readonly internalType: "uint256[]";
225
+ readonly name: "values";
226
+ readonly type: "uint256[]";
99
227
  }, {
100
228
  readonly indexed: false;
101
- readonly internalType: "uint16";
102
- readonly name: "treasuryPenaltyMultipler";
103
- readonly type: "uint16";
229
+ readonly internalType: "bytes[]";
230
+ readonly name: "payloads";
231
+ readonly type: "bytes[]";
104
232
  }];
105
- readonly name: "updatedTreasuryVariables";
233
+ readonly name: "TransactionExecuted";
106
234
  readonly type: "event";
107
235
  }, {
108
- readonly constant: true;
109
- readonly inputs: readonly [];
110
- readonly name: "QNTAddress";
111
- readonly outputs: readonly [{
112
- readonly internalType: "address";
113
- readonly name: "";
114
- readonly type: "address";
115
- }];
116
- readonly payable: false;
117
- readonly stateMutability: "view";
118
- readonly type: "function";
119
- }, {
120
- readonly constant: true;
121
- readonly inputs: readonly [];
122
- readonly name: "admin";
123
- readonly outputs: readonly [{
124
- readonly internalType: "address";
125
- readonly name: "";
126
- readonly type: "address";
236
+ readonly anonymous: false;
237
+ readonly inputs: readonly [{
238
+ readonly indexed: false;
239
+ readonly internalType: "bytes32";
240
+ readonly name: "proposalId";
241
+ readonly type: "bytes32";
242
+ }, {
243
+ readonly indexed: false;
244
+ readonly internalType: "uint256";
245
+ readonly name: "timestamp";
246
+ readonly type: "uint256";
127
247
  }];
128
- readonly payable: false;
129
- readonly stateMutability: "view";
130
- readonly type: "function";
248
+ readonly name: "TransactionScheduled";
249
+ readonly type: "event";
131
250
  }, {
132
- readonly constant: false;
251
+ readonly anonymous: false;
133
252
  readonly inputs: readonly [{
253
+ readonly indexed: false;
134
254
  readonly internalType: "address";
135
- readonly name: "nextAdmin";
136
- readonly type: "address";
137
- }, {
138
- readonly internalType: "address";
139
- readonly name: "nextImplementation";
255
+ readonly name: "impl";
140
256
  readonly type: "address";
141
257
  }];
142
- readonly name: "changeProxyVariables";
258
+ readonly name: "Upgraded";
259
+ readonly type: "event";
260
+ }, {
261
+ readonly inputs: readonly [];
262
+ readonly name: "acceptOwnership";
143
263
  readonly outputs: readonly [];
144
- readonly payable: false;
145
264
  readonly stateMutability: "nonpayable";
146
265
  readonly type: "function";
147
266
  }, {
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";
267
+ readonly inputs: readonly [{
268
+ readonly internalType: "bytes32";
269
+ readonly name: "_proposalId";
270
+ readonly type: "bytes32";
155
271
  }];
156
- readonly payable: false;
157
- readonly stateMutability: "view";
272
+ readonly name: "cancel";
273
+ readonly outputs: readonly [];
274
+ readonly stateMutability: "nonpayable";
158
275
  readonly type: "function";
159
276
  }, {
160
- readonly constant: true;
161
277
  readonly inputs: readonly [];
162
- readonly name: "commissionDivider";
163
- readonly outputs: readonly [{
164
- readonly internalType: "uint16";
165
- readonly name: "";
166
- readonly type: "uint16";
167
- }];
168
- readonly payable: false;
169
- readonly stateMutability: "view";
278
+ readonly name: "cancelOwnershipTransfer";
279
+ readonly outputs: readonly [];
280
+ readonly stateMutability: "nonpayable";
170
281
  readonly type: "function";
171
282
  }, {
172
- readonly constant: true;
173
283
  readonly inputs: readonly [];
174
- readonly name: "gatewayPenaltyMultipler";
284
+ readonly name: "contractVersion";
175
285
  readonly outputs: readonly [{
176
- readonly internalType: "uint16";
286
+ readonly internalType: "string";
177
287
  readonly name: "";
178
- readonly type: "uint16";
288
+ readonly type: "string";
179
289
  }];
180
- readonly payable: false;
181
- readonly stateMutability: "view";
290
+ readonly stateMutability: "pure";
182
291
  readonly type: "function";
183
292
  }, {
184
- readonly constant: true;
185
293
  readonly inputs: readonly [];
186
- readonly name: "implementation";
294
+ readonly name: "delay";
187
295
  readonly outputs: readonly [{
188
- readonly internalType: "address";
296
+ readonly internalType: "uint256";
189
297
  readonly name: "";
190
- readonly type: "address";
298
+ readonly type: "uint256";
191
299
  }];
192
- readonly payable: false;
193
300
  readonly stateMutability: "view";
194
301
  readonly type: "function";
195
302
  }, {
196
- readonly constant: false;
197
303
  readonly inputs: readonly [{
198
- readonly internalType: "address";
199
- readonly name: "thisQNTAddress";
200
- readonly type: "address";
201
- }, {
202
- readonly internalType: "address";
203
- readonly name: "thisOperatorAddress";
204
- readonly type: "address";
205
- }, {
206
- readonly internalType: "uint16";
207
- readonly name: "mappDisputeFee";
208
- readonly type: "uint16";
304
+ readonly internalType: "address[]";
305
+ readonly name: "_targets";
306
+ readonly type: "address[]";
209
307
  }, {
210
- readonly internalType: "uint16";
211
- readonly name: "commission";
212
- readonly type: "uint16";
308
+ readonly internalType: "uint256[]";
309
+ readonly name: "_values";
310
+ readonly type: "uint256[]";
213
311
  }, {
214
- readonly internalType: "uint16";
215
- readonly name: "treasuryPenalty";
216
- readonly type: "uint16";
312
+ readonly internalType: "bytes[]";
313
+ readonly name: "_calldatas";
314
+ readonly type: "bytes[]";
217
315
  }, {
218
- readonly internalType: "uint16";
219
- readonly name: "gatewayPenalty";
220
- readonly type: "uint16";
316
+ readonly internalType: "bytes32";
317
+ readonly name: "_descriptionHash";
318
+ readonly type: "bytes32";
221
319
  }, {
222
- readonly internalType: "uint16";
223
- readonly name: "speedBumpTime";
224
- readonly type: "uint16";
320
+ readonly internalType: "address";
321
+ readonly name: "_proposer";
322
+ readonly type: "address";
225
323
  }];
226
- readonly name: "initialize";
324
+ readonly name: "execute";
227
325
  readonly outputs: readonly [];
228
- readonly payable: false;
229
- readonly stateMutability: "nonpayable";
326
+ readonly stateMutability: "payable";
230
327
  readonly type: "function";
231
328
  }, {
232
- readonly constant: true;
233
329
  readonly inputs: readonly [];
234
- readonly name: "initialized";
330
+ readonly name: "gracePeriod";
235
331
  readonly outputs: readonly [{
236
- readonly internalType: "bool";
332
+ readonly internalType: "uint256";
237
333
  readonly name: "";
238
- readonly type: "bool";
334
+ readonly type: "uint256";
239
335
  }];
240
- readonly payable: false;
241
336
  readonly stateMutability: "view";
242
337
  readonly type: "function";
243
338
  }, {
244
- readonly constant: true;
245
- readonly inputs: readonly [];
246
- readonly name: "mappDisputeFeeMultipler";
247
- readonly outputs: readonly [{
248
- readonly internalType: "uint16";
249
- readonly name: "";
250
- readonly type: "uint16";
339
+ readonly inputs: readonly [{
340
+ readonly internalType: "address[]";
341
+ readonly name: "_targets";
342
+ readonly type: "address[]";
343
+ }, {
344
+ readonly internalType: "uint256[]";
345
+ readonly name: "_values";
346
+ readonly type: "uint256[]";
347
+ }, {
348
+ readonly internalType: "bytes[]";
349
+ readonly name: "_calldatas";
350
+ readonly type: "bytes[]";
351
+ }, {
352
+ readonly internalType: "bytes32";
353
+ readonly name: "_descriptionHash";
354
+ readonly type: "bytes32";
355
+ }, {
356
+ readonly internalType: "address";
357
+ readonly name: "_proposer";
358
+ readonly type: "address";
251
359
  }];
252
- readonly payable: false;
253
- readonly stateMutability: "view";
254
- readonly type: "function";
255
- }, {
256
- readonly constant: true;
257
- readonly inputs: readonly [];
258
- readonly name: "operatorAddress";
360
+ readonly name: "hashProposal";
259
361
  readonly outputs: readonly [{
260
- readonly internalType: "address";
362
+ readonly internalType: "bytes32";
261
363
  readonly name: "";
262
- readonly type: "address";
364
+ readonly type: "bytes32";
263
365
  }];
264
- readonly payable: false;
265
- readonly stateMutability: "view";
366
+ readonly stateMutability: "pure";
266
367
  readonly type: "function";
267
368
  }, {
268
- readonly constant: true;
269
369
  readonly inputs: readonly [{
270
- readonly internalType: "bool";
271
- readonly name: "gateway";
272
- readonly type: "bool";
273
- }];
274
- readonly name: "readFunctionPenaltyMultipler";
275
- readonly outputs: readonly [{
370
+ readonly internalType: "address";
371
+ readonly name: "_governor";
372
+ readonly type: "address";
373
+ }, {
276
374
  readonly internalType: "uint256";
277
- readonly name: "";
375
+ readonly name: "_delay";
278
376
  readonly type: "uint256";
279
377
  }];
280
- readonly payable: false;
281
- readonly stateMutability: "view";
282
- readonly type: "function";
283
- }, {
284
- readonly constant: false;
285
- readonly inputs: readonly [];
286
- readonly name: "setAdmin";
287
- readonly outputs: readonly [];
288
- readonly payable: false;
289
- readonly stateMutability: "nonpayable";
290
- readonly type: "function";
291
- }, {
292
- readonly constant: false;
293
- readonly inputs: readonly [];
294
- readonly name: "setImplementation";
378
+ readonly name: "initialize";
295
379
  readonly outputs: readonly [];
296
- readonly payable: false;
297
380
  readonly stateMutability: "nonpayable";
298
381
  readonly type: "function";
299
382
  }, {
300
- readonly constant: true;
301
383
  readonly inputs: readonly [{
302
- readonly internalType: "uint8";
303
- readonly name: "index";
304
- readonly type: "uint8";
305
- }, {
306
- readonly internalType: "uint8";
307
- readonly name: "addressIndex";
308
- readonly type: "uint8";
384
+ readonly internalType: "bytes32";
385
+ readonly name: "_proposalId";
386
+ readonly type: "bytes32";
309
387
  }];
310
- readonly name: "speedBumpAddresses";
388
+ readonly name: "isExpired";
311
389
  readonly outputs: readonly [{
312
- readonly internalType: "address";
390
+ readonly internalType: "bool";
313
391
  readonly name: "";
314
- readonly type: "address";
392
+ readonly type: "bool";
315
393
  }];
316
- readonly payable: false;
317
394
  readonly stateMutability: "view";
318
395
  readonly type: "function";
319
396
  }, {
320
- readonly constant: true;
321
397
  readonly inputs: readonly [{
322
- readonly internalType: "uint8";
323
- readonly name: "index";
324
- readonly type: "uint8";
398
+ readonly internalType: "bytes32";
399
+ readonly name: "_proposalId";
400
+ readonly type: "bytes32";
325
401
  }];
326
- readonly name: "speedBumpCircuitBreaker";
402
+ readonly name: "isQueued";
327
403
  readonly outputs: readonly [{
328
404
  readonly internalType: "bool";
329
405
  readonly name: "";
330
406
  readonly type: "bool";
331
407
  }];
332
- readonly payable: false;
333
408
  readonly stateMutability: "view";
334
409
  readonly type: "function";
335
410
  }, {
336
- readonly constant: false;
337
411
  readonly inputs: readonly [{
338
- readonly internalType: "address[]";
339
- readonly name: "addresses";
340
- readonly type: "address[]";
341
- }];
342
- readonly name: "speedBumpContract";
343
- readonly outputs: readonly [];
344
- readonly payable: false;
345
- readonly stateMutability: "nonpayable";
346
- readonly type: "function";
347
- }, {
348
- readonly constant: true;
349
- readonly inputs: readonly [{
350
- readonly internalType: "uint8";
351
- readonly name: "index";
352
- readonly type: "uint8";
412
+ readonly internalType: "bytes32";
413
+ readonly name: "_proposalId";
414
+ readonly type: "bytes32";
353
415
  }];
354
- readonly name: "speedBumpCurrentSBHours";
416
+ readonly name: "isReady";
355
417
  readonly outputs: readonly [{
356
- readonly internalType: "uint16";
418
+ readonly internalType: "bool";
357
419
  readonly name: "";
358
- readonly type: "uint16";
420
+ readonly type: "bool";
359
421
  }];
360
- readonly payable: false;
361
422
  readonly stateMutability: "view";
362
423
  readonly type: "function";
363
424
  }, {
364
- readonly constant: false;
365
425
  readonly inputs: readonly [{
366
- readonly internalType: "uint16[]";
367
- readonly name: "uint16s";
368
- readonly type: "uint16[]";
426
+ readonly internalType: "address";
427
+ readonly name: "";
428
+ readonly type: "address";
429
+ }, {
430
+ readonly internalType: "address";
431
+ readonly name: "";
432
+ readonly type: "address";
433
+ }, {
434
+ readonly internalType: "uint256[]";
435
+ readonly name: "";
436
+ readonly type: "uint256[]";
437
+ }, {
438
+ readonly internalType: "uint256[]";
439
+ readonly name: "";
440
+ readonly type: "uint256[]";
441
+ }, {
442
+ readonly internalType: "bytes";
443
+ readonly name: "";
444
+ readonly type: "bytes";
369
445
  }];
370
- readonly name: "speedBumpFee";
371
- readonly outputs: readonly [];
372
- readonly payable: false;
373
- readonly stateMutability: "nonpayable";
374
- readonly type: "function";
375
- }, {
376
- readonly constant: true;
377
- readonly inputs: readonly [];
378
- readonly name: "speedBumpHours";
446
+ readonly name: "onERC1155BatchReceived";
379
447
  readonly outputs: readonly [{
380
- readonly internalType: "uint16";
448
+ readonly internalType: "bytes4";
381
449
  readonly name: "";
382
- readonly type: "uint16";
450
+ readonly type: "bytes4";
383
451
  }];
384
- readonly payable: false;
385
- readonly stateMutability: "view";
452
+ readonly stateMutability: "pure";
386
453
  readonly type: "function";
387
454
  }, {
388
- readonly constant: false;
389
455
  readonly inputs: readonly [{
390
- readonly internalType: "address[]";
391
- readonly name: "addresses";
392
- readonly type: "address[]";
456
+ readonly internalType: "address";
457
+ readonly name: "";
458
+ readonly type: "address";
393
459
  }, {
394
- readonly internalType: "uint16";
395
- readonly name: "newSpeedBumpHours";
396
- readonly type: "uint16";
460
+ readonly internalType: "address";
461
+ readonly name: "";
462
+ readonly type: "address";
397
463
  }, {
398
- readonly internalType: "bool";
399
- readonly name: "circuitBreaker";
400
- readonly type: "bool";
401
- }];
402
- readonly name: "speedBumpMain";
403
- readonly outputs: readonly [];
404
- readonly payable: false;
405
- readonly stateMutability: "nonpayable";
406
- readonly type: "function";
407
- }, {
408
- readonly constant: true;
409
- readonly inputs: readonly [{
410
- readonly internalType: "uint8";
411
- readonly name: "index";
412
- readonly type: "uint8";
464
+ readonly internalType: "uint256";
465
+ readonly name: "";
466
+ readonly type: "uint256";
467
+ }, {
468
+ readonly internalType: "uint256";
469
+ readonly name: "";
470
+ readonly type: "uint256";
471
+ }, {
472
+ readonly internalType: "bytes";
473
+ readonly name: "";
474
+ readonly type: "bytes";
413
475
  }];
414
- readonly name: "speedBumpNextSBHours";
476
+ readonly name: "onERC1155Received";
415
477
  readonly outputs: readonly [{
416
- readonly internalType: "uint16";
478
+ readonly internalType: "bytes4";
417
479
  readonly name: "";
418
- readonly type: "uint16";
480
+ readonly type: "bytes4";
419
481
  }];
420
- readonly payable: false;
421
- readonly stateMutability: "view";
482
+ readonly stateMutability: "pure";
422
483
  readonly type: "function";
423
484
  }, {
424
- readonly constant: true;
425
485
  readonly inputs: readonly [{
426
- readonly internalType: "uint8";
427
- readonly name: "index";
428
- readonly type: "uint8";
429
- }];
430
- readonly name: "speedBumpTimeCreated";
431
- readonly outputs: readonly [{
486
+ readonly internalType: "address";
487
+ readonly name: "";
488
+ readonly type: "address";
489
+ }, {
490
+ readonly internalType: "address";
491
+ readonly name: "";
492
+ readonly type: "address";
493
+ }, {
432
494
  readonly internalType: "uint256";
433
495
  readonly name: "";
434
496
  readonly type: "uint256";
435
- }];
436
- readonly payable: false;
437
- readonly stateMutability: "view";
438
- readonly type: "function";
439
- }, {
440
- readonly constant: true;
441
- readonly inputs: readonly [{
442
- readonly internalType: "uint8";
443
- readonly name: "index";
444
- readonly type: "uint8";
445
497
  }, {
446
- readonly internalType: "uint8";
447
- readonly name: "uint16Index";
448
- readonly type: "uint8";
498
+ readonly internalType: "bytes";
499
+ readonly name: "";
500
+ readonly type: "bytes";
449
501
  }];
450
- readonly name: "speedBumpUint16s";
502
+ readonly name: "onERC721Received";
451
503
  readonly outputs: readonly [{
452
- readonly internalType: "uint16";
504
+ readonly internalType: "bytes4";
453
505
  readonly name: "";
454
- readonly type: "uint16";
506
+ readonly type: "bytes4";
455
507
  }];
456
- readonly payable: false;
457
- readonly stateMutability: "view";
508
+ readonly stateMutability: "pure";
458
509
  readonly type: "function";
459
510
  }, {
460
- readonly constant: true;
461
511
  readonly inputs: readonly [];
462
- readonly name: "treasuryPenaltyMultipler";
512
+ readonly name: "owner";
463
513
  readonly outputs: readonly [{
464
- readonly internalType: "uint16";
514
+ readonly internalType: "address";
465
515
  readonly name: "";
466
- readonly type: "uint16";
516
+ readonly type: "address";
467
517
  }];
468
- readonly payable: false;
469
518
  readonly stateMutability: "view";
470
519
  readonly type: "function";
471
520
  }, {
472
- readonly constant: true;
473
521
  readonly inputs: readonly [];
474
- readonly name: "treasurysDeposit";
522
+ readonly name: "pendingOwner";
475
523
  readonly outputs: readonly [{
476
524
  readonly internalType: "address";
477
525
  readonly name: "";
478
526
  readonly type: "address";
479
527
  }];
480
- readonly payable: false;
481
528
  readonly stateMutability: "view";
482
529
  readonly type: "function";
483
530
  }, {
484
- readonly constant: true;
485
531
  readonly inputs: readonly [];
486
- readonly name: "treasurysFactory";
532
+ readonly name: "proxiableUUID";
487
533
  readonly outputs: readonly [{
488
- readonly internalType: "address";
534
+ readonly internalType: "bytes32";
489
535
  readonly name: "";
490
- readonly type: "address";
536
+ readonly type: "bytes32";
491
537
  }];
492
- readonly payable: false;
493
538
  readonly stateMutability: "view";
494
539
  readonly type: "function";
495
540
  }, {
496
- readonly constant: true;
497
- readonly inputs: readonly [];
498
- readonly name: "treasurysRuleList";
541
+ readonly inputs: readonly [{
542
+ readonly internalType: "bytes32";
543
+ readonly name: "_proposalId";
544
+ readonly type: "bytes32";
545
+ }];
546
+ readonly name: "queue";
499
547
  readonly outputs: readonly [{
548
+ readonly internalType: "uint256";
549
+ readonly name: "eta";
550
+ readonly type: "uint256";
551
+ }];
552
+ readonly stateMutability: "nonpayable";
553
+ readonly type: "function";
554
+ }, {
555
+ readonly inputs: readonly [{
500
556
  readonly internalType: "address";
501
- readonly name: "";
557
+ readonly name: "_newOwner";
502
558
  readonly type: "address";
503
559
  }];
504
- readonly payable: false;
560
+ readonly name: "safeTransferOwnership";
561
+ readonly outputs: readonly [];
562
+ readonly stateMutability: "nonpayable";
563
+ readonly type: "function";
564
+ }, {
565
+ readonly inputs: readonly [{
566
+ readonly internalType: "bytes32";
567
+ readonly name: "_proposalId";
568
+ readonly type: "bytes32";
569
+ }];
570
+ readonly name: "timestamp";
571
+ readonly outputs: readonly [{
572
+ readonly internalType: "uint256";
573
+ readonly name: "";
574
+ readonly type: "uint256";
575
+ }];
505
576
  readonly stateMutability: "view";
506
577
  readonly type: "function";
507
578
  }, {
508
- readonly constant: false;
509
- readonly inputs: readonly [];
510
- readonly name: "updateTreasuryContracts";
579
+ readonly inputs: readonly [{
580
+ readonly internalType: "address";
581
+ readonly name: "_newOwner";
582
+ readonly type: "address";
583
+ }];
584
+ readonly name: "transferOwnership";
511
585
  readonly outputs: readonly [];
512
- readonly payable: false;
513
586
  readonly stateMutability: "nonpayable";
514
587
  readonly type: "function";
515
588
  }, {
516
- readonly constant: false;
517
- readonly inputs: readonly [];
518
- readonly name: "updateTreasuryFeeVariables";
589
+ readonly inputs: readonly [{
590
+ readonly internalType: "uint256";
591
+ readonly name: "_newDelay";
592
+ readonly type: "uint256";
593
+ }];
594
+ readonly name: "updateDelay";
519
595
  readonly outputs: readonly [];
520
- readonly payable: false;
521
596
  readonly stateMutability: "nonpayable";
522
597
  readonly type: "function";
523
598
  }, {
524
- readonly constant: false;
525
- readonly inputs: readonly [];
526
- readonly name: "updateTreasuryMainVariables";
599
+ readonly inputs: readonly [{
600
+ readonly internalType: "uint256";
601
+ readonly name: "_newGracePeriod";
602
+ readonly type: "uint256";
603
+ }];
604
+ readonly name: "updateGracePeriod";
527
605
  readonly outputs: readonly [];
528
- readonly payable: false;
529
606
  readonly stateMutability: "nonpayable";
530
607
  readonly type: "function";
608
+ }, {
609
+ readonly inputs: readonly [{
610
+ readonly internalType: "address";
611
+ readonly name: "_newImpl";
612
+ readonly type: "address";
613
+ }];
614
+ readonly name: "upgradeTo";
615
+ readonly outputs: readonly [];
616
+ readonly stateMutability: "nonpayable";
617
+ readonly type: "function";
618
+ }, {
619
+ readonly inputs: readonly [{
620
+ readonly internalType: "address";
621
+ readonly name: "_newImpl";
622
+ readonly type: "address";
623
+ }, {
624
+ readonly internalType: "bytes";
625
+ readonly name: "_data";
626
+ readonly type: "bytes";
627
+ }];
628
+ readonly name: "upgradeToAndCall";
629
+ readonly outputs: readonly [];
630
+ readonly stateMutability: "payable";
631
+ readonly type: "function";
632
+ }, {
633
+ readonly stateMutability: "payable";
634
+ readonly type: "receive";
531
635
  }];
532
636
  /**
533
637
  * Type-safe ABI for Treasury_json
@@ -586,116 +690,115 @@ export declare class Treasury_json {
586
690
  */
587
691
  getContract(): Treasury_jsonContract;
588
692
  /**
589
- * QNTAddress
590
- * view
693
+ * contractVersion
694
+ * pure
591
695
  */
592
- QNTAddress(): Promise<`0x${string}`>;
696
+ contractVersion(): Promise<string>;
593
697
  /**
594
- * admin
698
+ * delay
595
699
  * view
596
700
  */
597
- admin(): Promise<`0x${string}`>;
701
+ delay(): Promise<bigint>;
598
702
  /**
599
- * circuitBreakerOn
703
+ * gracePeriod
600
704
  * view
601
705
  */
602
- circuitBreakerOn(): Promise<boolean>;
706
+ gracePeriod(): Promise<bigint>;
603
707
  /**
604
- * commissionDivider
605
- * view
708
+ * hashProposal
709
+ * pure
606
710
  */
607
- commissionDivider(): Promise<bigint>;
711
+ hashProposal(_targets: `0x${string}`[], _values: bigint[], _calldatas: `0x${string}`[], _descriptionHash: `0x${string}`, _proposer: `0x${string}`): Promise<`0x${string}`>;
608
712
  /**
609
- * gatewayPenaltyMultipler
713
+ * isExpired
610
714
  * view
611
715
  */
612
- gatewayPenaltyMultipler(): Promise<bigint>;
716
+ isExpired(_proposalId: `0x${string}`): Promise<boolean>;
613
717
  /**
614
- * implementation
718
+ * isQueued
615
719
  * view
616
720
  */
617
- implementation(): Promise<`0x${string}`>;
721
+ isQueued(_proposalId: `0x${string}`): Promise<boolean>;
618
722
  /**
619
- * initialized
723
+ * isReady
620
724
  * view
621
725
  */
622
- initialized(): Promise<boolean>;
726
+ isReady(_proposalId: `0x${string}`): Promise<boolean>;
623
727
  /**
624
- * mappDisputeFeeMultipler
625
- * view
728
+ * onERC1155BatchReceived
729
+ * pure
626
730
  */
627
- mappDisputeFeeMultipler(): Promise<bigint>;
731
+ onERC1155BatchReceived(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint[], arg3: bigint[], arg4: `0x${string}`): Promise<`0x${string}`>;
628
732
  /**
629
- * operatorAddress
630
- * view
733
+ * onERC1155Received
734
+ * pure
631
735
  */
632
- operatorAddress(): Promise<`0x${string}`>;
736
+ onERC1155Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: bigint, arg4: `0x${string}`): Promise<`0x${string}`>;
633
737
  /**
634
- * readFunctionPenaltyMultipler
635
- * view
738
+ * onERC721Received
739
+ * pure
636
740
  */
637
- readFunctionPenaltyMultipler(gateway: boolean): Promise<bigint>;
741
+ onERC721Received(arg0: `0x${string}`, arg1: `0x${string}`, arg2: bigint, arg3: `0x${string}`): Promise<`0x${string}`>;
638
742
  /**
639
- * speedBumpAddresses
743
+ * owner
640
744
  * view
641
745
  */
642
- speedBumpAddresses(index: bigint, addressIndex: bigint): Promise<`0x${string}`>;
746
+ owner(): Promise<`0x${string}`>;
643
747
  /**
644
- * speedBumpCircuitBreaker
748
+ * pendingOwner
645
749
  * view
646
750
  */
647
- speedBumpCircuitBreaker(index: bigint): Promise<boolean>;
751
+ pendingOwner(): Promise<`0x${string}`>;
648
752
  /**
649
- * speedBumpCurrentSBHours
753
+ * proxiableUUID
650
754
  * view
651
755
  */
652
- speedBumpCurrentSBHours(index: bigint): Promise<bigint>;
756
+ proxiableUUID(): Promise<`0x${string}`>;
653
757
  /**
654
- * speedBumpHours
758
+ * timestamp
655
759
  * view
656
760
  */
657
- speedBumpHours(): Promise<bigint>;
761
+ timestamp(_proposalId: `0x${string}`): Promise<bigint>;
658
762
  /**
659
- * speedBumpNextSBHours
660
- * view
661
- */
662
- speedBumpNextSBHours(index: bigint): Promise<bigint>;
663
- /**
664
- * speedBumpTimeCreated
665
- * view
666
- */
667
- speedBumpTimeCreated(index: bigint): Promise<bigint>;
668
- /**
669
- * speedBumpUint16s
670
- * view
671
- */
672
- speedBumpUint16s(index: bigint, uint16Index: bigint): Promise<bigint>;
673
- /**
674
- * treasuryPenaltyMultipler
675
- * view
676
- */
677
- treasuryPenaltyMultipler(): Promise<bigint>;
678
- /**
679
- * treasurysDeposit
680
- * view
681
- */
682
- treasurysDeposit(): Promise<`0x${string}`>;
683
- /**
684
- * treasurysFactory
685
- * view
763
+ * acceptOwnership
764
+ * nonpayable
765
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
686
766
  */
687
- treasurysFactory(): Promise<`0x${string}`>;
767
+ acceptOwnership(options?: {
768
+ accessList?: import('viem').AccessList;
769
+ authorizationList?: import('viem').AuthorizationList;
770
+ chain?: import('viem').Chain | null;
771
+ dataSuffix?: `0x${string}`;
772
+ gas?: bigint;
773
+ gasPrice?: bigint;
774
+ maxFeePerGas?: bigint;
775
+ maxPriorityFeePerGas?: bigint;
776
+ nonce?: number;
777
+ value?: bigint;
778
+ }): Promise<`0x${string}`>;
688
779
  /**
689
- * treasurysRuleList
690
- * view
780
+ * cancel
781
+ * nonpayable
782
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
691
783
  */
692
- treasurysRuleList(): Promise<`0x${string}`>;
784
+ cancel(_proposalId: `0x${string}`, options?: {
785
+ accessList?: import('viem').AccessList;
786
+ authorizationList?: import('viem').AuthorizationList;
787
+ chain?: import('viem').Chain | null;
788
+ dataSuffix?: `0x${string}`;
789
+ gas?: bigint;
790
+ gasPrice?: bigint;
791
+ maxFeePerGas?: bigint;
792
+ maxPriorityFeePerGas?: bigint;
793
+ nonce?: number;
794
+ value?: bigint;
795
+ }): Promise<`0x${string}`>;
693
796
  /**
694
- * changeProxyVariables
797
+ * cancelOwnershipTransfer
695
798
  * nonpayable
696
799
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
697
800
  */
698
- changeProxyVariables(nextAdmin: `0x${string}`, nextImplementation: `0x${string}`, options?: {
801
+ cancelOwnershipTransfer(options?: {
699
802
  accessList?: import('viem').AccessList;
700
803
  authorizationList?: import('viem').AuthorizationList;
701
804
  chain?: import('viem').Chain | null;
@@ -708,11 +811,11 @@ export declare class Treasury_json {
708
811
  value?: bigint;
709
812
  }): Promise<`0x${string}`>;
710
813
  /**
711
- * initialize
712
- * nonpayable
814
+ * execute
815
+ * payable
713
816
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
714
817
  */
715
- initialize(thisQNTAddress: `0x${string}`, thisOperatorAddress: `0x${string}`, mappDisputeFee: bigint, commission: bigint, treasuryPenalty: bigint, gatewayPenalty: bigint, speedBumpTime: bigint, options?: {
818
+ execute(_targets: `0x${string}`[], _values: bigint[], _calldatas: `0x${string}`[], _descriptionHash: `0x${string}`, _proposer: `0x${string}`, options?: {
716
819
  accessList?: import('viem').AccessList;
717
820
  authorizationList?: import('viem').AuthorizationList;
718
821
  chain?: import('viem').Chain | null;
@@ -725,11 +828,11 @@ export declare class Treasury_json {
725
828
  value?: bigint;
726
829
  }): Promise<`0x${string}`>;
727
830
  /**
728
- * setAdmin
831
+ * initialize
729
832
  * nonpayable
730
833
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
731
834
  */
732
- setAdmin(options?: {
835
+ initialize(_governor: `0x${string}`, _delay: bigint, options?: {
733
836
  accessList?: import('viem').AccessList;
734
837
  authorizationList?: import('viem').AuthorizationList;
735
838
  chain?: import('viem').Chain | null;
@@ -742,11 +845,11 @@ export declare class Treasury_json {
742
845
  value?: bigint;
743
846
  }): Promise<`0x${string}`>;
744
847
  /**
745
- * setImplementation
848
+ * queue
746
849
  * nonpayable
747
850
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
748
851
  */
749
- setImplementation(options?: {
852
+ queue(_proposalId: `0x${string}`, options?: {
750
853
  accessList?: import('viem').AccessList;
751
854
  authorizationList?: import('viem').AuthorizationList;
752
855
  chain?: import('viem').Chain | null;
@@ -759,11 +862,11 @@ export declare class Treasury_json {
759
862
  value?: bigint;
760
863
  }): Promise<`0x${string}`>;
761
864
  /**
762
- * speedBumpContract
865
+ * safeTransferOwnership
763
866
  * nonpayable
764
867
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
765
868
  */
766
- speedBumpContract(addresses: `0x${string}`[], options?: {
869
+ safeTransferOwnership(_newOwner: `0x${string}`, options?: {
767
870
  accessList?: import('viem').AccessList;
768
871
  authorizationList?: import('viem').AuthorizationList;
769
872
  chain?: import('viem').Chain | null;
@@ -776,11 +879,11 @@ export declare class Treasury_json {
776
879
  value?: bigint;
777
880
  }): Promise<`0x${string}`>;
778
881
  /**
779
- * speedBumpFee
882
+ * transferOwnership
780
883
  * nonpayable
781
884
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
782
885
  */
783
- speedBumpFee(uint16s: bigint[], options?: {
886
+ transferOwnership(_newOwner: `0x${string}`, options?: {
784
887
  accessList?: import('viem').AccessList;
785
888
  authorizationList?: import('viem').AuthorizationList;
786
889
  chain?: import('viem').Chain | null;
@@ -793,11 +896,11 @@ export declare class Treasury_json {
793
896
  value?: bigint;
794
897
  }): Promise<`0x${string}`>;
795
898
  /**
796
- * speedBumpMain
899
+ * updateDelay
797
900
  * nonpayable
798
901
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
799
902
  */
800
- speedBumpMain(addresses: `0x${string}`[], newSpeedBumpHours: bigint, circuitBreaker: boolean, options?: {
903
+ updateDelay(_newDelay: bigint, options?: {
801
904
  accessList?: import('viem').AccessList;
802
905
  authorizationList?: import('viem').AuthorizationList;
803
906
  chain?: import('viem').Chain | null;
@@ -810,11 +913,11 @@ export declare class Treasury_json {
810
913
  value?: bigint;
811
914
  }): Promise<`0x${string}`>;
812
915
  /**
813
- * updateTreasuryContracts
916
+ * updateGracePeriod
814
917
  * nonpayable
815
918
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
816
919
  */
817
- updateTreasuryContracts(options?: {
920
+ updateGracePeriod(_newGracePeriod: bigint, options?: {
818
921
  accessList?: import('viem').AccessList;
819
922
  authorizationList?: import('viem').AuthorizationList;
820
923
  chain?: import('viem').Chain | null;
@@ -827,11 +930,11 @@ export declare class Treasury_json {
827
930
  value?: bigint;
828
931
  }): Promise<`0x${string}`>;
829
932
  /**
830
- * updateTreasuryFeeVariables
933
+ * upgradeTo
831
934
  * nonpayable
832
935
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
833
936
  */
834
- updateTreasuryFeeVariables(options?: {
937
+ upgradeTo(_newImpl: `0x${string}`, options?: {
835
938
  accessList?: import('viem').AccessList;
836
939
  authorizationList?: import('viem').AuthorizationList;
837
940
  chain?: import('viem').Chain | null;
@@ -844,11 +947,11 @@ export declare class Treasury_json {
844
947
  value?: bigint;
845
948
  }): Promise<`0x${string}`>;
846
949
  /**
847
- * updateTreasuryMainVariables
848
- * nonpayable
950
+ * upgradeToAndCall
951
+ * payable
849
952
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
850
953
  */
851
- updateTreasuryMainVariables(options?: {
954
+ upgradeToAndCall(_newImpl: `0x${string}`, _data: `0x${string}`, options?: {
852
955
  accessList?: import('viem').AccessList;
853
956
  authorizationList?: import('viem').AuthorizationList;
854
957
  chain?: import('viem').Chain | null;
@@ -870,11 +973,11 @@ export declare class Treasury_json {
870
973
  */
871
974
  get simulate(): {
872
975
  /**
873
- * Simulate changeProxyVariables
976
+ * Simulate acceptOwnership
874
977
  * Returns gas estimate and result without sending transaction
875
978
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
876
979
  */
877
- changeProxyVariables(nextAdmin: `0x${string}`, nextImplementation: `0x${string}`, options?: {
980
+ acceptOwnership(options?: {
878
981
  accessList?: import("viem").AccessList;
879
982
  authorizationList?: import("viem").AuthorizationList;
880
983
  chain?: import("viem").Chain | null;
@@ -887,11 +990,11 @@ export declare class Treasury_json {
887
990
  value?: bigint;
888
991
  }): Promise<void>;
889
992
  /**
890
- * Simulate initialize
993
+ * Simulate cancel
891
994
  * Returns gas estimate and result without sending transaction
892
995
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
893
996
  */
894
- initialize(thisQNTAddress: `0x${string}`, thisOperatorAddress: `0x${string}`, mappDisputeFee: bigint, commission: bigint, treasuryPenalty: bigint, gatewayPenalty: bigint, speedBumpTime: bigint, options?: {
997
+ cancel(_proposalId: `0x${string}`, options?: {
895
998
  accessList?: import("viem").AccessList;
896
999
  authorizationList?: import("viem").AuthorizationList;
897
1000
  chain?: import("viem").Chain | null;
@@ -904,11 +1007,11 @@ export declare class Treasury_json {
904
1007
  value?: bigint;
905
1008
  }): Promise<void>;
906
1009
  /**
907
- * Simulate setAdmin
1010
+ * Simulate cancelOwnershipTransfer
908
1011
  * Returns gas estimate and result without sending transaction
909
1012
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
910
1013
  */
911
- setAdmin(options?: {
1014
+ cancelOwnershipTransfer(options?: {
912
1015
  accessList?: import("viem").AccessList;
913
1016
  authorizationList?: import("viem").AuthorizationList;
914
1017
  chain?: import("viem").Chain | null;
@@ -921,11 +1024,11 @@ export declare class Treasury_json {
921
1024
  value?: bigint;
922
1025
  }): Promise<void>;
923
1026
  /**
924
- * Simulate setImplementation
1027
+ * Simulate execute
925
1028
  * Returns gas estimate and result without sending transaction
926
1029
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
927
1030
  */
928
- setImplementation(options?: {
1031
+ execute(_targets: `0x${string}`[], _values: bigint[], _calldatas: `0x${string}`[], _descriptionHash: `0x${string}`, _proposer: `0x${string}`, options?: {
929
1032
  accessList?: import("viem").AccessList;
930
1033
  authorizationList?: import("viem").AuthorizationList;
931
1034
  chain?: import("viem").Chain | null;
@@ -938,11 +1041,11 @@ export declare class Treasury_json {
938
1041
  value?: bigint;
939
1042
  }): Promise<void>;
940
1043
  /**
941
- * Simulate speedBumpContract
1044
+ * Simulate initialize
942
1045
  * Returns gas estimate and result without sending transaction
943
1046
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
944
1047
  */
945
- speedBumpContract(addresses: `0x${string}`[], options?: {
1048
+ initialize(_governor: `0x${string}`, _delay: bigint, options?: {
946
1049
  accessList?: import("viem").AccessList;
947
1050
  authorizationList?: import("viem").AuthorizationList;
948
1051
  chain?: import("viem").Chain | null;
@@ -955,11 +1058,45 @@ export declare class Treasury_json {
955
1058
  value?: bigint;
956
1059
  }): Promise<void>;
957
1060
  /**
958
- * Simulate speedBumpFee
1061
+ * Simulate queue
959
1062
  * Returns gas estimate and result without sending transaction
960
1063
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
961
1064
  */
962
- speedBumpFee(uint16s: bigint[], options?: {
1065
+ queue(_proposalId: `0x${string}`, options?: {
1066
+ accessList?: import("viem").AccessList;
1067
+ authorizationList?: import("viem").AuthorizationList;
1068
+ chain?: import("viem").Chain | null;
1069
+ dataSuffix?: `0x${string}`;
1070
+ gas?: bigint;
1071
+ gasPrice?: bigint;
1072
+ maxFeePerGas?: bigint;
1073
+ maxPriorityFeePerGas?: bigint;
1074
+ nonce?: number;
1075
+ value?: bigint;
1076
+ }): Promise<bigint>;
1077
+ /**
1078
+ * Simulate safeTransferOwnership
1079
+ * Returns gas estimate and result without sending transaction
1080
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1081
+ */
1082
+ safeTransferOwnership(_newOwner: `0x${string}`, options?: {
1083
+ accessList?: import("viem").AccessList;
1084
+ authorizationList?: import("viem").AuthorizationList;
1085
+ chain?: import("viem").Chain | null;
1086
+ dataSuffix?: `0x${string}`;
1087
+ gas?: bigint;
1088
+ gasPrice?: bigint;
1089
+ maxFeePerGas?: bigint;
1090
+ maxPriorityFeePerGas?: bigint;
1091
+ nonce?: number;
1092
+ value?: bigint;
1093
+ }): Promise<void>;
1094
+ /**
1095
+ * Simulate transferOwnership
1096
+ * Returns gas estimate and result without sending transaction
1097
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1098
+ */
1099
+ transferOwnership(_newOwner: `0x${string}`, options?: {
963
1100
  accessList?: import("viem").AccessList;
964
1101
  authorizationList?: import("viem").AuthorizationList;
965
1102
  chain?: import("viem").Chain | null;
@@ -972,11 +1109,11 @@ export declare class Treasury_json {
972
1109
  value?: bigint;
973
1110
  }): Promise<void>;
974
1111
  /**
975
- * Simulate speedBumpMain
1112
+ * Simulate updateDelay
976
1113
  * Returns gas estimate and result without sending transaction
977
1114
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
978
1115
  */
979
- speedBumpMain(addresses: `0x${string}`[], newSpeedBumpHours: bigint, circuitBreaker: boolean, options?: {
1116
+ updateDelay(_newDelay: bigint, options?: {
980
1117
  accessList?: import("viem").AccessList;
981
1118
  authorizationList?: import("viem").AuthorizationList;
982
1119
  chain?: import("viem").Chain | null;
@@ -989,11 +1126,11 @@ export declare class Treasury_json {
989
1126
  value?: bigint;
990
1127
  }): Promise<void>;
991
1128
  /**
992
- * Simulate updateTreasuryContracts
1129
+ * Simulate updateGracePeriod
993
1130
  * Returns gas estimate and result without sending transaction
994
1131
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
995
1132
  */
996
- updateTreasuryContracts(options?: {
1133
+ updateGracePeriod(_newGracePeriod: bigint, options?: {
997
1134
  accessList?: import("viem").AccessList;
998
1135
  authorizationList?: import("viem").AuthorizationList;
999
1136
  chain?: import("viem").Chain | null;
@@ -1006,11 +1143,11 @@ export declare class Treasury_json {
1006
1143
  value?: bigint;
1007
1144
  }): Promise<void>;
1008
1145
  /**
1009
- * Simulate updateTreasuryFeeVariables
1146
+ * Simulate upgradeTo
1010
1147
  * Returns gas estimate and result without sending transaction
1011
1148
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1012
1149
  */
1013
- updateTreasuryFeeVariables(options?: {
1150
+ upgradeTo(_newImpl: `0x${string}`, options?: {
1014
1151
  accessList?: import("viem").AccessList;
1015
1152
  authorizationList?: import("viem").AuthorizationList;
1016
1153
  chain?: import("viem").Chain | null;
@@ -1023,11 +1160,11 @@ export declare class Treasury_json {
1023
1160
  value?: bigint;
1024
1161
  }): Promise<void>;
1025
1162
  /**
1026
- * Simulate updateTreasuryMainVariables
1163
+ * Simulate upgradeToAndCall
1027
1164
  * Returns gas estimate and result without sending transaction
1028
1165
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1029
1166
  */
1030
- updateTreasuryMainVariables(options?: {
1167
+ upgradeToAndCall(_newImpl: `0x${string}`, _data: `0x${string}`, options?: {
1031
1168
  accessList?: import("viem").AccessList;
1032
1169
  authorizationList?: import("viem").AuthorizationList;
1033
1170
  chain?: import("viem").Chain | null;
@@ -1054,59 +1191,112 @@ export declare class Treasury_json {
1054
1191
  */
1055
1192
  get watch(): {
1056
1193
  /**
1057
- * Watch connectedContracts events
1194
+ * Watch DelayUpdated events
1195
+ * @param callback Function to call when event is emitted
1196
+ * @param filter Optional filter for indexed parameters
1197
+ * @returns Unwatch function to stop listening
1198
+ */
1199
+ DelayUpdated: (callback: (event: {
1200
+ prevDelay: bigint;
1201
+ newDelay: bigint;
1202
+ }) => void) => () => void;
1203
+ /**
1204
+ * Watch GracePeriodUpdated events
1058
1205
  * @param callback Function to call when event is emitted
1059
1206
  * @param filter Optional filter for indexed parameters
1060
1207
  * @returns Unwatch function to stop listening
1061
1208
  */
1062
- connectedContracts: (callback: (event: {
1063
- factory: `0x${string}`;
1064
- ruleList: `0x${string}`;
1065
- escrowedDeposit: `0x${string}`;
1209
+ GracePeriodUpdated: (callback: (event: {
1210
+ prevGracePeriod: bigint;
1211
+ newGracePeriod: bigint;
1066
1212
  }) => void) => () => void;
1067
1213
  /**
1068
- * Watch updatedSpeedBump events
1214
+ * Watch Initialized events
1215
+ * @param callback Function to call when event is emitted
1216
+ * @param filter Optional filter for indexed parameters
1217
+ * @returns Unwatch function to stop listening
1218
+ */
1219
+ Initialized: (callback: (event: {
1220
+ version: bigint;
1221
+ }) => void) => () => void;
1222
+ /**
1223
+ * Watch OwnerCanceled events
1224
+ * @param callback Function to call when event is emitted
1225
+ * @param filter Optional filter for indexed parameters
1226
+ * @returns Unwatch function to stop listening
1227
+ */
1228
+ OwnerCanceled: (callback: (event: {
1229
+ owner: `0x${string}`;
1230
+ canceledOwner: `0x${string}`;
1231
+ }) => void, filter?: {
1232
+ owner: `0x${string}`;
1233
+ canceledOwner: `0x${string}`;
1234
+ }) => () => void;
1235
+ /**
1236
+ * Watch OwnerPending events
1237
+ * @param callback Function to call when event is emitted
1238
+ * @param filter Optional filter for indexed parameters
1239
+ * @returns Unwatch function to stop listening
1240
+ */
1241
+ OwnerPending: (callback: (event: {
1242
+ owner: `0x${string}`;
1243
+ pendingOwner: `0x${string}`;
1244
+ }) => void, filter?: {
1245
+ owner: `0x${string}`;
1246
+ pendingOwner: `0x${string}`;
1247
+ }) => () => void;
1248
+ /**
1249
+ * Watch OwnerUpdated events
1250
+ * @param callback Function to call when event is emitted
1251
+ * @param filter Optional filter for indexed parameters
1252
+ * @returns Unwatch function to stop listening
1253
+ */
1254
+ OwnerUpdated: (callback: (event: {
1255
+ prevOwner: `0x${string}`;
1256
+ newOwner: `0x${string}`;
1257
+ }) => void, filter?: {
1258
+ prevOwner: `0x${string}`;
1259
+ newOwner: `0x${string}`;
1260
+ }) => () => void;
1261
+ /**
1262
+ * Watch TransactionCanceled events
1069
1263
  * @param callback Function to call when event is emitted
1070
1264
  * @param filter Optional filter for indexed parameters
1071
1265
  * @returns Unwatch function to stop listening
1072
1266
  */
1073
- updatedSpeedBump: (callback: (event: {
1074
- speedBumpIndex: bigint;
1075
- timeCreated: bigint;
1076
- speedBumpHours: bigint;
1267
+ TransactionCanceled: (callback: (event: {
1268
+ proposalId: `0x${string}`;
1077
1269
  }) => void) => () => void;
1078
1270
  /**
1079
- * Watch updatedTreasuryFunctionVerification events
1271
+ * Watch TransactionExecuted events
1080
1272
  * @param callback Function to call when event is emitted
1081
1273
  * @param filter Optional filter for indexed parameters
1082
1274
  * @returns Unwatch function to stop listening
1083
1275
  */
1084
- updatedTreasuryFunctionVerification: (callback: (event: {
1085
- verificationDetails: string;
1086
- locationOfDetails: string;
1276
+ TransactionExecuted: (callback: (event: {
1277
+ proposalId: `0x${string}`;
1278
+ targets: `0x${string}`[];
1279
+ values: bigint[];
1280
+ payloads: `0x${string}`[];
1087
1281
  }) => void) => () => void;
1088
1282
  /**
1089
- * Watch updatedTreasuryMainVariables events
1283
+ * Watch TransactionScheduled events
1090
1284
  * @param callback Function to call when event is emitted
1091
1285
  * @param filter Optional filter for indexed parameters
1092
1286
  * @returns Unwatch function to stop listening
1093
1287
  */
1094
- updatedTreasuryMainVariables: (callback: (event: {
1095
- newWithdrawalAddress: `0x${string}`;
1096
- newOperator: `0x${string}`;
1097
- circuitBreaker: boolean;
1288
+ TransactionScheduled: (callback: (event: {
1289
+ proposalId: `0x${string}`;
1290
+ timestamp: bigint;
1098
1291
  }) => void) => () => void;
1099
1292
  /**
1100
- * Watch updatedTreasuryVariables events
1293
+ * Watch Upgraded events
1101
1294
  * @param callback Function to call when event is emitted
1102
1295
  * @param filter Optional filter for indexed parameters
1103
1296
  * @returns Unwatch function to stop listening
1104
1297
  */
1105
- updatedTreasuryVariables: (callback: (event: {
1106
- mappDisputeFeeMultipler: bigint;
1107
- commissionDivider: bigint;
1108
- gatewayPenaltyMultipler: bigint;
1109
- treasuryPenaltyMultipler: bigint;
1298
+ Upgraded: (callback: (event: {
1299
+ impl: `0x${string}`;
1110
1300
  }) => void) => () => void;
1111
1301
  };
1112
1302
  }