@gitmyabi/gnosissafe 1.0.21 → 1.0.22

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,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: "masterCopy";
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: "ChangedMasterCopy";
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: "contract Module";
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: "contract Module";
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 payable: true;
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: "address";
227
- readonly name: "_masterCopy";
228
- readonly type: "address";
258
+ readonly internalType: "uint256";
259
+ readonly name: "_threshold";
260
+ readonly type: "uint256";
229
261
  }];
230
- readonly name: "changeMasterCopy";
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: "_threshold";
281
+ readonly name: "requiredSignatures";
240
282
  readonly type: "uint256";
241
283
  }];
242
- readonly name: "changeThreshold";
284
+ readonly name: "checkNSignatures";
243
285
  readonly outputs: readonly [];
244
- readonly payable: false;
245
- readonly stateMutability: "nonpayable";
286
+ readonly stateMutability: "view";
246
287
  readonly type: "function";
247
288
  }, {
248
- readonly constant: false;
249
289
  readonly inputs: readonly [{
250
- readonly internalType: "contract Module";
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";
305
+ readonly type: "function";
306
+ }, {
307
+ readonly inputs: readonly [{
308
+ readonly internalType: "address";
251
309
  readonly name: "prevModule";
252
310
  readonly type: "address";
253
311
  }, {
254
- readonly internalType: "contract Module";
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: "contract Module";
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: false;
389
- readonly stateMutability: "nonpayable";
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: "getModules";
498
+ readonly name: "getChainId";
471
499
  readonly outputs: readonly [{
472
- readonly internalType: "address[]";
500
+ readonly internalType: "uint256";
473
501
  readonly name: "";
474
- readonly type: "address[]";
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 constant: true;
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,47 +611,37 @@ 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
618
  readonly internalType: "address";
583
- readonly name: "owner";
619
+ readonly name: "module";
584
620
  readonly type: "address";
585
621
  }];
586
- readonly name: "isOwner";
622
+ readonly name: "isModuleEnabled";
587
623
  readonly outputs: readonly [{
588
624
  readonly internalType: "bool";
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: false;
597
631
  readonly inputs: readonly [{
598
- readonly internalType: "bytes";
599
- readonly name: "_data";
600
- readonly type: "bytes";
601
- }, {
602
- readonly internalType: "bytes";
603
- readonly name: "_signature";
604
- readonly type: "bytes";
632
+ readonly internalType: "address";
633
+ readonly name: "owner";
634
+ readonly type: "address";
605
635
  }];
606
- readonly name: "isValidSignature";
636
+ readonly name: "isOwner";
607
637
  readonly outputs: readonly [{
608
- readonly internalType: "bytes4";
638
+ readonly internalType: "bool";
609
639
  readonly name: "";
610
- readonly type: "bytes4";
640
+ readonly type: "bool";
611
641
  }];
612
- readonly payable: false;
613
- readonly stateMutability: "nonpayable";
642
+ readonly stateMutability: "view";
614
643
  readonly type: "function";
615
644
  }, {
616
- readonly constant: true;
617
645
  readonly inputs: readonly [];
618
646
  readonly name: "nonce";
619
647
  readonly outputs: readonly [{
@@ -621,11 +649,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
621
649
  readonly name: "";
622
650
  readonly type: "uint256";
623
651
  }];
624
- readonly payable: false;
625
652
  readonly stateMutability: "view";
626
653
  readonly type: "function";
627
654
  }, {
628
- readonly constant: false;
629
655
  readonly inputs: readonly [{
630
656
  readonly internalType: "address";
631
657
  readonly name: "prevOwner";
@@ -641,11 +667,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
641
667
  }];
642
668
  readonly name: "removeOwner";
643
669
  readonly outputs: readonly [];
644
- readonly payable: false;
645
670
  readonly stateMutability: "nonpayable";
646
671
  readonly type: "function";
647
672
  }, {
648
- readonly constant: false;
649
673
  readonly inputs: readonly [{
650
674
  readonly internalType: "address";
651
675
  readonly name: "to";
@@ -669,11 +693,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
669
693
  readonly name: "";
670
694
  readonly type: "uint256";
671
695
  }];
672
- readonly payable: false;
673
696
  readonly stateMutability: "nonpayable";
674
697
  readonly type: "function";
675
698
  }, {
676
- readonly constant: false;
677
699
  readonly inputs: readonly [{
678
700
  readonly internalType: "address";
679
701
  readonly name: "handler";
@@ -681,11 +703,19 @@ export declare const GnosisSafe_jsonAbi: readonly [{
681
703
  }];
682
704
  readonly name: "setFallbackHandler";
683
705
  readonly outputs: readonly [];
684
- readonly payable: false;
685
706
  readonly stateMutability: "nonpayable";
686
707
  readonly type: "function";
687
708
  }, {
688
- readonly constant: false;
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
+ }, {
689
719
  readonly inputs: readonly [{
690
720
  readonly internalType: "address[]";
691
721
  readonly name: "_owners";
@@ -721,23 +751,9 @@ export declare const GnosisSafe_jsonAbi: readonly [{
721
751
  }];
722
752
  readonly name: "setup";
723
753
  readonly outputs: readonly [];
724
- readonly payable: false;
725
- readonly stateMutability: "nonpayable";
726
- readonly type: "function";
727
- }, {
728
- readonly constant: false;
729
- readonly inputs: readonly [{
730
- readonly internalType: "bytes";
731
- readonly name: "_data";
732
- readonly type: "bytes";
733
- }];
734
- readonly name: "signMessage";
735
- readonly outputs: readonly [];
736
- readonly payable: false;
737
754
  readonly stateMutability: "nonpayable";
738
755
  readonly type: "function";
739
756
  }, {
740
- readonly constant: true;
741
757
  readonly inputs: readonly [{
742
758
  readonly internalType: "bytes32";
743
759
  readonly name: "";
@@ -749,11 +765,23 @@ export declare const GnosisSafe_jsonAbi: readonly [{
749
765
  readonly name: "";
750
766
  readonly type: "uint256";
751
767
  }];
752
- readonly payable: false;
753
768
  readonly stateMutability: "view";
754
769
  readonly type: "function";
755
770
  }, {
756
- readonly constant: false;
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
+ }, {
757
785
  readonly inputs: readonly [{
758
786
  readonly internalType: "address";
759
787
  readonly name: "prevOwner";
@@ -769,9 +797,11 @@ export declare const GnosisSafe_jsonAbi: readonly [{
769
797
  }];
770
798
  readonly name: "swapOwner";
771
799
  readonly outputs: readonly [];
772
- readonly payable: false;
773
800
  readonly stateMutability: "nonpayable";
774
801
  readonly type: "function";
802
+ }, {
803
+ readonly stateMutability: "payable";
804
+ readonly type: "receive";
775
805
  }];
776
806
  /**
777
807
  * Type-safe ABI for GnosisSafe_json
@@ -829,11 +859,6 @@ export declare class GnosisSafe_json {
829
859
  * Get the underlying viem contract instance
830
860
  */
831
861
  getContract(): GnosisSafe_jsonContract;
832
- /**
833
- * NAME
834
- * view
835
- */
836
- NAME(): Promise<string>;
837
862
  /**
838
863
  * VERSION
839
864
  * view
@@ -844,6 +869,16 @@ export declare class GnosisSafe_json {
844
869
  * view
845
870
  */
846
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>;
847
882
  /**
848
883
  * domainSeparator
849
884
  * view
@@ -855,15 +890,10 @@ export declare class GnosisSafe_json {
855
890
  */
856
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}`>;
857
892
  /**
858
- * getMessageHash
893
+ * getChainId
859
894
  * view
860
895
  */
861
- getMessageHash(message: `0x${string}`): Promise<`0x${string}`>;
862
- /**
863
- * getModules
864
- * view
865
- */
866
- getModules(): Promise<`0x${string}`[]>;
896
+ getChainId(): Promise<bigint>;
867
897
  /**
868
898
  * getModulesPaginated
869
899
  * view
@@ -874,6 +904,11 @@ export declare class GnosisSafe_json {
874
904
  * view
875
905
  */
876
906
  getOwners(): Promise<`0x${string}`[]>;
907
+ /**
908
+ * getStorageAt
909
+ * view
910
+ */
911
+ getStorageAt(offset: bigint, length: bigint): Promise<`0x${string}`>;
877
912
  /**
878
913
  * getThreshold
879
914
  * view
@@ -884,6 +919,11 @@ export declare class GnosisSafe_json {
884
919
  * view
885
920
  */
886
921
  getTransactionHash(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}`>;
922
+ /**
923
+ * isModuleEnabled
924
+ * view
925
+ */
926
+ isModuleEnabled(module: `0x${string}`): Promise<boolean>;
887
927
  /**
888
928
  * isOwner
889
929
  * view
@@ -933,23 +973,6 @@ export declare class GnosisSafe_json {
933
973
  nonce?: number;
934
974
  value?: bigint;
935
975
  }): Promise<`0x${string}`>;
936
- /**
937
- * changeMasterCopy
938
- * nonpayable
939
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
940
- */
941
- changeMasterCopy(_masterCopy: `0x${string}`, options?: {
942
- accessList?: import('viem').AccessList;
943
- authorizationList?: import('viem').AuthorizationList;
944
- chain?: import('viem').Chain | null;
945
- dataSuffix?: `0x${string}`;
946
- gas?: bigint;
947
- gasPrice?: bigint;
948
- maxFeePerGas?: bigint;
949
- maxPriorityFeePerGas?: bigint;
950
- nonce?: number;
951
- value?: bigint;
952
- }): Promise<`0x${string}`>;
953
976
  /**
954
977
  * changeThreshold
955
978
  * nonpayable
@@ -1003,7 +1026,7 @@ export declare class GnosisSafe_json {
1003
1026
  }): Promise<`0x${string}`>;
1004
1027
  /**
1005
1028
  * execTransaction
1006
- * nonpayable
1029
+ * payable
1007
1030
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1008
1031
  */
1009
1032
  execTransaction(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, safeTxGas: bigint, baseGas: bigint, gasPrice: bigint, gasToken: `0x${string}`, refundReceiver: `0x${string}`, signatures: `0x${string}`, options?: {
@@ -1053,11 +1076,11 @@ export declare class GnosisSafe_json {
1053
1076
  value?: bigint;
1054
1077
  }): Promise<`0x${string}`>;
1055
1078
  /**
1056
- * isValidSignature
1079
+ * removeOwner
1057
1080
  * nonpayable
1058
1081
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1059
1082
  */
1060
- isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1083
+ removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1061
1084
  accessList?: import('viem').AccessList;
1062
1085
  authorizationList?: import('viem').AuthorizationList;
1063
1086
  chain?: import('viem').Chain | null;
@@ -1070,11 +1093,11 @@ export declare class GnosisSafe_json {
1070
1093
  value?: bigint;
1071
1094
  }): Promise<`0x${string}`>;
1072
1095
  /**
1073
- * removeOwner
1096
+ * requiredTxGas
1074
1097
  * nonpayable
1075
1098
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1076
1099
  */
1077
- removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1100
+ requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1078
1101
  accessList?: import('viem').AccessList;
1079
1102
  authorizationList?: import('viem').AuthorizationList;
1080
1103
  chain?: import('viem').Chain | null;
@@ -1087,11 +1110,11 @@ export declare class GnosisSafe_json {
1087
1110
  value?: bigint;
1088
1111
  }): Promise<`0x${string}`>;
1089
1112
  /**
1090
- * requiredTxGas
1113
+ * setFallbackHandler
1091
1114
  * nonpayable
1092
1115
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1093
1116
  */
1094
- requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1117
+ setFallbackHandler(handler: `0x${string}`, options?: {
1095
1118
  accessList?: import('viem').AccessList;
1096
1119
  authorizationList?: import('viem').AuthorizationList;
1097
1120
  chain?: import('viem').Chain | null;
@@ -1104,11 +1127,11 @@ export declare class GnosisSafe_json {
1104
1127
  value?: bigint;
1105
1128
  }): Promise<`0x${string}`>;
1106
1129
  /**
1107
- * setFallbackHandler
1130
+ * setGuard
1108
1131
  * nonpayable
1109
1132
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1110
1133
  */
1111
- setFallbackHandler(handler: `0x${string}`, options?: {
1134
+ setGuard(guard: `0x${string}`, options?: {
1112
1135
  accessList?: import('viem').AccessList;
1113
1136
  authorizationList?: import('viem').AuthorizationList;
1114
1137
  chain?: import('viem').Chain | null;
@@ -1138,11 +1161,11 @@ export declare class GnosisSafe_json {
1138
1161
  value?: bigint;
1139
1162
  }): Promise<`0x${string}`>;
1140
1163
  /**
1141
- * signMessage
1164
+ * simulateAndRevert
1142
1165
  * nonpayable
1143
1166
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1144
1167
  */
1145
- signMessage(_data: `0x${string}`, options?: {
1168
+ simulateAndRevert(targetContract: `0x${string}`, calldataPayload: `0x${string}`, options?: {
1146
1169
  accessList?: import('viem').AccessList;
1147
1170
  authorizationList?: import('viem').AuthorizationList;
1148
1171
  chain?: import('viem').Chain | null;
@@ -1214,23 +1237,6 @@ export declare class GnosisSafe_json {
1214
1237
  nonce?: number;
1215
1238
  value?: bigint;
1216
1239
  }): Promise<void>;
1217
- /**
1218
- * Simulate changeMasterCopy
1219
- * Returns gas estimate and result without sending transaction
1220
- * @param options Optional transaction parameters (value, gas, nonce, etc.)
1221
- */
1222
- changeMasterCopy(_masterCopy: `0x${string}`, options?: {
1223
- accessList?: import("viem").AccessList;
1224
- authorizationList?: import("viem").AuthorizationList;
1225
- chain?: import("viem").Chain | null;
1226
- dataSuffix?: `0x${string}`;
1227
- gas?: bigint;
1228
- gasPrice?: bigint;
1229
- maxFeePerGas?: bigint;
1230
- maxPriorityFeePerGas?: bigint;
1231
- nonce?: number;
1232
- value?: bigint;
1233
- }): Promise<void>;
1234
1240
  /**
1235
1241
  * Simulate changeThreshold
1236
1242
  * Returns gas estimate and result without sending transaction
@@ -1334,11 +1340,11 @@ export declare class GnosisSafe_json {
1334
1340
  value?: bigint;
1335
1341
  }): Promise<[boolean, `0x${string}`]>;
1336
1342
  /**
1337
- * Simulate isValidSignature
1343
+ * Simulate removeOwner
1338
1344
  * Returns gas estimate and result without sending transaction
1339
1345
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1340
1346
  */
1341
- isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1347
+ removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1342
1348
  accessList?: import("viem").AccessList;
1343
1349
  authorizationList?: import("viem").AuthorizationList;
1344
1350
  chain?: import("viem").Chain | null;
@@ -1349,13 +1355,13 @@ export declare class GnosisSafe_json {
1349
1355
  maxPriorityFeePerGas?: bigint;
1350
1356
  nonce?: number;
1351
1357
  value?: bigint;
1352
- }): Promise<`0x${string}`>;
1358
+ }): Promise<void>;
1353
1359
  /**
1354
- * Simulate removeOwner
1360
+ * Simulate requiredTxGas
1355
1361
  * Returns gas estimate and result without sending transaction
1356
1362
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1357
1363
  */
1358
- removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1364
+ requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1359
1365
  accessList?: import("viem").AccessList;
1360
1366
  authorizationList?: import("viem").AuthorizationList;
1361
1367
  chain?: import("viem").Chain | null;
@@ -1366,13 +1372,13 @@ export declare class GnosisSafe_json {
1366
1372
  maxPriorityFeePerGas?: bigint;
1367
1373
  nonce?: number;
1368
1374
  value?: bigint;
1369
- }): Promise<void>;
1375
+ }): Promise<bigint>;
1370
1376
  /**
1371
- * Simulate requiredTxGas
1377
+ * Simulate setFallbackHandler
1372
1378
  * Returns gas estimate and result without sending transaction
1373
1379
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1374
1380
  */
1375
- requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1381
+ setFallbackHandler(handler: `0x${string}`, options?: {
1376
1382
  accessList?: import("viem").AccessList;
1377
1383
  authorizationList?: import("viem").AuthorizationList;
1378
1384
  chain?: import("viem").Chain | null;
@@ -1383,13 +1389,13 @@ export declare class GnosisSafe_json {
1383
1389
  maxPriorityFeePerGas?: bigint;
1384
1390
  nonce?: number;
1385
1391
  value?: bigint;
1386
- }): Promise<bigint>;
1392
+ }): Promise<void>;
1387
1393
  /**
1388
- * Simulate setFallbackHandler
1394
+ * Simulate setGuard
1389
1395
  * Returns gas estimate and result without sending transaction
1390
1396
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1391
1397
  */
1392
- setFallbackHandler(handler: `0x${string}`, options?: {
1398
+ setGuard(guard: `0x${string}`, options?: {
1393
1399
  accessList?: import("viem").AccessList;
1394
1400
  authorizationList?: import("viem").AuthorizationList;
1395
1401
  chain?: import("viem").Chain | null;
@@ -1419,11 +1425,11 @@ export declare class GnosisSafe_json {
1419
1425
  value?: bigint;
1420
1426
  }): Promise<void>;
1421
1427
  /**
1422
- * Simulate signMessage
1428
+ * Simulate simulateAndRevert
1423
1429
  * Returns gas estimate and result without sending transaction
1424
1430
  * @param options Optional transaction parameters (value, gas, nonce, etc.)
1425
1431
  */
1426
- signMessage(_data: `0x${string}`, options?: {
1432
+ simulateAndRevert(targetContract: `0x${string}`, calldataPayload: `0x${string}`, options?: {
1427
1433
  accessList?: import("viem").AccessList;
1428
1434
  authorizationList?: import("viem").AuthorizationList;
1429
1435
  chain?: import("viem").Chain | null;
@@ -1489,13 +1495,22 @@ export declare class GnosisSafe_json {
1489
1495
  owner: `0x${string}`;
1490
1496
  }) => () => void;
1491
1497
  /**
1492
- * Watch ChangedMasterCopy events
1498
+ * Watch ChangedFallbackHandler events
1499
+ * @param callback Function to call when event is emitted
1500
+ * @param filter Optional filter for indexed parameters
1501
+ * @returns Unwatch function to stop listening
1502
+ */
1503
+ ChangedFallbackHandler: (callback: (event: {
1504
+ handler: `0x${string}`;
1505
+ }) => void) => () => void;
1506
+ /**
1507
+ * Watch ChangedGuard events
1493
1508
  * @param callback Function to call when event is emitted
1494
1509
  * @param filter Optional filter for indexed parameters
1495
1510
  * @returns Unwatch function to stop listening
1496
1511
  */
1497
- ChangedMasterCopy: (callback: (event: {
1498
- masterCopy: `0x${string}`;
1512
+ ChangedGuard: (callback: (event: {
1513
+ guard: `0x${string}`;
1499
1514
  }) => void) => () => void;
1500
1515
  /**
1501
1516
  * Watch ChangedThreshold events
@@ -1575,6 +1590,33 @@ export declare class GnosisSafe_json {
1575
1590
  RemovedOwner: (callback: (event: {
1576
1591
  owner: `0x${string}`;
1577
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;
1578
1620
  /**
1579
1621
  * Watch SignMsg events
1580
1622
  * @param callback Function to call when event is emitted