near-safe 0.3.2 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1886 @@
1
+ export const SAFE_DEPLOYMENTS = {
2
+ singleton: {
3
+ address: "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
4
+ abi: [
5
+ {
6
+ anonymous: false,
7
+ inputs: [
8
+ {
9
+ indexed: true,
10
+ internalType: "address",
11
+ name: "owner",
12
+ type: "address",
13
+ },
14
+ ],
15
+ name: "AddedOwner",
16
+ type: "event",
17
+ },
18
+ {
19
+ anonymous: false,
20
+ inputs: [
21
+ {
22
+ indexed: true,
23
+ internalType: "bytes32",
24
+ name: "approvedHash",
25
+ type: "bytes32",
26
+ },
27
+ {
28
+ indexed: true,
29
+ internalType: "address",
30
+ name: "owner",
31
+ type: "address",
32
+ },
33
+ ],
34
+ name: "ApproveHash",
35
+ type: "event",
36
+ },
37
+ {
38
+ anonymous: false,
39
+ inputs: [
40
+ {
41
+ indexed: true,
42
+ internalType: "address",
43
+ name: "handler",
44
+ type: "address",
45
+ },
46
+ ],
47
+ name: "ChangedFallbackHandler",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "guard",
57
+ type: "address",
58
+ },
59
+ ],
60
+ name: "ChangedGuard",
61
+ type: "event",
62
+ },
63
+ {
64
+ anonymous: false,
65
+ inputs: [
66
+ {
67
+ indexed: false,
68
+ internalType: "uint256",
69
+ name: "threshold",
70
+ type: "uint256",
71
+ },
72
+ ],
73
+ name: "ChangedThreshold",
74
+ type: "event",
75
+ },
76
+ {
77
+ anonymous: false,
78
+ inputs: [
79
+ {
80
+ indexed: true,
81
+ internalType: "address",
82
+ name: "module",
83
+ type: "address",
84
+ },
85
+ ],
86
+ name: "DisabledModule",
87
+ type: "event",
88
+ },
89
+ {
90
+ anonymous: false,
91
+ inputs: [
92
+ {
93
+ indexed: true,
94
+ internalType: "address",
95
+ name: "module",
96
+ type: "address",
97
+ },
98
+ ],
99
+ name: "EnabledModule",
100
+ type: "event",
101
+ },
102
+ {
103
+ anonymous: false,
104
+ inputs: [
105
+ {
106
+ indexed: true,
107
+ internalType: "bytes32",
108
+ name: "txHash",
109
+ type: "bytes32",
110
+ },
111
+ {
112
+ indexed: false,
113
+ internalType: "uint256",
114
+ name: "payment",
115
+ type: "uint256",
116
+ },
117
+ ],
118
+ name: "ExecutionFailure",
119
+ type: "event",
120
+ },
121
+ {
122
+ anonymous: false,
123
+ inputs: [
124
+ {
125
+ indexed: true,
126
+ internalType: "address",
127
+ name: "module",
128
+ type: "address",
129
+ },
130
+ ],
131
+ name: "ExecutionFromModuleFailure",
132
+ type: "event",
133
+ },
134
+ {
135
+ anonymous: false,
136
+ inputs: [
137
+ {
138
+ indexed: true,
139
+ internalType: "address",
140
+ name: "module",
141
+ type: "address",
142
+ },
143
+ ],
144
+ name: "ExecutionFromModuleSuccess",
145
+ type: "event",
146
+ },
147
+ {
148
+ anonymous: false,
149
+ inputs: [
150
+ {
151
+ indexed: true,
152
+ internalType: "bytes32",
153
+ name: "txHash",
154
+ type: "bytes32",
155
+ },
156
+ {
157
+ indexed: false,
158
+ internalType: "uint256",
159
+ name: "payment",
160
+ type: "uint256",
161
+ },
162
+ ],
163
+ name: "ExecutionSuccess",
164
+ type: "event",
165
+ },
166
+ {
167
+ anonymous: false,
168
+ inputs: [
169
+ {
170
+ indexed: true,
171
+ internalType: "address",
172
+ name: "owner",
173
+ type: "address",
174
+ },
175
+ ],
176
+ name: "RemovedOwner",
177
+ type: "event",
178
+ },
179
+ {
180
+ anonymous: false,
181
+ inputs: [
182
+ {
183
+ indexed: false,
184
+ internalType: "address",
185
+ name: "module",
186
+ type: "address",
187
+ },
188
+ {
189
+ indexed: false,
190
+ internalType: "address",
191
+ name: "to",
192
+ type: "address",
193
+ },
194
+ {
195
+ indexed: false,
196
+ internalType: "uint256",
197
+ name: "value",
198
+ type: "uint256",
199
+ },
200
+ {
201
+ indexed: false,
202
+ internalType: "bytes",
203
+ name: "data",
204
+ type: "bytes",
205
+ },
206
+ {
207
+ indexed: false,
208
+ internalType: "enum Enum.Operation",
209
+ name: "operation",
210
+ type: "uint8",
211
+ },
212
+ ],
213
+ name: "SafeModuleTransaction",
214
+ type: "event",
215
+ },
216
+ {
217
+ anonymous: false,
218
+ inputs: [
219
+ {
220
+ indexed: false,
221
+ internalType: "address",
222
+ name: "to",
223
+ type: "address",
224
+ },
225
+ {
226
+ indexed: false,
227
+ internalType: "uint256",
228
+ name: "value",
229
+ type: "uint256",
230
+ },
231
+ {
232
+ indexed: false,
233
+ internalType: "bytes",
234
+ name: "data",
235
+ type: "bytes",
236
+ },
237
+ {
238
+ indexed: false,
239
+ internalType: "enum Enum.Operation",
240
+ name: "operation",
241
+ type: "uint8",
242
+ },
243
+ {
244
+ indexed: false,
245
+ internalType: "uint256",
246
+ name: "safeTxGas",
247
+ type: "uint256",
248
+ },
249
+ {
250
+ indexed: false,
251
+ internalType: "uint256",
252
+ name: "baseGas",
253
+ type: "uint256",
254
+ },
255
+ {
256
+ indexed: false,
257
+ internalType: "uint256",
258
+ name: "gasPrice",
259
+ type: "uint256",
260
+ },
261
+ {
262
+ indexed: false,
263
+ internalType: "address",
264
+ name: "gasToken",
265
+ type: "address",
266
+ },
267
+ {
268
+ indexed: false,
269
+ internalType: "address payable",
270
+ name: "refundReceiver",
271
+ type: "address",
272
+ },
273
+ {
274
+ indexed: false,
275
+ internalType: "bytes",
276
+ name: "signatures",
277
+ type: "bytes",
278
+ },
279
+ {
280
+ indexed: false,
281
+ internalType: "bytes",
282
+ name: "additionalInfo",
283
+ type: "bytes",
284
+ },
285
+ ],
286
+ name: "SafeMultiSigTransaction",
287
+ type: "event",
288
+ },
289
+ {
290
+ anonymous: false,
291
+ inputs: [
292
+ {
293
+ indexed: true,
294
+ internalType: "address",
295
+ name: "sender",
296
+ type: "address",
297
+ },
298
+ {
299
+ indexed: false,
300
+ internalType: "uint256",
301
+ name: "value",
302
+ type: "uint256",
303
+ },
304
+ ],
305
+ name: "SafeReceived",
306
+ type: "event",
307
+ },
308
+ {
309
+ anonymous: false,
310
+ inputs: [
311
+ {
312
+ indexed: true,
313
+ internalType: "address",
314
+ name: "initiator",
315
+ type: "address",
316
+ },
317
+ {
318
+ indexed: false,
319
+ internalType: "address[]",
320
+ name: "owners",
321
+ type: "address[]",
322
+ },
323
+ {
324
+ indexed: false,
325
+ internalType: "uint256",
326
+ name: "threshold",
327
+ type: "uint256",
328
+ },
329
+ {
330
+ indexed: false,
331
+ internalType: "address",
332
+ name: "initializer",
333
+ type: "address",
334
+ },
335
+ {
336
+ indexed: false,
337
+ internalType: "address",
338
+ name: "fallbackHandler",
339
+ type: "address",
340
+ },
341
+ ],
342
+ name: "SafeSetup",
343
+ type: "event",
344
+ },
345
+ {
346
+ anonymous: false,
347
+ inputs: [
348
+ {
349
+ indexed: true,
350
+ internalType: "bytes32",
351
+ name: "msgHash",
352
+ type: "bytes32",
353
+ },
354
+ ],
355
+ name: "SignMsg",
356
+ type: "event",
357
+ },
358
+ {
359
+ stateMutability: "nonpayable",
360
+ type: "fallback",
361
+ },
362
+ {
363
+ inputs: [],
364
+ name: "VERSION",
365
+ outputs: [
366
+ {
367
+ internalType: "string",
368
+ name: "",
369
+ type: "string",
370
+ },
371
+ ],
372
+ stateMutability: "view",
373
+ type: "function",
374
+ },
375
+ {
376
+ inputs: [
377
+ {
378
+ internalType: "address",
379
+ name: "owner",
380
+ type: "address",
381
+ },
382
+ {
383
+ internalType: "uint256",
384
+ name: "_threshold",
385
+ type: "uint256",
386
+ },
387
+ ],
388
+ name: "addOwnerWithThreshold",
389
+ outputs: [],
390
+ stateMutability: "nonpayable",
391
+ type: "function",
392
+ },
393
+ {
394
+ inputs: [
395
+ {
396
+ internalType: "bytes32",
397
+ name: "hashToApprove",
398
+ type: "bytes32",
399
+ },
400
+ ],
401
+ name: "approveHash",
402
+ outputs: [],
403
+ stateMutability: "nonpayable",
404
+ type: "function",
405
+ },
406
+ {
407
+ inputs: [
408
+ {
409
+ internalType: "address",
410
+ name: "",
411
+ type: "address",
412
+ },
413
+ {
414
+ internalType: "bytes32",
415
+ name: "",
416
+ type: "bytes32",
417
+ },
418
+ ],
419
+ name: "approvedHashes",
420
+ outputs: [
421
+ {
422
+ internalType: "uint256",
423
+ name: "",
424
+ type: "uint256",
425
+ },
426
+ ],
427
+ stateMutability: "view",
428
+ type: "function",
429
+ },
430
+ {
431
+ inputs: [
432
+ {
433
+ internalType: "uint256",
434
+ name: "_threshold",
435
+ type: "uint256",
436
+ },
437
+ ],
438
+ name: "changeThreshold",
439
+ outputs: [],
440
+ stateMutability: "nonpayable",
441
+ type: "function",
442
+ },
443
+ {
444
+ inputs: [
445
+ {
446
+ internalType: "bytes32",
447
+ name: "dataHash",
448
+ type: "bytes32",
449
+ },
450
+ {
451
+ internalType: "bytes",
452
+ name: "data",
453
+ type: "bytes",
454
+ },
455
+ {
456
+ internalType: "bytes",
457
+ name: "signatures",
458
+ type: "bytes",
459
+ },
460
+ {
461
+ internalType: "uint256",
462
+ name: "requiredSignatures",
463
+ type: "uint256",
464
+ },
465
+ ],
466
+ name: "checkNSignatures",
467
+ outputs: [],
468
+ stateMutability: "view",
469
+ type: "function",
470
+ },
471
+ {
472
+ inputs: [
473
+ {
474
+ internalType: "bytes32",
475
+ name: "dataHash",
476
+ type: "bytes32",
477
+ },
478
+ {
479
+ internalType: "bytes",
480
+ name: "data",
481
+ type: "bytes",
482
+ },
483
+ {
484
+ internalType: "bytes",
485
+ name: "signatures",
486
+ type: "bytes",
487
+ },
488
+ ],
489
+ name: "checkSignatures",
490
+ outputs: [],
491
+ stateMutability: "view",
492
+ type: "function",
493
+ },
494
+ {
495
+ inputs: [
496
+ {
497
+ internalType: "address",
498
+ name: "prevModule",
499
+ type: "address",
500
+ },
501
+ {
502
+ internalType: "address",
503
+ name: "module",
504
+ type: "address",
505
+ },
506
+ ],
507
+ name: "disableModule",
508
+ outputs: [],
509
+ stateMutability: "nonpayable",
510
+ type: "function",
511
+ },
512
+ {
513
+ inputs: [],
514
+ name: "domainSeparator",
515
+ outputs: [
516
+ {
517
+ internalType: "bytes32",
518
+ name: "",
519
+ type: "bytes32",
520
+ },
521
+ ],
522
+ stateMutability: "view",
523
+ type: "function",
524
+ },
525
+ {
526
+ inputs: [
527
+ {
528
+ internalType: "address",
529
+ name: "module",
530
+ type: "address",
531
+ },
532
+ ],
533
+ name: "enableModule",
534
+ outputs: [],
535
+ stateMutability: "nonpayable",
536
+ type: "function",
537
+ },
538
+ {
539
+ inputs: [
540
+ {
541
+ internalType: "address",
542
+ name: "to",
543
+ type: "address",
544
+ },
545
+ {
546
+ internalType: "uint256",
547
+ name: "value",
548
+ type: "uint256",
549
+ },
550
+ {
551
+ internalType: "bytes",
552
+ name: "data",
553
+ type: "bytes",
554
+ },
555
+ {
556
+ internalType: "enum Enum.Operation",
557
+ name: "operation",
558
+ type: "uint8",
559
+ },
560
+ {
561
+ internalType: "uint256",
562
+ name: "safeTxGas",
563
+ type: "uint256",
564
+ },
565
+ {
566
+ internalType: "uint256",
567
+ name: "baseGas",
568
+ type: "uint256",
569
+ },
570
+ {
571
+ internalType: "uint256",
572
+ name: "gasPrice",
573
+ type: "uint256",
574
+ },
575
+ {
576
+ internalType: "address",
577
+ name: "gasToken",
578
+ type: "address",
579
+ },
580
+ {
581
+ internalType: "address",
582
+ name: "refundReceiver",
583
+ type: "address",
584
+ },
585
+ {
586
+ internalType: "uint256",
587
+ name: "_nonce",
588
+ type: "uint256",
589
+ },
590
+ ],
591
+ name: "encodeTransactionData",
592
+ outputs: [
593
+ {
594
+ internalType: "bytes",
595
+ name: "",
596
+ type: "bytes",
597
+ },
598
+ ],
599
+ stateMutability: "view",
600
+ type: "function",
601
+ },
602
+ {
603
+ inputs: [
604
+ {
605
+ internalType: "address",
606
+ name: "to",
607
+ type: "address",
608
+ },
609
+ {
610
+ internalType: "uint256",
611
+ name: "value",
612
+ type: "uint256",
613
+ },
614
+ {
615
+ internalType: "bytes",
616
+ name: "data",
617
+ type: "bytes",
618
+ },
619
+ {
620
+ internalType: "enum Enum.Operation",
621
+ name: "operation",
622
+ type: "uint8",
623
+ },
624
+ {
625
+ internalType: "uint256",
626
+ name: "safeTxGas",
627
+ type: "uint256",
628
+ },
629
+ {
630
+ internalType: "uint256",
631
+ name: "baseGas",
632
+ type: "uint256",
633
+ },
634
+ {
635
+ internalType: "uint256",
636
+ name: "gasPrice",
637
+ type: "uint256",
638
+ },
639
+ {
640
+ internalType: "address",
641
+ name: "gasToken",
642
+ type: "address",
643
+ },
644
+ {
645
+ internalType: "address payable",
646
+ name: "refundReceiver",
647
+ type: "address",
648
+ },
649
+ {
650
+ internalType: "bytes",
651
+ name: "signatures",
652
+ type: "bytes",
653
+ },
654
+ ],
655
+ name: "execTransaction",
656
+ outputs: [
657
+ {
658
+ internalType: "bool",
659
+ name: "",
660
+ type: "bool",
661
+ },
662
+ ],
663
+ stateMutability: "payable",
664
+ type: "function",
665
+ },
666
+ {
667
+ inputs: [
668
+ {
669
+ internalType: "address",
670
+ name: "to",
671
+ type: "address",
672
+ },
673
+ {
674
+ internalType: "uint256",
675
+ name: "value",
676
+ type: "uint256",
677
+ },
678
+ {
679
+ internalType: "bytes",
680
+ name: "data",
681
+ type: "bytes",
682
+ },
683
+ {
684
+ internalType: "enum Enum.Operation",
685
+ name: "operation",
686
+ type: "uint8",
687
+ },
688
+ ],
689
+ name: "execTransactionFromModule",
690
+ outputs: [
691
+ {
692
+ internalType: "bool",
693
+ name: "success",
694
+ type: "bool",
695
+ },
696
+ ],
697
+ stateMutability: "nonpayable",
698
+ type: "function",
699
+ },
700
+ {
701
+ inputs: [
702
+ {
703
+ internalType: "address",
704
+ name: "to",
705
+ type: "address",
706
+ },
707
+ {
708
+ internalType: "uint256",
709
+ name: "value",
710
+ type: "uint256",
711
+ },
712
+ {
713
+ internalType: "bytes",
714
+ name: "data",
715
+ type: "bytes",
716
+ },
717
+ {
718
+ internalType: "enum Enum.Operation",
719
+ name: "operation",
720
+ type: "uint8",
721
+ },
722
+ ],
723
+ name: "execTransactionFromModuleReturnData",
724
+ outputs: [
725
+ {
726
+ internalType: "bool",
727
+ name: "success",
728
+ type: "bool",
729
+ },
730
+ {
731
+ internalType: "bytes",
732
+ name: "returnData",
733
+ type: "bytes",
734
+ },
735
+ ],
736
+ stateMutability: "nonpayable",
737
+ type: "function",
738
+ },
739
+ {
740
+ inputs: [],
741
+ name: "getChainId",
742
+ outputs: [
743
+ {
744
+ internalType: "uint256",
745
+ name: "",
746
+ type: "uint256",
747
+ },
748
+ ],
749
+ stateMutability: "view",
750
+ type: "function",
751
+ },
752
+ {
753
+ inputs: [
754
+ {
755
+ internalType: "address",
756
+ name: "start",
757
+ type: "address",
758
+ },
759
+ {
760
+ internalType: "uint256",
761
+ name: "pageSize",
762
+ type: "uint256",
763
+ },
764
+ ],
765
+ name: "getModulesPaginated",
766
+ outputs: [
767
+ {
768
+ internalType: "address[]",
769
+ name: "array",
770
+ type: "address[]",
771
+ },
772
+ {
773
+ internalType: "address",
774
+ name: "next",
775
+ type: "address",
776
+ },
777
+ ],
778
+ stateMutability: "view",
779
+ type: "function",
780
+ },
781
+ {
782
+ inputs: [],
783
+ name: "getOwners",
784
+ outputs: [
785
+ {
786
+ internalType: "address[]",
787
+ name: "",
788
+ type: "address[]",
789
+ },
790
+ ],
791
+ stateMutability: "view",
792
+ type: "function",
793
+ },
794
+ {
795
+ inputs: [
796
+ {
797
+ internalType: "uint256",
798
+ name: "offset",
799
+ type: "uint256",
800
+ },
801
+ {
802
+ internalType: "uint256",
803
+ name: "length",
804
+ type: "uint256",
805
+ },
806
+ ],
807
+ name: "getStorageAt",
808
+ outputs: [
809
+ {
810
+ internalType: "bytes",
811
+ name: "",
812
+ type: "bytes",
813
+ },
814
+ ],
815
+ stateMutability: "view",
816
+ type: "function",
817
+ },
818
+ {
819
+ inputs: [],
820
+ name: "getThreshold",
821
+ outputs: [
822
+ {
823
+ internalType: "uint256",
824
+ name: "",
825
+ type: "uint256",
826
+ },
827
+ ],
828
+ stateMutability: "view",
829
+ type: "function",
830
+ },
831
+ {
832
+ inputs: [
833
+ {
834
+ internalType: "address",
835
+ name: "to",
836
+ type: "address",
837
+ },
838
+ {
839
+ internalType: "uint256",
840
+ name: "value",
841
+ type: "uint256",
842
+ },
843
+ {
844
+ internalType: "bytes",
845
+ name: "data",
846
+ type: "bytes",
847
+ },
848
+ {
849
+ internalType: "enum Enum.Operation",
850
+ name: "operation",
851
+ type: "uint8",
852
+ },
853
+ {
854
+ internalType: "uint256",
855
+ name: "safeTxGas",
856
+ type: "uint256",
857
+ },
858
+ {
859
+ internalType: "uint256",
860
+ name: "baseGas",
861
+ type: "uint256",
862
+ },
863
+ {
864
+ internalType: "uint256",
865
+ name: "gasPrice",
866
+ type: "uint256",
867
+ },
868
+ {
869
+ internalType: "address",
870
+ name: "gasToken",
871
+ type: "address",
872
+ },
873
+ {
874
+ internalType: "address",
875
+ name: "refundReceiver",
876
+ type: "address",
877
+ },
878
+ {
879
+ internalType: "uint256",
880
+ name: "_nonce",
881
+ type: "uint256",
882
+ },
883
+ ],
884
+ name: "getTransactionHash",
885
+ outputs: [
886
+ {
887
+ internalType: "bytes32",
888
+ name: "",
889
+ type: "bytes32",
890
+ },
891
+ ],
892
+ stateMutability: "view",
893
+ type: "function",
894
+ },
895
+ {
896
+ inputs: [
897
+ {
898
+ internalType: "address",
899
+ name: "module",
900
+ type: "address",
901
+ },
902
+ ],
903
+ name: "isModuleEnabled",
904
+ outputs: [
905
+ {
906
+ internalType: "bool",
907
+ name: "",
908
+ type: "bool",
909
+ },
910
+ ],
911
+ stateMutability: "view",
912
+ type: "function",
913
+ },
914
+ {
915
+ inputs: [
916
+ {
917
+ internalType: "address",
918
+ name: "owner",
919
+ type: "address",
920
+ },
921
+ ],
922
+ name: "isOwner",
923
+ outputs: [
924
+ {
925
+ internalType: "bool",
926
+ name: "",
927
+ type: "bool",
928
+ },
929
+ ],
930
+ stateMutability: "view",
931
+ type: "function",
932
+ },
933
+ {
934
+ inputs: [],
935
+ name: "nonce",
936
+ outputs: [
937
+ {
938
+ internalType: "uint256",
939
+ name: "",
940
+ type: "uint256",
941
+ },
942
+ ],
943
+ stateMutability: "view",
944
+ type: "function",
945
+ },
946
+ {
947
+ inputs: [
948
+ {
949
+ internalType: "address",
950
+ name: "prevOwner",
951
+ type: "address",
952
+ },
953
+ {
954
+ internalType: "address",
955
+ name: "owner",
956
+ type: "address",
957
+ },
958
+ {
959
+ internalType: "uint256",
960
+ name: "_threshold",
961
+ type: "uint256",
962
+ },
963
+ ],
964
+ name: "removeOwner",
965
+ outputs: [],
966
+ stateMutability: "nonpayable",
967
+ type: "function",
968
+ },
969
+ {
970
+ inputs: [
971
+ {
972
+ internalType: "address",
973
+ name: "handler",
974
+ type: "address",
975
+ },
976
+ ],
977
+ name: "setFallbackHandler",
978
+ outputs: [],
979
+ stateMutability: "nonpayable",
980
+ type: "function",
981
+ },
982
+ {
983
+ inputs: [
984
+ {
985
+ internalType: "address",
986
+ name: "guard",
987
+ type: "address",
988
+ },
989
+ ],
990
+ name: "setGuard",
991
+ outputs: [],
992
+ stateMutability: "nonpayable",
993
+ type: "function",
994
+ },
995
+ {
996
+ inputs: [
997
+ {
998
+ internalType: "address[]",
999
+ name: "_owners",
1000
+ type: "address[]",
1001
+ },
1002
+ {
1003
+ internalType: "uint256",
1004
+ name: "_threshold",
1005
+ type: "uint256",
1006
+ },
1007
+ {
1008
+ internalType: "address",
1009
+ name: "to",
1010
+ type: "address",
1011
+ },
1012
+ {
1013
+ internalType: "bytes",
1014
+ name: "data",
1015
+ type: "bytes",
1016
+ },
1017
+ {
1018
+ internalType: "address",
1019
+ name: "fallbackHandler",
1020
+ type: "address",
1021
+ },
1022
+ {
1023
+ internalType: "address",
1024
+ name: "paymentToken",
1025
+ type: "address",
1026
+ },
1027
+ {
1028
+ internalType: "uint256",
1029
+ name: "payment",
1030
+ type: "uint256",
1031
+ },
1032
+ {
1033
+ internalType: "address payable",
1034
+ name: "paymentReceiver",
1035
+ type: "address",
1036
+ },
1037
+ ],
1038
+ name: "setup",
1039
+ outputs: [],
1040
+ stateMutability: "nonpayable",
1041
+ type: "function",
1042
+ },
1043
+ {
1044
+ inputs: [
1045
+ {
1046
+ internalType: "bytes32",
1047
+ name: "",
1048
+ type: "bytes32",
1049
+ },
1050
+ ],
1051
+ name: "signedMessages",
1052
+ outputs: [
1053
+ {
1054
+ internalType: "uint256",
1055
+ name: "",
1056
+ type: "uint256",
1057
+ },
1058
+ ],
1059
+ stateMutability: "view",
1060
+ type: "function",
1061
+ },
1062
+ {
1063
+ inputs: [
1064
+ {
1065
+ internalType: "address",
1066
+ name: "targetContract",
1067
+ type: "address",
1068
+ },
1069
+ {
1070
+ internalType: "bytes",
1071
+ name: "calldataPayload",
1072
+ type: "bytes",
1073
+ },
1074
+ ],
1075
+ name: "simulateAndRevert",
1076
+ outputs: [],
1077
+ stateMutability: "nonpayable",
1078
+ type: "function",
1079
+ },
1080
+ {
1081
+ inputs: [
1082
+ {
1083
+ internalType: "address",
1084
+ name: "prevOwner",
1085
+ type: "address",
1086
+ },
1087
+ {
1088
+ internalType: "address",
1089
+ name: "oldOwner",
1090
+ type: "address",
1091
+ },
1092
+ {
1093
+ internalType: "address",
1094
+ name: "newOwner",
1095
+ type: "address",
1096
+ },
1097
+ ],
1098
+ name: "swapOwner",
1099
+ outputs: [],
1100
+ stateMutability: "nonpayable",
1101
+ type: "function",
1102
+ },
1103
+ {
1104
+ stateMutability: "payable",
1105
+ type: "receive",
1106
+ },
1107
+ ],
1108
+ },
1109
+ proxyFactory: {
1110
+ address: "0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67",
1111
+ abi: [
1112
+ {
1113
+ anonymous: false,
1114
+ inputs: [
1115
+ {
1116
+ indexed: true,
1117
+ internalType: "contract SafeProxy",
1118
+ name: "proxy",
1119
+ type: "address",
1120
+ },
1121
+ {
1122
+ indexed: false,
1123
+ internalType: "address",
1124
+ name: "singleton",
1125
+ type: "address",
1126
+ },
1127
+ ],
1128
+ name: "ProxyCreation",
1129
+ type: "event",
1130
+ },
1131
+ {
1132
+ inputs: [
1133
+ {
1134
+ internalType: "address",
1135
+ name: "_singleton",
1136
+ type: "address",
1137
+ },
1138
+ {
1139
+ internalType: "bytes",
1140
+ name: "initializer",
1141
+ type: "bytes",
1142
+ },
1143
+ {
1144
+ internalType: "uint256",
1145
+ name: "saltNonce",
1146
+ type: "uint256",
1147
+ },
1148
+ ],
1149
+ name: "createChainSpecificProxyWithNonce",
1150
+ outputs: [
1151
+ {
1152
+ internalType: "contract SafeProxy",
1153
+ name: "proxy",
1154
+ type: "address",
1155
+ },
1156
+ ],
1157
+ stateMutability: "nonpayable",
1158
+ type: "function",
1159
+ },
1160
+ {
1161
+ inputs: [
1162
+ {
1163
+ internalType: "address",
1164
+ name: "_singleton",
1165
+ type: "address",
1166
+ },
1167
+ {
1168
+ internalType: "bytes",
1169
+ name: "initializer",
1170
+ type: "bytes",
1171
+ },
1172
+ {
1173
+ internalType: "uint256",
1174
+ name: "saltNonce",
1175
+ type: "uint256",
1176
+ },
1177
+ {
1178
+ internalType: "contract IProxyCreationCallback",
1179
+ name: "callback",
1180
+ type: "address",
1181
+ },
1182
+ ],
1183
+ name: "createProxyWithCallback",
1184
+ outputs: [
1185
+ {
1186
+ internalType: "contract SafeProxy",
1187
+ name: "proxy",
1188
+ type: "address",
1189
+ },
1190
+ ],
1191
+ stateMutability: "nonpayable",
1192
+ type: "function",
1193
+ },
1194
+ {
1195
+ inputs: [
1196
+ {
1197
+ internalType: "address",
1198
+ name: "_singleton",
1199
+ type: "address",
1200
+ },
1201
+ {
1202
+ internalType: "bytes",
1203
+ name: "initializer",
1204
+ type: "bytes",
1205
+ },
1206
+ {
1207
+ internalType: "uint256",
1208
+ name: "saltNonce",
1209
+ type: "uint256",
1210
+ },
1211
+ ],
1212
+ name: "createProxyWithNonce",
1213
+ outputs: [
1214
+ {
1215
+ internalType: "contract SafeProxy",
1216
+ name: "proxy",
1217
+ type: "address",
1218
+ },
1219
+ ],
1220
+ stateMutability: "nonpayable",
1221
+ type: "function",
1222
+ },
1223
+ {
1224
+ inputs: [],
1225
+ name: "getChainId",
1226
+ outputs: [
1227
+ {
1228
+ internalType: "uint256",
1229
+ name: "",
1230
+ type: "uint256",
1231
+ },
1232
+ ],
1233
+ stateMutability: "view",
1234
+ type: "function",
1235
+ },
1236
+ {
1237
+ inputs: [],
1238
+ name: "proxyCreationCode",
1239
+ outputs: [
1240
+ {
1241
+ internalType: "bytes",
1242
+ name: "",
1243
+ type: "bytes",
1244
+ },
1245
+ ],
1246
+ stateMutability: "pure",
1247
+ type: "function",
1248
+ },
1249
+ ],
1250
+ },
1251
+ moduleSetup: {
1252
+ address: "0x2dd68b007B46fBe91B9A7c3EDa5A7a1063cB5b47",
1253
+ abi: [
1254
+ {
1255
+ inputs: [
1256
+ {
1257
+ internalType: "address[]",
1258
+ name: "modules",
1259
+ type: "address[]",
1260
+ },
1261
+ ],
1262
+ name: "enableModules",
1263
+ outputs: [],
1264
+ stateMutability: "nonpayable",
1265
+ type: "function",
1266
+ },
1267
+ ],
1268
+ },
1269
+ m4337: {
1270
+ address: "0x75cf11467937ce3F2f357CE24ffc3DBF8fD5c226",
1271
+ abi: [
1272
+ {
1273
+ inputs: [
1274
+ {
1275
+ internalType: "address",
1276
+ name: "entryPoint",
1277
+ type: "address",
1278
+ },
1279
+ ],
1280
+ stateMutability: "nonpayable",
1281
+ type: "constructor",
1282
+ },
1283
+ {
1284
+ inputs: [],
1285
+ name: "ExecutionFailed",
1286
+ type: "error",
1287
+ },
1288
+ {
1289
+ inputs: [],
1290
+ name: "InvalidCaller",
1291
+ type: "error",
1292
+ },
1293
+ {
1294
+ inputs: [],
1295
+ name: "InvalidEntryPoint",
1296
+ type: "error",
1297
+ },
1298
+ {
1299
+ inputs: [],
1300
+ name: "UnsupportedEntryPoint",
1301
+ type: "error",
1302
+ },
1303
+ {
1304
+ inputs: [
1305
+ {
1306
+ internalType: "bytes4",
1307
+ name: "selector",
1308
+ type: "bytes4",
1309
+ },
1310
+ ],
1311
+ name: "UnsupportedExecutionFunction",
1312
+ type: "error",
1313
+ },
1314
+ {
1315
+ inputs: [],
1316
+ name: "SUPPORTED_ENTRYPOINT",
1317
+ outputs: [
1318
+ {
1319
+ internalType: "address",
1320
+ name: "",
1321
+ type: "address",
1322
+ },
1323
+ ],
1324
+ stateMutability: "view",
1325
+ type: "function",
1326
+ },
1327
+ {
1328
+ inputs: [],
1329
+ name: "domainSeparator",
1330
+ outputs: [
1331
+ {
1332
+ internalType: "bytes32",
1333
+ name: "domainSeparatorHash",
1334
+ type: "bytes32",
1335
+ },
1336
+ ],
1337
+ stateMutability: "view",
1338
+ type: "function",
1339
+ },
1340
+ {
1341
+ inputs: [
1342
+ {
1343
+ internalType: "contract Safe",
1344
+ name: "safe",
1345
+ type: "address",
1346
+ },
1347
+ {
1348
+ internalType: "bytes",
1349
+ name: "message",
1350
+ type: "bytes",
1351
+ },
1352
+ ],
1353
+ name: "encodeMessageDataForSafe",
1354
+ outputs: [
1355
+ {
1356
+ internalType: "bytes",
1357
+ name: "",
1358
+ type: "bytes",
1359
+ },
1360
+ ],
1361
+ stateMutability: "view",
1362
+ type: "function",
1363
+ },
1364
+ {
1365
+ inputs: [
1366
+ {
1367
+ internalType: "address",
1368
+ name: "to",
1369
+ type: "address",
1370
+ },
1371
+ {
1372
+ internalType: "uint256",
1373
+ name: "value",
1374
+ type: "uint256",
1375
+ },
1376
+ {
1377
+ internalType: "bytes",
1378
+ name: "data",
1379
+ type: "bytes",
1380
+ },
1381
+ {
1382
+ internalType: "uint8",
1383
+ name: "operation",
1384
+ type: "uint8",
1385
+ },
1386
+ ],
1387
+ name: "executeUserOp",
1388
+ outputs: [],
1389
+ stateMutability: "nonpayable",
1390
+ type: "function",
1391
+ },
1392
+ {
1393
+ inputs: [
1394
+ {
1395
+ internalType: "address",
1396
+ name: "to",
1397
+ type: "address",
1398
+ },
1399
+ {
1400
+ internalType: "uint256",
1401
+ name: "value",
1402
+ type: "uint256",
1403
+ },
1404
+ {
1405
+ internalType: "bytes",
1406
+ name: "data",
1407
+ type: "bytes",
1408
+ },
1409
+ {
1410
+ internalType: "uint8",
1411
+ name: "operation",
1412
+ type: "uint8",
1413
+ },
1414
+ ],
1415
+ name: "executeUserOpWithErrorString",
1416
+ outputs: [],
1417
+ stateMutability: "nonpayable",
1418
+ type: "function",
1419
+ },
1420
+ {
1421
+ inputs: [
1422
+ {
1423
+ internalType: "bytes",
1424
+ name: "message",
1425
+ type: "bytes",
1426
+ },
1427
+ ],
1428
+ name: "getMessageHash",
1429
+ outputs: [
1430
+ {
1431
+ internalType: "bytes32",
1432
+ name: "",
1433
+ type: "bytes32",
1434
+ },
1435
+ ],
1436
+ stateMutability: "view",
1437
+ type: "function",
1438
+ },
1439
+ {
1440
+ inputs: [
1441
+ {
1442
+ internalType: "contract Safe",
1443
+ name: "safe",
1444
+ type: "address",
1445
+ },
1446
+ {
1447
+ internalType: "bytes",
1448
+ name: "message",
1449
+ type: "bytes",
1450
+ },
1451
+ ],
1452
+ name: "getMessageHashForSafe",
1453
+ outputs: [
1454
+ {
1455
+ internalType: "bytes32",
1456
+ name: "",
1457
+ type: "bytes32",
1458
+ },
1459
+ ],
1460
+ stateMutability: "view",
1461
+ type: "function",
1462
+ },
1463
+ {
1464
+ inputs: [],
1465
+ name: "getModules",
1466
+ outputs: [
1467
+ {
1468
+ internalType: "address[]",
1469
+ name: "",
1470
+ type: "address[]",
1471
+ },
1472
+ ],
1473
+ stateMutability: "view",
1474
+ type: "function",
1475
+ },
1476
+ {
1477
+ inputs: [
1478
+ {
1479
+ components: [
1480
+ {
1481
+ internalType: "address",
1482
+ name: "sender",
1483
+ type: "address",
1484
+ },
1485
+ {
1486
+ internalType: "uint256",
1487
+ name: "nonce",
1488
+ type: "uint256",
1489
+ },
1490
+ {
1491
+ internalType: "bytes",
1492
+ name: "initCode",
1493
+ type: "bytes",
1494
+ },
1495
+ {
1496
+ internalType: "bytes",
1497
+ name: "callData",
1498
+ type: "bytes",
1499
+ },
1500
+ {
1501
+ internalType: "bytes32",
1502
+ name: "accountGasLimits",
1503
+ type: "bytes32",
1504
+ },
1505
+ {
1506
+ internalType: "uint256",
1507
+ name: "preVerificationGas",
1508
+ type: "uint256",
1509
+ },
1510
+ {
1511
+ internalType: "bytes32",
1512
+ name: "gasFees",
1513
+ type: "bytes32",
1514
+ },
1515
+ {
1516
+ internalType: "bytes",
1517
+ name: "paymasterAndData",
1518
+ type: "bytes",
1519
+ },
1520
+ {
1521
+ internalType: "bytes",
1522
+ name: "signature",
1523
+ type: "bytes",
1524
+ },
1525
+ ],
1526
+ internalType: "struct PackedUserOperation",
1527
+ name: "userOp",
1528
+ type: "tuple",
1529
+ },
1530
+ ],
1531
+ name: "getOperationHash",
1532
+ outputs: [
1533
+ {
1534
+ internalType: "bytes32",
1535
+ name: "operationHash",
1536
+ type: "bytes32",
1537
+ },
1538
+ ],
1539
+ stateMutability: "view",
1540
+ type: "function",
1541
+ },
1542
+ {
1543
+ inputs: [
1544
+ {
1545
+ internalType: "bytes32",
1546
+ name: "_dataHash",
1547
+ type: "bytes32",
1548
+ },
1549
+ {
1550
+ internalType: "bytes",
1551
+ name: "_signature",
1552
+ type: "bytes",
1553
+ },
1554
+ ],
1555
+ name: "isValidSignature",
1556
+ outputs: [
1557
+ {
1558
+ internalType: "bytes4",
1559
+ name: "",
1560
+ type: "bytes4",
1561
+ },
1562
+ ],
1563
+ stateMutability: "view",
1564
+ type: "function",
1565
+ },
1566
+ {
1567
+ inputs: [
1568
+ {
1569
+ internalType: "bytes",
1570
+ name: "_data",
1571
+ type: "bytes",
1572
+ },
1573
+ {
1574
+ internalType: "bytes",
1575
+ name: "_signature",
1576
+ type: "bytes",
1577
+ },
1578
+ ],
1579
+ name: "isValidSignature",
1580
+ outputs: [
1581
+ {
1582
+ internalType: "bytes4",
1583
+ name: "",
1584
+ type: "bytes4",
1585
+ },
1586
+ ],
1587
+ stateMutability: "view",
1588
+ type: "function",
1589
+ },
1590
+ {
1591
+ inputs: [
1592
+ {
1593
+ internalType: "address",
1594
+ name: "",
1595
+ type: "address",
1596
+ },
1597
+ {
1598
+ internalType: "address",
1599
+ name: "",
1600
+ type: "address",
1601
+ },
1602
+ {
1603
+ internalType: "uint256[]",
1604
+ name: "",
1605
+ type: "uint256[]",
1606
+ },
1607
+ {
1608
+ internalType: "uint256[]",
1609
+ name: "",
1610
+ type: "uint256[]",
1611
+ },
1612
+ {
1613
+ internalType: "bytes",
1614
+ name: "",
1615
+ type: "bytes",
1616
+ },
1617
+ ],
1618
+ name: "onERC1155BatchReceived",
1619
+ outputs: [
1620
+ {
1621
+ internalType: "bytes4",
1622
+ name: "",
1623
+ type: "bytes4",
1624
+ },
1625
+ ],
1626
+ stateMutability: "pure",
1627
+ type: "function",
1628
+ },
1629
+ {
1630
+ inputs: [
1631
+ {
1632
+ internalType: "address",
1633
+ name: "",
1634
+ type: "address",
1635
+ },
1636
+ {
1637
+ internalType: "address",
1638
+ name: "",
1639
+ type: "address",
1640
+ },
1641
+ {
1642
+ internalType: "uint256",
1643
+ name: "",
1644
+ type: "uint256",
1645
+ },
1646
+ {
1647
+ internalType: "uint256",
1648
+ name: "",
1649
+ type: "uint256",
1650
+ },
1651
+ {
1652
+ internalType: "bytes",
1653
+ name: "",
1654
+ type: "bytes",
1655
+ },
1656
+ ],
1657
+ name: "onERC1155Received",
1658
+ outputs: [
1659
+ {
1660
+ internalType: "bytes4",
1661
+ name: "",
1662
+ type: "bytes4",
1663
+ },
1664
+ ],
1665
+ stateMutability: "pure",
1666
+ type: "function",
1667
+ },
1668
+ {
1669
+ inputs: [
1670
+ {
1671
+ internalType: "address",
1672
+ name: "",
1673
+ type: "address",
1674
+ },
1675
+ {
1676
+ internalType: "address",
1677
+ name: "",
1678
+ type: "address",
1679
+ },
1680
+ {
1681
+ internalType: "uint256",
1682
+ name: "",
1683
+ type: "uint256",
1684
+ },
1685
+ {
1686
+ internalType: "bytes",
1687
+ name: "",
1688
+ type: "bytes",
1689
+ },
1690
+ ],
1691
+ name: "onERC721Received",
1692
+ outputs: [
1693
+ {
1694
+ internalType: "bytes4",
1695
+ name: "",
1696
+ type: "bytes4",
1697
+ },
1698
+ ],
1699
+ stateMutability: "pure",
1700
+ type: "function",
1701
+ },
1702
+ {
1703
+ inputs: [
1704
+ {
1705
+ internalType: "address",
1706
+ name: "targetContract",
1707
+ type: "address",
1708
+ },
1709
+ {
1710
+ internalType: "bytes",
1711
+ name: "calldataPayload",
1712
+ type: "bytes",
1713
+ },
1714
+ ],
1715
+ name: "simulate",
1716
+ outputs: [
1717
+ {
1718
+ internalType: "bytes",
1719
+ name: "response",
1720
+ type: "bytes",
1721
+ },
1722
+ ],
1723
+ stateMutability: "nonpayable",
1724
+ type: "function",
1725
+ },
1726
+ {
1727
+ inputs: [
1728
+ {
1729
+ internalType: "bytes4",
1730
+ name: "interfaceId",
1731
+ type: "bytes4",
1732
+ },
1733
+ ],
1734
+ name: "supportsInterface",
1735
+ outputs: [
1736
+ {
1737
+ internalType: "bool",
1738
+ name: "",
1739
+ type: "bool",
1740
+ },
1741
+ ],
1742
+ stateMutability: "view",
1743
+ type: "function",
1744
+ },
1745
+ {
1746
+ inputs: [
1747
+ {
1748
+ internalType: "address",
1749
+ name: "",
1750
+ type: "address",
1751
+ },
1752
+ {
1753
+ internalType: "address",
1754
+ name: "",
1755
+ type: "address",
1756
+ },
1757
+ {
1758
+ internalType: "address",
1759
+ name: "",
1760
+ type: "address",
1761
+ },
1762
+ {
1763
+ internalType: "uint256",
1764
+ name: "",
1765
+ type: "uint256",
1766
+ },
1767
+ {
1768
+ internalType: "bytes",
1769
+ name: "",
1770
+ type: "bytes",
1771
+ },
1772
+ {
1773
+ internalType: "bytes",
1774
+ name: "",
1775
+ type: "bytes",
1776
+ },
1777
+ ],
1778
+ name: "tokensReceived",
1779
+ outputs: [],
1780
+ stateMutability: "pure",
1781
+ type: "function",
1782
+ },
1783
+ {
1784
+ inputs: [
1785
+ {
1786
+ components: [
1787
+ {
1788
+ internalType: "address",
1789
+ name: "sender",
1790
+ type: "address",
1791
+ },
1792
+ {
1793
+ internalType: "uint256",
1794
+ name: "nonce",
1795
+ type: "uint256",
1796
+ },
1797
+ {
1798
+ internalType: "bytes",
1799
+ name: "initCode",
1800
+ type: "bytes",
1801
+ },
1802
+ {
1803
+ internalType: "bytes",
1804
+ name: "callData",
1805
+ type: "bytes",
1806
+ },
1807
+ {
1808
+ internalType: "bytes32",
1809
+ name: "accountGasLimits",
1810
+ type: "bytes32",
1811
+ },
1812
+ {
1813
+ internalType: "uint256",
1814
+ name: "preVerificationGas",
1815
+ type: "uint256",
1816
+ },
1817
+ {
1818
+ internalType: "bytes32",
1819
+ name: "gasFees",
1820
+ type: "bytes32",
1821
+ },
1822
+ {
1823
+ internalType: "bytes",
1824
+ name: "paymasterAndData",
1825
+ type: "bytes",
1826
+ },
1827
+ {
1828
+ internalType: "bytes",
1829
+ name: "signature",
1830
+ type: "bytes",
1831
+ },
1832
+ ],
1833
+ internalType: "struct PackedUserOperation",
1834
+ name: "userOp",
1835
+ type: "tuple",
1836
+ },
1837
+ {
1838
+ internalType: "bytes32",
1839
+ name: "",
1840
+ type: "bytes32",
1841
+ },
1842
+ {
1843
+ internalType: "uint256",
1844
+ name: "missingAccountFunds",
1845
+ type: "uint256",
1846
+ },
1847
+ ],
1848
+ name: "validateUserOp",
1849
+ outputs: [
1850
+ {
1851
+ internalType: "uint256",
1852
+ name: "validationData",
1853
+ type: "uint256",
1854
+ },
1855
+ ],
1856
+ stateMutability: "nonpayable",
1857
+ type: "function",
1858
+ },
1859
+ ],
1860
+ },
1861
+ entryPoint: {
1862
+ address: "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
1863
+ abi: [
1864
+ {
1865
+ name: "getNonce",
1866
+ type: "function",
1867
+ stateMutability: "view",
1868
+ inputs: [
1869
+ {
1870
+ type: "address",
1871
+ },
1872
+ {
1873
+ type: "uint192",
1874
+ name: "key",
1875
+ },
1876
+ ],
1877
+ outputs: [
1878
+ {
1879
+ type: "uint256",
1880
+ name: "nonce",
1881
+ },
1882
+ ],
1883
+ },
1884
+ ],
1885
+ },
1886
+ };