@gitmyabi/gnosissafe 1.0.163 → 1.0.165

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.
@@ -0,0 +1,1590 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * GnosisSafe_json ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const GnosisSafe_jsonAbi: readonly [{
8
+ readonly inputs: readonly [];
9
+ readonly payable: false;
10
+ readonly stateMutability: "nonpayable";
11
+ readonly type: "constructor";
12
+ }, {
13
+ readonly anonymous: false;
14
+ readonly inputs: readonly [{
15
+ readonly indexed: false;
16
+ readonly internalType: "address";
17
+ readonly name: "owner";
18
+ readonly type: "address";
19
+ }];
20
+ readonly name: "AddedOwner";
21
+ readonly type: "event";
22
+ }, {
23
+ readonly anonymous: false;
24
+ readonly inputs: readonly [{
25
+ readonly indexed: true;
26
+ readonly internalType: "bytes32";
27
+ readonly name: "approvedHash";
28
+ readonly type: "bytes32";
29
+ }, {
30
+ readonly indexed: true;
31
+ readonly internalType: "address";
32
+ readonly name: "owner";
33
+ readonly type: "address";
34
+ }];
35
+ readonly name: "ApproveHash";
36
+ readonly type: "event";
37
+ }, {
38
+ readonly anonymous: false;
39
+ readonly inputs: readonly [{
40
+ readonly indexed: false;
41
+ readonly internalType: "address";
42
+ readonly name: "masterCopy";
43
+ readonly type: "address";
44
+ }];
45
+ readonly name: "ChangedMasterCopy";
46
+ readonly type: "event";
47
+ }, {
48
+ readonly anonymous: false;
49
+ readonly inputs: readonly [{
50
+ readonly indexed: false;
51
+ readonly internalType: "uint256";
52
+ readonly name: "threshold";
53
+ readonly type: "uint256";
54
+ }];
55
+ readonly name: "ChangedThreshold";
56
+ readonly type: "event";
57
+ }, {
58
+ readonly anonymous: false;
59
+ readonly inputs: readonly [{
60
+ readonly indexed: false;
61
+ readonly internalType: "contract Module";
62
+ readonly name: "module";
63
+ readonly type: "address";
64
+ }];
65
+ readonly name: "DisabledModule";
66
+ readonly type: "event";
67
+ }, {
68
+ readonly anonymous: false;
69
+ readonly inputs: readonly [{
70
+ readonly indexed: false;
71
+ readonly internalType: "contract Module";
72
+ readonly name: "module";
73
+ readonly type: "address";
74
+ }];
75
+ readonly name: "EnabledModule";
76
+ readonly type: "event";
77
+ }, {
78
+ readonly anonymous: false;
79
+ readonly inputs: readonly [{
80
+ readonly indexed: false;
81
+ readonly internalType: "bytes32";
82
+ readonly name: "txHash";
83
+ readonly type: "bytes32";
84
+ }, {
85
+ readonly indexed: false;
86
+ readonly internalType: "uint256";
87
+ readonly name: "payment";
88
+ readonly type: "uint256";
89
+ }];
90
+ readonly name: "ExecutionFailure";
91
+ readonly type: "event";
92
+ }, {
93
+ readonly anonymous: false;
94
+ readonly inputs: readonly [{
95
+ readonly indexed: true;
96
+ readonly internalType: "address";
97
+ readonly name: "module";
98
+ readonly type: "address";
99
+ }];
100
+ readonly name: "ExecutionFromModuleFailure";
101
+ readonly type: "event";
102
+ }, {
103
+ readonly anonymous: false;
104
+ readonly inputs: readonly [{
105
+ readonly indexed: true;
106
+ readonly internalType: "address";
107
+ readonly name: "module";
108
+ readonly type: "address";
109
+ }];
110
+ readonly name: "ExecutionFromModuleSuccess";
111
+ readonly type: "event";
112
+ }, {
113
+ readonly anonymous: false;
114
+ readonly inputs: readonly [{
115
+ readonly indexed: false;
116
+ readonly internalType: "bytes32";
117
+ readonly name: "txHash";
118
+ readonly type: "bytes32";
119
+ }, {
120
+ readonly indexed: false;
121
+ readonly internalType: "uint256";
122
+ readonly name: "payment";
123
+ readonly type: "uint256";
124
+ }];
125
+ readonly name: "ExecutionSuccess";
126
+ readonly type: "event";
127
+ }, {
128
+ readonly anonymous: false;
129
+ readonly inputs: readonly [{
130
+ readonly indexed: false;
131
+ readonly internalType: "address";
132
+ readonly name: "owner";
133
+ readonly type: "address";
134
+ }];
135
+ readonly name: "RemovedOwner";
136
+ readonly type: "event";
137
+ }, {
138
+ readonly anonymous: false;
139
+ readonly inputs: readonly [{
140
+ readonly indexed: true;
141
+ readonly internalType: "bytes32";
142
+ readonly name: "msgHash";
143
+ readonly type: "bytes32";
144
+ }];
145
+ readonly name: "SignMsg";
146
+ readonly type: "event";
147
+ }, {
148
+ readonly payable: true;
149
+ readonly stateMutability: "payable";
150
+ readonly type: "fallback";
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;
165
+ readonly inputs: readonly [];
166
+ readonly name: "VERSION";
167
+ readonly outputs: readonly [{
168
+ readonly internalType: "string";
169
+ readonly name: "";
170
+ readonly type: "string";
171
+ }];
172
+ readonly payable: false;
173
+ readonly stateMutability: "view";
174
+ readonly type: "function";
175
+ }, {
176
+ readonly constant: false;
177
+ readonly inputs: readonly [{
178
+ readonly internalType: "address";
179
+ readonly name: "owner";
180
+ readonly type: "address";
181
+ }, {
182
+ readonly internalType: "uint256";
183
+ readonly name: "_threshold";
184
+ readonly type: "uint256";
185
+ }];
186
+ readonly name: "addOwnerWithThreshold";
187
+ readonly outputs: readonly [];
188
+ readonly payable: false;
189
+ readonly stateMutability: "nonpayable";
190
+ readonly type: "function";
191
+ }, {
192
+ readonly constant: false;
193
+ readonly inputs: readonly [{
194
+ readonly internalType: "bytes32";
195
+ readonly name: "hashToApprove";
196
+ readonly type: "bytes32";
197
+ }];
198
+ readonly name: "approveHash";
199
+ readonly outputs: readonly [];
200
+ readonly payable: false;
201
+ readonly stateMutability: "nonpayable";
202
+ readonly type: "function";
203
+ }, {
204
+ readonly constant: true;
205
+ readonly inputs: readonly [{
206
+ readonly internalType: "address";
207
+ readonly name: "";
208
+ readonly type: "address";
209
+ }, {
210
+ readonly internalType: "bytes32";
211
+ readonly name: "";
212
+ readonly type: "bytes32";
213
+ }];
214
+ readonly name: "approvedHashes";
215
+ readonly outputs: readonly [{
216
+ readonly internalType: "uint256";
217
+ readonly name: "";
218
+ readonly type: "uint256";
219
+ }];
220
+ readonly payable: false;
221
+ readonly stateMutability: "view";
222
+ readonly type: "function";
223
+ }, {
224
+ readonly constant: false;
225
+ readonly inputs: readonly [{
226
+ readonly internalType: "address";
227
+ readonly name: "_masterCopy";
228
+ readonly type: "address";
229
+ }];
230
+ readonly name: "changeMasterCopy";
231
+ readonly outputs: readonly [];
232
+ readonly payable: false;
233
+ readonly stateMutability: "nonpayable";
234
+ readonly type: "function";
235
+ }, {
236
+ readonly constant: false;
237
+ readonly inputs: readonly [{
238
+ readonly internalType: "uint256";
239
+ readonly name: "_threshold";
240
+ readonly type: "uint256";
241
+ }];
242
+ readonly name: "changeThreshold";
243
+ readonly outputs: readonly [];
244
+ readonly payable: false;
245
+ readonly stateMutability: "nonpayable";
246
+ readonly type: "function";
247
+ }, {
248
+ readonly constant: false;
249
+ readonly inputs: readonly [{
250
+ readonly internalType: "contract Module";
251
+ readonly name: "prevModule";
252
+ readonly type: "address";
253
+ }, {
254
+ readonly internalType: "contract Module";
255
+ readonly name: "module";
256
+ readonly type: "address";
257
+ }];
258
+ readonly name: "disableModule";
259
+ readonly outputs: readonly [];
260
+ readonly payable: false;
261
+ readonly stateMutability: "nonpayable";
262
+ readonly type: "function";
263
+ }, {
264
+ readonly constant: true;
265
+ readonly inputs: readonly [];
266
+ readonly name: "domainSeparator";
267
+ readonly outputs: readonly [{
268
+ readonly internalType: "bytes32";
269
+ readonly name: "";
270
+ readonly type: "bytes32";
271
+ }];
272
+ readonly payable: false;
273
+ readonly stateMutability: "view";
274
+ readonly type: "function";
275
+ }, {
276
+ readonly constant: false;
277
+ readonly inputs: readonly [{
278
+ readonly internalType: "contract Module";
279
+ readonly name: "module";
280
+ readonly type: "address";
281
+ }];
282
+ readonly name: "enableModule";
283
+ readonly outputs: readonly [];
284
+ readonly payable: false;
285
+ readonly stateMutability: "nonpayable";
286
+ readonly type: "function";
287
+ }, {
288
+ readonly constant: true;
289
+ readonly inputs: readonly [{
290
+ readonly internalType: "address";
291
+ readonly name: "to";
292
+ readonly type: "address";
293
+ }, {
294
+ readonly internalType: "uint256";
295
+ readonly name: "value";
296
+ readonly type: "uint256";
297
+ }, {
298
+ readonly internalType: "bytes";
299
+ readonly name: "data";
300
+ readonly type: "bytes";
301
+ }, {
302
+ readonly internalType: "enum Enum.Operation";
303
+ readonly name: "operation";
304
+ readonly type: "uint8";
305
+ }, {
306
+ readonly internalType: "uint256";
307
+ readonly name: "safeTxGas";
308
+ readonly type: "uint256";
309
+ }, {
310
+ readonly internalType: "uint256";
311
+ readonly name: "baseGas";
312
+ readonly type: "uint256";
313
+ }, {
314
+ readonly internalType: "uint256";
315
+ readonly name: "gasPrice";
316
+ readonly type: "uint256";
317
+ }, {
318
+ readonly internalType: "address";
319
+ readonly name: "gasToken";
320
+ readonly type: "address";
321
+ }, {
322
+ readonly internalType: "address";
323
+ readonly name: "refundReceiver";
324
+ readonly type: "address";
325
+ }, {
326
+ readonly internalType: "uint256";
327
+ readonly name: "_nonce";
328
+ readonly type: "uint256";
329
+ }];
330
+ readonly name: "encodeTransactionData";
331
+ readonly outputs: readonly [{
332
+ readonly internalType: "bytes";
333
+ readonly name: "";
334
+ readonly type: "bytes";
335
+ }];
336
+ readonly payable: false;
337
+ readonly stateMutability: "view";
338
+ readonly type: "function";
339
+ }, {
340
+ readonly constant: false;
341
+ readonly inputs: readonly [{
342
+ readonly internalType: "address";
343
+ readonly name: "to";
344
+ readonly type: "address";
345
+ }, {
346
+ readonly internalType: "uint256";
347
+ readonly name: "value";
348
+ readonly type: "uint256";
349
+ }, {
350
+ readonly internalType: "bytes";
351
+ readonly name: "data";
352
+ readonly type: "bytes";
353
+ }, {
354
+ readonly internalType: "enum Enum.Operation";
355
+ readonly name: "operation";
356
+ readonly type: "uint8";
357
+ }, {
358
+ readonly internalType: "uint256";
359
+ readonly name: "safeTxGas";
360
+ readonly type: "uint256";
361
+ }, {
362
+ readonly internalType: "uint256";
363
+ readonly name: "baseGas";
364
+ readonly type: "uint256";
365
+ }, {
366
+ readonly internalType: "uint256";
367
+ readonly name: "gasPrice";
368
+ readonly type: "uint256";
369
+ }, {
370
+ readonly internalType: "address";
371
+ readonly name: "gasToken";
372
+ readonly type: "address";
373
+ }, {
374
+ readonly internalType: "address payable";
375
+ readonly name: "refundReceiver";
376
+ readonly type: "address";
377
+ }, {
378
+ readonly internalType: "bytes";
379
+ readonly name: "signatures";
380
+ readonly type: "bytes";
381
+ }];
382
+ readonly name: "execTransaction";
383
+ readonly outputs: readonly [{
384
+ readonly internalType: "bool";
385
+ readonly name: "success";
386
+ readonly type: "bool";
387
+ }];
388
+ readonly payable: false;
389
+ readonly stateMutability: "nonpayable";
390
+ readonly type: "function";
391
+ }, {
392
+ readonly constant: false;
393
+ readonly inputs: readonly [{
394
+ readonly internalType: "address";
395
+ readonly name: "to";
396
+ readonly type: "address";
397
+ }, {
398
+ readonly internalType: "uint256";
399
+ readonly name: "value";
400
+ readonly type: "uint256";
401
+ }, {
402
+ readonly internalType: "bytes";
403
+ readonly name: "data";
404
+ readonly type: "bytes";
405
+ }, {
406
+ readonly internalType: "enum Enum.Operation";
407
+ readonly name: "operation";
408
+ readonly type: "uint8";
409
+ }];
410
+ readonly name: "execTransactionFromModule";
411
+ readonly outputs: readonly [{
412
+ readonly internalType: "bool";
413
+ readonly name: "success";
414
+ readonly type: "bool";
415
+ }];
416
+ readonly payable: false;
417
+ readonly stateMutability: "nonpayable";
418
+ readonly type: "function";
419
+ }, {
420
+ readonly constant: false;
421
+ readonly inputs: readonly [{
422
+ readonly internalType: "address";
423
+ readonly name: "to";
424
+ readonly type: "address";
425
+ }, {
426
+ readonly internalType: "uint256";
427
+ readonly name: "value";
428
+ readonly type: "uint256";
429
+ }, {
430
+ readonly internalType: "bytes";
431
+ readonly name: "data";
432
+ readonly type: "bytes";
433
+ }, {
434
+ readonly internalType: "enum Enum.Operation";
435
+ readonly name: "operation";
436
+ readonly type: "uint8";
437
+ }];
438
+ readonly name: "execTransactionFromModuleReturnData";
439
+ readonly outputs: readonly [{
440
+ readonly internalType: "bool";
441
+ readonly name: "success";
442
+ readonly type: "bool";
443
+ }, {
444
+ readonly internalType: "bytes";
445
+ readonly name: "returnData";
446
+ readonly type: "bytes";
447
+ }];
448
+ readonly payable: false;
449
+ readonly stateMutability: "nonpayable";
450
+ readonly type: "function";
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;
469
+ readonly inputs: readonly [];
470
+ readonly name: "getModules";
471
+ readonly outputs: readonly [{
472
+ readonly internalType: "address[]";
473
+ readonly name: "";
474
+ readonly type: "address[]";
475
+ }];
476
+ readonly payable: false;
477
+ readonly stateMutability: "view";
478
+ readonly type: "function";
479
+ }, {
480
+ readonly constant: true;
481
+ readonly inputs: readonly [{
482
+ readonly internalType: "address";
483
+ readonly name: "start";
484
+ readonly type: "address";
485
+ }, {
486
+ readonly internalType: "uint256";
487
+ readonly name: "pageSize";
488
+ readonly type: "uint256";
489
+ }];
490
+ readonly name: "getModulesPaginated";
491
+ readonly outputs: readonly [{
492
+ readonly internalType: "address[]";
493
+ readonly name: "array";
494
+ readonly type: "address[]";
495
+ }, {
496
+ readonly internalType: "address";
497
+ readonly name: "next";
498
+ readonly type: "address";
499
+ }];
500
+ readonly payable: false;
501
+ readonly stateMutability: "view";
502
+ readonly type: "function";
503
+ }, {
504
+ readonly constant: true;
505
+ readonly inputs: readonly [];
506
+ readonly name: "getOwners";
507
+ readonly outputs: readonly [{
508
+ readonly internalType: "address[]";
509
+ readonly name: "";
510
+ readonly type: "address[]";
511
+ }];
512
+ readonly payable: false;
513
+ readonly stateMutability: "view";
514
+ readonly type: "function";
515
+ }, {
516
+ readonly constant: true;
517
+ readonly inputs: readonly [];
518
+ readonly name: "getThreshold";
519
+ readonly outputs: readonly [{
520
+ readonly internalType: "uint256";
521
+ readonly name: "";
522
+ readonly type: "uint256";
523
+ }];
524
+ readonly payable: false;
525
+ readonly stateMutability: "view";
526
+ readonly type: "function";
527
+ }, {
528
+ readonly constant: true;
529
+ readonly inputs: readonly [{
530
+ readonly internalType: "address";
531
+ readonly name: "to";
532
+ readonly type: "address";
533
+ }, {
534
+ readonly internalType: "uint256";
535
+ readonly name: "value";
536
+ readonly type: "uint256";
537
+ }, {
538
+ readonly internalType: "bytes";
539
+ readonly name: "data";
540
+ readonly type: "bytes";
541
+ }, {
542
+ readonly internalType: "enum Enum.Operation";
543
+ readonly name: "operation";
544
+ readonly type: "uint8";
545
+ }, {
546
+ readonly internalType: "uint256";
547
+ readonly name: "safeTxGas";
548
+ readonly type: "uint256";
549
+ }, {
550
+ readonly internalType: "uint256";
551
+ readonly name: "baseGas";
552
+ readonly type: "uint256";
553
+ }, {
554
+ readonly internalType: "uint256";
555
+ readonly name: "gasPrice";
556
+ readonly type: "uint256";
557
+ }, {
558
+ readonly internalType: "address";
559
+ readonly name: "gasToken";
560
+ readonly type: "address";
561
+ }, {
562
+ readonly internalType: "address";
563
+ readonly name: "refundReceiver";
564
+ readonly type: "address";
565
+ }, {
566
+ readonly internalType: "uint256";
567
+ readonly name: "_nonce";
568
+ readonly type: "uint256";
569
+ }];
570
+ readonly name: "getTransactionHash";
571
+ readonly outputs: readonly [{
572
+ readonly internalType: "bytes32";
573
+ readonly name: "";
574
+ readonly type: "bytes32";
575
+ }];
576
+ readonly payable: false;
577
+ readonly stateMutability: "view";
578
+ readonly type: "function";
579
+ }, {
580
+ readonly constant: true;
581
+ readonly inputs: readonly [{
582
+ readonly internalType: "address";
583
+ readonly name: "owner";
584
+ readonly type: "address";
585
+ }];
586
+ readonly name: "isOwner";
587
+ readonly outputs: readonly [{
588
+ readonly internalType: "bool";
589
+ readonly name: "";
590
+ readonly type: "bool";
591
+ }];
592
+ readonly payable: false;
593
+ readonly stateMutability: "view";
594
+ readonly type: "function";
595
+ }, {
596
+ readonly constant: false;
597
+ 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";
605
+ }];
606
+ readonly name: "isValidSignature";
607
+ readonly outputs: readonly [{
608
+ readonly internalType: "bytes4";
609
+ readonly name: "";
610
+ readonly type: "bytes4";
611
+ }];
612
+ readonly payable: false;
613
+ readonly stateMutability: "nonpayable";
614
+ readonly type: "function";
615
+ }, {
616
+ readonly constant: true;
617
+ readonly inputs: readonly [];
618
+ readonly name: "nonce";
619
+ readonly outputs: readonly [{
620
+ readonly internalType: "uint256";
621
+ readonly name: "";
622
+ readonly type: "uint256";
623
+ }];
624
+ readonly payable: false;
625
+ readonly stateMutability: "view";
626
+ readonly type: "function";
627
+ }, {
628
+ readonly constant: false;
629
+ readonly inputs: readonly [{
630
+ readonly internalType: "address";
631
+ readonly name: "prevOwner";
632
+ readonly type: "address";
633
+ }, {
634
+ readonly internalType: "address";
635
+ readonly name: "owner";
636
+ readonly type: "address";
637
+ }, {
638
+ readonly internalType: "uint256";
639
+ readonly name: "_threshold";
640
+ readonly type: "uint256";
641
+ }];
642
+ readonly name: "removeOwner";
643
+ readonly outputs: readonly [];
644
+ readonly payable: false;
645
+ readonly stateMutability: "nonpayable";
646
+ readonly type: "function";
647
+ }, {
648
+ readonly constant: false;
649
+ readonly inputs: readonly [{
650
+ readonly internalType: "address";
651
+ readonly name: "to";
652
+ readonly type: "address";
653
+ }, {
654
+ readonly internalType: "uint256";
655
+ readonly name: "value";
656
+ readonly type: "uint256";
657
+ }, {
658
+ readonly internalType: "bytes";
659
+ readonly name: "data";
660
+ readonly type: "bytes";
661
+ }, {
662
+ readonly internalType: "enum Enum.Operation";
663
+ readonly name: "operation";
664
+ readonly type: "uint8";
665
+ }];
666
+ readonly name: "requiredTxGas";
667
+ readonly outputs: readonly [{
668
+ readonly internalType: "uint256";
669
+ readonly name: "";
670
+ readonly type: "uint256";
671
+ }];
672
+ readonly payable: false;
673
+ readonly stateMutability: "nonpayable";
674
+ readonly type: "function";
675
+ }, {
676
+ readonly constant: false;
677
+ readonly inputs: readonly [{
678
+ readonly internalType: "address";
679
+ readonly name: "handler";
680
+ readonly type: "address";
681
+ }];
682
+ readonly name: "setFallbackHandler";
683
+ readonly outputs: readonly [];
684
+ readonly payable: false;
685
+ readonly stateMutability: "nonpayable";
686
+ readonly type: "function";
687
+ }, {
688
+ readonly constant: false;
689
+ readonly inputs: readonly [{
690
+ readonly internalType: "address[]";
691
+ readonly name: "_owners";
692
+ readonly type: "address[]";
693
+ }, {
694
+ readonly internalType: "uint256";
695
+ readonly name: "_threshold";
696
+ readonly type: "uint256";
697
+ }, {
698
+ readonly internalType: "address";
699
+ readonly name: "to";
700
+ readonly type: "address";
701
+ }, {
702
+ readonly internalType: "bytes";
703
+ readonly name: "data";
704
+ readonly type: "bytes";
705
+ }, {
706
+ readonly internalType: "address";
707
+ readonly name: "fallbackHandler";
708
+ readonly type: "address";
709
+ }, {
710
+ readonly internalType: "address";
711
+ readonly name: "paymentToken";
712
+ readonly type: "address";
713
+ }, {
714
+ readonly internalType: "uint256";
715
+ readonly name: "payment";
716
+ readonly type: "uint256";
717
+ }, {
718
+ readonly internalType: "address payable";
719
+ readonly name: "paymentReceiver";
720
+ readonly type: "address";
721
+ }];
722
+ readonly name: "setup";
723
+ 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
+ readonly stateMutability: "nonpayable";
738
+ readonly type: "function";
739
+ }, {
740
+ readonly constant: true;
741
+ readonly inputs: readonly [{
742
+ readonly internalType: "bytes32";
743
+ readonly name: "";
744
+ readonly type: "bytes32";
745
+ }];
746
+ readonly name: "signedMessages";
747
+ readonly outputs: readonly [{
748
+ readonly internalType: "uint256";
749
+ readonly name: "";
750
+ readonly type: "uint256";
751
+ }];
752
+ readonly payable: false;
753
+ readonly stateMutability: "view";
754
+ readonly type: "function";
755
+ }, {
756
+ readonly constant: false;
757
+ readonly inputs: readonly [{
758
+ readonly internalType: "address";
759
+ readonly name: "prevOwner";
760
+ readonly type: "address";
761
+ }, {
762
+ readonly internalType: "address";
763
+ readonly name: "oldOwner";
764
+ readonly type: "address";
765
+ }, {
766
+ readonly internalType: "address";
767
+ readonly name: "newOwner";
768
+ readonly type: "address";
769
+ }];
770
+ readonly name: "swapOwner";
771
+ readonly outputs: readonly [];
772
+ readonly payable: false;
773
+ readonly stateMutability: "nonpayable";
774
+ readonly type: "function";
775
+ }];
776
+ /**
777
+ * Type-safe ABI for GnosisSafe_json
778
+ */
779
+ export type GnosisSafe_jsonAbi = typeof GnosisSafe_jsonAbi;
780
+ /**
781
+ * Contract instance type for GnosisSafe_json
782
+ */
783
+ export type GnosisSafe_jsonContract = any;
784
+ /**
785
+ * GnosisSafe_json Contract Class
786
+ *
787
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
788
+ *
789
+ * @example
790
+ * ```typescript
791
+ * import { createPublicClient, createWalletClient, http } from 'viem';
792
+ * import { mainnet } from 'viem/chains';
793
+ * import { GnosisSafe_json } from 'GnosisSafe_json';
794
+ *
795
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
796
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
797
+ *
798
+ * const contract = new GnosisSafe_json('0x...', { publicClient, walletClient });
799
+ *
800
+ * // Read functions
801
+ * const result = await contract.balanceOf('0x...');
802
+ *
803
+ * // Write functions
804
+ * const hash = await contract.transfer('0x...', 1000n);
805
+ *
806
+ * // Simulate transactions (dry-run)
807
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
808
+ * console.log('Gas estimate:', simulation.request.gas);
809
+ *
810
+ * // Watch events
811
+ * const unwatch = contract.watch.Transfer((event) => {
812
+ * console.log('Transfer event:', event);
813
+ * });
814
+ * ```
815
+ */
816
+ export declare class GnosisSafe_json {
817
+ private contract;
818
+ private contractAddress;
819
+ private publicClient;
820
+ constructor(address: Address, clients: {
821
+ publicClient: PublicClient;
822
+ walletClient?: WalletClient;
823
+ });
824
+ /**
825
+ * Get the contract address
826
+ */
827
+ get address(): Address;
828
+ /**
829
+ * Get the underlying viem contract instance
830
+ */
831
+ getContract(): GnosisSafe_jsonContract;
832
+ /**
833
+ * NAME
834
+ * view
835
+ */
836
+ NAME(): Promise<string>;
837
+ /**
838
+ * VERSION
839
+ * view
840
+ */
841
+ VERSION(): Promise<string>;
842
+ /**
843
+ * approvedHashes
844
+ * view
845
+ */
846
+ approvedHashes(arg0: `0x${string}`, arg1: `0x${string}`): Promise<bigint>;
847
+ /**
848
+ * domainSeparator
849
+ * view
850
+ */
851
+ domainSeparator(): Promise<`0x${string}`>;
852
+ /**
853
+ * encodeTransactionData
854
+ * view
855
+ */
856
+ 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
+ /**
858
+ * getMessageHash
859
+ * view
860
+ */
861
+ getMessageHash(message: `0x${string}`): Promise<`0x${string}`>;
862
+ /**
863
+ * getModules
864
+ * view
865
+ */
866
+ getModules(): Promise<`0x${string}`[]>;
867
+ /**
868
+ * getModulesPaginated
869
+ * view
870
+ */
871
+ getModulesPaginated(start: `0x${string}`, pageSize: bigint): Promise<[`0x${string}`[], `0x${string}`]>;
872
+ /**
873
+ * getOwners
874
+ * view
875
+ */
876
+ getOwners(): Promise<`0x${string}`[]>;
877
+ /**
878
+ * getThreshold
879
+ * view
880
+ */
881
+ getThreshold(): Promise<bigint>;
882
+ /**
883
+ * getTransactionHash
884
+ * view
885
+ */
886
+ 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}`>;
887
+ /**
888
+ * isOwner
889
+ * view
890
+ */
891
+ isOwner(owner: `0x${string}`): Promise<boolean>;
892
+ /**
893
+ * nonce
894
+ * view
895
+ */
896
+ nonce(): Promise<bigint>;
897
+ /**
898
+ * signedMessages
899
+ * view
900
+ */
901
+ signedMessages(arg0: `0x${string}`): Promise<bigint>;
902
+ /**
903
+ * addOwnerWithThreshold
904
+ * nonpayable
905
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
906
+ */
907
+ addOwnerWithThreshold(owner: `0x${string}`, _threshold: bigint, options?: {
908
+ accessList?: import('viem').AccessList;
909
+ authorizationList?: import('viem').AuthorizationList;
910
+ chain?: import('viem').Chain | null;
911
+ dataSuffix?: `0x${string}`;
912
+ gas?: bigint;
913
+ gasPrice?: bigint;
914
+ maxFeePerGas?: bigint;
915
+ maxPriorityFeePerGas?: bigint;
916
+ nonce?: number;
917
+ value?: bigint;
918
+ }): Promise<`0x${string}`>;
919
+ /**
920
+ * approveHash
921
+ * nonpayable
922
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
923
+ */
924
+ approveHash(hashToApprove: `0x${string}`, options?: {
925
+ accessList?: import('viem').AccessList;
926
+ authorizationList?: import('viem').AuthorizationList;
927
+ chain?: import('viem').Chain | null;
928
+ dataSuffix?: `0x${string}`;
929
+ gas?: bigint;
930
+ gasPrice?: bigint;
931
+ maxFeePerGas?: bigint;
932
+ maxPriorityFeePerGas?: bigint;
933
+ nonce?: number;
934
+ value?: bigint;
935
+ }): 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
+ /**
954
+ * changeThreshold
955
+ * nonpayable
956
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
957
+ */
958
+ changeThreshold(_threshold: bigint, options?: {
959
+ accessList?: import('viem').AccessList;
960
+ authorizationList?: import('viem').AuthorizationList;
961
+ chain?: import('viem').Chain | null;
962
+ dataSuffix?: `0x${string}`;
963
+ gas?: bigint;
964
+ gasPrice?: bigint;
965
+ maxFeePerGas?: bigint;
966
+ maxPriorityFeePerGas?: bigint;
967
+ nonce?: number;
968
+ value?: bigint;
969
+ }): Promise<`0x${string}`>;
970
+ /**
971
+ * disableModule
972
+ * nonpayable
973
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
974
+ */
975
+ disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
976
+ accessList?: import('viem').AccessList;
977
+ authorizationList?: import('viem').AuthorizationList;
978
+ chain?: import('viem').Chain | null;
979
+ dataSuffix?: `0x${string}`;
980
+ gas?: bigint;
981
+ gasPrice?: bigint;
982
+ maxFeePerGas?: bigint;
983
+ maxPriorityFeePerGas?: bigint;
984
+ nonce?: number;
985
+ value?: bigint;
986
+ }): Promise<`0x${string}`>;
987
+ /**
988
+ * enableModule
989
+ * nonpayable
990
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
991
+ */
992
+ enableModule(module: `0x${string}`, options?: {
993
+ accessList?: import('viem').AccessList;
994
+ authorizationList?: import('viem').AuthorizationList;
995
+ chain?: import('viem').Chain | null;
996
+ dataSuffix?: `0x${string}`;
997
+ gas?: bigint;
998
+ gasPrice?: bigint;
999
+ maxFeePerGas?: bigint;
1000
+ maxPriorityFeePerGas?: bigint;
1001
+ nonce?: number;
1002
+ value?: bigint;
1003
+ }): Promise<`0x${string}`>;
1004
+ /**
1005
+ * execTransaction
1006
+ * nonpayable
1007
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1008
+ */
1009
+ 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?: {
1010
+ accessList?: import('viem').AccessList;
1011
+ authorizationList?: import('viem').AuthorizationList;
1012
+ chain?: import('viem').Chain | null;
1013
+ dataSuffix?: `0x${string}`;
1014
+ gas?: bigint;
1015
+ gasPrice?: bigint;
1016
+ maxFeePerGas?: bigint;
1017
+ maxPriorityFeePerGas?: bigint;
1018
+ nonce?: number;
1019
+ value?: bigint;
1020
+ }): Promise<`0x${string}`>;
1021
+ /**
1022
+ * execTransactionFromModule
1023
+ * nonpayable
1024
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1025
+ */
1026
+ execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1027
+ accessList?: import('viem').AccessList;
1028
+ authorizationList?: import('viem').AuthorizationList;
1029
+ chain?: import('viem').Chain | null;
1030
+ dataSuffix?: `0x${string}`;
1031
+ gas?: bigint;
1032
+ gasPrice?: bigint;
1033
+ maxFeePerGas?: bigint;
1034
+ maxPriorityFeePerGas?: bigint;
1035
+ nonce?: number;
1036
+ value?: bigint;
1037
+ }): Promise<`0x${string}`>;
1038
+ /**
1039
+ * execTransactionFromModuleReturnData
1040
+ * nonpayable
1041
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1042
+ */
1043
+ execTransactionFromModuleReturnData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1044
+ accessList?: import('viem').AccessList;
1045
+ authorizationList?: import('viem').AuthorizationList;
1046
+ chain?: import('viem').Chain | null;
1047
+ dataSuffix?: `0x${string}`;
1048
+ gas?: bigint;
1049
+ gasPrice?: bigint;
1050
+ maxFeePerGas?: bigint;
1051
+ maxPriorityFeePerGas?: bigint;
1052
+ nonce?: number;
1053
+ value?: bigint;
1054
+ }): Promise<`0x${string}`>;
1055
+ /**
1056
+ * isValidSignature
1057
+ * nonpayable
1058
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1059
+ */
1060
+ isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1061
+ accessList?: import('viem').AccessList;
1062
+ authorizationList?: import('viem').AuthorizationList;
1063
+ chain?: import('viem').Chain | null;
1064
+ dataSuffix?: `0x${string}`;
1065
+ gas?: bigint;
1066
+ gasPrice?: bigint;
1067
+ maxFeePerGas?: bigint;
1068
+ maxPriorityFeePerGas?: bigint;
1069
+ nonce?: number;
1070
+ value?: bigint;
1071
+ }): Promise<`0x${string}`>;
1072
+ /**
1073
+ * removeOwner
1074
+ * nonpayable
1075
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1076
+ */
1077
+ removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1078
+ accessList?: import('viem').AccessList;
1079
+ authorizationList?: import('viem').AuthorizationList;
1080
+ chain?: import('viem').Chain | null;
1081
+ dataSuffix?: `0x${string}`;
1082
+ gas?: bigint;
1083
+ gasPrice?: bigint;
1084
+ maxFeePerGas?: bigint;
1085
+ maxPriorityFeePerGas?: bigint;
1086
+ nonce?: number;
1087
+ value?: bigint;
1088
+ }): Promise<`0x${string}`>;
1089
+ /**
1090
+ * requiredTxGas
1091
+ * nonpayable
1092
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1093
+ */
1094
+ requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1095
+ accessList?: import('viem').AccessList;
1096
+ authorizationList?: import('viem').AuthorizationList;
1097
+ chain?: import('viem').Chain | null;
1098
+ dataSuffix?: `0x${string}`;
1099
+ gas?: bigint;
1100
+ gasPrice?: bigint;
1101
+ maxFeePerGas?: bigint;
1102
+ maxPriorityFeePerGas?: bigint;
1103
+ nonce?: number;
1104
+ value?: bigint;
1105
+ }): Promise<`0x${string}`>;
1106
+ /**
1107
+ * setFallbackHandler
1108
+ * nonpayable
1109
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1110
+ */
1111
+ setFallbackHandler(handler: `0x${string}`, options?: {
1112
+ accessList?: import('viem').AccessList;
1113
+ authorizationList?: import('viem').AuthorizationList;
1114
+ chain?: import('viem').Chain | null;
1115
+ dataSuffix?: `0x${string}`;
1116
+ gas?: bigint;
1117
+ gasPrice?: bigint;
1118
+ maxFeePerGas?: bigint;
1119
+ maxPriorityFeePerGas?: bigint;
1120
+ nonce?: number;
1121
+ value?: bigint;
1122
+ }): Promise<`0x${string}`>;
1123
+ /**
1124
+ * setup
1125
+ * nonpayable
1126
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1127
+ */
1128
+ setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, fallbackHandler: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1129
+ accessList?: import('viem').AccessList;
1130
+ authorizationList?: import('viem').AuthorizationList;
1131
+ chain?: import('viem').Chain | null;
1132
+ dataSuffix?: `0x${string}`;
1133
+ gas?: bigint;
1134
+ gasPrice?: bigint;
1135
+ maxFeePerGas?: bigint;
1136
+ maxPriorityFeePerGas?: bigint;
1137
+ nonce?: number;
1138
+ value?: bigint;
1139
+ }): Promise<`0x${string}`>;
1140
+ /**
1141
+ * signMessage
1142
+ * nonpayable
1143
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1144
+ */
1145
+ signMessage(_data: `0x${string}`, options?: {
1146
+ accessList?: import('viem').AccessList;
1147
+ authorizationList?: import('viem').AuthorizationList;
1148
+ chain?: import('viem').Chain | null;
1149
+ dataSuffix?: `0x${string}`;
1150
+ gas?: bigint;
1151
+ gasPrice?: bigint;
1152
+ maxFeePerGas?: bigint;
1153
+ maxPriorityFeePerGas?: bigint;
1154
+ nonce?: number;
1155
+ value?: bigint;
1156
+ }): Promise<`0x${string}`>;
1157
+ /**
1158
+ * swapOwner
1159
+ * nonpayable
1160
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1161
+ */
1162
+ swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1163
+ accessList?: import('viem').AccessList;
1164
+ authorizationList?: import('viem').AuthorizationList;
1165
+ chain?: import('viem').Chain | null;
1166
+ dataSuffix?: `0x${string}`;
1167
+ gas?: bigint;
1168
+ gasPrice?: bigint;
1169
+ maxFeePerGas?: bigint;
1170
+ maxPriorityFeePerGas?: bigint;
1171
+ nonce?: number;
1172
+ value?: bigint;
1173
+ }): Promise<`0x${string}`>;
1174
+ /**
1175
+ * Simulate contract write operations (dry-run without sending transaction)
1176
+ *
1177
+ * @example
1178
+ * const result = await contract.simulate.transfer('0x...', 1000n);
1179
+ * console.log('Gas estimate:', result.request.gas);
1180
+ * console.log('Would succeed:', result.result);
1181
+ */
1182
+ get simulate(): {
1183
+ /**
1184
+ * Simulate addOwnerWithThreshold
1185
+ * Returns gas estimate and result without sending transaction
1186
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1187
+ */
1188
+ addOwnerWithThreshold(owner: `0x${string}`, _threshold: bigint, options?: {
1189
+ accessList?: import("viem").AccessList;
1190
+ authorizationList?: import("viem").AuthorizationList;
1191
+ chain?: import("viem").Chain | null;
1192
+ dataSuffix?: `0x${string}`;
1193
+ gas?: bigint;
1194
+ gasPrice?: bigint;
1195
+ maxFeePerGas?: bigint;
1196
+ maxPriorityFeePerGas?: bigint;
1197
+ nonce?: number;
1198
+ value?: bigint;
1199
+ }): Promise<void>;
1200
+ /**
1201
+ * Simulate approveHash
1202
+ * Returns gas estimate and result without sending transaction
1203
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1204
+ */
1205
+ approveHash(hashToApprove: `0x${string}`, options?: {
1206
+ accessList?: import("viem").AccessList;
1207
+ authorizationList?: import("viem").AuthorizationList;
1208
+ chain?: import("viem").Chain | null;
1209
+ dataSuffix?: `0x${string}`;
1210
+ gas?: bigint;
1211
+ gasPrice?: bigint;
1212
+ maxFeePerGas?: bigint;
1213
+ maxPriorityFeePerGas?: bigint;
1214
+ nonce?: number;
1215
+ value?: bigint;
1216
+ }): 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
+ /**
1235
+ * Simulate changeThreshold
1236
+ * Returns gas estimate and result without sending transaction
1237
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1238
+ */
1239
+ changeThreshold(_threshold: bigint, options?: {
1240
+ accessList?: import("viem").AccessList;
1241
+ authorizationList?: import("viem").AuthorizationList;
1242
+ chain?: import("viem").Chain | null;
1243
+ dataSuffix?: `0x${string}`;
1244
+ gas?: bigint;
1245
+ gasPrice?: bigint;
1246
+ maxFeePerGas?: bigint;
1247
+ maxPriorityFeePerGas?: bigint;
1248
+ nonce?: number;
1249
+ value?: bigint;
1250
+ }): Promise<void>;
1251
+ /**
1252
+ * Simulate disableModule
1253
+ * Returns gas estimate and result without sending transaction
1254
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1255
+ */
1256
+ disableModule(prevModule: `0x${string}`, module: `0x${string}`, options?: {
1257
+ accessList?: import("viem").AccessList;
1258
+ authorizationList?: import("viem").AuthorizationList;
1259
+ chain?: import("viem").Chain | null;
1260
+ dataSuffix?: `0x${string}`;
1261
+ gas?: bigint;
1262
+ gasPrice?: bigint;
1263
+ maxFeePerGas?: bigint;
1264
+ maxPriorityFeePerGas?: bigint;
1265
+ nonce?: number;
1266
+ value?: bigint;
1267
+ }): Promise<void>;
1268
+ /**
1269
+ * Simulate enableModule
1270
+ * Returns gas estimate and result without sending transaction
1271
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1272
+ */
1273
+ enableModule(module: `0x${string}`, options?: {
1274
+ accessList?: import("viem").AccessList;
1275
+ authorizationList?: import("viem").AuthorizationList;
1276
+ chain?: import("viem").Chain | null;
1277
+ dataSuffix?: `0x${string}`;
1278
+ gas?: bigint;
1279
+ gasPrice?: bigint;
1280
+ maxFeePerGas?: bigint;
1281
+ maxPriorityFeePerGas?: bigint;
1282
+ nonce?: number;
1283
+ value?: bigint;
1284
+ }): Promise<void>;
1285
+ /**
1286
+ * Simulate execTransaction
1287
+ * Returns gas estimate and result without sending transaction
1288
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1289
+ */
1290
+ 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?: {
1291
+ accessList?: import("viem").AccessList;
1292
+ authorizationList?: import("viem").AuthorizationList;
1293
+ chain?: import("viem").Chain | null;
1294
+ dataSuffix?: `0x${string}`;
1295
+ gas?: bigint;
1296
+ gasPrice?: bigint;
1297
+ maxFeePerGas?: bigint;
1298
+ maxPriorityFeePerGas?: bigint;
1299
+ nonce?: number;
1300
+ value?: bigint;
1301
+ }): Promise<boolean>;
1302
+ /**
1303
+ * Simulate execTransactionFromModule
1304
+ * Returns gas estimate and result without sending transaction
1305
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1306
+ */
1307
+ execTransactionFromModule(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1308
+ accessList?: import("viem").AccessList;
1309
+ authorizationList?: import("viem").AuthorizationList;
1310
+ chain?: import("viem").Chain | null;
1311
+ dataSuffix?: `0x${string}`;
1312
+ gas?: bigint;
1313
+ gasPrice?: bigint;
1314
+ maxFeePerGas?: bigint;
1315
+ maxPriorityFeePerGas?: bigint;
1316
+ nonce?: number;
1317
+ value?: bigint;
1318
+ }): Promise<boolean>;
1319
+ /**
1320
+ * Simulate execTransactionFromModuleReturnData
1321
+ * Returns gas estimate and result without sending transaction
1322
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1323
+ */
1324
+ execTransactionFromModuleReturnData(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1325
+ accessList?: import("viem").AccessList;
1326
+ authorizationList?: import("viem").AuthorizationList;
1327
+ chain?: import("viem").Chain | null;
1328
+ dataSuffix?: `0x${string}`;
1329
+ gas?: bigint;
1330
+ gasPrice?: bigint;
1331
+ maxFeePerGas?: bigint;
1332
+ maxPriorityFeePerGas?: bigint;
1333
+ nonce?: number;
1334
+ value?: bigint;
1335
+ }): Promise<[boolean, `0x${string}`]>;
1336
+ /**
1337
+ * Simulate isValidSignature
1338
+ * Returns gas estimate and result without sending transaction
1339
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1340
+ */
1341
+ isValidSignature(_data: `0x${string}`, _signature: `0x${string}`, options?: {
1342
+ accessList?: import("viem").AccessList;
1343
+ authorizationList?: import("viem").AuthorizationList;
1344
+ chain?: import("viem").Chain | null;
1345
+ dataSuffix?: `0x${string}`;
1346
+ gas?: bigint;
1347
+ gasPrice?: bigint;
1348
+ maxFeePerGas?: bigint;
1349
+ maxPriorityFeePerGas?: bigint;
1350
+ nonce?: number;
1351
+ value?: bigint;
1352
+ }): Promise<`0x${string}`>;
1353
+ /**
1354
+ * Simulate removeOwner
1355
+ * Returns gas estimate and result without sending transaction
1356
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1357
+ */
1358
+ removeOwner(prevOwner: `0x${string}`, owner: `0x${string}`, _threshold: bigint, options?: {
1359
+ accessList?: import("viem").AccessList;
1360
+ authorizationList?: import("viem").AuthorizationList;
1361
+ chain?: import("viem").Chain | null;
1362
+ dataSuffix?: `0x${string}`;
1363
+ gas?: bigint;
1364
+ gasPrice?: bigint;
1365
+ maxFeePerGas?: bigint;
1366
+ maxPriorityFeePerGas?: bigint;
1367
+ nonce?: number;
1368
+ value?: bigint;
1369
+ }): Promise<void>;
1370
+ /**
1371
+ * Simulate requiredTxGas
1372
+ * Returns gas estimate and result without sending transaction
1373
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1374
+ */
1375
+ requiredTxGas(to: `0x${string}`, value: bigint, data: `0x${string}`, operation: bigint, options?: {
1376
+ accessList?: import("viem").AccessList;
1377
+ authorizationList?: import("viem").AuthorizationList;
1378
+ chain?: import("viem").Chain | null;
1379
+ dataSuffix?: `0x${string}`;
1380
+ gas?: bigint;
1381
+ gasPrice?: bigint;
1382
+ maxFeePerGas?: bigint;
1383
+ maxPriorityFeePerGas?: bigint;
1384
+ nonce?: number;
1385
+ value?: bigint;
1386
+ }): Promise<bigint>;
1387
+ /**
1388
+ * Simulate setFallbackHandler
1389
+ * Returns gas estimate and result without sending transaction
1390
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1391
+ */
1392
+ setFallbackHandler(handler: `0x${string}`, options?: {
1393
+ accessList?: import("viem").AccessList;
1394
+ authorizationList?: import("viem").AuthorizationList;
1395
+ chain?: import("viem").Chain | null;
1396
+ dataSuffix?: `0x${string}`;
1397
+ gas?: bigint;
1398
+ gasPrice?: bigint;
1399
+ maxFeePerGas?: bigint;
1400
+ maxPriorityFeePerGas?: bigint;
1401
+ nonce?: number;
1402
+ value?: bigint;
1403
+ }): Promise<void>;
1404
+ /**
1405
+ * Simulate setup
1406
+ * Returns gas estimate and result without sending transaction
1407
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1408
+ */
1409
+ setup(_owners: `0x${string}`[], _threshold: bigint, to: `0x${string}`, data: `0x${string}`, fallbackHandler: `0x${string}`, paymentToken: `0x${string}`, payment: bigint, paymentReceiver: `0x${string}`, options?: {
1410
+ accessList?: import("viem").AccessList;
1411
+ authorizationList?: import("viem").AuthorizationList;
1412
+ chain?: import("viem").Chain | null;
1413
+ dataSuffix?: `0x${string}`;
1414
+ gas?: bigint;
1415
+ gasPrice?: bigint;
1416
+ maxFeePerGas?: bigint;
1417
+ maxPriorityFeePerGas?: bigint;
1418
+ nonce?: number;
1419
+ value?: bigint;
1420
+ }): Promise<void>;
1421
+ /**
1422
+ * Simulate signMessage
1423
+ * Returns gas estimate and result without sending transaction
1424
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1425
+ */
1426
+ signMessage(_data: `0x${string}`, options?: {
1427
+ accessList?: import("viem").AccessList;
1428
+ authorizationList?: import("viem").AuthorizationList;
1429
+ chain?: import("viem").Chain | null;
1430
+ dataSuffix?: `0x${string}`;
1431
+ gas?: bigint;
1432
+ gasPrice?: bigint;
1433
+ maxFeePerGas?: bigint;
1434
+ maxPriorityFeePerGas?: bigint;
1435
+ nonce?: number;
1436
+ value?: bigint;
1437
+ }): Promise<void>;
1438
+ /**
1439
+ * Simulate swapOwner
1440
+ * Returns gas estimate and result without sending transaction
1441
+ * @param options Optional transaction parameters (value, gas, nonce, etc.)
1442
+ */
1443
+ swapOwner(prevOwner: `0x${string}`, oldOwner: `0x${string}`, newOwner: `0x${string}`, options?: {
1444
+ accessList?: import("viem").AccessList;
1445
+ authorizationList?: import("viem").AuthorizationList;
1446
+ chain?: import("viem").Chain | null;
1447
+ dataSuffix?: `0x${string}`;
1448
+ gas?: bigint;
1449
+ gasPrice?: bigint;
1450
+ maxFeePerGas?: bigint;
1451
+ maxPriorityFeePerGas?: bigint;
1452
+ nonce?: number;
1453
+ value?: bigint;
1454
+ }): Promise<void>;
1455
+ };
1456
+ /**
1457
+ * Watch contract events
1458
+ *
1459
+ * @example
1460
+ * // Watch all Transfer events
1461
+ * const unwatch = contract.watch.Transfer((event) => {
1462
+ * console.log('Transfer:', event);
1463
+ * });
1464
+ *
1465
+ * // Stop watching
1466
+ * unwatch();
1467
+ */
1468
+ get watch(): {
1469
+ /**
1470
+ * Watch AddedOwner events
1471
+ * @param callback Function to call when event is emitted
1472
+ * @param filter Optional filter for indexed parameters
1473
+ * @returns Unwatch function to stop listening
1474
+ */
1475
+ AddedOwner: (callback: (event: {
1476
+ owner: `0x${string}`;
1477
+ }) => void) => () => void;
1478
+ /**
1479
+ * Watch ApproveHash events
1480
+ * @param callback Function to call when event is emitted
1481
+ * @param filter Optional filter for indexed parameters
1482
+ * @returns Unwatch function to stop listening
1483
+ */
1484
+ ApproveHash: (callback: (event: {
1485
+ approvedHash: `0x${string}`;
1486
+ owner: `0x${string}`;
1487
+ }) => void, filter?: {
1488
+ approvedHash: `0x${string}`;
1489
+ owner: `0x${string}`;
1490
+ }) => () => void;
1491
+ /**
1492
+ * Watch ChangedMasterCopy events
1493
+ * @param callback Function to call when event is emitted
1494
+ * @param filter Optional filter for indexed parameters
1495
+ * @returns Unwatch function to stop listening
1496
+ */
1497
+ ChangedMasterCopy: (callback: (event: {
1498
+ masterCopy: `0x${string}`;
1499
+ }) => void) => () => void;
1500
+ /**
1501
+ * Watch ChangedThreshold events
1502
+ * @param callback Function to call when event is emitted
1503
+ * @param filter Optional filter for indexed parameters
1504
+ * @returns Unwatch function to stop listening
1505
+ */
1506
+ ChangedThreshold: (callback: (event: {
1507
+ threshold: bigint;
1508
+ }) => void) => () => void;
1509
+ /**
1510
+ * Watch DisabledModule events
1511
+ * @param callback Function to call when event is emitted
1512
+ * @param filter Optional filter for indexed parameters
1513
+ * @returns Unwatch function to stop listening
1514
+ */
1515
+ DisabledModule: (callback: (event: {
1516
+ module: `0x${string}`;
1517
+ }) => void) => () => void;
1518
+ /**
1519
+ * Watch EnabledModule events
1520
+ * @param callback Function to call when event is emitted
1521
+ * @param filter Optional filter for indexed parameters
1522
+ * @returns Unwatch function to stop listening
1523
+ */
1524
+ EnabledModule: (callback: (event: {
1525
+ module: `0x${string}`;
1526
+ }) => void) => () => void;
1527
+ /**
1528
+ * Watch ExecutionFailure events
1529
+ * @param callback Function to call when event is emitted
1530
+ * @param filter Optional filter for indexed parameters
1531
+ * @returns Unwatch function to stop listening
1532
+ */
1533
+ ExecutionFailure: (callback: (event: {
1534
+ txHash: `0x${string}`;
1535
+ payment: bigint;
1536
+ }) => void) => () => void;
1537
+ /**
1538
+ * Watch ExecutionFromModuleFailure events
1539
+ * @param callback Function to call when event is emitted
1540
+ * @param filter Optional filter for indexed parameters
1541
+ * @returns Unwatch function to stop listening
1542
+ */
1543
+ ExecutionFromModuleFailure: (callback: (event: {
1544
+ module: `0x${string}`;
1545
+ }) => void, filter?: {
1546
+ module: `0x${string}`;
1547
+ }) => () => void;
1548
+ /**
1549
+ * Watch ExecutionFromModuleSuccess events
1550
+ * @param callback Function to call when event is emitted
1551
+ * @param filter Optional filter for indexed parameters
1552
+ * @returns Unwatch function to stop listening
1553
+ */
1554
+ ExecutionFromModuleSuccess: (callback: (event: {
1555
+ module: `0x${string}`;
1556
+ }) => void, filter?: {
1557
+ module: `0x${string}`;
1558
+ }) => () => void;
1559
+ /**
1560
+ * Watch ExecutionSuccess events
1561
+ * @param callback Function to call when event is emitted
1562
+ * @param filter Optional filter for indexed parameters
1563
+ * @returns Unwatch function to stop listening
1564
+ */
1565
+ ExecutionSuccess: (callback: (event: {
1566
+ txHash: `0x${string}`;
1567
+ payment: bigint;
1568
+ }) => void) => () => void;
1569
+ /**
1570
+ * Watch RemovedOwner events
1571
+ * @param callback Function to call when event is emitted
1572
+ * @param filter Optional filter for indexed parameters
1573
+ * @returns Unwatch function to stop listening
1574
+ */
1575
+ RemovedOwner: (callback: (event: {
1576
+ owner: `0x${string}`;
1577
+ }) => void) => () => void;
1578
+ /**
1579
+ * Watch SignMsg events
1580
+ * @param callback Function to call when event is emitted
1581
+ * @param filter Optional filter for indexed parameters
1582
+ * @returns Unwatch function to stop listening
1583
+ */
1584
+ SignMsg: (callback: (event: {
1585
+ msgHash: `0x${string}`;
1586
+ }) => void, filter?: {
1587
+ msgHash: `0x${string}`;
1588
+ }) => () => void;
1589
+ };
1590
+ }