@gitmyabi/treasury 1.0.1 → 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.
- package/README.md +5 -5
- package/contracts/Treasury_json.d.ts +599 -159
- package/contracts/Treasury_json.js +654 -183
- package/contracts/Treasury_json.ts +737 -183
- package/contracts/index.d.ts +0 -2
- package/contracts/index.js +1 -4
- package/contracts/index.ts +0 -2
- package/package.json +3 -3
- package/contracts/TransparentUpgradeableProxy_json.d.ts +0 -401
- package/contracts/TransparentUpgradeableProxy_json.js +0 -398
- package/contracts/TransparentUpgradeableProxy_json.ts +0 -542
|
@@ -9,237 +9,523 @@ export declare const Treasury_jsonAbi: readonly [{
|
|
|
9
9
|
readonly inputs: readonly [{
|
|
10
10
|
readonly indexed: false;
|
|
11
11
|
readonly internalType: "address";
|
|
12
|
-
readonly name: "
|
|
12
|
+
readonly name: "factory";
|
|
13
13
|
readonly type: "address";
|
|
14
14
|
}, {
|
|
15
15
|
readonly indexed: false;
|
|
16
16
|
readonly internalType: "address";
|
|
17
|
-
readonly name: "
|
|
17
|
+
readonly name: "ruleList";
|
|
18
18
|
readonly type: "address";
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
readonly type: "event";
|
|
22
|
-
}, {
|
|
23
|
-
readonly anonymous: false;
|
|
24
|
-
readonly inputs: readonly [{
|
|
25
|
-
readonly indexed: true;
|
|
19
|
+
}, {
|
|
20
|
+
readonly indexed: false;
|
|
26
21
|
readonly internalType: "address";
|
|
27
|
-
readonly name: "
|
|
22
|
+
readonly name: "escrowedDeposit";
|
|
28
23
|
readonly type: "address";
|
|
29
24
|
}];
|
|
30
|
-
readonly name: "
|
|
25
|
+
readonly name: "connectedContracts";
|
|
31
26
|
readonly type: "event";
|
|
32
27
|
}, {
|
|
33
28
|
readonly anonymous: false;
|
|
34
29
|
readonly inputs: readonly [{
|
|
35
|
-
readonly indexed:
|
|
36
|
-
readonly internalType: "
|
|
37
|
-
readonly name: "
|
|
38
|
-
readonly type: "
|
|
30
|
+
readonly indexed: false;
|
|
31
|
+
readonly internalType: "uint256";
|
|
32
|
+
readonly name: "speedBumpIndex";
|
|
33
|
+
readonly type: "uint256";
|
|
39
34
|
}, {
|
|
40
|
-
readonly indexed:
|
|
41
|
-
readonly internalType: "
|
|
42
|
-
readonly name: "
|
|
43
|
-
readonly type: "
|
|
35
|
+
readonly indexed: false;
|
|
36
|
+
readonly internalType: "uint256";
|
|
37
|
+
readonly name: "timeCreated";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly indexed: false;
|
|
41
|
+
readonly internalType: "uint256";
|
|
42
|
+
readonly name: "speedBumpHours";
|
|
43
|
+
readonly type: "uint256";
|
|
44
44
|
}];
|
|
45
|
-
readonly name: "
|
|
45
|
+
readonly name: "updatedSpeedBump";
|
|
46
46
|
readonly type: "event";
|
|
47
47
|
}, {
|
|
48
48
|
readonly anonymous: false;
|
|
49
49
|
readonly inputs: readonly [{
|
|
50
50
|
readonly indexed: false;
|
|
51
|
-
readonly internalType: "
|
|
52
|
-
readonly name: "
|
|
53
|
-
readonly type: "
|
|
51
|
+
readonly internalType: "string";
|
|
52
|
+
readonly name: "verificationDetails";
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
}, {
|
|
55
|
+
readonly indexed: false;
|
|
56
|
+
readonly internalType: "string";
|
|
57
|
+
readonly name: "locationOfDetails";
|
|
58
|
+
readonly type: "string";
|
|
54
59
|
}];
|
|
55
|
-
readonly name: "
|
|
60
|
+
readonly name: "updatedTreasuryFunctionVerification";
|
|
56
61
|
readonly type: "event";
|
|
57
62
|
}, {
|
|
58
63
|
readonly anonymous: false;
|
|
59
64
|
readonly inputs: readonly [{
|
|
60
65
|
readonly indexed: false;
|
|
61
66
|
readonly internalType: "address";
|
|
62
|
-
readonly name: "
|
|
67
|
+
readonly name: "newWithdrawalAddress";
|
|
63
68
|
readonly type: "address";
|
|
69
|
+
}, {
|
|
70
|
+
readonly indexed: false;
|
|
71
|
+
readonly internalType: "address";
|
|
72
|
+
readonly name: "newOperator";
|
|
73
|
+
readonly type: "address";
|
|
74
|
+
}, {
|
|
75
|
+
readonly indexed: false;
|
|
76
|
+
readonly internalType: "bool";
|
|
77
|
+
readonly name: "circuitBreaker";
|
|
78
|
+
readonly type: "bool";
|
|
64
79
|
}];
|
|
65
|
-
readonly name: "
|
|
80
|
+
readonly name: "updatedTreasuryMainVariables";
|
|
66
81
|
readonly type: "event";
|
|
67
82
|
}, {
|
|
68
83
|
readonly anonymous: false;
|
|
69
84
|
readonly inputs: readonly [{
|
|
70
|
-
readonly indexed:
|
|
71
|
-
readonly internalType: "
|
|
72
|
-
readonly name: "
|
|
73
|
-
readonly type: "
|
|
85
|
+
readonly indexed: false;
|
|
86
|
+
readonly internalType: "uint16";
|
|
87
|
+
readonly name: "mappDisputeFeeMultipler";
|
|
88
|
+
readonly type: "uint16";
|
|
89
|
+
}, {
|
|
90
|
+
readonly indexed: false;
|
|
91
|
+
readonly internalType: "uint16";
|
|
92
|
+
readonly name: "commissionDivider";
|
|
93
|
+
readonly type: "uint16";
|
|
94
|
+
}, {
|
|
95
|
+
readonly indexed: false;
|
|
96
|
+
readonly internalType: "uint16";
|
|
97
|
+
readonly name: "gatewayPenaltyMultipler";
|
|
98
|
+
readonly type: "uint16";
|
|
99
|
+
}, {
|
|
100
|
+
readonly indexed: false;
|
|
101
|
+
readonly internalType: "uint16";
|
|
102
|
+
readonly name: "treasuryPenaltyMultipler";
|
|
103
|
+
readonly type: "uint16";
|
|
74
104
|
}];
|
|
75
|
-
readonly name: "
|
|
105
|
+
readonly name: "updatedTreasuryVariables";
|
|
76
106
|
readonly type: "event";
|
|
77
107
|
}, {
|
|
108
|
+
readonly constant: true;
|
|
78
109
|
readonly inputs: readonly [];
|
|
79
|
-
readonly name: "
|
|
110
|
+
readonly name: "QNTAddress";
|
|
80
111
|
readonly outputs: readonly [{
|
|
81
112
|
readonly internalType: "address";
|
|
82
113
|
readonly name: "";
|
|
83
114
|
readonly type: "address";
|
|
84
115
|
}];
|
|
116
|
+
readonly payable: false;
|
|
85
117
|
readonly stateMutability: "view";
|
|
86
118
|
readonly type: "function";
|
|
87
119
|
}, {
|
|
120
|
+
readonly constant: true;
|
|
88
121
|
readonly inputs: readonly [];
|
|
89
|
-
readonly name: "
|
|
122
|
+
readonly name: "admin";
|
|
90
123
|
readonly outputs: readonly [{
|
|
91
124
|
readonly internalType: "address";
|
|
92
125
|
readonly name: "";
|
|
93
126
|
readonly type: "address";
|
|
94
127
|
}];
|
|
128
|
+
readonly payable: false;
|
|
129
|
+
readonly stateMutability: "view";
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
}, {
|
|
132
|
+
readonly constant: false;
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly internalType: "address";
|
|
135
|
+
readonly name: "nextAdmin";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
}, {
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
readonly name: "nextImplementation";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
}];
|
|
142
|
+
readonly name: "changeProxyVariables";
|
|
143
|
+
readonly outputs: readonly [];
|
|
144
|
+
readonly payable: false;
|
|
145
|
+
readonly stateMutability: "nonpayable";
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
}, {
|
|
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";
|
|
155
|
+
}];
|
|
156
|
+
readonly payable: false;
|
|
95
157
|
readonly stateMutability: "view";
|
|
96
158
|
readonly type: "function";
|
|
97
159
|
}, {
|
|
160
|
+
readonly constant: true;
|
|
98
161
|
readonly inputs: readonly [];
|
|
99
|
-
readonly name: "
|
|
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";
|
|
170
|
+
readonly type: "function";
|
|
171
|
+
}, {
|
|
172
|
+
readonly constant: true;
|
|
173
|
+
readonly inputs: readonly [];
|
|
174
|
+
readonly name: "gatewayPenaltyMultipler";
|
|
175
|
+
readonly outputs: readonly [{
|
|
176
|
+
readonly internalType: "uint16";
|
|
177
|
+
readonly name: "";
|
|
178
|
+
readonly type: "uint16";
|
|
179
|
+
}];
|
|
180
|
+
readonly payable: false;
|
|
181
|
+
readonly stateMutability: "view";
|
|
182
|
+
readonly type: "function";
|
|
183
|
+
}, {
|
|
184
|
+
readonly constant: true;
|
|
185
|
+
readonly inputs: readonly [];
|
|
186
|
+
readonly name: "implementation";
|
|
100
187
|
readonly outputs: readonly [{
|
|
101
188
|
readonly internalType: "address";
|
|
102
189
|
readonly name: "";
|
|
103
190
|
readonly type: "address";
|
|
104
191
|
}];
|
|
192
|
+
readonly payable: false;
|
|
105
193
|
readonly stateMutability: "view";
|
|
106
194
|
readonly type: "function";
|
|
107
195
|
}, {
|
|
196
|
+
readonly constant: false;
|
|
108
197
|
readonly inputs: readonly [{
|
|
109
198
|
readonly internalType: "address";
|
|
110
|
-
readonly name: "
|
|
199
|
+
readonly name: "thisQNTAddress";
|
|
111
200
|
readonly type: "address";
|
|
112
201
|
}, {
|
|
113
202
|
readonly internalType: "address";
|
|
114
|
-
readonly name: "
|
|
203
|
+
readonly name: "thisOperatorAddress";
|
|
115
204
|
readonly type: "address";
|
|
116
205
|
}, {
|
|
117
|
-
readonly internalType: "
|
|
118
|
-
readonly name: "
|
|
119
|
-
readonly type: "
|
|
206
|
+
readonly internalType: "uint16";
|
|
207
|
+
readonly name: "mappDisputeFee";
|
|
208
|
+
readonly type: "uint16";
|
|
120
209
|
}, {
|
|
121
|
-
readonly internalType: "
|
|
122
|
-
readonly name: "
|
|
123
|
-
readonly type: "
|
|
210
|
+
readonly internalType: "uint16";
|
|
211
|
+
readonly name: "commission";
|
|
212
|
+
readonly type: "uint16";
|
|
213
|
+
}, {
|
|
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";
|
|
124
225
|
}];
|
|
125
226
|
readonly name: "initialize";
|
|
126
227
|
readonly outputs: readonly [];
|
|
228
|
+
readonly payable: false;
|
|
127
229
|
readonly stateMutability: "nonpayable";
|
|
128
230
|
readonly type: "function";
|
|
129
231
|
}, {
|
|
232
|
+
readonly constant: true;
|
|
130
233
|
readonly inputs: readonly [];
|
|
131
|
-
readonly name: "
|
|
234
|
+
readonly name: "initialized";
|
|
132
235
|
readonly outputs: readonly [{
|
|
133
|
-
readonly internalType: "
|
|
236
|
+
readonly internalType: "bool";
|
|
134
237
|
readonly name: "";
|
|
135
|
-
readonly type: "
|
|
238
|
+
readonly type: "bool";
|
|
136
239
|
}];
|
|
240
|
+
readonly payable: false;
|
|
137
241
|
readonly stateMutability: "view";
|
|
138
242
|
readonly type: "function";
|
|
139
243
|
}, {
|
|
244
|
+
readonly constant: true;
|
|
140
245
|
readonly inputs: readonly [];
|
|
141
|
-
readonly name: "
|
|
246
|
+
readonly name: "mappDisputeFeeMultipler";
|
|
142
247
|
readonly outputs: readonly [{
|
|
143
|
-
readonly internalType: "
|
|
248
|
+
readonly internalType: "uint16";
|
|
144
249
|
readonly name: "";
|
|
145
|
-
readonly type: "
|
|
250
|
+
readonly type: "uint16";
|
|
146
251
|
}];
|
|
252
|
+
readonly payable: false;
|
|
147
253
|
readonly stateMutability: "view";
|
|
148
254
|
readonly type: "function";
|
|
149
255
|
}, {
|
|
256
|
+
readonly constant: true;
|
|
150
257
|
readonly inputs: readonly [];
|
|
151
|
-
readonly name: "
|
|
258
|
+
readonly name: "operatorAddress";
|
|
152
259
|
readonly outputs: readonly [{
|
|
153
|
-
readonly internalType: "
|
|
260
|
+
readonly internalType: "address";
|
|
154
261
|
readonly name: "";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}];
|
|
264
|
+
readonly payable: false;
|
|
265
|
+
readonly stateMutability: "view";
|
|
266
|
+
readonly type: "function";
|
|
267
|
+
}, {
|
|
268
|
+
readonly constant: true;
|
|
269
|
+
readonly inputs: readonly [{
|
|
270
|
+
readonly internalType: "bool";
|
|
271
|
+
readonly name: "gateway";
|
|
155
272
|
readonly type: "bool";
|
|
156
273
|
}];
|
|
274
|
+
readonly name: "readFunctionPenaltyMultipler";
|
|
275
|
+
readonly outputs: readonly [{
|
|
276
|
+
readonly internalType: "uint256";
|
|
277
|
+
readonly name: "";
|
|
278
|
+
readonly type: "uint256";
|
|
279
|
+
}];
|
|
280
|
+
readonly payable: false;
|
|
157
281
|
readonly stateMutability: "view";
|
|
158
282
|
readonly type: "function";
|
|
159
283
|
}, {
|
|
284
|
+
readonly constant: false;
|
|
160
285
|
readonly inputs: readonly [];
|
|
161
|
-
readonly name: "
|
|
286
|
+
readonly name: "setAdmin";
|
|
162
287
|
readonly outputs: readonly [];
|
|
288
|
+
readonly payable: false;
|
|
163
289
|
readonly stateMutability: "nonpayable";
|
|
164
290
|
readonly type: "function";
|
|
165
291
|
}, {
|
|
292
|
+
readonly constant: false;
|
|
166
293
|
readonly inputs: readonly [];
|
|
167
|
-
readonly name: "
|
|
294
|
+
readonly name: "setImplementation";
|
|
295
|
+
readonly outputs: readonly [];
|
|
296
|
+
readonly payable: false;
|
|
297
|
+
readonly stateMutability: "nonpayable";
|
|
298
|
+
readonly type: "function";
|
|
299
|
+
}, {
|
|
300
|
+
readonly constant: true;
|
|
301
|
+
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";
|
|
309
|
+
}];
|
|
310
|
+
readonly name: "speedBumpAddresses";
|
|
168
311
|
readonly outputs: readonly [{
|
|
169
312
|
readonly internalType: "address";
|
|
170
313
|
readonly name: "";
|
|
171
314
|
readonly type: "address";
|
|
172
315
|
}];
|
|
316
|
+
readonly payable: false;
|
|
173
317
|
readonly stateMutability: "view";
|
|
174
318
|
readonly type: "function";
|
|
175
319
|
}, {
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
320
|
+
readonly constant: true;
|
|
321
|
+
readonly inputs: readonly [{
|
|
322
|
+
readonly internalType: "uint8";
|
|
323
|
+
readonly name: "index";
|
|
324
|
+
readonly type: "uint8";
|
|
325
|
+
}];
|
|
326
|
+
readonly name: "speedBumpCircuitBreaker";
|
|
178
327
|
readonly outputs: readonly [{
|
|
179
|
-
readonly internalType: "
|
|
328
|
+
readonly internalType: "bool";
|
|
180
329
|
readonly name: "";
|
|
181
|
-
readonly type: "
|
|
330
|
+
readonly type: "bool";
|
|
182
331
|
}];
|
|
332
|
+
readonly payable: false;
|
|
183
333
|
readonly stateMutability: "view";
|
|
184
334
|
readonly type: "function";
|
|
185
335
|
}, {
|
|
336
|
+
readonly constant: false;
|
|
186
337
|
readonly inputs: readonly [{
|
|
187
|
-
readonly internalType: "address";
|
|
188
|
-
readonly name: "
|
|
189
|
-
readonly type: "address";
|
|
338
|
+
readonly internalType: "address[]";
|
|
339
|
+
readonly name: "addresses";
|
|
340
|
+
readonly type: "address[]";
|
|
190
341
|
}];
|
|
191
|
-
readonly name: "
|
|
342
|
+
readonly name: "speedBumpContract";
|
|
192
343
|
readonly outputs: readonly [];
|
|
344
|
+
readonly payable: false;
|
|
193
345
|
readonly stateMutability: "nonpayable";
|
|
194
346
|
readonly type: "function";
|
|
195
347
|
}, {
|
|
196
|
-
readonly
|
|
197
|
-
readonly
|
|
348
|
+
readonly constant: true;
|
|
349
|
+
readonly inputs: readonly [{
|
|
350
|
+
readonly internalType: "uint8";
|
|
351
|
+
readonly name: "index";
|
|
352
|
+
readonly type: "uint8";
|
|
353
|
+
}];
|
|
354
|
+
readonly name: "speedBumpCurrentSBHours";
|
|
198
355
|
readonly outputs: readonly [{
|
|
199
|
-
readonly internalType: "
|
|
356
|
+
readonly internalType: "uint16";
|
|
200
357
|
readonly name: "";
|
|
201
|
-
readonly type: "
|
|
358
|
+
readonly type: "uint16";
|
|
202
359
|
}];
|
|
360
|
+
readonly payable: false;
|
|
203
361
|
readonly stateMutability: "view";
|
|
204
362
|
readonly type: "function";
|
|
205
363
|
}, {
|
|
364
|
+
readonly constant: false;
|
|
206
365
|
readonly inputs: readonly [{
|
|
207
|
-
readonly internalType: "
|
|
208
|
-
readonly name: "
|
|
209
|
-
readonly type: "
|
|
366
|
+
readonly internalType: "uint16[]";
|
|
367
|
+
readonly name: "uint16s";
|
|
368
|
+
readonly type: "uint16[]";
|
|
210
369
|
}];
|
|
211
|
-
readonly name: "
|
|
370
|
+
readonly name: "speedBumpFee";
|
|
212
371
|
readonly outputs: readonly [];
|
|
372
|
+
readonly payable: false;
|
|
213
373
|
readonly stateMutability: "nonpayable";
|
|
214
374
|
readonly type: "function";
|
|
215
375
|
}, {
|
|
376
|
+
readonly constant: true;
|
|
377
|
+
readonly inputs: readonly [];
|
|
378
|
+
readonly name: "speedBumpHours";
|
|
379
|
+
readonly outputs: readonly [{
|
|
380
|
+
readonly internalType: "uint16";
|
|
381
|
+
readonly name: "";
|
|
382
|
+
readonly type: "uint16";
|
|
383
|
+
}];
|
|
384
|
+
readonly payable: false;
|
|
385
|
+
readonly stateMutability: "view";
|
|
386
|
+
readonly type: "function";
|
|
387
|
+
}, {
|
|
388
|
+
readonly constant: false;
|
|
216
389
|
readonly inputs: readonly [{
|
|
217
|
-
readonly internalType: "address";
|
|
218
|
-
readonly name: "
|
|
219
|
-
readonly type: "address";
|
|
390
|
+
readonly internalType: "address[]";
|
|
391
|
+
readonly name: "addresses";
|
|
392
|
+
readonly type: "address[]";
|
|
393
|
+
}, {
|
|
394
|
+
readonly internalType: "uint16";
|
|
395
|
+
readonly name: "newSpeedBumpHours";
|
|
396
|
+
readonly type: "uint16";
|
|
220
397
|
}, {
|
|
221
|
-
readonly internalType: "
|
|
222
|
-
readonly name: "
|
|
223
|
-
readonly type: "
|
|
398
|
+
readonly internalType: "bool";
|
|
399
|
+
readonly name: "circuitBreaker";
|
|
400
|
+
readonly type: "bool";
|
|
224
401
|
}];
|
|
225
|
-
readonly name: "
|
|
402
|
+
readonly name: "speedBumpMain";
|
|
226
403
|
readonly outputs: readonly [];
|
|
227
|
-
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";
|
|
413
|
+
}];
|
|
414
|
+
readonly name: "speedBumpNextSBHours";
|
|
415
|
+
readonly outputs: readonly [{
|
|
416
|
+
readonly internalType: "uint16";
|
|
417
|
+
readonly name: "";
|
|
418
|
+
readonly type: "uint16";
|
|
419
|
+
}];
|
|
420
|
+
readonly payable: false;
|
|
421
|
+
readonly stateMutability: "view";
|
|
422
|
+
readonly type: "function";
|
|
423
|
+
}, {
|
|
424
|
+
readonly constant: true;
|
|
425
|
+
readonly inputs: readonly [{
|
|
426
|
+
readonly internalType: "uint8";
|
|
427
|
+
readonly name: "index";
|
|
428
|
+
readonly type: "uint8";
|
|
429
|
+
}];
|
|
430
|
+
readonly name: "speedBumpTimeCreated";
|
|
431
|
+
readonly outputs: readonly [{
|
|
432
|
+
readonly internalType: "uint256";
|
|
433
|
+
readonly name: "";
|
|
434
|
+
readonly type: "uint256";
|
|
435
|
+
}];
|
|
436
|
+
readonly payable: false;
|
|
437
|
+
readonly stateMutability: "view";
|
|
228
438
|
readonly type: "function";
|
|
229
439
|
}, {
|
|
440
|
+
readonly constant: true;
|
|
230
441
|
readonly inputs: readonly [{
|
|
442
|
+
readonly internalType: "uint8";
|
|
443
|
+
readonly name: "index";
|
|
444
|
+
readonly type: "uint8";
|
|
445
|
+
}, {
|
|
446
|
+
readonly internalType: "uint8";
|
|
447
|
+
readonly name: "uint16Index";
|
|
448
|
+
readonly type: "uint8";
|
|
449
|
+
}];
|
|
450
|
+
readonly name: "speedBumpUint16s";
|
|
451
|
+
readonly outputs: readonly [{
|
|
452
|
+
readonly internalType: "uint16";
|
|
453
|
+
readonly name: "";
|
|
454
|
+
readonly type: "uint16";
|
|
455
|
+
}];
|
|
456
|
+
readonly payable: false;
|
|
457
|
+
readonly stateMutability: "view";
|
|
458
|
+
readonly type: "function";
|
|
459
|
+
}, {
|
|
460
|
+
readonly constant: true;
|
|
461
|
+
readonly inputs: readonly [];
|
|
462
|
+
readonly name: "treasuryPenaltyMultipler";
|
|
463
|
+
readonly outputs: readonly [{
|
|
464
|
+
readonly internalType: "uint16";
|
|
465
|
+
readonly name: "";
|
|
466
|
+
readonly type: "uint16";
|
|
467
|
+
}];
|
|
468
|
+
readonly payable: false;
|
|
469
|
+
readonly stateMutability: "view";
|
|
470
|
+
readonly type: "function";
|
|
471
|
+
}, {
|
|
472
|
+
readonly constant: true;
|
|
473
|
+
readonly inputs: readonly [];
|
|
474
|
+
readonly name: "treasurysDeposit";
|
|
475
|
+
readonly outputs: readonly [{
|
|
231
476
|
readonly internalType: "address";
|
|
232
|
-
readonly name: "
|
|
477
|
+
readonly name: "";
|
|
478
|
+
readonly type: "address";
|
|
479
|
+
}];
|
|
480
|
+
readonly payable: false;
|
|
481
|
+
readonly stateMutability: "view";
|
|
482
|
+
readonly type: "function";
|
|
483
|
+
}, {
|
|
484
|
+
readonly constant: true;
|
|
485
|
+
readonly inputs: readonly [];
|
|
486
|
+
readonly name: "treasurysFactory";
|
|
487
|
+
readonly outputs: readonly [{
|
|
488
|
+
readonly internalType: "address";
|
|
489
|
+
readonly name: "";
|
|
233
490
|
readonly type: "address";
|
|
234
491
|
}];
|
|
235
|
-
readonly
|
|
492
|
+
readonly payable: false;
|
|
493
|
+
readonly stateMutability: "view";
|
|
494
|
+
readonly type: "function";
|
|
495
|
+
}, {
|
|
496
|
+
readonly constant: true;
|
|
497
|
+
readonly inputs: readonly [];
|
|
498
|
+
readonly name: "treasurysRuleList";
|
|
499
|
+
readonly outputs: readonly [{
|
|
500
|
+
readonly internalType: "address";
|
|
501
|
+
readonly name: "";
|
|
502
|
+
readonly type: "address";
|
|
503
|
+
}];
|
|
504
|
+
readonly payable: false;
|
|
505
|
+
readonly stateMutability: "view";
|
|
506
|
+
readonly type: "function";
|
|
507
|
+
}, {
|
|
508
|
+
readonly constant: false;
|
|
509
|
+
readonly inputs: readonly [];
|
|
510
|
+
readonly name: "updateTreasuryContracts";
|
|
511
|
+
readonly outputs: readonly [];
|
|
512
|
+
readonly payable: false;
|
|
513
|
+
readonly stateMutability: "nonpayable";
|
|
514
|
+
readonly type: "function";
|
|
515
|
+
}, {
|
|
516
|
+
readonly constant: false;
|
|
517
|
+
readonly inputs: readonly [];
|
|
518
|
+
readonly name: "updateTreasuryFeeVariables";
|
|
236
519
|
readonly outputs: readonly [];
|
|
520
|
+
readonly payable: false;
|
|
237
521
|
readonly stateMutability: "nonpayable";
|
|
238
522
|
readonly type: "function";
|
|
239
523
|
}, {
|
|
524
|
+
readonly constant: false;
|
|
240
525
|
readonly inputs: readonly [];
|
|
241
|
-
readonly name: "
|
|
526
|
+
readonly name: "updateTreasuryMainVariables";
|
|
242
527
|
readonly outputs: readonly [];
|
|
528
|
+
readonly payable: false;
|
|
243
529
|
readonly stateMutability: "nonpayable";
|
|
244
530
|
readonly type: "function";
|
|
245
531
|
}];
|
|
@@ -300,56 +586,133 @@ export declare class Treasury_json {
|
|
|
300
586
|
*/
|
|
301
587
|
getContract(): Treasury_jsonContract;
|
|
302
588
|
/**
|
|
303
|
-
*
|
|
589
|
+
* QNTAddress
|
|
590
|
+
* view
|
|
591
|
+
*/
|
|
592
|
+
QNTAddress(): Promise<`0x${string}`>;
|
|
593
|
+
/**
|
|
594
|
+
* admin
|
|
595
|
+
* view
|
|
596
|
+
*/
|
|
597
|
+
admin(): Promise<`0x${string}`>;
|
|
598
|
+
/**
|
|
599
|
+
* circuitBreakerOn
|
|
600
|
+
* view
|
|
601
|
+
*/
|
|
602
|
+
circuitBreakerOn(): Promise<boolean>;
|
|
603
|
+
/**
|
|
604
|
+
* commissionDivider
|
|
605
|
+
* view
|
|
606
|
+
*/
|
|
607
|
+
commissionDivider(): Promise<bigint>;
|
|
608
|
+
/**
|
|
609
|
+
* gatewayPenaltyMultipler
|
|
304
610
|
* view
|
|
305
611
|
*/
|
|
306
|
-
|
|
612
|
+
gatewayPenaltyMultipler(): Promise<bigint>;
|
|
307
613
|
/**
|
|
308
|
-
*
|
|
614
|
+
* implementation
|
|
309
615
|
* view
|
|
310
616
|
*/
|
|
311
|
-
|
|
617
|
+
implementation(): Promise<`0x${string}`>;
|
|
312
618
|
/**
|
|
313
|
-
*
|
|
619
|
+
* initialized
|
|
314
620
|
* view
|
|
315
621
|
*/
|
|
316
|
-
|
|
622
|
+
initialized(): Promise<boolean>;
|
|
317
623
|
/**
|
|
318
|
-
*
|
|
624
|
+
* mappDisputeFeeMultipler
|
|
319
625
|
* view
|
|
320
626
|
*/
|
|
321
|
-
|
|
627
|
+
mappDisputeFeeMultipler(): Promise<bigint>;
|
|
322
628
|
/**
|
|
323
|
-
*
|
|
629
|
+
* operatorAddress
|
|
324
630
|
* view
|
|
325
631
|
*/
|
|
326
|
-
|
|
632
|
+
operatorAddress(): Promise<`0x${string}`>;
|
|
327
633
|
/**
|
|
328
|
-
*
|
|
634
|
+
* readFunctionPenaltyMultipler
|
|
329
635
|
* view
|
|
330
636
|
*/
|
|
331
|
-
|
|
637
|
+
readFunctionPenaltyMultipler(gateway: boolean): Promise<bigint>;
|
|
332
638
|
/**
|
|
333
|
-
*
|
|
639
|
+
* speedBumpAddresses
|
|
334
640
|
* view
|
|
335
641
|
*/
|
|
336
|
-
|
|
642
|
+
speedBumpAddresses(index: bigint, addressIndex: bigint): Promise<`0x${string}`>;
|
|
337
643
|
/**
|
|
338
|
-
*
|
|
644
|
+
* speedBumpCircuitBreaker
|
|
339
645
|
* view
|
|
340
646
|
*/
|
|
341
|
-
|
|
647
|
+
speedBumpCircuitBreaker(index: bigint): Promise<boolean>;
|
|
342
648
|
/**
|
|
343
|
-
*
|
|
649
|
+
* speedBumpCurrentSBHours
|
|
344
650
|
* view
|
|
345
651
|
*/
|
|
346
|
-
|
|
652
|
+
speedBumpCurrentSBHours(index: bigint): Promise<bigint>;
|
|
653
|
+
/**
|
|
654
|
+
* speedBumpHours
|
|
655
|
+
* view
|
|
656
|
+
*/
|
|
657
|
+
speedBumpHours(): Promise<bigint>;
|
|
658
|
+
/**
|
|
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
|
|
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}`>;
|
|
347
710
|
/**
|
|
348
711
|
* initialize
|
|
349
712
|
* nonpayable
|
|
350
713
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
351
714
|
*/
|
|
352
|
-
initialize(
|
|
715
|
+
initialize(thisQNTAddress: `0x${string}`, thisOperatorAddress: `0x${string}`, mappDisputeFee: bigint, commission: bigint, treasuryPenalty: bigint, gatewayPenalty: bigint, speedBumpTime: bigint, options?: {
|
|
353
716
|
accessList?: import('viem').AccessList;
|
|
354
717
|
authorizationList?: import('viem').AuthorizationList;
|
|
355
718
|
chain?: import('viem').Chain | null;
|
|
@@ -362,11 +725,11 @@ export declare class Treasury_json {
|
|
|
362
725
|
value?: bigint;
|
|
363
726
|
}): Promise<`0x${string}`>;
|
|
364
727
|
/**
|
|
365
|
-
*
|
|
728
|
+
* setAdmin
|
|
366
729
|
* nonpayable
|
|
367
730
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
368
731
|
*/
|
|
369
|
-
|
|
732
|
+
setAdmin(options?: {
|
|
370
733
|
accessList?: import('viem').AccessList;
|
|
371
734
|
authorizationList?: import('viem').AuthorizationList;
|
|
372
735
|
chain?: import('viem').Chain | null;
|
|
@@ -379,11 +742,11 @@ export declare class Treasury_json {
|
|
|
379
742
|
value?: bigint;
|
|
380
743
|
}): Promise<`0x${string}`>;
|
|
381
744
|
/**
|
|
382
|
-
*
|
|
745
|
+
* setImplementation
|
|
383
746
|
* nonpayable
|
|
384
747
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
385
748
|
*/
|
|
386
|
-
|
|
749
|
+
setImplementation(options?: {
|
|
387
750
|
accessList?: import('viem').AccessList;
|
|
388
751
|
authorizationList?: import('viem').AuthorizationList;
|
|
389
752
|
chain?: import('viem').Chain | null;
|
|
@@ -396,11 +759,11 @@ export declare class Treasury_json {
|
|
|
396
759
|
value?: bigint;
|
|
397
760
|
}): Promise<`0x${string}`>;
|
|
398
761
|
/**
|
|
399
|
-
*
|
|
762
|
+
* speedBumpContract
|
|
400
763
|
* nonpayable
|
|
401
764
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
402
765
|
*/
|
|
403
|
-
|
|
766
|
+
speedBumpContract(addresses: `0x${string}`[], options?: {
|
|
404
767
|
accessList?: import('viem').AccessList;
|
|
405
768
|
authorizationList?: import('viem').AuthorizationList;
|
|
406
769
|
chain?: import('viem').Chain | null;
|
|
@@ -413,11 +776,11 @@ export declare class Treasury_json {
|
|
|
413
776
|
value?: bigint;
|
|
414
777
|
}): Promise<`0x${string}`>;
|
|
415
778
|
/**
|
|
416
|
-
*
|
|
417
|
-
*
|
|
779
|
+
* speedBumpFee
|
|
780
|
+
* nonpayable
|
|
418
781
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
419
782
|
*/
|
|
420
|
-
|
|
783
|
+
speedBumpFee(uint16s: bigint[], options?: {
|
|
421
784
|
accessList?: import('viem').AccessList;
|
|
422
785
|
authorizationList?: import('viem').AuthorizationList;
|
|
423
786
|
chain?: import('viem').Chain | null;
|
|
@@ -430,11 +793,11 @@ export declare class Treasury_json {
|
|
|
430
793
|
value?: bigint;
|
|
431
794
|
}): Promise<`0x${string}`>;
|
|
432
795
|
/**
|
|
433
|
-
*
|
|
796
|
+
* speedBumpMain
|
|
434
797
|
* nonpayable
|
|
435
798
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
436
799
|
*/
|
|
437
|
-
|
|
800
|
+
speedBumpMain(addresses: `0x${string}`[], newSpeedBumpHours: bigint, circuitBreaker: boolean, options?: {
|
|
438
801
|
accessList?: import('viem').AccessList;
|
|
439
802
|
authorizationList?: import('viem').AuthorizationList;
|
|
440
803
|
chain?: import('viem').Chain | null;
|
|
@@ -447,11 +810,45 @@ export declare class Treasury_json {
|
|
|
447
810
|
value?: bigint;
|
|
448
811
|
}): Promise<`0x${string}`>;
|
|
449
812
|
/**
|
|
450
|
-
*
|
|
813
|
+
* updateTreasuryContracts
|
|
451
814
|
* nonpayable
|
|
452
815
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
453
816
|
*/
|
|
454
|
-
|
|
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?: {
|
|
455
852
|
accessList?: import('viem').AccessList;
|
|
456
853
|
authorizationList?: import('viem').AuthorizationList;
|
|
457
854
|
chain?: import('viem').Chain | null;
|
|
@@ -472,12 +869,63 @@ export declare class Treasury_json {
|
|
|
472
869
|
* console.log('Would succeed:', result.result);
|
|
473
870
|
*/
|
|
474
871
|
get simulate(): {
|
|
872
|
+
/**
|
|
873
|
+
* Simulate changeProxyVariables
|
|
874
|
+
* Returns gas estimate and result without sending transaction
|
|
875
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
876
|
+
*/
|
|
877
|
+
changeProxyVariables(nextAdmin: `0x${string}`, nextImplementation: `0x${string}`, options?: {
|
|
878
|
+
accessList?: import("viem").AccessList;
|
|
879
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
880
|
+
chain?: import("viem").Chain | null;
|
|
881
|
+
dataSuffix?: `0x${string}`;
|
|
882
|
+
gas?: bigint;
|
|
883
|
+
gasPrice?: bigint;
|
|
884
|
+
maxFeePerGas?: bigint;
|
|
885
|
+
maxPriorityFeePerGas?: bigint;
|
|
886
|
+
nonce?: number;
|
|
887
|
+
value?: bigint;
|
|
888
|
+
}): Promise<void>;
|
|
475
889
|
/**
|
|
476
890
|
* Simulate initialize
|
|
477
891
|
* Returns gas estimate and result without sending transaction
|
|
478
892
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
479
893
|
*/
|
|
480
|
-
initialize(
|
|
894
|
+
initialize(thisQNTAddress: `0x${string}`, thisOperatorAddress: `0x${string}`, mappDisputeFee: bigint, commission: bigint, treasuryPenalty: bigint, gatewayPenalty: bigint, speedBumpTime: bigint, options?: {
|
|
895
|
+
accessList?: import("viem").AccessList;
|
|
896
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
897
|
+
chain?: import("viem").Chain | null;
|
|
898
|
+
dataSuffix?: `0x${string}`;
|
|
899
|
+
gas?: bigint;
|
|
900
|
+
gasPrice?: bigint;
|
|
901
|
+
maxFeePerGas?: bigint;
|
|
902
|
+
maxPriorityFeePerGas?: bigint;
|
|
903
|
+
nonce?: number;
|
|
904
|
+
value?: bigint;
|
|
905
|
+
}): Promise<void>;
|
|
906
|
+
/**
|
|
907
|
+
* Simulate setAdmin
|
|
908
|
+
* Returns gas estimate and result without sending transaction
|
|
909
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
910
|
+
*/
|
|
911
|
+
setAdmin(options?: {
|
|
912
|
+
accessList?: import("viem").AccessList;
|
|
913
|
+
authorizationList?: import("viem").AuthorizationList;
|
|
914
|
+
chain?: import("viem").Chain | null;
|
|
915
|
+
dataSuffix?: `0x${string}`;
|
|
916
|
+
gas?: bigint;
|
|
917
|
+
gasPrice?: bigint;
|
|
918
|
+
maxFeePerGas?: bigint;
|
|
919
|
+
maxPriorityFeePerGas?: bigint;
|
|
920
|
+
nonce?: number;
|
|
921
|
+
value?: bigint;
|
|
922
|
+
}): Promise<void>;
|
|
923
|
+
/**
|
|
924
|
+
* Simulate setImplementation
|
|
925
|
+
* Returns gas estimate and result without sending transaction
|
|
926
|
+
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
927
|
+
*/
|
|
928
|
+
setImplementation(options?: {
|
|
481
929
|
accessList?: import("viem").AccessList;
|
|
482
930
|
authorizationList?: import("viem").AuthorizationList;
|
|
483
931
|
chain?: import("viem").Chain | null;
|
|
@@ -490,11 +938,11 @@ export declare class Treasury_json {
|
|
|
490
938
|
value?: bigint;
|
|
491
939
|
}): Promise<void>;
|
|
492
940
|
/**
|
|
493
|
-
* Simulate
|
|
941
|
+
* Simulate speedBumpContract
|
|
494
942
|
* Returns gas estimate and result without sending transaction
|
|
495
943
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
496
944
|
*/
|
|
497
|
-
|
|
945
|
+
speedBumpContract(addresses: `0x${string}`[], options?: {
|
|
498
946
|
accessList?: import("viem").AccessList;
|
|
499
947
|
authorizationList?: import("viem").AuthorizationList;
|
|
500
948
|
chain?: import("viem").Chain | null;
|
|
@@ -507,11 +955,11 @@ export declare class Treasury_json {
|
|
|
507
955
|
value?: bigint;
|
|
508
956
|
}): Promise<void>;
|
|
509
957
|
/**
|
|
510
|
-
* Simulate
|
|
958
|
+
* Simulate speedBumpFee
|
|
511
959
|
* Returns gas estimate and result without sending transaction
|
|
512
960
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
513
961
|
*/
|
|
514
|
-
|
|
962
|
+
speedBumpFee(uint16s: bigint[], options?: {
|
|
515
963
|
accessList?: import("viem").AccessList;
|
|
516
964
|
authorizationList?: import("viem").AuthorizationList;
|
|
517
965
|
chain?: import("viem").Chain | null;
|
|
@@ -524,11 +972,11 @@ export declare class Treasury_json {
|
|
|
524
972
|
value?: bigint;
|
|
525
973
|
}): Promise<void>;
|
|
526
974
|
/**
|
|
527
|
-
* Simulate
|
|
975
|
+
* Simulate speedBumpMain
|
|
528
976
|
* Returns gas estimate and result without sending transaction
|
|
529
977
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
530
978
|
*/
|
|
531
|
-
|
|
979
|
+
speedBumpMain(addresses: `0x${string}`[], newSpeedBumpHours: bigint, circuitBreaker: boolean, options?: {
|
|
532
980
|
accessList?: import("viem").AccessList;
|
|
533
981
|
authorizationList?: import("viem").AuthorizationList;
|
|
534
982
|
chain?: import("viem").Chain | null;
|
|
@@ -541,11 +989,11 @@ export declare class Treasury_json {
|
|
|
541
989
|
value?: bigint;
|
|
542
990
|
}): Promise<void>;
|
|
543
991
|
/**
|
|
544
|
-
* Simulate
|
|
992
|
+
* Simulate updateTreasuryContracts
|
|
545
993
|
* Returns gas estimate and result without sending transaction
|
|
546
994
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
547
995
|
*/
|
|
548
|
-
|
|
996
|
+
updateTreasuryContracts(options?: {
|
|
549
997
|
accessList?: import("viem").AccessList;
|
|
550
998
|
authorizationList?: import("viem").AuthorizationList;
|
|
551
999
|
chain?: import("viem").Chain | null;
|
|
@@ -558,11 +1006,11 @@ export declare class Treasury_json {
|
|
|
558
1006
|
value?: bigint;
|
|
559
1007
|
}): Promise<void>;
|
|
560
1008
|
/**
|
|
561
|
-
* Simulate
|
|
1009
|
+
* Simulate updateTreasuryFeeVariables
|
|
562
1010
|
* Returns gas estimate and result without sending transaction
|
|
563
1011
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
564
1012
|
*/
|
|
565
|
-
|
|
1013
|
+
updateTreasuryFeeVariables(options?: {
|
|
566
1014
|
accessList?: import("viem").AccessList;
|
|
567
1015
|
authorizationList?: import("viem").AuthorizationList;
|
|
568
1016
|
chain?: import("viem").Chain | null;
|
|
@@ -575,11 +1023,11 @@ export declare class Treasury_json {
|
|
|
575
1023
|
value?: bigint;
|
|
576
1024
|
}): Promise<void>;
|
|
577
1025
|
/**
|
|
578
|
-
* Simulate
|
|
1026
|
+
* Simulate updateTreasuryMainVariables
|
|
579
1027
|
* Returns gas estimate and result without sending transaction
|
|
580
1028
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
581
1029
|
*/
|
|
582
|
-
|
|
1030
|
+
updateTreasuryMainVariables(options?: {
|
|
583
1031
|
accessList?: import("viem").AccessList;
|
|
584
1032
|
authorizationList?: import("viem").AuthorizationList;
|
|
585
1033
|
chain?: import("viem").Chain | null;
|
|
@@ -606,67 +1054,59 @@ export declare class Treasury_json {
|
|
|
606
1054
|
*/
|
|
607
1055
|
get watch(): {
|
|
608
1056
|
/**
|
|
609
|
-
* Watch
|
|
1057
|
+
* Watch connectedContracts events
|
|
610
1058
|
* @param callback Function to call when event is emitted
|
|
611
1059
|
* @param filter Optional filter for indexed parameters
|
|
612
1060
|
* @returns Unwatch function to stop listening
|
|
613
1061
|
*/
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
1062
|
+
connectedContracts: (callback: (event: {
|
|
1063
|
+
factory: `0x${string}`;
|
|
1064
|
+
ruleList: `0x${string}`;
|
|
1065
|
+
escrowedDeposit: `0x${string}`;
|
|
617
1066
|
}) => void) => () => void;
|
|
618
1067
|
/**
|
|
619
|
-
* Watch
|
|
620
|
-
* @param callback Function to call when event is emitted
|
|
621
|
-
* @param filter Optional filter for indexed parameters
|
|
622
|
-
* @returns Unwatch function to stop listening
|
|
623
|
-
*/
|
|
624
|
-
BeaconUpgraded: (callback: (event: {
|
|
625
|
-
beacon: `0x${string}`;
|
|
626
|
-
}) => void, filter?: {
|
|
627
|
-
beacon: `0x${string}`;
|
|
628
|
-
}) => () => void;
|
|
629
|
-
/**
|
|
630
|
-
* Watch OwnershipTransferred events
|
|
1068
|
+
* Watch updatedSpeedBump events
|
|
631
1069
|
* @param callback Function to call when event is emitted
|
|
632
1070
|
* @param filter Optional filter for indexed parameters
|
|
633
1071
|
* @returns Unwatch function to stop listening
|
|
634
1072
|
*/
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
newOwner: `0x${string}`;
|
|
641
|
-
}) => () => void;
|
|
1073
|
+
updatedSpeedBump: (callback: (event: {
|
|
1074
|
+
speedBumpIndex: bigint;
|
|
1075
|
+
timeCreated: bigint;
|
|
1076
|
+
speedBumpHours: bigint;
|
|
1077
|
+
}) => void) => () => void;
|
|
642
1078
|
/**
|
|
643
|
-
* Watch
|
|
1079
|
+
* Watch updatedTreasuryFunctionVerification events
|
|
644
1080
|
* @param callback Function to call when event is emitted
|
|
645
1081
|
* @param filter Optional filter for indexed parameters
|
|
646
1082
|
* @returns Unwatch function to stop listening
|
|
647
1083
|
*/
|
|
648
|
-
|
|
649
|
-
|
|
1084
|
+
updatedTreasuryFunctionVerification: (callback: (event: {
|
|
1085
|
+
verificationDetails: string;
|
|
1086
|
+
locationOfDetails: string;
|
|
650
1087
|
}) => void) => () => void;
|
|
651
1088
|
/**
|
|
652
|
-
* Watch
|
|
1089
|
+
* Watch updatedTreasuryMainVariables events
|
|
653
1090
|
* @param callback Function to call when event is emitted
|
|
654
1091
|
* @param filter Optional filter for indexed parameters
|
|
655
1092
|
* @returns Unwatch function to stop listening
|
|
656
1093
|
*/
|
|
657
|
-
|
|
658
|
-
|
|
1094
|
+
updatedTreasuryMainVariables: (callback: (event: {
|
|
1095
|
+
newWithdrawalAddress: `0x${string}`;
|
|
1096
|
+
newOperator: `0x${string}`;
|
|
1097
|
+
circuitBreaker: boolean;
|
|
659
1098
|
}) => void) => () => void;
|
|
660
1099
|
/**
|
|
661
|
-
* Watch
|
|
1100
|
+
* Watch updatedTreasuryVariables events
|
|
662
1101
|
* @param callback Function to call when event is emitted
|
|
663
1102
|
* @param filter Optional filter for indexed parameters
|
|
664
1103
|
* @returns Unwatch function to stop listening
|
|
665
1104
|
*/
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
1105
|
+
updatedTreasuryVariables: (callback: (event: {
|
|
1106
|
+
mappDisputeFeeMultipler: bigint;
|
|
1107
|
+
commissionDivider: bigint;
|
|
1108
|
+
gatewayPenaltyMultipler: bigint;
|
|
1109
|
+
treasuryPenaltyMultipler: bigint;
|
|
1110
|
+
}) => void) => () => void;
|
|
671
1111
|
};
|
|
672
1112
|
}
|