@instadapp/avocado-base 0.0.0-dev.0d5070b → 0.0.0-dev.1571fae

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,1456 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import type { Provider } from "@ethersproject/providers";
7
+ import type { Forwarder, ForwarderInterface } from "../Forwarder";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "contract IAvoFactory",
14
+ name: "avoFactory_",
15
+ type: "address",
16
+ },
17
+ ],
18
+ stateMutability: "nonpayable",
19
+ type: "constructor",
20
+ },
21
+ {
22
+ inputs: [],
23
+ name: "AvoForwarder__InvalidParams",
24
+ type: "error",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "AvoForwarder__LegacyVersionNotDeployed",
29
+ type: "error",
30
+ },
31
+ {
32
+ inputs: [],
33
+ name: "AvoForwarder__Unauthorized",
34
+ type: "error",
35
+ },
36
+ {
37
+ anonymous: false,
38
+ inputs: [
39
+ {
40
+ indexed: true,
41
+ internalType: "address",
42
+ name: "auth",
43
+ type: "address",
44
+ },
45
+ {
46
+ indexed: true,
47
+ internalType: "bool",
48
+ name: "status",
49
+ type: "bool",
50
+ },
51
+ ],
52
+ name: "AuthUpdated",
53
+ type: "event",
54
+ },
55
+ {
56
+ anonymous: false,
57
+ inputs: [
58
+ {
59
+ indexed: true,
60
+ internalType: "address",
61
+ name: "broadcaster",
62
+ type: "address",
63
+ },
64
+ {
65
+ indexed: true,
66
+ internalType: "bool",
67
+ name: "status",
68
+ type: "bool",
69
+ },
70
+ ],
71
+ name: "BroadcasterUpdated",
72
+ type: "event",
73
+ },
74
+ {
75
+ anonymous: false,
76
+ inputs: [
77
+ {
78
+ indexed: true,
79
+ internalType: "address",
80
+ name: "avoSafeOwner",
81
+ type: "address",
82
+ },
83
+ {
84
+ indexed: true,
85
+ internalType: "address",
86
+ name: "avoSafeAddress",
87
+ type: "address",
88
+ },
89
+ {
90
+ indexed: true,
91
+ internalType: "address",
92
+ name: "source",
93
+ type: "address",
94
+ },
95
+ {
96
+ indexed: false,
97
+ internalType: "bytes",
98
+ name: "metadata",
99
+ type: "bytes",
100
+ },
101
+ {
102
+ indexed: false,
103
+ internalType: "string",
104
+ name: "reason",
105
+ type: "string",
106
+ },
107
+ ],
108
+ name: "ExecuteFailed",
109
+ type: "event",
110
+ },
111
+ {
112
+ anonymous: false,
113
+ inputs: [
114
+ {
115
+ indexed: true,
116
+ internalType: "address",
117
+ name: "avoSafeOwner",
118
+ type: "address",
119
+ },
120
+ {
121
+ indexed: true,
122
+ internalType: "address",
123
+ name: "avoSafeAddress",
124
+ type: "address",
125
+ },
126
+ {
127
+ indexed: true,
128
+ internalType: "address",
129
+ name: "source",
130
+ type: "address",
131
+ },
132
+ {
133
+ indexed: false,
134
+ internalType: "bytes",
135
+ name: "metadata",
136
+ type: "bytes",
137
+ },
138
+ ],
139
+ name: "Executed",
140
+ type: "event",
141
+ },
142
+ {
143
+ anonymous: false,
144
+ inputs: [
145
+ {
146
+ indexed: false,
147
+ internalType: "uint8",
148
+ name: "version",
149
+ type: "uint8",
150
+ },
151
+ ],
152
+ name: "Initialized",
153
+ type: "event",
154
+ },
155
+ {
156
+ anonymous: false,
157
+ inputs: [
158
+ {
159
+ indexed: true,
160
+ internalType: "address",
161
+ name: "previousOwner",
162
+ type: "address",
163
+ },
164
+ {
165
+ indexed: true,
166
+ internalType: "address",
167
+ name: "newOwner",
168
+ type: "address",
169
+ },
170
+ ],
171
+ name: "OwnershipTransferred",
172
+ type: "event",
173
+ },
174
+ {
175
+ inputs: [
176
+ {
177
+ internalType: "address",
178
+ name: "",
179
+ type: "address",
180
+ },
181
+ ],
182
+ name: "auths",
183
+ outputs: [
184
+ {
185
+ internalType: "uint256",
186
+ name: "",
187
+ type: "uint256",
188
+ },
189
+ ],
190
+ stateMutability: "view",
191
+ type: "function",
192
+ },
193
+ {
194
+ inputs: [],
195
+ name: "avoFactory",
196
+ outputs: [
197
+ {
198
+ internalType: "contract IAvoFactory",
199
+ name: "",
200
+ type: "address",
201
+ },
202
+ ],
203
+ stateMutability: "view",
204
+ type: "function",
205
+ },
206
+ {
207
+ inputs: [],
208
+ name: "avoMultiSafeBytecode",
209
+ outputs: [
210
+ {
211
+ internalType: "bytes32",
212
+ name: "",
213
+ type: "bytes32",
214
+ },
215
+ ],
216
+ stateMutability: "view",
217
+ type: "function",
218
+ },
219
+ {
220
+ inputs: [
221
+ {
222
+ internalType: "address",
223
+ name: "owner_",
224
+ type: "address",
225
+ },
226
+ ],
227
+ name: "avoMultisigVersion",
228
+ outputs: [
229
+ {
230
+ internalType: "string",
231
+ name: "",
232
+ type: "string",
233
+ },
234
+ ],
235
+ stateMutability: "view",
236
+ type: "function",
237
+ },
238
+ {
239
+ inputs: [
240
+ {
241
+ internalType: "address",
242
+ name: "owner_",
243
+ type: "address",
244
+ },
245
+ ],
246
+ name: "avoMultisigVersionName",
247
+ outputs: [
248
+ {
249
+ internalType: "string",
250
+ name: "",
251
+ type: "string",
252
+ },
253
+ ],
254
+ stateMutability: "view",
255
+ type: "function",
256
+ },
257
+ {
258
+ inputs: [],
259
+ name: "avoSafeBytecode",
260
+ outputs: [
261
+ {
262
+ internalType: "bytes32",
263
+ name: "",
264
+ type: "bytes32",
265
+ },
266
+ ],
267
+ stateMutability: "view",
268
+ type: "function",
269
+ },
270
+ {
271
+ inputs: [
272
+ {
273
+ internalType: "address",
274
+ name: "owner_",
275
+ type: "address",
276
+ },
277
+ ],
278
+ name: "avoSafeNonce",
279
+ outputs: [
280
+ {
281
+ internalType: "uint88",
282
+ name: "",
283
+ type: "uint88",
284
+ },
285
+ ],
286
+ stateMutability: "view",
287
+ type: "function",
288
+ },
289
+ {
290
+ inputs: [
291
+ {
292
+ internalType: "address",
293
+ name: "owner_",
294
+ type: "address",
295
+ },
296
+ ],
297
+ name: "avoSafeNonceMultisig",
298
+ outputs: [
299
+ {
300
+ internalType: "uint88",
301
+ name: "",
302
+ type: "uint88",
303
+ },
304
+ ],
305
+ stateMutability: "view",
306
+ type: "function",
307
+ },
308
+ {
309
+ inputs: [
310
+ {
311
+ internalType: "address",
312
+ name: "owner_",
313
+ type: "address",
314
+ },
315
+ ],
316
+ name: "avoWalletVersion",
317
+ outputs: [
318
+ {
319
+ internalType: "string",
320
+ name: "",
321
+ type: "string",
322
+ },
323
+ ],
324
+ stateMutability: "view",
325
+ type: "function",
326
+ },
327
+ {
328
+ inputs: [
329
+ {
330
+ internalType: "address",
331
+ name: "owner_",
332
+ type: "address",
333
+ },
334
+ ],
335
+ name: "avoWalletVersionName",
336
+ outputs: [
337
+ {
338
+ internalType: "string",
339
+ name: "",
340
+ type: "string",
341
+ },
342
+ ],
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ inputs: [
348
+ {
349
+ internalType: "address",
350
+ name: "",
351
+ type: "address",
352
+ },
353
+ ],
354
+ name: "broadcasters",
355
+ outputs: [
356
+ {
357
+ internalType: "uint256",
358
+ name: "",
359
+ type: "uint256",
360
+ },
361
+ ],
362
+ stateMutability: "view",
363
+ type: "function",
364
+ },
365
+ {
366
+ inputs: [
367
+ {
368
+ internalType: "address",
369
+ name: "owner_",
370
+ type: "address",
371
+ },
372
+ ],
373
+ name: "computeAddress",
374
+ outputs: [
375
+ {
376
+ internalType: "address",
377
+ name: "",
378
+ type: "address",
379
+ },
380
+ ],
381
+ stateMutability: "view",
382
+ type: "function",
383
+ },
384
+ {
385
+ inputs: [
386
+ {
387
+ internalType: "address",
388
+ name: "owner_",
389
+ type: "address",
390
+ },
391
+ ],
392
+ name: "computeAddressMultisig",
393
+ outputs: [
394
+ {
395
+ internalType: "address",
396
+ name: "",
397
+ type: "address",
398
+ },
399
+ ],
400
+ stateMutability: "view",
401
+ type: "function",
402
+ },
403
+ {
404
+ inputs: [
405
+ {
406
+ internalType: "address",
407
+ name: "from_",
408
+ type: "address",
409
+ },
410
+ {
411
+ components: [
412
+ {
413
+ internalType: "address",
414
+ name: "target",
415
+ type: "address",
416
+ },
417
+ {
418
+ internalType: "bytes",
419
+ name: "data",
420
+ type: "bytes",
421
+ },
422
+ {
423
+ internalType: "uint256",
424
+ name: "value",
425
+ type: "uint256",
426
+ },
427
+ ],
428
+ internalType: "struct IAvoWalletV1.Action[]",
429
+ name: "actions_",
430
+ type: "tuple[]",
431
+ },
432
+ {
433
+ internalType: "uint256",
434
+ name: "validUntil_",
435
+ type: "uint256",
436
+ },
437
+ {
438
+ internalType: "uint256",
439
+ name: "gas_",
440
+ type: "uint256",
441
+ },
442
+ {
443
+ internalType: "address",
444
+ name: "source_",
445
+ type: "address",
446
+ },
447
+ {
448
+ internalType: "bytes",
449
+ name: "metadata_",
450
+ type: "bytes",
451
+ },
452
+ {
453
+ internalType: "bytes",
454
+ name: "signature_",
455
+ type: "bytes",
456
+ },
457
+ ],
458
+ name: "execute",
459
+ outputs: [],
460
+ stateMutability: "payable",
461
+ type: "function",
462
+ },
463
+ {
464
+ inputs: [
465
+ {
466
+ internalType: "address",
467
+ name: "from_",
468
+ type: "address",
469
+ },
470
+ {
471
+ components: [
472
+ {
473
+ components: [
474
+ {
475
+ internalType: "address",
476
+ name: "target",
477
+ type: "address",
478
+ },
479
+ {
480
+ internalType: "bytes",
481
+ name: "data",
482
+ type: "bytes",
483
+ },
484
+ {
485
+ internalType: "uint256",
486
+ name: "value",
487
+ type: "uint256",
488
+ },
489
+ {
490
+ internalType: "uint256",
491
+ name: "operation",
492
+ type: "uint256",
493
+ },
494
+ ],
495
+ internalType: "struct AvoCoreStructs.Action[]",
496
+ name: "actions",
497
+ type: "tuple[]",
498
+ },
499
+ {
500
+ internalType: "uint256",
501
+ name: "id",
502
+ type: "uint256",
503
+ },
504
+ {
505
+ internalType: "int256",
506
+ name: "avoSafeNonce",
507
+ type: "int256",
508
+ },
509
+ {
510
+ internalType: "bytes32",
511
+ name: "salt",
512
+ type: "bytes32",
513
+ },
514
+ {
515
+ internalType: "address",
516
+ name: "source",
517
+ type: "address",
518
+ },
519
+ {
520
+ internalType: "bytes",
521
+ name: "metadata",
522
+ type: "bytes",
523
+ },
524
+ ],
525
+ internalType: "struct AvoCoreStructs.CastParams",
526
+ name: "params_",
527
+ type: "tuple",
528
+ },
529
+ {
530
+ components: [
531
+ {
532
+ internalType: "uint256",
533
+ name: "gas",
534
+ type: "uint256",
535
+ },
536
+ {
537
+ internalType: "uint256",
538
+ name: "validUntil",
539
+ type: "uint256",
540
+ },
541
+ {
542
+ internalType: "uint256",
543
+ name: "validAfter",
544
+ type: "uint256",
545
+ },
546
+ {
547
+ internalType: "uint256",
548
+ name: "gasPrice",
549
+ type: "uint256",
550
+ },
551
+ ],
552
+ internalType: "struct AvoCoreStructs.CastForwardParams",
553
+ name: "forwardParams_",
554
+ type: "tuple",
555
+ },
556
+ {
557
+ components: [
558
+ {
559
+ internalType: "bytes",
560
+ name: "signature",
561
+ type: "bytes",
562
+ },
563
+ {
564
+ internalType: "address",
565
+ name: "signer",
566
+ type: "address",
567
+ },
568
+ ],
569
+ internalType: "struct AvoCoreStructs.SignatureParams[]",
570
+ name: "signaturesParams_",
571
+ type: "tuple[]",
572
+ },
573
+ ],
574
+ name: "executeMultisigV3",
575
+ outputs: [],
576
+ stateMutability: "payable",
577
+ type: "function",
578
+ },
579
+ {
580
+ inputs: [
581
+ {
582
+ internalType: "address",
583
+ name: "from_",
584
+ type: "address",
585
+ },
586
+ {
587
+ components: [
588
+ {
589
+ internalType: "address",
590
+ name: "target",
591
+ type: "address",
592
+ },
593
+ {
594
+ internalType: "bytes",
595
+ name: "data",
596
+ type: "bytes",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "value",
601
+ type: "uint256",
602
+ },
603
+ ],
604
+ internalType: "struct IAvoWalletV1.Action[]",
605
+ name: "actions_",
606
+ type: "tuple[]",
607
+ },
608
+ {
609
+ internalType: "uint256",
610
+ name: "validUntil_",
611
+ type: "uint256",
612
+ },
613
+ {
614
+ internalType: "uint256",
615
+ name: "gas_",
616
+ type: "uint256",
617
+ },
618
+ {
619
+ internalType: "address",
620
+ name: "source_",
621
+ type: "address",
622
+ },
623
+ {
624
+ internalType: "bytes",
625
+ name: "metadata_",
626
+ type: "bytes",
627
+ },
628
+ {
629
+ internalType: "bytes",
630
+ name: "signature_",
631
+ type: "bytes",
632
+ },
633
+ ],
634
+ name: "executeV1",
635
+ outputs: [],
636
+ stateMutability: "payable",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "address",
643
+ name: "from_",
644
+ type: "address",
645
+ },
646
+ {
647
+ components: [
648
+ {
649
+ internalType: "address",
650
+ name: "target",
651
+ type: "address",
652
+ },
653
+ {
654
+ internalType: "bytes",
655
+ name: "data",
656
+ type: "bytes",
657
+ },
658
+ {
659
+ internalType: "uint256",
660
+ name: "value",
661
+ type: "uint256",
662
+ },
663
+ {
664
+ internalType: "uint256",
665
+ name: "operation",
666
+ type: "uint256",
667
+ },
668
+ ],
669
+ internalType: "struct IAvoWalletV2.Action[]",
670
+ name: "actions_",
671
+ type: "tuple[]",
672
+ },
673
+ {
674
+ components: [
675
+ {
676
+ internalType: "uint256",
677
+ name: "validUntil",
678
+ type: "uint256",
679
+ },
680
+ {
681
+ internalType: "uint256",
682
+ name: "gas",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "address",
687
+ name: "source",
688
+ type: "address",
689
+ },
690
+ {
691
+ internalType: "uint256",
692
+ name: "id",
693
+ type: "uint256",
694
+ },
695
+ {
696
+ internalType: "bytes",
697
+ name: "metadata",
698
+ type: "bytes",
699
+ },
700
+ ],
701
+ internalType: "struct IAvoWalletV2.CastParams",
702
+ name: "params_",
703
+ type: "tuple",
704
+ },
705
+ {
706
+ internalType: "bytes",
707
+ name: "signature_",
708
+ type: "bytes",
709
+ },
710
+ ],
711
+ name: "executeV2",
712
+ outputs: [],
713
+ stateMutability: "payable",
714
+ type: "function",
715
+ },
716
+ {
717
+ inputs: [
718
+ {
719
+ internalType: "address",
720
+ name: "from_",
721
+ type: "address",
722
+ },
723
+ {
724
+ components: [
725
+ {
726
+ components: [
727
+ {
728
+ internalType: "address",
729
+ name: "target",
730
+ type: "address",
731
+ },
732
+ {
733
+ internalType: "bytes",
734
+ name: "data",
735
+ type: "bytes",
736
+ },
737
+ {
738
+ internalType: "uint256",
739
+ name: "value",
740
+ type: "uint256",
741
+ },
742
+ {
743
+ internalType: "uint256",
744
+ name: "operation",
745
+ type: "uint256",
746
+ },
747
+ ],
748
+ internalType: "struct AvoCoreStructs.Action[]",
749
+ name: "actions",
750
+ type: "tuple[]",
751
+ },
752
+ {
753
+ internalType: "uint256",
754
+ name: "id",
755
+ type: "uint256",
756
+ },
757
+ {
758
+ internalType: "int256",
759
+ name: "avoSafeNonce",
760
+ type: "int256",
761
+ },
762
+ {
763
+ internalType: "bytes32",
764
+ name: "salt",
765
+ type: "bytes32",
766
+ },
767
+ {
768
+ internalType: "address",
769
+ name: "source",
770
+ type: "address",
771
+ },
772
+ {
773
+ internalType: "bytes",
774
+ name: "metadata",
775
+ type: "bytes",
776
+ },
777
+ ],
778
+ internalType: "struct AvoCoreStructs.CastParams",
779
+ name: "params_",
780
+ type: "tuple",
781
+ },
782
+ {
783
+ components: [
784
+ {
785
+ internalType: "uint256",
786
+ name: "gas",
787
+ type: "uint256",
788
+ },
789
+ {
790
+ internalType: "uint256",
791
+ name: "validUntil",
792
+ type: "uint256",
793
+ },
794
+ {
795
+ internalType: "uint256",
796
+ name: "validAfter",
797
+ type: "uint256",
798
+ },
799
+ {
800
+ internalType: "uint256",
801
+ name: "gasPrice",
802
+ type: "uint256",
803
+ },
804
+ ],
805
+ internalType: "struct AvoCoreStructs.CastForwardParams",
806
+ name: "forwardParams_",
807
+ type: "tuple",
808
+ },
809
+ {
810
+ components: [
811
+ {
812
+ internalType: "bytes",
813
+ name: "signature",
814
+ type: "bytes",
815
+ },
816
+ {
817
+ internalType: "address",
818
+ name: "signer",
819
+ type: "address",
820
+ },
821
+ ],
822
+ internalType: "struct AvoCoreStructs.SignatureParams",
823
+ name: "signatureParams_",
824
+ type: "tuple",
825
+ },
826
+ ],
827
+ name: "executeV3",
828
+ outputs: [],
829
+ stateMutability: "payable",
830
+ type: "function",
831
+ },
832
+ {
833
+ inputs: [
834
+ {
835
+ internalType: "address",
836
+ name: "owner_",
837
+ type: "address",
838
+ },
839
+ ],
840
+ name: "initialize",
841
+ outputs: [],
842
+ stateMutability: "nonpayable",
843
+ type: "function",
844
+ },
845
+ {
846
+ inputs: [
847
+ {
848
+ internalType: "address",
849
+ name: "auth_",
850
+ type: "address",
851
+ },
852
+ ],
853
+ name: "isAuth",
854
+ outputs: [
855
+ {
856
+ internalType: "bool",
857
+ name: "",
858
+ type: "bool",
859
+ },
860
+ ],
861
+ stateMutability: "view",
862
+ type: "function",
863
+ },
864
+ {
865
+ inputs: [
866
+ {
867
+ internalType: "address",
868
+ name: "broadcaster_",
869
+ type: "address",
870
+ },
871
+ ],
872
+ name: "isBroadcaster",
873
+ outputs: [
874
+ {
875
+ internalType: "bool",
876
+ name: "",
877
+ type: "bool",
878
+ },
879
+ ],
880
+ stateMutability: "view",
881
+ type: "function",
882
+ },
883
+ {
884
+ inputs: [],
885
+ name: "owner",
886
+ outputs: [
887
+ {
888
+ internalType: "address",
889
+ name: "",
890
+ type: "address",
891
+ },
892
+ ],
893
+ stateMutability: "view",
894
+ type: "function",
895
+ },
896
+ {
897
+ inputs: [
898
+ {
899
+ internalType: "address",
900
+ name: "owner_",
901
+ type: "address",
902
+ },
903
+ {
904
+ internalType: "address[]",
905
+ name: "allowedBroadcasters_",
906
+ type: "address[]",
907
+ },
908
+ ],
909
+ name: "reinitialize",
910
+ outputs: [],
911
+ stateMutability: "nonpayable",
912
+ type: "function",
913
+ },
914
+ {
915
+ inputs: [],
916
+ name: "renounceOwnership",
917
+ outputs: [],
918
+ stateMutability: "nonpayable",
919
+ type: "function",
920
+ },
921
+ {
922
+ inputs: [
923
+ {
924
+ internalType: "address",
925
+ name: "newOwner",
926
+ type: "address",
927
+ },
928
+ ],
929
+ name: "transferOwnership",
930
+ outputs: [],
931
+ stateMutability: "nonpayable",
932
+ type: "function",
933
+ },
934
+ {
935
+ inputs: [
936
+ {
937
+ components: [
938
+ {
939
+ internalType: "address",
940
+ name: "addr",
941
+ type: "address",
942
+ },
943
+ {
944
+ internalType: "bool",
945
+ name: "value",
946
+ type: "bool",
947
+ },
948
+ ],
949
+ internalType: "struct AvoForwarderStructs.AddressBool[]",
950
+ name: "authsStatus_",
951
+ type: "tuple[]",
952
+ },
953
+ ],
954
+ name: "updateAuths",
955
+ outputs: [],
956
+ stateMutability: "nonpayable",
957
+ type: "function",
958
+ },
959
+ {
960
+ inputs: [
961
+ {
962
+ components: [
963
+ {
964
+ internalType: "address",
965
+ name: "addr",
966
+ type: "address",
967
+ },
968
+ {
969
+ internalType: "bool",
970
+ name: "value",
971
+ type: "bool",
972
+ },
973
+ ],
974
+ internalType: "struct AvoForwarderStructs.AddressBool[]",
975
+ name: "broadcastersStatus_",
976
+ type: "tuple[]",
977
+ },
978
+ ],
979
+ name: "updateBroadcasters",
980
+ outputs: [],
981
+ stateMutability: "nonpayable",
982
+ type: "function",
983
+ },
984
+ {
985
+ inputs: [
986
+ {
987
+ internalType: "address",
988
+ name: "from_",
989
+ type: "address",
990
+ },
991
+ {
992
+ components: [
993
+ {
994
+ internalType: "address",
995
+ name: "target",
996
+ type: "address",
997
+ },
998
+ {
999
+ internalType: "bytes",
1000
+ name: "data",
1001
+ type: "bytes",
1002
+ },
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "value",
1006
+ type: "uint256",
1007
+ },
1008
+ ],
1009
+ internalType: "struct IAvoWalletV1.Action[]",
1010
+ name: "actions_",
1011
+ type: "tuple[]",
1012
+ },
1013
+ {
1014
+ internalType: "uint256",
1015
+ name: "validUntil_",
1016
+ type: "uint256",
1017
+ },
1018
+ {
1019
+ internalType: "uint256",
1020
+ name: "gas_",
1021
+ type: "uint256",
1022
+ },
1023
+ {
1024
+ internalType: "address",
1025
+ name: "source_",
1026
+ type: "address",
1027
+ },
1028
+ {
1029
+ internalType: "bytes",
1030
+ name: "metadata_",
1031
+ type: "bytes",
1032
+ },
1033
+ {
1034
+ internalType: "bytes",
1035
+ name: "signature_",
1036
+ type: "bytes",
1037
+ },
1038
+ ],
1039
+ name: "verify",
1040
+ outputs: [
1041
+ {
1042
+ internalType: "bool",
1043
+ name: "",
1044
+ type: "bool",
1045
+ },
1046
+ ],
1047
+ stateMutability: "nonpayable",
1048
+ type: "function",
1049
+ },
1050
+ {
1051
+ inputs: [
1052
+ {
1053
+ internalType: "address",
1054
+ name: "from_",
1055
+ type: "address",
1056
+ },
1057
+ {
1058
+ components: [
1059
+ {
1060
+ components: [
1061
+ {
1062
+ internalType: "address",
1063
+ name: "target",
1064
+ type: "address",
1065
+ },
1066
+ {
1067
+ internalType: "bytes",
1068
+ name: "data",
1069
+ type: "bytes",
1070
+ },
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "value",
1074
+ type: "uint256",
1075
+ },
1076
+ {
1077
+ internalType: "uint256",
1078
+ name: "operation",
1079
+ type: "uint256",
1080
+ },
1081
+ ],
1082
+ internalType: "struct AvoCoreStructs.Action[]",
1083
+ name: "actions",
1084
+ type: "tuple[]",
1085
+ },
1086
+ {
1087
+ internalType: "uint256",
1088
+ name: "id",
1089
+ type: "uint256",
1090
+ },
1091
+ {
1092
+ internalType: "int256",
1093
+ name: "avoSafeNonce",
1094
+ type: "int256",
1095
+ },
1096
+ {
1097
+ internalType: "bytes32",
1098
+ name: "salt",
1099
+ type: "bytes32",
1100
+ },
1101
+ {
1102
+ internalType: "address",
1103
+ name: "source",
1104
+ type: "address",
1105
+ },
1106
+ {
1107
+ internalType: "bytes",
1108
+ name: "metadata",
1109
+ type: "bytes",
1110
+ },
1111
+ ],
1112
+ internalType: "struct AvoCoreStructs.CastParams",
1113
+ name: "params_",
1114
+ type: "tuple",
1115
+ },
1116
+ {
1117
+ components: [
1118
+ {
1119
+ internalType: "uint256",
1120
+ name: "gas",
1121
+ type: "uint256",
1122
+ },
1123
+ {
1124
+ internalType: "uint256",
1125
+ name: "validUntil",
1126
+ type: "uint256",
1127
+ },
1128
+ {
1129
+ internalType: "uint256",
1130
+ name: "validAfter",
1131
+ type: "uint256",
1132
+ },
1133
+ {
1134
+ internalType: "uint256",
1135
+ name: "gasPrice",
1136
+ type: "uint256",
1137
+ },
1138
+ ],
1139
+ internalType: "struct AvoCoreStructs.CastForwardParams",
1140
+ name: "forwardParams_",
1141
+ type: "tuple",
1142
+ },
1143
+ {
1144
+ components: [
1145
+ {
1146
+ internalType: "bytes",
1147
+ name: "signature",
1148
+ type: "bytes",
1149
+ },
1150
+ {
1151
+ internalType: "address",
1152
+ name: "signer",
1153
+ type: "address",
1154
+ },
1155
+ ],
1156
+ internalType: "struct AvoCoreStructs.SignatureParams[]",
1157
+ name: "signaturesParams_",
1158
+ type: "tuple[]",
1159
+ },
1160
+ ],
1161
+ name: "verifyMultisigV3",
1162
+ outputs: [
1163
+ {
1164
+ internalType: "bool",
1165
+ name: "",
1166
+ type: "bool",
1167
+ },
1168
+ ],
1169
+ stateMutability: "nonpayable",
1170
+ type: "function",
1171
+ },
1172
+ {
1173
+ inputs: [
1174
+ {
1175
+ internalType: "address",
1176
+ name: "from_",
1177
+ type: "address",
1178
+ },
1179
+ {
1180
+ components: [
1181
+ {
1182
+ internalType: "address",
1183
+ name: "target",
1184
+ type: "address",
1185
+ },
1186
+ {
1187
+ internalType: "bytes",
1188
+ name: "data",
1189
+ type: "bytes",
1190
+ },
1191
+ {
1192
+ internalType: "uint256",
1193
+ name: "value",
1194
+ type: "uint256",
1195
+ },
1196
+ ],
1197
+ internalType: "struct IAvoWalletV1.Action[]",
1198
+ name: "actions_",
1199
+ type: "tuple[]",
1200
+ },
1201
+ {
1202
+ internalType: "uint256",
1203
+ name: "validUntil_",
1204
+ type: "uint256",
1205
+ },
1206
+ {
1207
+ internalType: "uint256",
1208
+ name: "gas_",
1209
+ type: "uint256",
1210
+ },
1211
+ {
1212
+ internalType: "address",
1213
+ name: "source_",
1214
+ type: "address",
1215
+ },
1216
+ {
1217
+ internalType: "bytes",
1218
+ name: "metadata_",
1219
+ type: "bytes",
1220
+ },
1221
+ {
1222
+ internalType: "bytes",
1223
+ name: "signature_",
1224
+ type: "bytes",
1225
+ },
1226
+ ],
1227
+ name: "verifyV1",
1228
+ outputs: [
1229
+ {
1230
+ internalType: "bool",
1231
+ name: "",
1232
+ type: "bool",
1233
+ },
1234
+ ],
1235
+ stateMutability: "nonpayable",
1236
+ type: "function",
1237
+ },
1238
+ {
1239
+ inputs: [
1240
+ {
1241
+ internalType: "address",
1242
+ name: "from_",
1243
+ type: "address",
1244
+ },
1245
+ {
1246
+ components: [
1247
+ {
1248
+ internalType: "address",
1249
+ name: "target",
1250
+ type: "address",
1251
+ },
1252
+ {
1253
+ internalType: "bytes",
1254
+ name: "data",
1255
+ type: "bytes",
1256
+ },
1257
+ {
1258
+ internalType: "uint256",
1259
+ name: "value",
1260
+ type: "uint256",
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "operation",
1265
+ type: "uint256",
1266
+ },
1267
+ ],
1268
+ internalType: "struct IAvoWalletV2.Action[]",
1269
+ name: "actions_",
1270
+ type: "tuple[]",
1271
+ },
1272
+ {
1273
+ components: [
1274
+ {
1275
+ internalType: "uint256",
1276
+ name: "validUntil",
1277
+ type: "uint256",
1278
+ },
1279
+ {
1280
+ internalType: "uint256",
1281
+ name: "gas",
1282
+ type: "uint256",
1283
+ },
1284
+ {
1285
+ internalType: "address",
1286
+ name: "source",
1287
+ type: "address",
1288
+ },
1289
+ {
1290
+ internalType: "uint256",
1291
+ name: "id",
1292
+ type: "uint256",
1293
+ },
1294
+ {
1295
+ internalType: "bytes",
1296
+ name: "metadata",
1297
+ type: "bytes",
1298
+ },
1299
+ ],
1300
+ internalType: "struct IAvoWalletV2.CastParams",
1301
+ name: "params_",
1302
+ type: "tuple",
1303
+ },
1304
+ {
1305
+ internalType: "bytes",
1306
+ name: "signature_",
1307
+ type: "bytes",
1308
+ },
1309
+ ],
1310
+ name: "verifyV2",
1311
+ outputs: [
1312
+ {
1313
+ internalType: "bool",
1314
+ name: "",
1315
+ type: "bool",
1316
+ },
1317
+ ],
1318
+ stateMutability: "nonpayable",
1319
+ type: "function",
1320
+ },
1321
+ {
1322
+ inputs: [
1323
+ {
1324
+ internalType: "address",
1325
+ name: "from_",
1326
+ type: "address",
1327
+ },
1328
+ {
1329
+ components: [
1330
+ {
1331
+ components: [
1332
+ {
1333
+ internalType: "address",
1334
+ name: "target",
1335
+ type: "address",
1336
+ },
1337
+ {
1338
+ internalType: "bytes",
1339
+ name: "data",
1340
+ type: "bytes",
1341
+ },
1342
+ {
1343
+ internalType: "uint256",
1344
+ name: "value",
1345
+ type: "uint256",
1346
+ },
1347
+ {
1348
+ internalType: "uint256",
1349
+ name: "operation",
1350
+ type: "uint256",
1351
+ },
1352
+ ],
1353
+ internalType: "struct AvoCoreStructs.Action[]",
1354
+ name: "actions",
1355
+ type: "tuple[]",
1356
+ },
1357
+ {
1358
+ internalType: "uint256",
1359
+ name: "id",
1360
+ type: "uint256",
1361
+ },
1362
+ {
1363
+ internalType: "int256",
1364
+ name: "avoSafeNonce",
1365
+ type: "int256",
1366
+ },
1367
+ {
1368
+ internalType: "bytes32",
1369
+ name: "salt",
1370
+ type: "bytes32",
1371
+ },
1372
+ {
1373
+ internalType: "address",
1374
+ name: "source",
1375
+ type: "address",
1376
+ },
1377
+ {
1378
+ internalType: "bytes",
1379
+ name: "metadata",
1380
+ type: "bytes",
1381
+ },
1382
+ ],
1383
+ internalType: "struct AvoCoreStructs.CastParams",
1384
+ name: "params_",
1385
+ type: "tuple",
1386
+ },
1387
+ {
1388
+ components: [
1389
+ {
1390
+ internalType: "uint256",
1391
+ name: "gas",
1392
+ type: "uint256",
1393
+ },
1394
+ {
1395
+ internalType: "uint256",
1396
+ name: "validUntil",
1397
+ type: "uint256",
1398
+ },
1399
+ {
1400
+ internalType: "uint256",
1401
+ name: "validAfter",
1402
+ type: "uint256",
1403
+ },
1404
+ {
1405
+ internalType: "uint256",
1406
+ name: "gasPrice",
1407
+ type: "uint256",
1408
+ },
1409
+ ],
1410
+ internalType: "struct AvoCoreStructs.CastForwardParams",
1411
+ name: "forwardParams_",
1412
+ type: "tuple",
1413
+ },
1414
+ {
1415
+ components: [
1416
+ {
1417
+ internalType: "bytes",
1418
+ name: "signature",
1419
+ type: "bytes",
1420
+ },
1421
+ {
1422
+ internalType: "address",
1423
+ name: "signer",
1424
+ type: "address",
1425
+ },
1426
+ ],
1427
+ internalType: "struct AvoCoreStructs.SignatureParams",
1428
+ name: "signatureParams_",
1429
+ type: "tuple",
1430
+ },
1431
+ ],
1432
+ name: "verifyV3",
1433
+ outputs: [
1434
+ {
1435
+ internalType: "bool",
1436
+ name: "",
1437
+ type: "bool",
1438
+ },
1439
+ ],
1440
+ stateMutability: "nonpayable",
1441
+ type: "function",
1442
+ },
1443
+ ] as const;
1444
+
1445
+ export class Forwarder__factory {
1446
+ static readonly abi = _abi;
1447
+ static createInterface(): ForwarderInterface {
1448
+ return new utils.Interface(_abi) as ForwarderInterface;
1449
+ }
1450
+ static connect(
1451
+ address: string,
1452
+ signerOrProvider: Signer | Provider
1453
+ ): Forwarder {
1454
+ return new Contract(address, _abi, signerOrProvider) as Forwarder;
1455
+ }
1456
+ }