@gitmyabi/gnosissafe 1.0.80 → 1.0.82

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