@gitmyabi/gnosissafe 1.0.82 → 1.0.83
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 +3 -3
- package/contracts/{Proxy_json.d.ts → GnosisSafeProxy_json.d.ts} +12 -14
- package/contracts/{Proxy_json.js → GnosisSafeProxy_json.js} +10 -12
- package/contracts/{Proxy_json.ts → GnosisSafeProxy_json.ts} +14 -16
- package/contracts/GnosisSafe_json.d.ts +228 -207
- package/contracts/GnosisSafe_json.js +293 -216
- package/contracts/GnosisSafe_json.ts +305 -249
- package/contracts/index.d.ts +2 -2
- package/contracts/index.js +4 -4
- package/contracts/index.ts +2 -2
- package/package.json +3 -3
|
@@ -6,7 +6,6 @@ import type { Address, PublicClient, WalletClient } from 'viem';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const GnosisSafe_jsonAbi: readonly [{
|
|
8
8
|
readonly inputs: readonly [];
|
|
9
|
-
readonly payable: false;
|
|
10
9
|
readonly stateMutability: "nonpayable";
|
|
11
10
|
readonly type: "constructor";
|
|
12
11
|
}, {
|
|
@@ -39,10 +38,20 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
39
38
|
readonly inputs: readonly [{
|
|
40
39
|
readonly indexed: false;
|
|
41
40
|
readonly internalType: "address";
|
|
42
|
-
readonly name: "
|
|
41
|
+
readonly name: "handler";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "ChangedFallbackHandler";
|
|
45
|
+
readonly type: "event";
|
|
46
|
+
}, {
|
|
47
|
+
readonly anonymous: false;
|
|
48
|
+
readonly inputs: readonly [{
|
|
49
|
+
readonly indexed: false;
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
readonly name: "guard";
|
|
43
52
|
readonly type: "address";
|
|
44
53
|
}];
|
|
45
|
-
readonly name: "
|
|
54
|
+
readonly name: "ChangedGuard";
|
|
46
55
|
readonly type: "event";
|
|
47
56
|
}, {
|
|
48
57
|
readonly anonymous: false;
|
|
@@ -58,7 +67,7 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
58
67
|
readonly anonymous: false;
|
|
59
68
|
readonly inputs: readonly [{
|
|
60
69
|
readonly indexed: false;
|
|
61
|
-
readonly internalType: "
|
|
70
|
+
readonly internalType: "address";
|
|
62
71
|
readonly name: "module";
|
|
63
72
|
readonly type: "address";
|
|
64
73
|
}];
|
|
@@ -68,7 +77,7 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
68
77
|
readonly anonymous: false;
|
|
69
78
|
readonly inputs: readonly [{
|
|
70
79
|
readonly indexed: false;
|
|
71
|
-
readonly internalType: "
|
|
80
|
+
readonly internalType: "address";
|
|
72
81
|
readonly name: "module";
|
|
73
82
|
readonly type: "address";
|
|
74
83
|
}];
|
|
@@ -134,6 +143,51 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
134
143
|
}];
|
|
135
144
|
readonly name: "RemovedOwner";
|
|
136
145
|
readonly type: "event";
|
|
146
|
+
}, {
|
|
147
|
+
readonly anonymous: false;
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly indexed: true;
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
readonly name: "sender";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}, {
|
|
154
|
+
readonly indexed: false;
|
|
155
|
+
readonly internalType: "uint256";
|
|
156
|
+
readonly name: "value";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "SafeReceived";
|
|
160
|
+
readonly type: "event";
|
|
161
|
+
}, {
|
|
162
|
+
readonly anonymous: false;
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly indexed: true;
|
|
165
|
+
readonly internalType: "address";
|
|
166
|
+
readonly name: "initiator";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
}, {
|
|
169
|
+
readonly indexed: false;
|
|
170
|
+
readonly internalType: "address[]";
|
|
171
|
+
readonly name: "owners";
|
|
172
|
+
readonly type: "address[]";
|
|
173
|
+
}, {
|
|
174
|
+
readonly indexed: false;
|
|
175
|
+
readonly internalType: "uint256";
|
|
176
|
+
readonly name: "threshold";
|
|
177
|
+
readonly type: "uint256";
|
|
178
|
+
}, {
|
|
179
|
+
readonly indexed: false;
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "initializer";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly indexed: false;
|
|
185
|
+
readonly internalType: "address";
|
|
186
|
+
readonly name: "fallbackHandler";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
}];
|
|
189
|
+
readonly name: "SafeSetup";
|
|
190
|
+
readonly type: "event";
|
|
137
191
|
}, {
|
|
138
192
|
readonly anonymous: false;
|
|
139
193
|
readonly inputs: readonly [{
|
|
@@ -145,23 +199,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
145
199
|
readonly name: "SignMsg";
|
|
146
200
|
readonly type: "event";
|
|
147
201
|
}, {
|
|
148
|
-
readonly
|
|
149
|
-
readonly stateMutability: "payable";
|
|
202
|
+
readonly stateMutability: "nonpayable";
|
|
150
203
|
readonly type: "fallback";
|
|
151
204
|
}, {
|
|
152
|
-
readonly constant: true;
|
|
153
|
-
readonly inputs: readonly [];
|
|
154
|
-
readonly name: "NAME";
|
|
155
|
-
readonly outputs: readonly [{
|
|
156
|
-
readonly internalType: "string";
|
|
157
|
-
readonly name: "";
|
|
158
|
-
readonly type: "string";
|
|
159
|
-
}];
|
|
160
|
-
readonly payable: false;
|
|
161
|
-
readonly stateMutability: "view";
|
|
162
|
-
readonly type: "function";
|
|
163
|
-
}, {
|
|
164
|
-
readonly constant: true;
|
|
165
205
|
readonly inputs: readonly [];
|
|
166
206
|
readonly name: "VERSION";
|
|
167
207
|
readonly outputs: readonly [{
|
|
@@ -169,11 +209,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
169
209
|
readonly name: "";
|
|
170
210
|
readonly type: "string";
|
|
171
211
|
}];
|
|
172
|
-
readonly payable: false;
|
|
173
212
|
readonly stateMutability: "view";
|
|
174
213
|
readonly type: "function";
|
|
175
214
|
}, {
|
|
176
|
-
readonly constant: false;
|
|
177
215
|
readonly inputs: readonly [{
|
|
178
216
|
readonly internalType: "address";
|
|
179
217
|
readonly name: "owner";
|
|
@@ -185,11 +223,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
185
223
|
}];
|
|
186
224
|
readonly name: "addOwnerWithThreshold";
|
|
187
225
|
readonly outputs: readonly [];
|
|
188
|
-
readonly payable: false;
|
|
189
226
|
readonly stateMutability: "nonpayable";
|
|
190
227
|
readonly type: "function";
|
|
191
228
|
}, {
|
|
192
|
-
readonly constant: false;
|
|
193
229
|
readonly inputs: readonly [{
|
|
194
230
|
readonly internalType: "bytes32";
|
|
195
231
|
readonly name: "hashToApprove";
|
|
@@ -197,11 +233,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
197
233
|
}];
|
|
198
234
|
readonly name: "approveHash";
|
|
199
235
|
readonly outputs: readonly [];
|
|
200
|
-
readonly payable: false;
|
|
201
236
|
readonly stateMutability: "nonpayable";
|
|
202
237
|
readonly type: "function";
|
|
203
238
|
}, {
|
|
204
|
-
readonly constant: true;
|
|
205
239
|
readonly inputs: readonly [{
|
|
206
240
|
readonly internalType: "address";
|
|
207
241
|
readonly name: "";
|
|
@@ -217,51 +251,73 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
217
251
|
readonly name: "";
|
|
218
252
|
readonly type: "uint256";
|
|
219
253
|
}];
|
|
220
|
-
readonly payable: false;
|
|
221
254
|
readonly stateMutability: "view";
|
|
222
255
|
readonly type: "function";
|
|
223
256
|
}, {
|
|
224
|
-
readonly constant: false;
|
|
225
257
|
readonly inputs: readonly [{
|
|
226
|
-
readonly internalType: "
|
|
227
|
-
readonly name: "
|
|
228
|
-
readonly type: "
|
|
258
|
+
readonly internalType: "uint256";
|
|
259
|
+
readonly name: "_threshold";
|
|
260
|
+
readonly type: "uint256";
|
|
229
261
|
}];
|
|
230
|
-
readonly name: "
|
|
262
|
+
readonly name: "changeThreshold";
|
|
231
263
|
readonly outputs: readonly [];
|
|
232
|
-
readonly payable: false;
|
|
233
264
|
readonly stateMutability: "nonpayable";
|
|
234
265
|
readonly type: "function";
|
|
235
266
|
}, {
|
|
236
|
-
readonly constant: false;
|
|
237
267
|
readonly inputs: readonly [{
|
|
268
|
+
readonly internalType: "bytes32";
|
|
269
|
+
readonly name: "dataHash";
|
|
270
|
+
readonly type: "bytes32";
|
|
271
|
+
}, {
|
|
272
|
+
readonly internalType: "bytes";
|
|
273
|
+
readonly name: "data";
|
|
274
|
+
readonly type: "bytes";
|
|
275
|
+
}, {
|
|
276
|
+
readonly internalType: "bytes";
|
|
277
|
+
readonly name: "signatures";
|
|
278
|
+
readonly type: "bytes";
|
|
279
|
+
}, {
|
|
238
280
|
readonly internalType: "uint256";
|
|
239
|
-
readonly name: "
|
|
281
|
+
readonly name: "requiredSignatures";
|
|
240
282
|
readonly type: "uint256";
|
|
241
283
|
}];
|
|
242
|
-
readonly name: "
|
|
284
|
+
readonly name: "checkNSignatures";
|
|
243
285
|
readonly outputs: readonly [];
|
|
244
|
-
readonly
|
|
245
|
-
readonly
|
|
286
|
+
readonly stateMutability: "view";
|
|
287
|
+
readonly type: "function";
|
|
288
|
+
}, {
|
|
289
|
+
readonly inputs: readonly [{
|
|
290
|
+
readonly internalType: "bytes32";
|
|
291
|
+
readonly name: "dataHash";
|
|
292
|
+
readonly type: "bytes32";
|
|
293
|
+
}, {
|
|
294
|
+
readonly internalType: "bytes";
|
|
295
|
+
readonly name: "data";
|
|
296
|
+
readonly type: "bytes";
|
|
297
|
+
}, {
|
|
298
|
+
readonly internalType: "bytes";
|
|
299
|
+
readonly name: "signatures";
|
|
300
|
+
readonly type: "bytes";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "checkSignatures";
|
|
303
|
+
readonly outputs: readonly [];
|
|
304
|
+
readonly stateMutability: "view";
|
|
246
305
|
readonly type: "function";
|
|
247
306
|
}, {
|
|
248
|
-
readonly constant: false;
|
|
249
307
|
readonly inputs: readonly [{
|
|
250
|
-
readonly internalType: "
|
|
308
|
+
readonly internalType: "address";
|
|
251
309
|
readonly name: "prevModule";
|
|
252
310
|
readonly type: "address";
|
|
253
311
|
}, {
|
|
254
|
-
readonly internalType: "
|
|
312
|
+
readonly internalType: "address";
|
|
255
313
|
readonly name: "module";
|
|
256
314
|
readonly type: "address";
|
|
257
315
|
}];
|
|
258
316
|
readonly name: "disableModule";
|
|
259
317
|
readonly outputs: readonly [];
|
|
260
|
-
readonly payable: false;
|
|
261
318
|
readonly stateMutability: "nonpayable";
|
|
262
319
|
readonly type: "function";
|
|
263
320
|
}, {
|
|
264
|
-
readonly constant: true;
|
|
265
321
|
readonly inputs: readonly [];
|
|
266
322
|
readonly name: "domainSeparator";
|
|
267
323
|
readonly outputs: readonly [{
|
|
@@ -269,23 +325,19 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
269
325
|
readonly name: "";
|
|
270
326
|
readonly type: "bytes32";
|
|
271
327
|
}];
|
|
272
|
-
readonly payable: false;
|
|
273
328
|
readonly stateMutability: "view";
|
|
274
329
|
readonly type: "function";
|
|
275
330
|
}, {
|
|
276
|
-
readonly constant: false;
|
|
277
331
|
readonly inputs: readonly [{
|
|
278
|
-
readonly internalType: "
|
|
332
|
+
readonly internalType: "address";
|
|
279
333
|
readonly name: "module";
|
|
280
334
|
readonly type: "address";
|
|
281
335
|
}];
|
|
282
336
|
readonly name: "enableModule";
|
|
283
337
|
readonly outputs: readonly [];
|
|
284
|
-
readonly payable: false;
|
|
285
338
|
readonly stateMutability: "nonpayable";
|
|
286
339
|
readonly type: "function";
|
|
287
340
|
}, {
|
|
288
|
-
readonly constant: true;
|
|
289
341
|
readonly inputs: readonly [{
|
|
290
342
|
readonly internalType: "address";
|
|
291
343
|
readonly name: "to";
|
|
@@ -333,11 +385,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
333
385
|
readonly name: "";
|
|
334
386
|
readonly type: "bytes";
|
|
335
387
|
}];
|
|
336
|
-
readonly payable: false;
|
|
337
388
|
readonly stateMutability: "view";
|
|
338
389
|
readonly type: "function";
|
|
339
390
|
}, {
|
|
340
|
-
readonly constant: false;
|
|
341
391
|
readonly inputs: readonly [{
|
|
342
392
|
readonly internalType: "address";
|
|
343
393
|
readonly name: "to";
|
|
@@ -385,11 +435,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
385
435
|
readonly name: "success";
|
|
386
436
|
readonly type: "bool";
|
|
387
437
|
}];
|
|
388
|
-
readonly payable: true;
|
|
389
438
|
readonly stateMutability: "payable";
|
|
390
439
|
readonly type: "function";
|
|
391
440
|
}, {
|
|
392
|
-
readonly constant: false;
|
|
393
441
|
readonly inputs: readonly [{
|
|
394
442
|
readonly internalType: "address";
|
|
395
443
|
readonly name: "to";
|
|
@@ -413,11 +461,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
413
461
|
readonly name: "success";
|
|
414
462
|
readonly type: "bool";
|
|
415
463
|
}];
|
|
416
|
-
readonly payable: false;
|
|
417
464
|
readonly stateMutability: "nonpayable";
|
|
418
465
|
readonly type: "function";
|
|
419
466
|
}, {
|
|
420
|
-
readonly constant: false;
|
|
421
467
|
readonly inputs: readonly [{
|
|
422
468
|
readonly internalType: "address";
|
|
423
469
|
readonly name: "to";
|
|
@@ -445,39 +491,19 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
445
491
|
readonly name: "returnData";
|
|
446
492
|
readonly type: "bytes";
|
|
447
493
|
}];
|
|
448
|
-
readonly payable: false;
|
|
449
494
|
readonly stateMutability: "nonpayable";
|
|
450
495
|
readonly type: "function";
|
|
451
496
|
}, {
|
|
452
|
-
readonly constant: true;
|
|
453
|
-
readonly inputs: readonly [{
|
|
454
|
-
readonly internalType: "bytes";
|
|
455
|
-
readonly name: "message";
|
|
456
|
-
readonly type: "bytes";
|
|
457
|
-
}];
|
|
458
|
-
readonly name: "getMessageHash";
|
|
459
|
-
readonly outputs: readonly [{
|
|
460
|
-
readonly internalType: "bytes32";
|
|
461
|
-
readonly name: "";
|
|
462
|
-
readonly type: "bytes32";
|
|
463
|
-
}];
|
|
464
|
-
readonly payable: false;
|
|
465
|
-
readonly stateMutability: "view";
|
|
466
|
-
readonly type: "function";
|
|
467
|
-
}, {
|
|
468
|
-
readonly constant: true;
|
|
469
497
|
readonly inputs: readonly [];
|
|
470
|
-
readonly name: "
|
|
498
|
+
readonly name: "getChainId";
|
|
471
499
|
readonly outputs: readonly [{
|
|
472
|
-
readonly internalType: "
|
|
500
|
+
readonly internalType: "uint256";
|
|
473
501
|
readonly name: "";
|
|
474
|
-
readonly type: "
|
|
502
|
+
readonly type: "uint256";
|
|
475
503
|
}];
|
|
476
|
-
readonly payable: false;
|
|
477
504
|
readonly stateMutability: "view";
|
|
478
505
|
readonly type: "function";
|
|
479
506
|
}, {
|
|
480
|
-
readonly constant: true;
|
|
481
507
|
readonly inputs: readonly [{
|
|
482
508
|
readonly internalType: "address";
|
|
483
509
|
readonly name: "start";
|
|
@@ -497,11 +523,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
497
523
|
readonly name: "next";
|
|
498
524
|
readonly type: "address";
|
|
499
525
|
}];
|
|
500
|
-
readonly payable: false;
|
|
501
526
|
readonly stateMutability: "view";
|
|
502
527
|
readonly type: "function";
|
|
503
528
|
}, {
|
|
504
|
-
readonly constant: true;
|
|
505
529
|
readonly inputs: readonly [];
|
|
506
530
|
readonly name: "getOwners";
|
|
507
531
|
readonly outputs: readonly [{
|
|
@@ -509,11 +533,27 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
509
533
|
readonly name: "";
|
|
510
534
|
readonly type: "address[]";
|
|
511
535
|
}];
|
|
512
|
-
readonly payable: false;
|
|
513
536
|
readonly stateMutability: "view";
|
|
514
537
|
readonly type: "function";
|
|
515
538
|
}, {
|
|
516
|
-
readonly
|
|
539
|
+
readonly inputs: readonly [{
|
|
540
|
+
readonly internalType: "uint256";
|
|
541
|
+
readonly name: "offset";
|
|
542
|
+
readonly type: "uint256";
|
|
543
|
+
}, {
|
|
544
|
+
readonly internalType: "uint256";
|
|
545
|
+
readonly name: "length";
|
|
546
|
+
readonly type: "uint256";
|
|
547
|
+
}];
|
|
548
|
+
readonly name: "getStorageAt";
|
|
549
|
+
readonly outputs: readonly [{
|
|
550
|
+
readonly internalType: "bytes";
|
|
551
|
+
readonly name: "";
|
|
552
|
+
readonly type: "bytes";
|
|
553
|
+
}];
|
|
554
|
+
readonly stateMutability: "view";
|
|
555
|
+
readonly type: "function";
|
|
556
|
+
}, {
|
|
517
557
|
readonly inputs: readonly [];
|
|
518
558
|
readonly name: "getThreshold";
|
|
519
559
|
readonly outputs: readonly [{
|
|
@@ -521,11 +561,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
521
561
|
readonly name: "";
|
|
522
562
|
readonly type: "uint256";
|
|
523
563
|
}];
|
|
524
|
-
readonly payable: false;
|
|
525
564
|
readonly stateMutability: "view";
|
|
526
565
|
readonly type: "function";
|
|
527
566
|
}, {
|
|
528
|
-
readonly constant: true;
|
|
529
567
|
readonly inputs: readonly [{
|
|
530
568
|
readonly internalType: "address";
|
|
531
569
|
readonly name: "to";
|
|
@@ -573,13 +611,11 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
573
611
|
readonly name: "";
|
|
574
612
|
readonly type: "bytes32";
|
|
575
613
|
}];
|
|
576
|
-
readonly payable: false;
|
|
577
614
|
readonly stateMutability: "view";
|
|
578
615
|
readonly type: "function";
|
|
579
616
|
}, {
|
|
580
|
-
readonly constant: true;
|
|
581
617
|
readonly inputs: readonly [{
|
|
582
|
-
readonly internalType: "
|
|
618
|
+
readonly internalType: "address";
|
|
583
619
|
readonly name: "module";
|
|
584
620
|
readonly type: "address";
|
|
585
621
|
}];
|
|
@@ -589,11 +625,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
589
625
|
readonly name: "";
|
|
590
626
|
readonly type: "bool";
|
|
591
627
|
}];
|
|
592
|
-
readonly payable: false;
|
|
593
628
|
readonly stateMutability: "view";
|
|
594
629
|
readonly type: "function";
|
|
595
630
|
}, {
|
|
596
|
-
readonly constant: true;
|
|
597
631
|
readonly inputs: readonly [{
|
|
598
632
|
readonly internalType: "address";
|
|
599
633
|
readonly name: "owner";
|
|
@@ -605,31 +639,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
605
639
|
readonly name: "";
|
|
606
640
|
readonly type: "bool";
|
|
607
641
|
}];
|
|
608
|
-
readonly payable: false;
|
|
609
642
|
readonly stateMutability: "view";
|
|
610
643
|
readonly type: "function";
|
|
611
644
|
}, {
|
|
612
|
-
readonly constant: false;
|
|
613
|
-
readonly inputs: readonly [{
|
|
614
|
-
readonly internalType: "bytes";
|
|
615
|
-
readonly name: "_data";
|
|
616
|
-
readonly type: "bytes";
|
|
617
|
-
}, {
|
|
618
|
-
readonly internalType: "bytes";
|
|
619
|
-
readonly name: "_signature";
|
|
620
|
-
readonly type: "bytes";
|
|
621
|
-
}];
|
|
622
|
-
readonly name: "isValidSignature";
|
|
623
|
-
readonly outputs: readonly [{
|
|
624
|
-
readonly internalType: "bytes4";
|
|
625
|
-
readonly name: "";
|
|
626
|
-
readonly type: "bytes4";
|
|
627
|
-
}];
|
|
628
|
-
readonly payable: false;
|
|
629
|
-
readonly stateMutability: "nonpayable";
|
|
630
|
-
readonly type: "function";
|
|
631
|
-
}, {
|
|
632
|
-
readonly constant: true;
|
|
633
645
|
readonly inputs: readonly [];
|
|
634
646
|
readonly name: "nonce";
|
|
635
647
|
readonly outputs: readonly [{
|
|
@@ -637,11 +649,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
637
649
|
readonly name: "";
|
|
638
650
|
readonly type: "uint256";
|
|
639
651
|
}];
|
|
640
|
-
readonly payable: false;
|
|
641
652
|
readonly stateMutability: "view";
|
|
642
653
|
readonly type: "function";
|
|
643
654
|
}, {
|
|
644
|
-
readonly constant: false;
|
|
645
655
|
readonly inputs: readonly [{
|
|
646
656
|
readonly internalType: "address";
|
|
647
657
|
readonly name: "prevOwner";
|
|
@@ -657,11 +667,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
657
667
|
}];
|
|
658
668
|
readonly name: "removeOwner";
|
|
659
669
|
readonly outputs: readonly [];
|
|
660
|
-
readonly payable: false;
|
|
661
670
|
readonly stateMutability: "nonpayable";
|
|
662
671
|
readonly type: "function";
|
|
663
672
|
}, {
|
|
664
|
-
readonly constant: false;
|
|
665
673
|
readonly inputs: readonly [{
|
|
666
674
|
readonly internalType: "address";
|
|
667
675
|
readonly name: "to";
|
|
@@ -685,11 +693,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
685
693
|
readonly name: "";
|
|
686
694
|
readonly type: "uint256";
|
|
687
695
|
}];
|
|
688
|
-
readonly payable: false;
|
|
689
696
|
readonly stateMutability: "nonpayable";
|
|
690
697
|
readonly type: "function";
|
|
691
698
|
}, {
|
|
692
|
-
readonly constant: false;
|
|
693
699
|
readonly inputs: readonly [{
|
|
694
700
|
readonly internalType: "address";
|
|
695
701
|
readonly name: "handler";
|
|
@@ -697,11 +703,19 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
697
703
|
}];
|
|
698
704
|
readonly name: "setFallbackHandler";
|
|
699
705
|
readonly outputs: readonly [];
|
|
700
|
-
readonly payable: false;
|
|
701
706
|
readonly stateMutability: "nonpayable";
|
|
702
707
|
readonly type: "function";
|
|
703
708
|
}, {
|
|
704
|
-
readonly
|
|
709
|
+
readonly inputs: readonly [{
|
|
710
|
+
readonly internalType: "address";
|
|
711
|
+
readonly name: "guard";
|
|
712
|
+
readonly type: "address";
|
|
713
|
+
}];
|
|
714
|
+
readonly name: "setGuard";
|
|
715
|
+
readonly outputs: readonly [];
|
|
716
|
+
readonly stateMutability: "nonpayable";
|
|
717
|
+
readonly type: "function";
|
|
718
|
+
}, {
|
|
705
719
|
readonly inputs: readonly [{
|
|
706
720
|
readonly internalType: "address[]";
|
|
707
721
|
readonly name: "_owners";
|
|
@@ -737,23 +751,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
737
751
|
}];
|
|
738
752
|
readonly name: "setup";
|
|
739
753
|
readonly outputs: readonly [];
|
|
740
|
-
readonly payable: false;
|
|
741
754
|
readonly stateMutability: "nonpayable";
|
|
742
755
|
readonly type: "function";
|
|
743
756
|
}, {
|
|
744
|
-
readonly constant: false;
|
|
745
|
-
readonly inputs: readonly [{
|
|
746
|
-
readonly internalType: "bytes";
|
|
747
|
-
readonly name: "_data";
|
|
748
|
-
readonly type: "bytes";
|
|
749
|
-
}];
|
|
750
|
-
readonly name: "signMessage";
|
|
751
|
-
readonly outputs: readonly [];
|
|
752
|
-
readonly payable: false;
|
|
753
|
-
readonly stateMutability: "nonpayable";
|
|
754
|
-
readonly type: "function";
|
|
755
|
-
}, {
|
|
756
|
-
readonly constant: true;
|
|
757
757
|
readonly inputs: readonly [{
|
|
758
758
|
readonly internalType: "bytes32";
|
|
759
759
|
readonly name: "";
|
|
@@ -765,11 +765,23 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
765
765
|
readonly name: "";
|
|
766
766
|
readonly type: "uint256";
|
|
767
767
|
}];
|
|
768
|
-
readonly payable: false;
|
|
769
768
|
readonly stateMutability: "view";
|
|
770
769
|
readonly type: "function";
|
|
771
770
|
}, {
|
|
772
|
-
readonly
|
|
771
|
+
readonly inputs: readonly [{
|
|
772
|
+
readonly internalType: "address";
|
|
773
|
+
readonly name: "targetContract";
|
|
774
|
+
readonly type: "address";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "bytes";
|
|
777
|
+
readonly name: "calldataPayload";
|
|
778
|
+
readonly type: "bytes";
|
|
779
|
+
}];
|
|
780
|
+
readonly name: "simulateAndRevert";
|
|
781
|
+
readonly outputs: readonly [];
|
|
782
|
+
readonly stateMutability: "nonpayable";
|
|
783
|
+
readonly type: "function";
|
|
784
|
+
}, {
|
|
773
785
|
readonly inputs: readonly [{
|
|
774
786
|
readonly internalType: "address";
|
|
775
787
|
readonly name: "prevOwner";
|
|
@@ -785,9 +797,11 @@ export declare const GnosisSafe_jsonAbi: readonly [{
|
|
|
785
797
|
}];
|
|
786
798
|
readonly name: "swapOwner";
|
|
787
799
|
readonly outputs: readonly [];
|
|
788
|
-
readonly payable: false;
|
|
789
800
|
readonly stateMutability: "nonpayable";
|
|
790
801
|
readonly type: "function";
|
|
802
|
+
}, {
|
|
803
|
+
readonly stateMutability: "payable";
|
|
804
|
+
readonly type: "receive";
|
|
791
805
|
}];
|
|
792
806
|
/**
|
|
793
807
|
* Type-safe ABI for GnosisSafe_json
|
|
@@ -845,11 +859,6 @@ export declare class GnosisSafe_json {
|
|
|
845
859
|
* Get the underlying viem contract instance
|
|
846
860
|
*/
|
|
847
861
|
getContract(): GnosisSafe_jsonContract;
|
|
848
|
-
/**
|
|
849
|
-
* NAME
|
|
850
|
-
* view
|
|
851
|
-
*/
|
|
852
|
-
NAME(): Promise<string>;
|
|
853
862
|
/**
|
|
854
863
|
* VERSION
|
|
855
864
|
* view
|
|
@@ -860,6 +869,16 @@ export declare class GnosisSafe_json {
|
|
|
860
869
|
* view
|
|
861
870
|
*/
|
|
862
871
|
approvedHashes(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
|
|
872
|
+
/**
|
|
873
|
+
* checkNSignatures
|
|
874
|
+
* view
|
|
875
|
+
*/
|
|
876
|
+
checkNSignatures(dataHash: `0x${string}`, data: `0x${string}`, signatures: `0x${string}`, requiredSignatures: bigint): Promise<void>;
|
|
877
|
+
/**
|
|
878
|
+
* checkSignatures
|
|
879
|
+
* view
|
|
880
|
+
*/
|
|
881
|
+
checkSignatures(dataHash: `0x${string}`, data: `0x${string}`, signatures: `0x${string}`): Promise<void>;
|
|
863
882
|
/**
|
|
864
883
|
* domainSeparator
|
|
865
884
|
* view
|
|
@@ -871,15 +890,10 @@ export declare class GnosisSafe_json {
|
|
|
871
890
|
*/
|
|
872
891
|
encodeTransactionData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, _nonce: bigint): Promise<`0x${string}`>;
|
|
873
892
|
/**
|
|
874
|
-
*
|
|
875
|
-
* view
|
|
876
|
-
*/
|
|
877
|
-
getMessageHash(message: `0x${string}`): Promise<`0x${string}`>;
|
|
878
|
-
/**
|
|
879
|
-
* getModules
|
|
893
|
+
* getChainId
|
|
880
894
|
* view
|
|
881
895
|
*/
|
|
882
|
-
|
|
896
|
+
getChainId(): Promise<bigint>;
|
|
883
897
|
/**
|
|
884
898
|
* getModulesPaginated
|
|
885
899
|
* view
|
|
@@ -890,6 +904,11 @@ export declare class GnosisSafe_json {
|
|
|
890
904
|
* view
|
|
891
905
|
*/
|
|
892
906
|
getOwners(): Promise<`0x${string}`[]>;
|
|
907
|
+
/**
|
|
908
|
+
* getStorageAt
|
|
909
|
+
* view
|
|
910
|
+
*/
|
|
911
|
+
getStorageAt(offset: bigint, length: bigint): Promise<`0x${string}`>;
|
|
893
912
|
/**
|
|
894
913
|
* getThreshold
|
|
895
914
|
* view
|
|
@@ -954,23 +973,6 @@ export declare class GnosisSafe_json {
|
|
|
954
973
|
nonce?: number;
|
|
955
974
|
value?: bigint;
|
|
956
975
|
}): Promise<`0x${string}`>;
|
|
957
|
-
/**
|
|
958
|
-
* changeMasterCopy
|
|
959
|
-
* nonpayable
|
|
960
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
961
|
-
*/
|
|
962
|
-
changeMasterCopy(_masterCopy: `0x${string}`, options?: {
|
|
963
|
-
accessList?: import('viem').AccessList;
|
|
964
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
965
|
-
chain?: import('viem').Chain | null;
|
|
966
|
-
dataSuffix?: `0x${string}`;
|
|
967
|
-
gas?: bigint;
|
|
968
|
-
gasPrice?: bigint;
|
|
969
|
-
maxFeePerGas?: bigint;
|
|
970
|
-
maxPriorityFeePerGas?: bigint;
|
|
971
|
-
nonce?: number;
|
|
972
|
-
value?: bigint;
|
|
973
|
-
}): Promise<`0x${string}`>;
|
|
974
976
|
/**
|
|
975
977
|
* changeThreshold
|
|
976
978
|
* nonpayable
|
|
@@ -1074,11 +1076,11 @@ export declare class GnosisSafe_json {
|
|
|
1074
1076
|
value?: bigint;
|
|
1075
1077
|
}): Promise<`0x${string}`>;
|
|
1076
1078
|
/**
|
|
1077
|
-
*
|
|
1079
|
+
* removeOwner
|
|
1078
1080
|
* nonpayable
|
|
1079
1081
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1080
1082
|
*/
|
|
1081
|
-
|
|
1083
|
+
removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
|
|
1082
1084
|
accessList?: import('viem').AccessList;
|
|
1083
1085
|
authorizationList?: import('viem').AuthorizationList;
|
|
1084
1086
|
chain?: import('viem').Chain | null;
|
|
@@ -1091,11 +1093,11 @@ export declare class GnosisSafe_json {
|
|
|
1091
1093
|
value?: bigint;
|
|
1092
1094
|
}): Promise<`0x${string}`>;
|
|
1093
1095
|
/**
|
|
1094
|
-
*
|
|
1096
|
+
* requiredTxGas
|
|
1095
1097
|
* nonpayable
|
|
1096
1098
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1097
1099
|
*/
|
|
1098
|
-
|
|
1100
|
+
requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
|
|
1099
1101
|
accessList?: import('viem').AccessList;
|
|
1100
1102
|
authorizationList?: import('viem').AuthorizationList;
|
|
1101
1103
|
chain?: import('viem').Chain | null;
|
|
@@ -1108,11 +1110,11 @@ export declare class GnosisSafe_json {
|
|
|
1108
1110
|
value?: bigint;
|
|
1109
1111
|
}): Promise<`0x${string}`>;
|
|
1110
1112
|
/**
|
|
1111
|
-
*
|
|
1113
|
+
* setFallbackHandler
|
|
1112
1114
|
* nonpayable
|
|
1113
1115
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1114
1116
|
*/
|
|
1115
|
-
|
|
1117
|
+
setFallbackHandler(handler: `0x${string}`, options?: {
|
|
1116
1118
|
accessList?: import('viem').AccessList;
|
|
1117
1119
|
authorizationList?: import('viem').AuthorizationList;
|
|
1118
1120
|
chain?: import('viem').Chain | null;
|
|
@@ -1125,11 +1127,11 @@ export declare class GnosisSafe_json {
|
|
|
1125
1127
|
value?: bigint;
|
|
1126
1128
|
}): Promise<`0x${string}`>;
|
|
1127
1129
|
/**
|
|
1128
|
-
*
|
|
1130
|
+
* setGuard
|
|
1129
1131
|
* nonpayable
|
|
1130
1132
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1131
1133
|
*/
|
|
1132
|
-
|
|
1134
|
+
setGuard(guard: `0x${string}`, options?: {
|
|
1133
1135
|
accessList?: import('viem').AccessList;
|
|
1134
1136
|
authorizationList?: import('viem').AuthorizationList;
|
|
1135
1137
|
chain?: import('viem').Chain | null;
|
|
@@ -1159,11 +1161,11 @@ export declare class GnosisSafe_json {
|
|
|
1159
1161
|
value?: bigint;
|
|
1160
1162
|
}): Promise<`0x${string}`>;
|
|
1161
1163
|
/**
|
|
1162
|
-
*
|
|
1164
|
+
* simulateAndRevert
|
|
1163
1165
|
* nonpayable
|
|
1164
1166
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1165
1167
|
*/
|
|
1166
|
-
|
|
1168
|
+
simulateAndRevert(targetContract: `0x${string}`, calldataPayload: `0x${string}`, options?: {
|
|
1167
1169
|
accessList?: import('viem').AccessList;
|
|
1168
1170
|
authorizationList?: import('viem').AuthorizationList;
|
|
1169
1171
|
chain?: import('viem').Chain | null;
|
|
@@ -1235,23 +1237,6 @@ export declare class GnosisSafe_json {
|
|
|
1235
1237
|
nonce?: number;
|
|
1236
1238
|
value?: bigint;
|
|
1237
1239
|
}): Promise<void>;
|
|
1238
|
-
/**
|
|
1239
|
-
* Simulate changeMasterCopy
|
|
1240
|
-
* Returns gas estimate and result without sending transaction
|
|
1241
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1242
|
-
*/
|
|
1243
|
-
changeMasterCopy(_masterCopy: `0x${string}`, options?: {
|
|
1244
|
-
accessList?: import("viem").AccessList;
|
|
1245
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
1246
|
-
chain?: import("viem").Chain | null;
|
|
1247
|
-
dataSuffix?: `0x${string}`;
|
|
1248
|
-
gas?: bigint;
|
|
1249
|
-
gasPrice?: bigint;
|
|
1250
|
-
maxFeePerGas?: bigint;
|
|
1251
|
-
maxPriorityFeePerGas?: bigint;
|
|
1252
|
-
nonce?: number;
|
|
1253
|
-
value?: bigint;
|
|
1254
|
-
}): Promise<void>;
|
|
1255
1240
|
/**
|
|
1256
1241
|
* Simulate changeThreshold
|
|
1257
1242
|
* Returns gas estimate and result without sending transaction
|
|
@@ -1355,11 +1340,11 @@ export declare class GnosisSafe_json {
|
|
|
1355
1340
|
value?: bigint;
|
|
1356
1341
|
}): Promise<[boolean, `0x${string}`]>;
|
|
1357
1342
|
/**
|
|
1358
|
-
* Simulate
|
|
1343
|
+
* Simulate removeOwner
|
|
1359
1344
|
* Returns gas estimate and result without sending transaction
|
|
1360
1345
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1361
1346
|
*/
|
|
1362
|
-
|
|
1347
|
+
removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
|
|
1363
1348
|
accessList?: import("viem").AccessList;
|
|
1364
1349
|
authorizationList?: import("viem").AuthorizationList;
|
|
1365
1350
|
chain?: import("viem").Chain | null;
|
|
@@ -1370,13 +1355,13 @@ export declare class GnosisSafe_json {
|
|
|
1370
1355
|
maxPriorityFeePerGas?: bigint;
|
|
1371
1356
|
nonce?: number;
|
|
1372
1357
|
value?: bigint;
|
|
1373
|
-
}): Promise
|
|
1358
|
+
}): Promise<void>;
|
|
1374
1359
|
/**
|
|
1375
|
-
* Simulate
|
|
1360
|
+
* Simulate requiredTxGas
|
|
1376
1361
|
* Returns gas estimate and result without sending transaction
|
|
1377
1362
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1378
1363
|
*/
|
|
1379
|
-
|
|
1364
|
+
requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
|
|
1380
1365
|
accessList?: import("viem").AccessList;
|
|
1381
1366
|
authorizationList?: import("viem").AuthorizationList;
|
|
1382
1367
|
chain?: import("viem").Chain | null;
|
|
@@ -1387,13 +1372,13 @@ export declare class GnosisSafe_json {
|
|
|
1387
1372
|
maxPriorityFeePerGas?: bigint;
|
|
1388
1373
|
nonce?: number;
|
|
1389
1374
|
value?: bigint;
|
|
1390
|
-
}): Promise<
|
|
1375
|
+
}): Promise<bigint>;
|
|
1391
1376
|
/**
|
|
1392
|
-
* Simulate
|
|
1377
|
+
* Simulate setFallbackHandler
|
|
1393
1378
|
* Returns gas estimate and result without sending transaction
|
|
1394
1379
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1395
1380
|
*/
|
|
1396
|
-
|
|
1381
|
+
setFallbackHandler(handler: `0x${string}`, options?: {
|
|
1397
1382
|
accessList?: import("viem").AccessList;
|
|
1398
1383
|
authorizationList?: import("viem").AuthorizationList;
|
|
1399
1384
|
chain?: import("viem").Chain | null;
|
|
@@ -1404,13 +1389,13 @@ export declare class GnosisSafe_json {
|
|
|
1404
1389
|
maxPriorityFeePerGas?: bigint;
|
|
1405
1390
|
nonce?: number;
|
|
1406
1391
|
value?: bigint;
|
|
1407
|
-
}): Promise<
|
|
1392
|
+
}): Promise<void>;
|
|
1408
1393
|
/**
|
|
1409
|
-
* Simulate
|
|
1394
|
+
* Simulate setGuard
|
|
1410
1395
|
* Returns gas estimate and result without sending transaction
|
|
1411
1396
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1412
1397
|
*/
|
|
1413
|
-
|
|
1398
|
+
setGuard(guard: `0x${string}`, options?: {
|
|
1414
1399
|
accessList?: import("viem").AccessList;
|
|
1415
1400
|
authorizationList?: import("viem").AuthorizationList;
|
|
1416
1401
|
chain?: import("viem").Chain | null;
|
|
@@ -1440,11 +1425,11 @@ export declare class GnosisSafe_json {
|
|
|
1440
1425
|
value?: bigint;
|
|
1441
1426
|
}): Promise<void>;
|
|
1442
1427
|
/**
|
|
1443
|
-
* Simulate
|
|
1428
|
+
* Simulate simulateAndRevert
|
|
1444
1429
|
* Returns gas estimate and result without sending transaction
|
|
1445
1430
|
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
1446
1431
|
*/
|
|
1447
|
-
|
|
1432
|
+
simulateAndRevert(targetContract: `0x${string}`, calldataPayload: `0x${string}`, options?: {
|
|
1448
1433
|
accessList?: import("viem").AccessList;
|
|
1449
1434
|
authorizationList?: import("viem").AuthorizationList;
|
|
1450
1435
|
chain?: import("viem").Chain | null;
|
|
@@ -1510,13 +1495,22 @@ export declare class GnosisSafe_json {
|
|
|
1510
1495
|
owner: `0x${string}`;
|
|
1511
1496
|
}) => () => void;
|
|
1512
1497
|
/**
|
|
1513
|
-
* Watch
|
|
1498
|
+
* Watch ChangedFallbackHandler events
|
|
1514
1499
|
* @param callback Function to call when event is emitted
|
|
1515
1500
|
* @param filter Optional filter for indexed parameters
|
|
1516
1501
|
* @returns Unwatch function to stop listening
|
|
1517
1502
|
*/
|
|
1518
|
-
|
|
1519
|
-
|
|
1503
|
+
ChangedFallbackHandler: (callback: (event: {
|
|
1504
|
+
handler: `0x${string}`;
|
|
1505
|
+
}) => void) => () => void;
|
|
1506
|
+
/**
|
|
1507
|
+
* Watch ChangedGuard events
|
|
1508
|
+
* @param callback Function to call when event is emitted
|
|
1509
|
+
* @param filter Optional filter for indexed parameters
|
|
1510
|
+
* @returns Unwatch function to stop listening
|
|
1511
|
+
*/
|
|
1512
|
+
ChangedGuard: (callback: (event: {
|
|
1513
|
+
guard: `0x${string}`;
|
|
1520
1514
|
}) => void) => () => void;
|
|
1521
1515
|
/**
|
|
1522
1516
|
* Watch ChangedThreshold events
|
|
@@ -1596,6 +1590,33 @@ export declare class GnosisSafe_json {
|
|
|
1596
1590
|
RemovedOwner: (callback: (event: {
|
|
1597
1591
|
owner: `0x${string}`;
|
|
1598
1592
|
}) => void) => () => void;
|
|
1593
|
+
/**
|
|
1594
|
+
* Watch SafeReceived events
|
|
1595
|
+
* @param callback Function to call when event is emitted
|
|
1596
|
+
* @param filter Optional filter for indexed parameters
|
|
1597
|
+
* @returns Unwatch function to stop listening
|
|
1598
|
+
*/
|
|
1599
|
+
SafeReceived: (callback: (event: {
|
|
1600
|
+
sender: `0x${string}`;
|
|
1601
|
+
value: bigint;
|
|
1602
|
+
}) => void, filter?: {
|
|
1603
|
+
sender: `0x${string}`;
|
|
1604
|
+
}) => () => void;
|
|
1605
|
+
/**
|
|
1606
|
+
* Watch SafeSetup events
|
|
1607
|
+
* @param callback Function to call when event is emitted
|
|
1608
|
+
* @param filter Optional filter for indexed parameters
|
|
1609
|
+
* @returns Unwatch function to stop listening
|
|
1610
|
+
*/
|
|
1611
|
+
SafeSetup: (callback: (event: {
|
|
1612
|
+
initiator: `0x${string}`;
|
|
1613
|
+
owners: `0x${string}`[];
|
|
1614
|
+
threshold: bigint;
|
|
1615
|
+
initializer: `0x${string}`;
|
|
1616
|
+
fallbackHandler: `0x${string}`;
|
|
1617
|
+
}) => void, filter?: {
|
|
1618
|
+
initiator: `0x${string}`;
|
|
1619
|
+
}) => () => void;
|
|
1599
1620
|
/**
|
|
1600
1621
|
* Watch SignMsg events
|
|
1601
1622
|
* @param callback Function to call when event is emitted
|