@quaivault/sdk 0.1.0

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,3334 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ // src/abi/QuaiVault.json
8
+ var QuaiVault_default = {
9
+ contractName: "QuaiVault",
10
+ abi: [
11
+ {
12
+ inputs: [],
13
+ stateMutability: "nonpayable",
14
+ type: "constructor"
15
+ },
16
+ {
17
+ inputs: [],
18
+ name: "AlreadyAnOwner",
19
+ type: "error"
20
+ },
21
+ {
22
+ inputs: [],
23
+ name: "AlreadyApproved",
24
+ type: "error"
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "CalldataTooShort",
29
+ type: "error"
30
+ },
31
+ {
32
+ inputs: [],
33
+ name: "CannotCancelApprovedTransaction",
34
+ type: "error"
35
+ },
36
+ {
37
+ inputs: [],
38
+ name: "CannotRemoveOwnerWouldFallBelowThreshold",
39
+ type: "error"
40
+ },
41
+ {
42
+ inputs: [
43
+ {
44
+ internalType: "address",
45
+ name: "target",
46
+ type: "address"
47
+ }
48
+ ],
49
+ name: "DelegateCallNotAllowed",
50
+ type: "error"
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "address",
56
+ name: "target",
57
+ type: "address"
58
+ }
59
+ ],
60
+ name: "DelegatecallTargetAlreadyAllowed",
61
+ type: "error"
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "target",
68
+ type: "address"
69
+ }
70
+ ],
71
+ name: "DelegatecallTargetNotAllowed",
72
+ type: "error"
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "DuplicateOwner",
77
+ type: "error"
78
+ },
79
+ {
80
+ inputs: [],
81
+ name: "ExecutionDelayTooLong",
82
+ type: "error"
83
+ },
84
+ {
85
+ inputs: [
86
+ {
87
+ internalType: "uint256",
88
+ name: "minimumExpiration",
89
+ type: "uint256"
90
+ }
91
+ ],
92
+ name: "ExpirationTooSoon",
93
+ type: "error"
94
+ },
95
+ {
96
+ inputs: [],
97
+ name: "ImplementationSlotTampered",
98
+ type: "error"
99
+ },
100
+ {
101
+ inputs: [],
102
+ name: "InvalidDestinationAddress",
103
+ type: "error"
104
+ },
105
+ {
106
+ inputs: [],
107
+ name: "InvalidInitialization",
108
+ type: "error"
109
+ },
110
+ {
111
+ inputs: [
112
+ {
113
+ internalType: "address",
114
+ name: "module",
115
+ type: "address"
116
+ }
117
+ ],
118
+ name: "InvalidModule",
119
+ type: "error"
120
+ },
121
+ {
122
+ inputs: [],
123
+ name: "InvalidOwnerAddress",
124
+ type: "error"
125
+ },
126
+ {
127
+ inputs: [
128
+ {
129
+ internalType: "address",
130
+ name: "prevModule",
131
+ type: "address"
132
+ }
133
+ ],
134
+ name: "InvalidPrevModule",
135
+ type: "error"
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: "InvalidThreshold",
140
+ type: "error"
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: "MaxModulesReached",
145
+ type: "error"
146
+ },
147
+ {
148
+ inputs: [],
149
+ name: "MaxOwnersReached",
150
+ type: "error"
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "MessageNotSigned",
155
+ type: "error"
156
+ },
157
+ {
158
+ inputs: [],
159
+ name: "ModuleAlreadyEnabled",
160
+ type: "error"
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: "ModuleNotEnabled",
165
+ type: "error"
166
+ },
167
+ {
168
+ inputs: [],
169
+ name: "NotAnAuthorizedModule",
170
+ type: "error"
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: "NotAnOwner",
175
+ type: "error"
176
+ },
177
+ {
178
+ inputs: [],
179
+ name: "NotApproved",
180
+ type: "error"
181
+ },
182
+ {
183
+ inputs: [],
184
+ name: "NotEnoughApprovals",
185
+ type: "error"
186
+ },
187
+ {
188
+ inputs: [],
189
+ name: "NotInitializing",
190
+ type: "error"
191
+ },
192
+ {
193
+ inputs: [],
194
+ name: "NotProposer",
195
+ type: "error"
196
+ },
197
+ {
198
+ inputs: [],
199
+ name: "OnlySelf",
200
+ type: "error"
201
+ },
202
+ {
203
+ inputs: [],
204
+ name: "OwnersRequired",
205
+ type: "error"
206
+ },
207
+ {
208
+ inputs: [],
209
+ name: "ReentrancyGuardReentrantCall",
210
+ type: "error"
211
+ },
212
+ {
213
+ inputs: [],
214
+ name: "SelfCallCannotHaveValue",
215
+ type: "error"
216
+ },
217
+ {
218
+ inputs: [
219
+ {
220
+ internalType: "uint256",
221
+ name: "executableAfter",
222
+ type: "uint256"
223
+ }
224
+ ],
225
+ name: "TimelockNotElapsed",
226
+ type: "error"
227
+ },
228
+ {
229
+ inputs: [],
230
+ name: "TooManyOwners",
231
+ type: "error"
232
+ },
233
+ {
234
+ inputs: [],
235
+ name: "TransactionAlreadyCancelled",
236
+ type: "error"
237
+ },
238
+ {
239
+ inputs: [],
240
+ name: "TransactionAlreadyExecuted",
241
+ type: "error"
242
+ },
243
+ {
244
+ inputs: [],
245
+ name: "TransactionAlreadyExists",
246
+ type: "error"
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: "TransactionDoesNotExist",
251
+ type: "error"
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "TransactionIsExpired",
256
+ type: "error"
257
+ },
258
+ {
259
+ inputs: [],
260
+ name: "TransactionNotExpired",
261
+ type: "error"
262
+ },
263
+ {
264
+ inputs: [
265
+ {
266
+ internalType: "bytes4",
267
+ name: "selector",
268
+ type: "bytes4"
269
+ }
270
+ ],
271
+ name: "UnrecognizedSelfCall",
272
+ type: "error"
273
+ },
274
+ {
275
+ anonymous: false,
276
+ inputs: [
277
+ {
278
+ indexed: true,
279
+ internalType: "bytes32",
280
+ name: "txHash",
281
+ type: "bytes32"
282
+ },
283
+ {
284
+ indexed: true,
285
+ internalType: "address",
286
+ name: "owner",
287
+ type: "address"
288
+ }
289
+ ],
290
+ name: "ApprovalRevoked",
291
+ type: "event"
292
+ },
293
+ {
294
+ anonymous: false,
295
+ inputs: [
296
+ {
297
+ indexed: true,
298
+ internalType: "address",
299
+ name: "target",
300
+ type: "address"
301
+ }
302
+ ],
303
+ name: "DelegatecallTargetAdded",
304
+ type: "event"
305
+ },
306
+ {
307
+ anonymous: false,
308
+ inputs: [
309
+ {
310
+ indexed: true,
311
+ internalType: "address",
312
+ name: "target",
313
+ type: "address"
314
+ }
315
+ ],
316
+ name: "DelegatecallTargetRemoved",
317
+ type: "event"
318
+ },
319
+ {
320
+ anonymous: false,
321
+ inputs: [
322
+ {
323
+ indexed: true,
324
+ internalType: "address",
325
+ name: "module",
326
+ type: "address"
327
+ }
328
+ ],
329
+ name: "DisabledModule",
330
+ type: "event"
331
+ },
332
+ {
333
+ anonymous: false,
334
+ inputs: [
335
+ {
336
+ indexed: true,
337
+ internalType: "address",
338
+ name: "module",
339
+ type: "address"
340
+ }
341
+ ],
342
+ name: "EnabledModule",
343
+ type: "event"
344
+ },
345
+ {
346
+ anonymous: false,
347
+ inputs: [
348
+ {
349
+ indexed: true,
350
+ internalType: "address",
351
+ name: "module",
352
+ type: "address"
353
+ }
354
+ ],
355
+ name: "ExecutionFromModuleFailure",
356
+ type: "event"
357
+ },
358
+ {
359
+ anonymous: false,
360
+ inputs: [
361
+ {
362
+ indexed: true,
363
+ internalType: "address",
364
+ name: "module",
365
+ type: "address"
366
+ }
367
+ ],
368
+ name: "ExecutionFromModuleSuccess",
369
+ type: "event"
370
+ },
371
+ {
372
+ anonymous: false,
373
+ inputs: [
374
+ {
375
+ indexed: false,
376
+ internalType: "uint64",
377
+ name: "version",
378
+ type: "uint64"
379
+ }
380
+ ],
381
+ name: "Initialized",
382
+ type: "event"
383
+ },
384
+ {
385
+ anonymous: false,
386
+ inputs: [
387
+ {
388
+ indexed: true,
389
+ internalType: "bytes32",
390
+ name: "msgHash",
391
+ type: "bytes32"
392
+ },
393
+ {
394
+ indexed: false,
395
+ internalType: "bytes",
396
+ name: "data",
397
+ type: "bytes"
398
+ }
399
+ ],
400
+ name: "MessageSigned",
401
+ type: "event"
402
+ },
403
+ {
404
+ anonymous: false,
405
+ inputs: [
406
+ {
407
+ indexed: true,
408
+ internalType: "bytes32",
409
+ name: "msgHash",
410
+ type: "bytes32"
411
+ },
412
+ {
413
+ indexed: false,
414
+ internalType: "bytes",
415
+ name: "data",
416
+ type: "bytes"
417
+ }
418
+ ],
419
+ name: "MessageUnsigned",
420
+ type: "event"
421
+ },
422
+ {
423
+ anonymous: false,
424
+ inputs: [
425
+ {
426
+ indexed: false,
427
+ internalType: "uint32",
428
+ name: "oldDelay",
429
+ type: "uint32"
430
+ },
431
+ {
432
+ indexed: false,
433
+ internalType: "uint32",
434
+ name: "newDelay",
435
+ type: "uint32"
436
+ }
437
+ ],
438
+ name: "MinExecutionDelayChanged",
439
+ type: "event"
440
+ },
441
+ {
442
+ anonymous: false,
443
+ inputs: [
444
+ {
445
+ indexed: true,
446
+ internalType: "address",
447
+ name: "owner",
448
+ type: "address"
449
+ }
450
+ ],
451
+ name: "OwnerAdded",
452
+ type: "event"
453
+ },
454
+ {
455
+ anonymous: false,
456
+ inputs: [
457
+ {
458
+ indexed: true,
459
+ internalType: "address",
460
+ name: "owner",
461
+ type: "address"
462
+ }
463
+ ],
464
+ name: "OwnerRemoved",
465
+ type: "event"
466
+ },
467
+ {
468
+ anonymous: false,
469
+ inputs: [
470
+ {
471
+ indexed: true,
472
+ internalType: "address",
473
+ name: "sender",
474
+ type: "address"
475
+ },
476
+ {
477
+ indexed: false,
478
+ internalType: "uint256",
479
+ name: "amount",
480
+ type: "uint256"
481
+ }
482
+ ],
483
+ name: "Received",
484
+ type: "event"
485
+ },
486
+ {
487
+ anonymous: false,
488
+ inputs: [
489
+ {
490
+ indexed: false,
491
+ internalType: "uint256",
492
+ name: "threshold",
493
+ type: "uint256"
494
+ }
495
+ ],
496
+ name: "ThresholdChanged",
497
+ type: "event"
498
+ },
499
+ {
500
+ anonymous: false,
501
+ inputs: [
502
+ {
503
+ indexed: true,
504
+ internalType: "bytes32",
505
+ name: "txHash",
506
+ type: "bytes32"
507
+ },
508
+ {
509
+ indexed: false,
510
+ internalType: "uint48",
511
+ name: "approvedAt",
512
+ type: "uint48"
513
+ },
514
+ {
515
+ indexed: false,
516
+ internalType: "uint256",
517
+ name: "executableAfter",
518
+ type: "uint256"
519
+ }
520
+ ],
521
+ name: "ThresholdReached",
522
+ type: "event"
523
+ },
524
+ {
525
+ anonymous: false,
526
+ inputs: [
527
+ {
528
+ indexed: true,
529
+ internalType: "bytes32",
530
+ name: "txHash",
531
+ type: "bytes32"
532
+ },
533
+ {
534
+ indexed: true,
535
+ internalType: "address",
536
+ name: "approver",
537
+ type: "address"
538
+ }
539
+ ],
540
+ name: "TransactionApproved",
541
+ type: "event"
542
+ },
543
+ {
544
+ anonymous: false,
545
+ inputs: [
546
+ {
547
+ indexed: true,
548
+ internalType: "bytes32",
549
+ name: "txHash",
550
+ type: "bytes32"
551
+ },
552
+ {
553
+ indexed: true,
554
+ internalType: "address",
555
+ name: "canceller",
556
+ type: "address"
557
+ }
558
+ ],
559
+ name: "TransactionCancelled",
560
+ type: "event"
561
+ },
562
+ {
563
+ anonymous: false,
564
+ inputs: [
565
+ {
566
+ indexed: true,
567
+ internalType: "bytes32",
568
+ name: "txHash",
569
+ type: "bytes32"
570
+ },
571
+ {
572
+ indexed: true,
573
+ internalType: "address",
574
+ name: "executor",
575
+ type: "address"
576
+ }
577
+ ],
578
+ name: "TransactionExecuted",
579
+ type: "event"
580
+ },
581
+ {
582
+ anonymous: false,
583
+ inputs: [
584
+ {
585
+ indexed: true,
586
+ internalType: "bytes32",
587
+ name: "txHash",
588
+ type: "bytes32"
589
+ }
590
+ ],
591
+ name: "TransactionExpired",
592
+ type: "event"
593
+ },
594
+ {
595
+ anonymous: false,
596
+ inputs: [
597
+ {
598
+ indexed: true,
599
+ internalType: "bytes32",
600
+ name: "txHash",
601
+ type: "bytes32"
602
+ },
603
+ {
604
+ indexed: true,
605
+ internalType: "address",
606
+ name: "executor",
607
+ type: "address"
608
+ },
609
+ {
610
+ indexed: false,
611
+ internalType: "bytes",
612
+ name: "returnData",
613
+ type: "bytes"
614
+ }
615
+ ],
616
+ name: "TransactionFailed",
617
+ type: "event"
618
+ },
619
+ {
620
+ anonymous: false,
621
+ inputs: [
622
+ {
623
+ indexed: true,
624
+ internalType: "bytes32",
625
+ name: "txHash",
626
+ type: "bytes32"
627
+ },
628
+ {
629
+ indexed: true,
630
+ internalType: "address",
631
+ name: "proposer",
632
+ type: "address"
633
+ },
634
+ {
635
+ indexed: true,
636
+ internalType: "address",
637
+ name: "to",
638
+ type: "address"
639
+ },
640
+ {
641
+ indexed: false,
642
+ internalType: "uint256",
643
+ name: "value",
644
+ type: "uint256"
645
+ },
646
+ {
647
+ indexed: false,
648
+ internalType: "bytes",
649
+ name: "data",
650
+ type: "bytes"
651
+ },
652
+ {
653
+ indexed: false,
654
+ internalType: "uint48",
655
+ name: "expiration",
656
+ type: "uint48"
657
+ },
658
+ {
659
+ indexed: false,
660
+ internalType: "uint32",
661
+ name: "executionDelay",
662
+ type: "uint32"
663
+ }
664
+ ],
665
+ name: "TransactionProposed",
666
+ type: "event"
667
+ },
668
+ {
669
+ stateMutability: "payable",
670
+ type: "fallback"
671
+ },
672
+ {
673
+ inputs: [],
674
+ name: "MAX_EXECUTION_DELAY",
675
+ outputs: [
676
+ {
677
+ internalType: "uint32",
678
+ name: "",
679
+ type: "uint32"
680
+ }
681
+ ],
682
+ stateMutability: "view",
683
+ type: "function"
684
+ },
685
+ {
686
+ inputs: [],
687
+ name: "MAX_MODULES",
688
+ outputs: [
689
+ {
690
+ internalType: "uint256",
691
+ name: "",
692
+ type: "uint256"
693
+ }
694
+ ],
695
+ stateMutability: "view",
696
+ type: "function"
697
+ },
698
+ {
699
+ inputs: [],
700
+ name: "MAX_OWNERS",
701
+ outputs: [
702
+ {
703
+ internalType: "uint256",
704
+ name: "",
705
+ type: "uint256"
706
+ }
707
+ ],
708
+ stateMutability: "view",
709
+ type: "function"
710
+ },
711
+ {
712
+ inputs: [
713
+ {
714
+ internalType: "address",
715
+ name: "target",
716
+ type: "address"
717
+ }
718
+ ],
719
+ name: "addDelegatecallTarget",
720
+ outputs: [],
721
+ stateMutability: "nonpayable",
722
+ type: "function"
723
+ },
724
+ {
725
+ inputs: [
726
+ {
727
+ internalType: "address",
728
+ name: "owner",
729
+ type: "address"
730
+ }
731
+ ],
732
+ name: "addOwner",
733
+ outputs: [],
734
+ stateMutability: "nonpayable",
735
+ type: "function"
736
+ },
737
+ {
738
+ inputs: [
739
+ {
740
+ internalType: "bytes32",
741
+ name: "txHash",
742
+ type: "bytes32"
743
+ }
744
+ ],
745
+ name: "approveAndExecute",
746
+ outputs: [
747
+ {
748
+ internalType: "bool",
749
+ name: "executed",
750
+ type: "bool"
751
+ }
752
+ ],
753
+ stateMutability: "nonpayable",
754
+ type: "function"
755
+ },
756
+ {
757
+ inputs: [
758
+ {
759
+ internalType: "bytes32",
760
+ name: "txHash",
761
+ type: "bytes32"
762
+ }
763
+ ],
764
+ name: "approveTransaction",
765
+ outputs: [],
766
+ stateMutability: "nonpayable",
767
+ type: "function"
768
+ },
769
+ {
770
+ inputs: [
771
+ {
772
+ internalType: "bytes32",
773
+ name: "txHash",
774
+ type: "bytes32"
775
+ }
776
+ ],
777
+ name: "cancelByConsensus",
778
+ outputs: [],
779
+ stateMutability: "nonpayable",
780
+ type: "function"
781
+ },
782
+ {
783
+ inputs: [
784
+ {
785
+ internalType: "bytes32",
786
+ name: "txHash",
787
+ type: "bytes32"
788
+ }
789
+ ],
790
+ name: "cancelTransaction",
791
+ outputs: [],
792
+ stateMutability: "nonpayable",
793
+ type: "function"
794
+ },
795
+ {
796
+ inputs: [
797
+ {
798
+ internalType: "uint256",
799
+ name: "_threshold",
800
+ type: "uint256"
801
+ }
802
+ ],
803
+ name: "changeThreshold",
804
+ outputs: [],
805
+ stateMutability: "nonpayable",
806
+ type: "function"
807
+ },
808
+ {
809
+ inputs: [
810
+ {
811
+ internalType: "address",
812
+ name: "",
813
+ type: "address"
814
+ }
815
+ ],
816
+ name: "delegatecallAllowed",
817
+ outputs: [
818
+ {
819
+ internalType: "bool",
820
+ name: "",
821
+ type: "bool"
822
+ }
823
+ ],
824
+ stateMutability: "view",
825
+ type: "function"
826
+ },
827
+ {
828
+ inputs: [
829
+ {
830
+ internalType: "address",
831
+ name: "prevModule",
832
+ type: "address"
833
+ },
834
+ {
835
+ internalType: "address",
836
+ name: "module",
837
+ type: "address"
838
+ }
839
+ ],
840
+ name: "disableModule",
841
+ outputs: [],
842
+ stateMutability: "nonpayable",
843
+ type: "function"
844
+ },
845
+ {
846
+ inputs: [],
847
+ name: "domainSeparator",
848
+ outputs: [
849
+ {
850
+ internalType: "bytes32",
851
+ name: "",
852
+ type: "bytes32"
853
+ }
854
+ ],
855
+ stateMutability: "view",
856
+ type: "function"
857
+ },
858
+ {
859
+ inputs: [
860
+ {
861
+ internalType: "address",
862
+ name: "module",
863
+ type: "address"
864
+ }
865
+ ],
866
+ name: "enableModule",
867
+ outputs: [],
868
+ stateMutability: "nonpayable",
869
+ type: "function"
870
+ },
871
+ {
872
+ inputs: [
873
+ {
874
+ internalType: "bytes",
875
+ name: "message",
876
+ type: "bytes"
877
+ }
878
+ ],
879
+ name: "encodeMessageData",
880
+ outputs: [
881
+ {
882
+ internalType: "bytes",
883
+ name: "",
884
+ type: "bytes"
885
+ }
886
+ ],
887
+ stateMutability: "view",
888
+ type: "function"
889
+ },
890
+ {
891
+ inputs: [
892
+ {
893
+ internalType: "address",
894
+ name: "to",
895
+ type: "address"
896
+ },
897
+ {
898
+ internalType: "uint256",
899
+ name: "value",
900
+ type: "uint256"
901
+ },
902
+ {
903
+ internalType: "bytes",
904
+ name: "data",
905
+ type: "bytes"
906
+ }
907
+ ],
908
+ name: "execTransactionFromModule",
909
+ outputs: [
910
+ {
911
+ internalType: "bool",
912
+ name: "success",
913
+ type: "bool"
914
+ }
915
+ ],
916
+ stateMutability: "nonpayable",
917
+ type: "function"
918
+ },
919
+ {
920
+ inputs: [
921
+ {
922
+ internalType: "address",
923
+ name: "to",
924
+ type: "address"
925
+ },
926
+ {
927
+ internalType: "uint256",
928
+ name: "value",
929
+ type: "uint256"
930
+ },
931
+ {
932
+ internalType: "bytes",
933
+ name: "data",
934
+ type: "bytes"
935
+ },
936
+ {
937
+ internalType: "enum Enum.Operation",
938
+ name: "operation",
939
+ type: "uint8"
940
+ }
941
+ ],
942
+ name: "execTransactionFromModule",
943
+ outputs: [
944
+ {
945
+ internalType: "bool",
946
+ name: "success",
947
+ type: "bool"
948
+ }
949
+ ],
950
+ stateMutability: "nonpayable",
951
+ type: "function"
952
+ },
953
+ {
954
+ inputs: [
955
+ {
956
+ internalType: "address",
957
+ name: "to",
958
+ type: "address"
959
+ },
960
+ {
961
+ internalType: "uint256",
962
+ name: "value",
963
+ type: "uint256"
964
+ },
965
+ {
966
+ internalType: "bytes",
967
+ name: "data",
968
+ type: "bytes"
969
+ },
970
+ {
971
+ internalType: "enum Enum.Operation",
972
+ name: "operation",
973
+ type: "uint8"
974
+ }
975
+ ],
976
+ name: "execTransactionFromModuleReturnData",
977
+ outputs: [
978
+ {
979
+ internalType: "bool",
980
+ name: "success",
981
+ type: "bool"
982
+ },
983
+ {
984
+ internalType: "bytes",
985
+ name: "returnData",
986
+ type: "bytes"
987
+ }
988
+ ],
989
+ stateMutability: "nonpayable",
990
+ type: "function"
991
+ },
992
+ {
993
+ inputs: [
994
+ {
995
+ internalType: "bytes32",
996
+ name: "txHash",
997
+ type: "bytes32"
998
+ }
999
+ ],
1000
+ name: "executeTransaction",
1001
+ outputs: [],
1002
+ stateMutability: "nonpayable",
1003
+ type: "function"
1004
+ },
1005
+ {
1006
+ inputs: [
1007
+ {
1008
+ internalType: "bytes32",
1009
+ name: "txHash",
1010
+ type: "bytes32"
1011
+ }
1012
+ ],
1013
+ name: "expireTransaction",
1014
+ outputs: [],
1015
+ stateMutability: "nonpayable",
1016
+ type: "function"
1017
+ },
1018
+ {
1019
+ inputs: [
1020
+ {
1021
+ internalType: "bytes32",
1022
+ name: "",
1023
+ type: "bytes32"
1024
+ }
1025
+ ],
1026
+ name: "expiredTxs",
1027
+ outputs: [
1028
+ {
1029
+ internalType: "bool",
1030
+ name: "",
1031
+ type: "bool"
1032
+ }
1033
+ ],
1034
+ stateMutability: "view",
1035
+ type: "function"
1036
+ },
1037
+ {
1038
+ inputs: [
1039
+ {
1040
+ internalType: "bytes",
1041
+ name: "message",
1042
+ type: "bytes"
1043
+ }
1044
+ ],
1045
+ name: "getMessageHash",
1046
+ outputs: [
1047
+ {
1048
+ internalType: "bytes32",
1049
+ name: "",
1050
+ type: "bytes32"
1051
+ }
1052
+ ],
1053
+ stateMutability: "view",
1054
+ type: "function"
1055
+ },
1056
+ {
1057
+ inputs: [],
1058
+ name: "getModules",
1059
+ outputs: [
1060
+ {
1061
+ internalType: "address[]",
1062
+ name: "",
1063
+ type: "address[]"
1064
+ }
1065
+ ],
1066
+ stateMutability: "view",
1067
+ type: "function"
1068
+ },
1069
+ {
1070
+ inputs: [
1071
+ {
1072
+ internalType: "address",
1073
+ name: "start",
1074
+ type: "address"
1075
+ },
1076
+ {
1077
+ internalType: "uint256",
1078
+ name: "pageSize",
1079
+ type: "uint256"
1080
+ }
1081
+ ],
1082
+ name: "getModulesPaginated",
1083
+ outputs: [
1084
+ {
1085
+ internalType: "address[]",
1086
+ name: "array",
1087
+ type: "address[]"
1088
+ },
1089
+ {
1090
+ internalType: "address",
1091
+ name: "next",
1092
+ type: "address"
1093
+ }
1094
+ ],
1095
+ stateMutability: "view",
1096
+ type: "function"
1097
+ },
1098
+ {
1099
+ inputs: [],
1100
+ name: "getOwnerCount",
1101
+ outputs: [
1102
+ {
1103
+ internalType: "uint256",
1104
+ name: "",
1105
+ type: "uint256"
1106
+ }
1107
+ ],
1108
+ stateMutability: "view",
1109
+ type: "function"
1110
+ },
1111
+ {
1112
+ inputs: [],
1113
+ name: "getOwners",
1114
+ outputs: [
1115
+ {
1116
+ internalType: "address[]",
1117
+ name: "",
1118
+ type: "address[]"
1119
+ }
1120
+ ],
1121
+ stateMutability: "view",
1122
+ type: "function"
1123
+ },
1124
+ {
1125
+ inputs: [
1126
+ {
1127
+ internalType: "bytes32",
1128
+ name: "txHash",
1129
+ type: "bytes32"
1130
+ }
1131
+ ],
1132
+ name: "getTransaction",
1133
+ outputs: [
1134
+ {
1135
+ components: [
1136
+ {
1137
+ internalType: "address",
1138
+ name: "to",
1139
+ type: "address"
1140
+ },
1141
+ {
1142
+ internalType: "uint48",
1143
+ name: "timestamp",
1144
+ type: "uint48"
1145
+ },
1146
+ {
1147
+ internalType: "uint48",
1148
+ name: "expiration",
1149
+ type: "uint48"
1150
+ },
1151
+ {
1152
+ internalType: "address",
1153
+ name: "proposer",
1154
+ type: "address"
1155
+ },
1156
+ {
1157
+ internalType: "bool",
1158
+ name: "executed",
1159
+ type: "bool"
1160
+ },
1161
+ {
1162
+ internalType: "bool",
1163
+ name: "cancelled",
1164
+ type: "bool"
1165
+ },
1166
+ {
1167
+ internalType: "uint48",
1168
+ name: "approvedAt",
1169
+ type: "uint48"
1170
+ },
1171
+ {
1172
+ internalType: "uint32",
1173
+ name: "executionDelay",
1174
+ type: "uint32"
1175
+ },
1176
+ {
1177
+ internalType: "uint256",
1178
+ name: "value",
1179
+ type: "uint256"
1180
+ },
1181
+ {
1182
+ internalType: "bytes",
1183
+ name: "data",
1184
+ type: "bytes"
1185
+ }
1186
+ ],
1187
+ internalType: "struct QuaiVault.Transaction",
1188
+ name: "",
1189
+ type: "tuple"
1190
+ }
1191
+ ],
1192
+ stateMutability: "view",
1193
+ type: "function"
1194
+ },
1195
+ {
1196
+ inputs: [
1197
+ {
1198
+ internalType: "address",
1199
+ name: "to",
1200
+ type: "address"
1201
+ },
1202
+ {
1203
+ internalType: "uint256",
1204
+ name: "value",
1205
+ type: "uint256"
1206
+ },
1207
+ {
1208
+ internalType: "bytes",
1209
+ name: "data",
1210
+ type: "bytes"
1211
+ },
1212
+ {
1213
+ internalType: "uint256",
1214
+ name: "_nonce",
1215
+ type: "uint256"
1216
+ }
1217
+ ],
1218
+ name: "getTransactionHash",
1219
+ outputs: [
1220
+ {
1221
+ internalType: "bytes32",
1222
+ name: "",
1223
+ type: "bytes32"
1224
+ }
1225
+ ],
1226
+ stateMutability: "view",
1227
+ type: "function"
1228
+ },
1229
+ {
1230
+ inputs: [
1231
+ {
1232
+ internalType: "bytes32",
1233
+ name: "txHash",
1234
+ type: "bytes32"
1235
+ },
1236
+ {
1237
+ internalType: "address",
1238
+ name: "owner",
1239
+ type: "address"
1240
+ }
1241
+ ],
1242
+ name: "hasApproved",
1243
+ outputs: [
1244
+ {
1245
+ internalType: "bool",
1246
+ name: "",
1247
+ type: "bool"
1248
+ }
1249
+ ],
1250
+ stateMutability: "view",
1251
+ type: "function"
1252
+ },
1253
+ {
1254
+ inputs: [
1255
+ {
1256
+ internalType: "address[]",
1257
+ name: "_owners",
1258
+ type: "address[]"
1259
+ },
1260
+ {
1261
+ internalType: "uint256",
1262
+ name: "_threshold",
1263
+ type: "uint256"
1264
+ },
1265
+ {
1266
+ internalType: "uint32",
1267
+ name: "_minExecutionDelay",
1268
+ type: "uint32"
1269
+ },
1270
+ {
1271
+ internalType: "address[]",
1272
+ name: "_initialModules",
1273
+ type: "address[]"
1274
+ },
1275
+ {
1276
+ internalType: "address[]",
1277
+ name: "_initialDelegatecallTargets",
1278
+ type: "address[]"
1279
+ }
1280
+ ],
1281
+ name: "initialize",
1282
+ outputs: [],
1283
+ stateMutability: "nonpayable",
1284
+ type: "function"
1285
+ },
1286
+ {
1287
+ inputs: [
1288
+ {
1289
+ internalType: "address",
1290
+ name: "module",
1291
+ type: "address"
1292
+ }
1293
+ ],
1294
+ name: "isModuleEnabled",
1295
+ outputs: [
1296
+ {
1297
+ internalType: "bool",
1298
+ name: "",
1299
+ type: "bool"
1300
+ }
1301
+ ],
1302
+ stateMutability: "view",
1303
+ type: "function"
1304
+ },
1305
+ {
1306
+ inputs: [
1307
+ {
1308
+ internalType: "address",
1309
+ name: "",
1310
+ type: "address"
1311
+ }
1312
+ ],
1313
+ name: "isOwner",
1314
+ outputs: [
1315
+ {
1316
+ internalType: "bool",
1317
+ name: "",
1318
+ type: "bool"
1319
+ }
1320
+ ],
1321
+ stateMutability: "view",
1322
+ type: "function"
1323
+ },
1324
+ {
1325
+ inputs: [
1326
+ {
1327
+ internalType: "bytes32",
1328
+ name: "_dataHash",
1329
+ type: "bytes32"
1330
+ },
1331
+ {
1332
+ internalType: "bytes",
1333
+ name: "",
1334
+ type: "bytes"
1335
+ }
1336
+ ],
1337
+ name: "isValidSignature",
1338
+ outputs: [
1339
+ {
1340
+ internalType: "bytes4",
1341
+ name: "",
1342
+ type: "bytes4"
1343
+ }
1344
+ ],
1345
+ stateMutability: "view",
1346
+ type: "function"
1347
+ },
1348
+ {
1349
+ inputs: [],
1350
+ name: "minExecutionDelay",
1351
+ outputs: [
1352
+ {
1353
+ internalType: "uint32",
1354
+ name: "",
1355
+ type: "uint32"
1356
+ }
1357
+ ],
1358
+ stateMutability: "view",
1359
+ type: "function"
1360
+ },
1361
+ {
1362
+ inputs: [],
1363
+ name: "moduleCount",
1364
+ outputs: [
1365
+ {
1366
+ internalType: "uint256",
1367
+ name: "",
1368
+ type: "uint256"
1369
+ }
1370
+ ],
1371
+ stateMutability: "view",
1372
+ type: "function"
1373
+ },
1374
+ {
1375
+ inputs: [],
1376
+ name: "nonce",
1377
+ outputs: [
1378
+ {
1379
+ internalType: "uint256",
1380
+ name: "",
1381
+ type: "uint256"
1382
+ }
1383
+ ],
1384
+ stateMutability: "view",
1385
+ type: "function"
1386
+ },
1387
+ {
1388
+ inputs: [
1389
+ {
1390
+ internalType: "address",
1391
+ name: "",
1392
+ type: "address"
1393
+ },
1394
+ {
1395
+ internalType: "address",
1396
+ name: "",
1397
+ type: "address"
1398
+ },
1399
+ {
1400
+ internalType: "uint256[]",
1401
+ name: "",
1402
+ type: "uint256[]"
1403
+ },
1404
+ {
1405
+ internalType: "uint256[]",
1406
+ name: "",
1407
+ type: "uint256[]"
1408
+ },
1409
+ {
1410
+ internalType: "bytes",
1411
+ name: "",
1412
+ type: "bytes"
1413
+ }
1414
+ ],
1415
+ name: "onERC1155BatchReceived",
1416
+ outputs: [
1417
+ {
1418
+ internalType: "bytes4",
1419
+ name: "",
1420
+ type: "bytes4"
1421
+ }
1422
+ ],
1423
+ stateMutability: "nonpayable",
1424
+ type: "function"
1425
+ },
1426
+ {
1427
+ inputs: [
1428
+ {
1429
+ internalType: "address",
1430
+ name: "",
1431
+ type: "address"
1432
+ },
1433
+ {
1434
+ internalType: "address",
1435
+ name: "",
1436
+ type: "address"
1437
+ },
1438
+ {
1439
+ internalType: "uint256",
1440
+ name: "",
1441
+ type: "uint256"
1442
+ },
1443
+ {
1444
+ internalType: "uint256",
1445
+ name: "",
1446
+ type: "uint256"
1447
+ },
1448
+ {
1449
+ internalType: "bytes",
1450
+ name: "",
1451
+ type: "bytes"
1452
+ }
1453
+ ],
1454
+ name: "onERC1155Received",
1455
+ outputs: [
1456
+ {
1457
+ internalType: "bytes4",
1458
+ name: "",
1459
+ type: "bytes4"
1460
+ }
1461
+ ],
1462
+ stateMutability: "nonpayable",
1463
+ type: "function"
1464
+ },
1465
+ {
1466
+ inputs: [
1467
+ {
1468
+ internalType: "address",
1469
+ name: "",
1470
+ type: "address"
1471
+ },
1472
+ {
1473
+ internalType: "address",
1474
+ name: "",
1475
+ type: "address"
1476
+ },
1477
+ {
1478
+ internalType: "uint256",
1479
+ name: "",
1480
+ type: "uint256"
1481
+ },
1482
+ {
1483
+ internalType: "bytes",
1484
+ name: "",
1485
+ type: "bytes"
1486
+ }
1487
+ ],
1488
+ name: "onERC721Received",
1489
+ outputs: [
1490
+ {
1491
+ internalType: "bytes4",
1492
+ name: "",
1493
+ type: "bytes4"
1494
+ }
1495
+ ],
1496
+ stateMutability: "nonpayable",
1497
+ type: "function"
1498
+ },
1499
+ {
1500
+ inputs: [
1501
+ {
1502
+ internalType: "address",
1503
+ name: "",
1504
+ type: "address"
1505
+ }
1506
+ ],
1507
+ name: "ownerVersions",
1508
+ outputs: [
1509
+ {
1510
+ internalType: "uint256",
1511
+ name: "",
1512
+ type: "uint256"
1513
+ }
1514
+ ],
1515
+ stateMutability: "view",
1516
+ type: "function"
1517
+ },
1518
+ {
1519
+ inputs: [
1520
+ {
1521
+ internalType: "uint256",
1522
+ name: "",
1523
+ type: "uint256"
1524
+ }
1525
+ ],
1526
+ name: "owners",
1527
+ outputs: [
1528
+ {
1529
+ internalType: "address",
1530
+ name: "",
1531
+ type: "address"
1532
+ }
1533
+ ],
1534
+ stateMutability: "view",
1535
+ type: "function"
1536
+ },
1537
+ {
1538
+ inputs: [
1539
+ {
1540
+ internalType: "address",
1541
+ name: "to",
1542
+ type: "address"
1543
+ },
1544
+ {
1545
+ internalType: "uint256",
1546
+ name: "value",
1547
+ type: "uint256"
1548
+ },
1549
+ {
1550
+ internalType: "bytes",
1551
+ name: "data",
1552
+ type: "bytes"
1553
+ },
1554
+ {
1555
+ internalType: "uint48",
1556
+ name: "expiration",
1557
+ type: "uint48"
1558
+ }
1559
+ ],
1560
+ name: "proposeTransaction",
1561
+ outputs: [
1562
+ {
1563
+ internalType: "bytes32",
1564
+ name: "",
1565
+ type: "bytes32"
1566
+ }
1567
+ ],
1568
+ stateMutability: "nonpayable",
1569
+ type: "function"
1570
+ },
1571
+ {
1572
+ inputs: [
1573
+ {
1574
+ internalType: "address",
1575
+ name: "to",
1576
+ type: "address"
1577
+ },
1578
+ {
1579
+ internalType: "uint256",
1580
+ name: "value",
1581
+ type: "uint256"
1582
+ },
1583
+ {
1584
+ internalType: "bytes",
1585
+ name: "data",
1586
+ type: "bytes"
1587
+ },
1588
+ {
1589
+ internalType: "uint48",
1590
+ name: "expiration",
1591
+ type: "uint48"
1592
+ },
1593
+ {
1594
+ internalType: "uint32",
1595
+ name: "requestedDelay",
1596
+ type: "uint32"
1597
+ }
1598
+ ],
1599
+ name: "proposeTransaction",
1600
+ outputs: [
1601
+ {
1602
+ internalType: "bytes32",
1603
+ name: "",
1604
+ type: "bytes32"
1605
+ }
1606
+ ],
1607
+ stateMutability: "nonpayable",
1608
+ type: "function"
1609
+ },
1610
+ {
1611
+ inputs: [
1612
+ {
1613
+ internalType: "address",
1614
+ name: "to",
1615
+ type: "address"
1616
+ },
1617
+ {
1618
+ internalType: "uint256",
1619
+ name: "value",
1620
+ type: "uint256"
1621
+ },
1622
+ {
1623
+ internalType: "bytes",
1624
+ name: "data",
1625
+ type: "bytes"
1626
+ }
1627
+ ],
1628
+ name: "proposeTransaction",
1629
+ outputs: [
1630
+ {
1631
+ internalType: "bytes32",
1632
+ name: "",
1633
+ type: "bytes32"
1634
+ }
1635
+ ],
1636
+ stateMutability: "nonpayable",
1637
+ type: "function"
1638
+ },
1639
+ {
1640
+ inputs: [
1641
+ {
1642
+ internalType: "address",
1643
+ name: "target",
1644
+ type: "address"
1645
+ }
1646
+ ],
1647
+ name: "removeDelegatecallTarget",
1648
+ outputs: [],
1649
+ stateMutability: "nonpayable",
1650
+ type: "function"
1651
+ },
1652
+ {
1653
+ inputs: [
1654
+ {
1655
+ internalType: "address",
1656
+ name: "owner",
1657
+ type: "address"
1658
+ }
1659
+ ],
1660
+ name: "removeOwner",
1661
+ outputs: [],
1662
+ stateMutability: "nonpayable",
1663
+ type: "function"
1664
+ },
1665
+ {
1666
+ inputs: [
1667
+ {
1668
+ internalType: "bytes32",
1669
+ name: "txHash",
1670
+ type: "bytes32"
1671
+ }
1672
+ ],
1673
+ name: "revokeApproval",
1674
+ outputs: [],
1675
+ stateMutability: "nonpayable",
1676
+ type: "function"
1677
+ },
1678
+ {
1679
+ inputs: [
1680
+ {
1681
+ internalType: "uint32",
1682
+ name: "delay",
1683
+ type: "uint32"
1684
+ }
1685
+ ],
1686
+ name: "setMinExecutionDelay",
1687
+ outputs: [],
1688
+ stateMutability: "nonpayable",
1689
+ type: "function"
1690
+ },
1691
+ {
1692
+ inputs: [
1693
+ {
1694
+ internalType: "bytes",
1695
+ name: "data",
1696
+ type: "bytes"
1697
+ }
1698
+ ],
1699
+ name: "signMessage",
1700
+ outputs: [],
1701
+ stateMutability: "nonpayable",
1702
+ type: "function"
1703
+ },
1704
+ {
1705
+ inputs: [
1706
+ {
1707
+ internalType: "bytes32",
1708
+ name: "",
1709
+ type: "bytes32"
1710
+ }
1711
+ ],
1712
+ name: "signedMessages",
1713
+ outputs: [
1714
+ {
1715
+ internalType: "bool",
1716
+ name: "",
1717
+ type: "bool"
1718
+ }
1719
+ ],
1720
+ stateMutability: "view",
1721
+ type: "function"
1722
+ },
1723
+ {
1724
+ inputs: [
1725
+ {
1726
+ internalType: "bytes4",
1727
+ name: "interfaceId",
1728
+ type: "bytes4"
1729
+ }
1730
+ ],
1731
+ name: "supportsInterface",
1732
+ outputs: [
1733
+ {
1734
+ internalType: "bool",
1735
+ name: "",
1736
+ type: "bool"
1737
+ }
1738
+ ],
1739
+ stateMutability: "view",
1740
+ type: "function"
1741
+ },
1742
+ {
1743
+ inputs: [],
1744
+ name: "threshold",
1745
+ outputs: [
1746
+ {
1747
+ internalType: "uint256",
1748
+ name: "",
1749
+ type: "uint256"
1750
+ }
1751
+ ],
1752
+ stateMutability: "view",
1753
+ type: "function"
1754
+ },
1755
+ {
1756
+ inputs: [
1757
+ {
1758
+ internalType: "bytes32",
1759
+ name: "",
1760
+ type: "bytes32"
1761
+ }
1762
+ ],
1763
+ name: "transactions",
1764
+ outputs: [
1765
+ {
1766
+ internalType: "address",
1767
+ name: "to",
1768
+ type: "address"
1769
+ },
1770
+ {
1771
+ internalType: "uint48",
1772
+ name: "timestamp",
1773
+ type: "uint48"
1774
+ },
1775
+ {
1776
+ internalType: "uint48",
1777
+ name: "expiration",
1778
+ type: "uint48"
1779
+ },
1780
+ {
1781
+ internalType: "address",
1782
+ name: "proposer",
1783
+ type: "address"
1784
+ },
1785
+ {
1786
+ internalType: "bool",
1787
+ name: "executed",
1788
+ type: "bool"
1789
+ },
1790
+ {
1791
+ internalType: "bool",
1792
+ name: "cancelled",
1793
+ type: "bool"
1794
+ },
1795
+ {
1796
+ internalType: "uint48",
1797
+ name: "approvedAt",
1798
+ type: "uint48"
1799
+ },
1800
+ {
1801
+ internalType: "uint32",
1802
+ name: "executionDelay",
1803
+ type: "uint32"
1804
+ },
1805
+ {
1806
+ internalType: "uint256",
1807
+ name: "value",
1808
+ type: "uint256"
1809
+ },
1810
+ {
1811
+ internalType: "bytes",
1812
+ name: "data",
1813
+ type: "bytes"
1814
+ }
1815
+ ],
1816
+ stateMutability: "view",
1817
+ type: "function"
1818
+ },
1819
+ {
1820
+ inputs: [
1821
+ {
1822
+ internalType: "bytes",
1823
+ name: "data",
1824
+ type: "bytes"
1825
+ }
1826
+ ],
1827
+ name: "unsignMessage",
1828
+ outputs: [],
1829
+ stateMutability: "nonpayable",
1830
+ type: "function"
1831
+ },
1832
+ {
1833
+ stateMutability: "payable",
1834
+ type: "receive"
1835
+ }
1836
+ ]
1837
+ };
1838
+
1839
+ // src/abi/QuaiVaultFactory.json
1840
+ var QuaiVaultFactory_default = {
1841
+ contractName: "QuaiVaultFactory",
1842
+ abi: [
1843
+ {
1844
+ inputs: [
1845
+ {
1846
+ internalType: "address",
1847
+ name: "_implementation",
1848
+ type: "address"
1849
+ }
1850
+ ],
1851
+ stateMutability: "nonpayable",
1852
+ type: "constructor"
1853
+ },
1854
+ {
1855
+ inputs: [],
1856
+ name: "CallerIsNotAnOwner",
1857
+ type: "error"
1858
+ },
1859
+ {
1860
+ inputs: [],
1861
+ name: "DuplicateOwner",
1862
+ type: "error"
1863
+ },
1864
+ {
1865
+ inputs: [],
1866
+ name: "ExecutionDelayTooLong",
1867
+ type: "error"
1868
+ },
1869
+ {
1870
+ inputs: [],
1871
+ name: "InvalidImplementationAddress",
1872
+ type: "error"
1873
+ },
1874
+ {
1875
+ inputs: [],
1876
+ name: "InvalidOwnerAddress",
1877
+ type: "error"
1878
+ },
1879
+ {
1880
+ inputs: [],
1881
+ name: "InvalidThreshold",
1882
+ type: "error"
1883
+ },
1884
+ {
1885
+ inputs: [],
1886
+ name: "InvalidWalletAddress",
1887
+ type: "error"
1888
+ },
1889
+ {
1890
+ inputs: [],
1891
+ name: "InvalidWalletImplementation",
1892
+ type: "error"
1893
+ },
1894
+ {
1895
+ inputs: [],
1896
+ name: "OwnersRequired",
1897
+ type: "error"
1898
+ },
1899
+ {
1900
+ inputs: [],
1901
+ name: "TooManyOwners",
1902
+ type: "error"
1903
+ },
1904
+ {
1905
+ inputs: [],
1906
+ name: "WalletAlreadyRegistered",
1907
+ type: "error"
1908
+ },
1909
+ {
1910
+ anonymous: false,
1911
+ inputs: [
1912
+ {
1913
+ indexed: true,
1914
+ internalType: "address",
1915
+ name: "wallet",
1916
+ type: "address"
1917
+ },
1918
+ {
1919
+ indexed: false,
1920
+ internalType: "address[]",
1921
+ name: "owners",
1922
+ type: "address[]"
1923
+ },
1924
+ {
1925
+ indexed: false,
1926
+ internalType: "uint256",
1927
+ name: "threshold",
1928
+ type: "uint256"
1929
+ },
1930
+ {
1931
+ indexed: true,
1932
+ internalType: "address",
1933
+ name: "creator",
1934
+ type: "address"
1935
+ },
1936
+ {
1937
+ indexed: false,
1938
+ internalType: "bytes32",
1939
+ name: "salt",
1940
+ type: "bytes32"
1941
+ }
1942
+ ],
1943
+ name: "WalletCreated",
1944
+ type: "event"
1945
+ },
1946
+ {
1947
+ anonymous: false,
1948
+ inputs: [
1949
+ {
1950
+ indexed: true,
1951
+ internalType: "address",
1952
+ name: "wallet",
1953
+ type: "address"
1954
+ },
1955
+ {
1956
+ indexed: true,
1957
+ internalType: "address",
1958
+ name: "registrar",
1959
+ type: "address"
1960
+ }
1961
+ ],
1962
+ name: "WalletRegistered",
1963
+ type: "event"
1964
+ },
1965
+ {
1966
+ inputs: [],
1967
+ name: "MAX_EXECUTION_DELAY",
1968
+ outputs: [
1969
+ {
1970
+ internalType: "uint32",
1971
+ name: "",
1972
+ type: "uint32"
1973
+ }
1974
+ ],
1975
+ stateMutability: "view",
1976
+ type: "function"
1977
+ },
1978
+ {
1979
+ inputs: [
1980
+ {
1981
+ internalType: "address[]",
1982
+ name: "owners",
1983
+ type: "address[]"
1984
+ },
1985
+ {
1986
+ internalType: "uint256",
1987
+ name: "threshold",
1988
+ type: "uint256"
1989
+ },
1990
+ {
1991
+ internalType: "bytes32",
1992
+ name: "salt",
1993
+ type: "bytes32"
1994
+ }
1995
+ ],
1996
+ name: "createWallet",
1997
+ outputs: [
1998
+ {
1999
+ internalType: "address",
2000
+ name: "wallet",
2001
+ type: "address"
2002
+ }
2003
+ ],
2004
+ stateMutability: "nonpayable",
2005
+ type: "function"
2006
+ },
2007
+ {
2008
+ inputs: [
2009
+ {
2010
+ internalType: "address[]",
2011
+ name: "owners",
2012
+ type: "address[]"
2013
+ },
2014
+ {
2015
+ internalType: "uint256",
2016
+ name: "threshold",
2017
+ type: "uint256"
2018
+ },
2019
+ {
2020
+ internalType: "bytes32",
2021
+ name: "salt",
2022
+ type: "bytes32"
2023
+ },
2024
+ {
2025
+ internalType: "uint32",
2026
+ name: "minExecutionDelay",
2027
+ type: "uint32"
2028
+ },
2029
+ {
2030
+ internalType: "address[]",
2031
+ name: "initialModules",
2032
+ type: "address[]"
2033
+ }
2034
+ ],
2035
+ name: "createWallet",
2036
+ outputs: [
2037
+ {
2038
+ internalType: "address",
2039
+ name: "wallet",
2040
+ type: "address"
2041
+ }
2042
+ ],
2043
+ stateMutability: "nonpayable",
2044
+ type: "function"
2045
+ },
2046
+ {
2047
+ inputs: [
2048
+ {
2049
+ internalType: "address[]",
2050
+ name: "owners",
2051
+ type: "address[]"
2052
+ },
2053
+ {
2054
+ internalType: "uint256",
2055
+ name: "threshold",
2056
+ type: "uint256"
2057
+ },
2058
+ {
2059
+ internalType: "bytes32",
2060
+ name: "salt",
2061
+ type: "bytes32"
2062
+ },
2063
+ {
2064
+ internalType: "uint32",
2065
+ name: "minExecutionDelay",
2066
+ type: "uint32"
2067
+ },
2068
+ {
2069
+ internalType: "address[]",
2070
+ name: "initialModules",
2071
+ type: "address[]"
2072
+ },
2073
+ {
2074
+ internalType: "address[]",
2075
+ name: "initialDelegatecallTargets",
2076
+ type: "address[]"
2077
+ }
2078
+ ],
2079
+ name: "createWallet",
2080
+ outputs: [
2081
+ {
2082
+ internalType: "address",
2083
+ name: "wallet",
2084
+ type: "address"
2085
+ }
2086
+ ],
2087
+ stateMutability: "nonpayable",
2088
+ type: "function"
2089
+ },
2090
+ {
2091
+ inputs: [
2092
+ {
2093
+ internalType: "address[]",
2094
+ name: "owners",
2095
+ type: "address[]"
2096
+ },
2097
+ {
2098
+ internalType: "uint256",
2099
+ name: "threshold",
2100
+ type: "uint256"
2101
+ },
2102
+ {
2103
+ internalType: "bytes32",
2104
+ name: "salt",
2105
+ type: "bytes32"
2106
+ },
2107
+ {
2108
+ internalType: "uint32",
2109
+ name: "minExecutionDelay",
2110
+ type: "uint32"
2111
+ }
2112
+ ],
2113
+ name: "createWallet",
2114
+ outputs: [
2115
+ {
2116
+ internalType: "address",
2117
+ name: "wallet",
2118
+ type: "address"
2119
+ }
2120
+ ],
2121
+ stateMutability: "nonpayable",
2122
+ type: "function"
2123
+ },
2124
+ {
2125
+ inputs: [
2126
+ {
2127
+ internalType: "uint256",
2128
+ name: "",
2129
+ type: "uint256"
2130
+ }
2131
+ ],
2132
+ name: "deployedWallets",
2133
+ outputs: [
2134
+ {
2135
+ internalType: "address",
2136
+ name: "",
2137
+ type: "address"
2138
+ }
2139
+ ],
2140
+ stateMutability: "view",
2141
+ type: "function"
2142
+ },
2143
+ {
2144
+ inputs: [],
2145
+ name: "getWalletCount",
2146
+ outputs: [
2147
+ {
2148
+ internalType: "uint256",
2149
+ name: "",
2150
+ type: "uint256"
2151
+ }
2152
+ ],
2153
+ stateMutability: "view",
2154
+ type: "function"
2155
+ },
2156
+ {
2157
+ inputs: [],
2158
+ name: "implementation",
2159
+ outputs: [
2160
+ {
2161
+ internalType: "address",
2162
+ name: "",
2163
+ type: "address"
2164
+ }
2165
+ ],
2166
+ stateMutability: "view",
2167
+ type: "function"
2168
+ },
2169
+ {
2170
+ inputs: [
2171
+ {
2172
+ internalType: "address",
2173
+ name: "",
2174
+ type: "address"
2175
+ }
2176
+ ],
2177
+ name: "isWallet",
2178
+ outputs: [
2179
+ {
2180
+ internalType: "bool",
2181
+ name: "",
2182
+ type: "bool"
2183
+ }
2184
+ ],
2185
+ stateMutability: "view",
2186
+ type: "function"
2187
+ },
2188
+ {
2189
+ inputs: [
2190
+ {
2191
+ internalType: "address",
2192
+ name: "deployer",
2193
+ type: "address"
2194
+ },
2195
+ {
2196
+ internalType: "bytes32",
2197
+ name: "salt",
2198
+ type: "bytes32"
2199
+ },
2200
+ {
2201
+ internalType: "address[]",
2202
+ name: "owners",
2203
+ type: "address[]"
2204
+ },
2205
+ {
2206
+ internalType: "uint256",
2207
+ name: "threshold",
2208
+ type: "uint256"
2209
+ },
2210
+ {
2211
+ internalType: "uint32",
2212
+ name: "minExecutionDelay",
2213
+ type: "uint32"
2214
+ },
2215
+ {
2216
+ internalType: "address[]",
2217
+ name: "initialModules",
2218
+ type: "address[]"
2219
+ },
2220
+ {
2221
+ internalType: "address[]",
2222
+ name: "initialDelegatecallTargets",
2223
+ type: "address[]"
2224
+ }
2225
+ ],
2226
+ name: "predictWalletAddress",
2227
+ outputs: [
2228
+ {
2229
+ internalType: "address",
2230
+ name: "",
2231
+ type: "address"
2232
+ }
2233
+ ],
2234
+ stateMutability: "view",
2235
+ type: "function"
2236
+ },
2237
+ {
2238
+ inputs: [],
2239
+ name: "proxyCodeHash",
2240
+ outputs: [
2241
+ {
2242
+ internalType: "bytes32",
2243
+ name: "",
2244
+ type: "bytes32"
2245
+ }
2246
+ ],
2247
+ stateMutability: "view",
2248
+ type: "function"
2249
+ },
2250
+ {
2251
+ inputs: [
2252
+ {
2253
+ internalType: "address",
2254
+ name: "wallet",
2255
+ type: "address"
2256
+ }
2257
+ ],
2258
+ name: "registerWallet",
2259
+ outputs: [],
2260
+ stateMutability: "nonpayable",
2261
+ type: "function"
2262
+ }
2263
+ ]
2264
+ };
2265
+
2266
+ // src/abi/QuaiVaultProxy.json
2267
+ var QuaiVaultProxy_default = {
2268
+ contractName: "QuaiVaultProxy",
2269
+ abi: [
2270
+ {
2271
+ inputs: [
2272
+ {
2273
+ internalType: "address",
2274
+ name: "implementation",
2275
+ type: "address"
2276
+ },
2277
+ {
2278
+ internalType: "bytes",
2279
+ name: "data",
2280
+ type: "bytes"
2281
+ }
2282
+ ],
2283
+ stateMutability: "nonpayable",
2284
+ type: "constructor"
2285
+ },
2286
+ {
2287
+ inputs: [
2288
+ {
2289
+ internalType: "address",
2290
+ name: "target",
2291
+ type: "address"
2292
+ }
2293
+ ],
2294
+ name: "AddressEmptyCode",
2295
+ type: "error"
2296
+ },
2297
+ {
2298
+ inputs: [
2299
+ {
2300
+ internalType: "address",
2301
+ name: "implementation",
2302
+ type: "address"
2303
+ }
2304
+ ],
2305
+ name: "ERC1967InvalidImplementation",
2306
+ type: "error"
2307
+ },
2308
+ {
2309
+ inputs: [],
2310
+ name: "ERC1967NonPayable",
2311
+ type: "error"
2312
+ },
2313
+ {
2314
+ inputs: [],
2315
+ name: "FailedCall",
2316
+ type: "error"
2317
+ },
2318
+ {
2319
+ anonymous: false,
2320
+ inputs: [
2321
+ {
2322
+ indexed: true,
2323
+ internalType: "address",
2324
+ name: "sender",
2325
+ type: "address"
2326
+ },
2327
+ {
2328
+ indexed: false,
2329
+ internalType: "uint256",
2330
+ name: "value",
2331
+ type: "uint256"
2332
+ }
2333
+ ],
2334
+ name: "Received",
2335
+ type: "event"
2336
+ },
2337
+ {
2338
+ anonymous: false,
2339
+ inputs: [
2340
+ {
2341
+ indexed: true,
2342
+ internalType: "address",
2343
+ name: "implementation",
2344
+ type: "address"
2345
+ }
2346
+ ],
2347
+ name: "Upgraded",
2348
+ type: "event"
2349
+ },
2350
+ {
2351
+ stateMutability: "payable",
2352
+ type: "fallback"
2353
+ },
2354
+ {
2355
+ inputs: [],
2356
+ name: "getImplementation",
2357
+ outputs: [
2358
+ {
2359
+ internalType: "address",
2360
+ name: "",
2361
+ type: "address"
2362
+ }
2363
+ ],
2364
+ stateMutability: "view",
2365
+ type: "function"
2366
+ },
2367
+ {
2368
+ stateMutability: "payable",
2369
+ type: "receive"
2370
+ }
2371
+ ],
2372
+ bytecode: "0x608060405234801561001057600080fd5b506040516104d23803806104d283398101604081905261002f91610278565b818161003b8282610044565b50505050610362565b61004d826100a3565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561009757610092828261011f565b505050565b61009f610196565b5050565b806001600160a01b03163b6000036100de57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161013c9190610346565b600060405180830381855af49150503d8060008114610177576040519150601f19603f3d011682016040523d82523d6000602084013e61017c565b606091505b50909250905061018d8583836101b7565b95945050505050565b34156101b55760405163b398979f60e01b815260040160405180910390fd5b565b6060826101cc576101c782610216565b61020f565b81511580156101e357506001600160a01b0384163b155b1561020c57604051639996b31560e01b81526001600160a01b03851660048201526024016100d5565b50805b9392505050565b80511561022557805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b60005b8381101561026f578181015183820152602001610257565b50506000910152565b6000806040838503121561028b57600080fd5b82516001600160a01b03811681146102a257600080fd5b60208401519092506001600160401b03808211156102bf57600080fd5b818501915085601f8301126102d357600080fd5b8151818111156102e5576102e561023e565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61023e565b8160405282815288602084870101111561032657600080fd5b610337836020830160208801610254565b80955050505050509250929050565b60008251610358818460208701610254565b9190910192915050565b610161806103716000396000f3fe6080604052600436106100225760003560e01c8063aaf10f42146100685761005e565b3661005e5760405134815233907f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258749060200160405180910390a2005b6100666100a6565b005b34801561007457600080fd5b5061007d6100b8565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100b66100b16100c7565b610107565b565b60006100c26100c7565b905090565b60006100c27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610126573d6000f35b3d6000fdfea264697066735822122037ca1a4579066f991b4af91a998ae015900bb0abdc8be6637c4258d053f5f1d864736f6c63430008160033"
2373
+ };
2374
+
2375
+ // src/abi/SocialRecoveryModule.json
2376
+ var SocialRecoveryModule_default = {
2377
+ contractName: "SocialRecoveryModule",
2378
+ abi: [
2379
+ {
2380
+ inputs: [],
2381
+ name: "AlreadyApproved",
2382
+ type: "error"
2383
+ },
2384
+ {
2385
+ inputs: [],
2386
+ name: "CannotUpdateConfigWhileRecoveriesPending",
2387
+ type: "error"
2388
+ },
2389
+ {
2390
+ inputs: [],
2391
+ name: "DuplicateGuardian",
2392
+ type: "error"
2393
+ },
2394
+ {
2395
+ inputs: [],
2396
+ name: "DuplicateNewOwner",
2397
+ type: "error"
2398
+ },
2399
+ {
2400
+ inputs: [],
2401
+ name: "GuardiansRequired",
2402
+ type: "error"
2403
+ },
2404
+ {
2405
+ inputs: [],
2406
+ name: "InvalidGuardianAddress",
2407
+ type: "error"
2408
+ },
2409
+ {
2410
+ inputs: [],
2411
+ name: "InvalidNewOwnerAddress",
2412
+ type: "error"
2413
+ },
2414
+ {
2415
+ inputs: [],
2416
+ name: "InvalidThreshold",
2417
+ type: "error"
2418
+ },
2419
+ {
2420
+ inputs: [],
2421
+ name: "ModuleNotEnabled",
2422
+ type: "error"
2423
+ },
2424
+ {
2425
+ inputs: [],
2426
+ name: "MustBeCalledByWallet",
2427
+ type: "error"
2428
+ },
2429
+ {
2430
+ inputs: [],
2431
+ name: "NewOwnersRequired",
2432
+ type: "error"
2433
+ },
2434
+ {
2435
+ inputs: [],
2436
+ name: "NotAGuardian",
2437
+ type: "error"
2438
+ },
2439
+ {
2440
+ inputs: [],
2441
+ name: "NotAnOwner",
2442
+ type: "error"
2443
+ },
2444
+ {
2445
+ inputs: [],
2446
+ name: "NotApproved",
2447
+ type: "error"
2448
+ },
2449
+ {
2450
+ inputs: [],
2451
+ name: "NotEnoughApprovals",
2452
+ type: "error"
2453
+ },
2454
+ {
2455
+ inputs: [],
2456
+ name: "RecoveryAlreadyExecuted",
2457
+ type: "error"
2458
+ },
2459
+ {
2460
+ inputs: [],
2461
+ name: "RecoveryAlreadyInitiated",
2462
+ type: "error"
2463
+ },
2464
+ {
2465
+ inputs: [],
2466
+ name: "RecoveryExceedsMaxOwners",
2467
+ type: "error"
2468
+ },
2469
+ {
2470
+ inputs: [],
2471
+ name: "RecoveryExpired",
2472
+ type: "error"
2473
+ },
2474
+ {
2475
+ inputs: [],
2476
+ name: "RecoveryNotConfigured",
2477
+ type: "error"
2478
+ },
2479
+ {
2480
+ inputs: [],
2481
+ name: "RecoveryNotExpired",
2482
+ type: "error"
2483
+ },
2484
+ {
2485
+ inputs: [],
2486
+ name: "RecoveryNotInitiated",
2487
+ type: "error"
2488
+ },
2489
+ {
2490
+ inputs: [],
2491
+ name: "RecoveryPeriodNotElapsed",
2492
+ type: "error"
2493
+ },
2494
+ {
2495
+ inputs: [],
2496
+ name: "RecoveryPeriodTooShort",
2497
+ type: "error"
2498
+ },
2499
+ {
2500
+ inputs: [],
2501
+ name: "RecoveryStepFailed",
2502
+ type: "error"
2503
+ },
2504
+ {
2505
+ inputs: [],
2506
+ name: "ReentrancyGuardReentrantCall",
2507
+ type: "error"
2508
+ },
2509
+ {
2510
+ inputs: [],
2511
+ name: "TooManyGuardians",
2512
+ type: "error"
2513
+ },
2514
+ {
2515
+ inputs: [],
2516
+ name: "TooManyNewOwners",
2517
+ type: "error"
2518
+ },
2519
+ {
2520
+ inputs: [],
2521
+ name: "TooManyPendingRecoveries",
2522
+ type: "error"
2523
+ },
2524
+ {
2525
+ anonymous: false,
2526
+ inputs: [
2527
+ {
2528
+ indexed: true,
2529
+ internalType: "address",
2530
+ name: "wallet",
2531
+ type: "address"
2532
+ },
2533
+ {
2534
+ indexed: true,
2535
+ internalType: "bytes32",
2536
+ name: "recoveryHash",
2537
+ type: "bytes32"
2538
+ },
2539
+ {
2540
+ indexed: true,
2541
+ internalType: "address",
2542
+ name: "guardian",
2543
+ type: "address"
2544
+ }
2545
+ ],
2546
+ name: "RecoveryApprovalRevoked",
2547
+ type: "event"
2548
+ },
2549
+ {
2550
+ anonymous: false,
2551
+ inputs: [
2552
+ {
2553
+ indexed: true,
2554
+ internalType: "address",
2555
+ name: "wallet",
2556
+ type: "address"
2557
+ },
2558
+ {
2559
+ indexed: true,
2560
+ internalType: "bytes32",
2561
+ name: "recoveryHash",
2562
+ type: "bytes32"
2563
+ },
2564
+ {
2565
+ indexed: true,
2566
+ internalType: "address",
2567
+ name: "guardian",
2568
+ type: "address"
2569
+ }
2570
+ ],
2571
+ name: "RecoveryApproved",
2572
+ type: "event"
2573
+ },
2574
+ {
2575
+ anonymous: false,
2576
+ inputs: [
2577
+ {
2578
+ indexed: true,
2579
+ internalType: "address",
2580
+ name: "wallet",
2581
+ type: "address"
2582
+ },
2583
+ {
2584
+ indexed: true,
2585
+ internalType: "bytes32",
2586
+ name: "recoveryHash",
2587
+ type: "bytes32"
2588
+ }
2589
+ ],
2590
+ name: "RecoveryCancelled",
2591
+ type: "event"
2592
+ },
2593
+ {
2594
+ anonymous: false,
2595
+ inputs: [
2596
+ {
2597
+ indexed: true,
2598
+ internalType: "address",
2599
+ name: "wallet",
2600
+ type: "address"
2601
+ }
2602
+ ],
2603
+ name: "RecoveryConfigCleared",
2604
+ type: "event"
2605
+ },
2606
+ {
2607
+ anonymous: false,
2608
+ inputs: [
2609
+ {
2610
+ indexed: true,
2611
+ internalType: "address",
2612
+ name: "wallet",
2613
+ type: "address"
2614
+ },
2615
+ {
2616
+ indexed: true,
2617
+ internalType: "bytes32",
2618
+ name: "recoveryHash",
2619
+ type: "bytes32"
2620
+ }
2621
+ ],
2622
+ name: "RecoveryExecuted",
2623
+ type: "event"
2624
+ },
2625
+ {
2626
+ anonymous: false,
2627
+ inputs: [
2628
+ {
2629
+ indexed: true,
2630
+ internalType: "address",
2631
+ name: "wallet",
2632
+ type: "address"
2633
+ },
2634
+ {
2635
+ indexed: true,
2636
+ internalType: "bytes32",
2637
+ name: "recoveryHash",
2638
+ type: "bytes32"
2639
+ }
2640
+ ],
2641
+ name: "RecoveryExpiredEvent",
2642
+ type: "event"
2643
+ },
2644
+ {
2645
+ anonymous: false,
2646
+ inputs: [
2647
+ {
2648
+ indexed: true,
2649
+ internalType: "address",
2650
+ name: "wallet",
2651
+ type: "address"
2652
+ },
2653
+ {
2654
+ indexed: true,
2655
+ internalType: "bytes32",
2656
+ name: "recoveryHash",
2657
+ type: "bytes32"
2658
+ },
2659
+ {
2660
+ indexed: false,
2661
+ internalType: "address[]",
2662
+ name: "newOwners",
2663
+ type: "address[]"
2664
+ },
2665
+ {
2666
+ indexed: false,
2667
+ internalType: "uint256",
2668
+ name: "newThreshold",
2669
+ type: "uint256"
2670
+ },
2671
+ {
2672
+ indexed: true,
2673
+ internalType: "address",
2674
+ name: "initiator",
2675
+ type: "address"
2676
+ }
2677
+ ],
2678
+ name: "RecoveryInitiated",
2679
+ type: "event"
2680
+ },
2681
+ {
2682
+ anonymous: false,
2683
+ inputs: [
2684
+ {
2685
+ indexed: true,
2686
+ internalType: "address",
2687
+ name: "wallet",
2688
+ type: "address"
2689
+ },
2690
+ {
2691
+ indexed: true,
2692
+ internalType: "bytes32",
2693
+ name: "recoveryHash",
2694
+ type: "bytes32"
2695
+ }
2696
+ ],
2697
+ name: "RecoveryInvalidated",
2698
+ type: "event"
2699
+ },
2700
+ {
2701
+ anonymous: false,
2702
+ inputs: [
2703
+ {
2704
+ indexed: true,
2705
+ internalType: "address",
2706
+ name: "wallet",
2707
+ type: "address"
2708
+ },
2709
+ {
2710
+ indexed: false,
2711
+ internalType: "address[]",
2712
+ name: "guardians",
2713
+ type: "address[]"
2714
+ },
2715
+ {
2716
+ indexed: false,
2717
+ internalType: "uint256",
2718
+ name: "threshold",
2719
+ type: "uint256"
2720
+ },
2721
+ {
2722
+ indexed: false,
2723
+ internalType: "uint256",
2724
+ name: "recoveryPeriod",
2725
+ type: "uint256"
2726
+ }
2727
+ ],
2728
+ name: "RecoverySetup",
2729
+ type: "event"
2730
+ },
2731
+ {
2732
+ inputs: [],
2733
+ name: "MAX_GUARDIANS",
2734
+ outputs: [
2735
+ {
2736
+ internalType: "uint256",
2737
+ name: "",
2738
+ type: "uint256"
2739
+ }
2740
+ ],
2741
+ stateMutability: "view",
2742
+ type: "function"
2743
+ },
2744
+ {
2745
+ inputs: [
2746
+ {
2747
+ internalType: "address",
2748
+ name: "wallet",
2749
+ type: "address"
2750
+ },
2751
+ {
2752
+ internalType: "bytes32",
2753
+ name: "recoveryHash",
2754
+ type: "bytes32"
2755
+ }
2756
+ ],
2757
+ name: "approveRecovery",
2758
+ outputs: [],
2759
+ stateMutability: "nonpayable",
2760
+ type: "function"
2761
+ },
2762
+ {
2763
+ inputs: [
2764
+ {
2765
+ internalType: "address",
2766
+ name: "wallet",
2767
+ type: "address"
2768
+ },
2769
+ {
2770
+ internalType: "bytes32",
2771
+ name: "recoveryHash",
2772
+ type: "bytes32"
2773
+ }
2774
+ ],
2775
+ name: "cancelRecovery",
2776
+ outputs: [],
2777
+ stateMutability: "nonpayable",
2778
+ type: "function"
2779
+ },
2780
+ {
2781
+ inputs: [
2782
+ {
2783
+ internalType: "address",
2784
+ name: "wallet",
2785
+ type: "address"
2786
+ },
2787
+ {
2788
+ internalType: "bytes32",
2789
+ name: "recoveryHash",
2790
+ type: "bytes32"
2791
+ }
2792
+ ],
2793
+ name: "executeRecovery",
2794
+ outputs: [],
2795
+ stateMutability: "nonpayable",
2796
+ type: "function"
2797
+ },
2798
+ {
2799
+ inputs: [
2800
+ {
2801
+ internalType: "address",
2802
+ name: "wallet",
2803
+ type: "address"
2804
+ },
2805
+ {
2806
+ internalType: "bytes32",
2807
+ name: "recoveryHash",
2808
+ type: "bytes32"
2809
+ }
2810
+ ],
2811
+ name: "expireRecovery",
2812
+ outputs: [],
2813
+ stateMutability: "nonpayable",
2814
+ type: "function"
2815
+ },
2816
+ {
2817
+ inputs: [
2818
+ {
2819
+ internalType: "address",
2820
+ name: "wallet",
2821
+ type: "address"
2822
+ }
2823
+ ],
2824
+ name: "getPendingRecoveryHashes",
2825
+ outputs: [
2826
+ {
2827
+ internalType: "bytes32[]",
2828
+ name: "",
2829
+ type: "bytes32[]"
2830
+ }
2831
+ ],
2832
+ stateMutability: "view",
2833
+ type: "function"
2834
+ },
2835
+ {
2836
+ inputs: [
2837
+ {
2838
+ internalType: "address",
2839
+ name: "wallet",
2840
+ type: "address"
2841
+ },
2842
+ {
2843
+ internalType: "bytes32",
2844
+ name: "recoveryHash",
2845
+ type: "bytes32"
2846
+ }
2847
+ ],
2848
+ name: "getRecovery",
2849
+ outputs: [
2850
+ {
2851
+ components: [
2852
+ {
2853
+ internalType: "address[]",
2854
+ name: "newOwners",
2855
+ type: "address[]"
2856
+ },
2857
+ {
2858
+ internalType: "uint256",
2859
+ name: "newThreshold",
2860
+ type: "uint256"
2861
+ },
2862
+ {
2863
+ internalType: "uint256",
2864
+ name: "approvalCount",
2865
+ type: "uint256"
2866
+ },
2867
+ {
2868
+ internalType: "uint256",
2869
+ name: "executionTime",
2870
+ type: "uint256"
2871
+ },
2872
+ {
2873
+ internalType: "uint256",
2874
+ name: "expiration",
2875
+ type: "uint256"
2876
+ },
2877
+ {
2878
+ internalType: "uint256",
2879
+ name: "requiredThreshold",
2880
+ type: "uint256"
2881
+ },
2882
+ {
2883
+ internalType: "bool",
2884
+ name: "executed",
2885
+ type: "bool"
2886
+ }
2887
+ ],
2888
+ internalType: "struct SocialRecoveryModule.Recovery",
2889
+ name: "",
2890
+ type: "tuple"
2891
+ }
2892
+ ],
2893
+ stateMutability: "view",
2894
+ type: "function"
2895
+ },
2896
+ {
2897
+ inputs: [
2898
+ {
2899
+ internalType: "address",
2900
+ name: "wallet",
2901
+ type: "address"
2902
+ }
2903
+ ],
2904
+ name: "getRecoveryConfig",
2905
+ outputs: [
2906
+ {
2907
+ components: [
2908
+ {
2909
+ internalType: "address[]",
2910
+ name: "guardians",
2911
+ type: "address[]"
2912
+ },
2913
+ {
2914
+ internalType: "uint256",
2915
+ name: "threshold",
2916
+ type: "uint256"
2917
+ },
2918
+ {
2919
+ internalType: "uint256",
2920
+ name: "recoveryPeriod",
2921
+ type: "uint256"
2922
+ }
2923
+ ],
2924
+ internalType: "struct SocialRecoveryModule.RecoveryConfig",
2925
+ name: "",
2926
+ type: "tuple"
2927
+ }
2928
+ ],
2929
+ stateMutability: "view",
2930
+ type: "function"
2931
+ },
2932
+ {
2933
+ inputs: [
2934
+ {
2935
+ internalType: "address",
2936
+ name: "wallet",
2937
+ type: "address"
2938
+ },
2939
+ {
2940
+ internalType: "address[]",
2941
+ name: "newOwners",
2942
+ type: "address[]"
2943
+ },
2944
+ {
2945
+ internalType: "uint256",
2946
+ name: "newThreshold",
2947
+ type: "uint256"
2948
+ },
2949
+ {
2950
+ internalType: "uint256",
2951
+ name: "nonce",
2952
+ type: "uint256"
2953
+ }
2954
+ ],
2955
+ name: "getRecoveryHash",
2956
+ outputs: [
2957
+ {
2958
+ internalType: "bytes32",
2959
+ name: "",
2960
+ type: "bytes32"
2961
+ }
2962
+ ],
2963
+ stateMutability: "view",
2964
+ type: "function"
2965
+ },
2966
+ {
2967
+ inputs: [
2968
+ {
2969
+ internalType: "address",
2970
+ name: "wallet",
2971
+ type: "address"
2972
+ }
2973
+ ],
2974
+ name: "hasPendingRecoveries",
2975
+ outputs: [
2976
+ {
2977
+ internalType: "bool",
2978
+ name: "",
2979
+ type: "bool"
2980
+ }
2981
+ ],
2982
+ stateMutability: "view",
2983
+ type: "function"
2984
+ },
2985
+ {
2986
+ inputs: [
2987
+ {
2988
+ internalType: "address",
2989
+ name: "wallet",
2990
+ type: "address"
2991
+ },
2992
+ {
2993
+ internalType: "address[]",
2994
+ name: "newOwners",
2995
+ type: "address[]"
2996
+ },
2997
+ {
2998
+ internalType: "uint256",
2999
+ name: "newThreshold",
3000
+ type: "uint256"
3001
+ }
3002
+ ],
3003
+ name: "initiateRecovery",
3004
+ outputs: [
3005
+ {
3006
+ internalType: "bytes32",
3007
+ name: "",
3008
+ type: "bytes32"
3009
+ }
3010
+ ],
3011
+ stateMutability: "nonpayable",
3012
+ type: "function"
3013
+ },
3014
+ {
3015
+ inputs: [
3016
+ {
3017
+ internalType: "address",
3018
+ name: "wallet",
3019
+ type: "address"
3020
+ },
3021
+ {
3022
+ internalType: "address",
3023
+ name: "guardian",
3024
+ type: "address"
3025
+ }
3026
+ ],
3027
+ name: "isGuardian",
3028
+ outputs: [
3029
+ {
3030
+ internalType: "bool",
3031
+ name: "",
3032
+ type: "bool"
3033
+ }
3034
+ ],
3035
+ stateMutability: "view",
3036
+ type: "function"
3037
+ },
3038
+ {
3039
+ inputs: [
3040
+ {
3041
+ internalType: "address",
3042
+ name: "",
3043
+ type: "address"
3044
+ },
3045
+ {
3046
+ internalType: "uint256",
3047
+ name: "",
3048
+ type: "uint256"
3049
+ }
3050
+ ],
3051
+ name: "pendingRecoveryHashes",
3052
+ outputs: [
3053
+ {
3054
+ internalType: "bytes32",
3055
+ name: "",
3056
+ type: "bytes32"
3057
+ }
3058
+ ],
3059
+ stateMutability: "view",
3060
+ type: "function"
3061
+ },
3062
+ {
3063
+ inputs: [
3064
+ {
3065
+ internalType: "address",
3066
+ name: "wallet",
3067
+ type: "address"
3068
+ },
3069
+ {
3070
+ internalType: "address[]",
3071
+ name: "newOwners",
3072
+ type: "address[]"
3073
+ },
3074
+ {
3075
+ internalType: "uint256",
3076
+ name: "newThreshold",
3077
+ type: "uint256"
3078
+ }
3079
+ ],
3080
+ name: "predictNextRecoveryHash",
3081
+ outputs: [
3082
+ {
3083
+ internalType: "bytes32",
3084
+ name: "",
3085
+ type: "bytes32"
3086
+ }
3087
+ ],
3088
+ stateMutability: "view",
3089
+ type: "function"
3090
+ },
3091
+ {
3092
+ inputs: [
3093
+ {
3094
+ internalType: "address",
3095
+ name: "",
3096
+ type: "address"
3097
+ },
3098
+ {
3099
+ internalType: "bytes32",
3100
+ name: "",
3101
+ type: "bytes32"
3102
+ }
3103
+ ],
3104
+ name: "recoveries",
3105
+ outputs: [
3106
+ {
3107
+ internalType: "uint256",
3108
+ name: "newThreshold",
3109
+ type: "uint256"
3110
+ },
3111
+ {
3112
+ internalType: "uint256",
3113
+ name: "approvalCount",
3114
+ type: "uint256"
3115
+ },
3116
+ {
3117
+ internalType: "uint256",
3118
+ name: "executionTime",
3119
+ type: "uint256"
3120
+ },
3121
+ {
3122
+ internalType: "uint256",
3123
+ name: "expiration",
3124
+ type: "uint256"
3125
+ },
3126
+ {
3127
+ internalType: "uint256",
3128
+ name: "requiredThreshold",
3129
+ type: "uint256"
3130
+ },
3131
+ {
3132
+ internalType: "bool",
3133
+ name: "executed",
3134
+ type: "bool"
3135
+ }
3136
+ ],
3137
+ stateMutability: "view",
3138
+ type: "function"
3139
+ },
3140
+ {
3141
+ inputs: [
3142
+ {
3143
+ internalType: "address",
3144
+ name: "",
3145
+ type: "address"
3146
+ },
3147
+ {
3148
+ internalType: "bytes32",
3149
+ name: "",
3150
+ type: "bytes32"
3151
+ },
3152
+ {
3153
+ internalType: "address",
3154
+ name: "",
3155
+ type: "address"
3156
+ }
3157
+ ],
3158
+ name: "recoveryApprovals",
3159
+ outputs: [
3160
+ {
3161
+ internalType: "bool",
3162
+ name: "",
3163
+ type: "bool"
3164
+ }
3165
+ ],
3166
+ stateMutability: "view",
3167
+ type: "function"
3168
+ },
3169
+ {
3170
+ inputs: [
3171
+ {
3172
+ internalType: "address",
3173
+ name: "",
3174
+ type: "address"
3175
+ }
3176
+ ],
3177
+ name: "recoveryConfigs",
3178
+ outputs: [
3179
+ {
3180
+ internalType: "uint256",
3181
+ name: "threshold",
3182
+ type: "uint256"
3183
+ },
3184
+ {
3185
+ internalType: "uint256",
3186
+ name: "recoveryPeriod",
3187
+ type: "uint256"
3188
+ }
3189
+ ],
3190
+ stateMutability: "view",
3191
+ type: "function"
3192
+ },
3193
+ {
3194
+ inputs: [
3195
+ {
3196
+ internalType: "address",
3197
+ name: "",
3198
+ type: "address"
3199
+ }
3200
+ ],
3201
+ name: "recoveryNonces",
3202
+ outputs: [
3203
+ {
3204
+ internalType: "uint256",
3205
+ name: "",
3206
+ type: "uint256"
3207
+ }
3208
+ ],
3209
+ stateMutability: "view",
3210
+ type: "function"
3211
+ },
3212
+ {
3213
+ inputs: [
3214
+ {
3215
+ internalType: "address",
3216
+ name: "wallet",
3217
+ type: "address"
3218
+ },
3219
+ {
3220
+ internalType: "bytes32",
3221
+ name: "recoveryHash",
3222
+ type: "bytes32"
3223
+ }
3224
+ ],
3225
+ name: "revokeRecoveryApproval",
3226
+ outputs: [],
3227
+ stateMutability: "nonpayable",
3228
+ type: "function"
3229
+ },
3230
+ {
3231
+ inputs: [
3232
+ {
3233
+ internalType: "address",
3234
+ name: "wallet",
3235
+ type: "address"
3236
+ },
3237
+ {
3238
+ internalType: "address[]",
3239
+ name: "guardians",
3240
+ type: "address[]"
3241
+ },
3242
+ {
3243
+ internalType: "uint256",
3244
+ name: "threshold",
3245
+ type: "uint256"
3246
+ },
3247
+ {
3248
+ internalType: "uint256",
3249
+ name: "recoveryPeriod",
3250
+ type: "uint256"
3251
+ }
3252
+ ],
3253
+ name: "setupRecovery",
3254
+ outputs: [],
3255
+ stateMutability: "nonpayable",
3256
+ type: "function"
3257
+ }
3258
+ ]
3259
+ };
3260
+
3261
+ // src/abi/MultiSendCallOnly.json
3262
+ var MultiSendCallOnly_default = {
3263
+ contractName: "MultiSendCallOnly",
3264
+ abi: [
3265
+ {
3266
+ inputs: [],
3267
+ stateMutability: "nonpayable",
3268
+ type: "constructor"
3269
+ },
3270
+ {
3271
+ inputs: [
3272
+ {
3273
+ internalType: "bytes",
3274
+ name: "transactions",
3275
+ type: "bytes"
3276
+ }
3277
+ ],
3278
+ name: "multiSend",
3279
+ outputs: [],
3280
+ stateMutability: "payable",
3281
+ type: "function"
3282
+ }
3283
+ ]
3284
+ };
3285
+
3286
+ // src/abi/index.ts
3287
+ var QuaiVaultAbi = QuaiVault_default.abi;
3288
+ var QuaiVaultFactoryAbi = QuaiVaultFactory_default.abi;
3289
+ var QuaiVaultProxyAbi = QuaiVaultProxy_default.abi;
3290
+ var SocialRecoveryModuleAbi = SocialRecoveryModule_default.abi;
3291
+ var MultiSendCallOnlyAbi = MultiSendCallOnly_default.abi;
3292
+ var QuaiVaultProxyBytecode = QuaiVaultProxy_default.bytecode;
3293
+ var Erc20Abi = [
3294
+ "function name() view returns (string)",
3295
+ "function symbol() view returns (string)",
3296
+ "function decimals() view returns (uint8)",
3297
+ "function balanceOf(address owner) view returns (uint256)",
3298
+ "function allowance(address owner, address spender) view returns (uint256)",
3299
+ "function transfer(address to, uint256 amount) returns (bool)",
3300
+ "function approve(address spender, uint256 amount) returns (bool)",
3301
+ "function transferFrom(address from, address to, uint256 amount) returns (bool)"
3302
+ ];
3303
+ var Erc721Abi = [
3304
+ "function name() view returns (string)",
3305
+ "function symbol() view returns (string)",
3306
+ "function ownerOf(uint256 tokenId) view returns (address)",
3307
+ "function balanceOf(address owner) view returns (uint256)",
3308
+ "function tokenURI(uint256 tokenId) view returns (string)",
3309
+ "function safeTransferFrom(address from, address to, uint256 tokenId)",
3310
+ "function safeTransferFrom(address from, address to, uint256 tokenId, bytes data)",
3311
+ "function setApprovalForAll(address operator, bool approved)"
3312
+ ];
3313
+ var Erc1155Abi = [
3314
+ "function balanceOf(address account, uint256 id) view returns (uint256)",
3315
+ "function balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])",
3316
+ "function uri(uint256 id) view returns (string)",
3317
+ "function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)",
3318
+ "function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)",
3319
+ "function setApprovalForAll(address operator, bool approved)"
3320
+ ];
3321
+
3322
+ export {
3323
+ __export,
3324
+ QuaiVaultAbi,
3325
+ QuaiVaultFactoryAbi,
3326
+ QuaiVaultProxyAbi,
3327
+ SocialRecoveryModuleAbi,
3328
+ MultiSendCallOnlyAbi,
3329
+ QuaiVaultProxyBytecode,
3330
+ Erc20Abi,
3331
+ Erc721Abi,
3332
+ Erc1155Abi
3333
+ };
3334
+ //# sourceMappingURL=chunk-Y3PVKON6.js.map