@instadapp/avocado-base 0.0.21 → 0.0.24
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.
- package/abi/forwarder.json +1253 -149
- package/contracts/Forwarder.ts +856 -2
- package/contracts/factories/Forwarder__factory.ts +816 -16
- package/package.json +1 -1
- package/utils/metadata.ts +12 -2
|
@@ -34,9 +34,42 @@ const _abi = [
|
|
|
34
34
|
type: "error",
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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",
|
|
40
73
|
},
|
|
41
74
|
{
|
|
42
75
|
anonymous: false,
|
|
@@ -119,6 +152,44 @@ const _abi = [
|
|
|
119
152
|
name: "Initialized",
|
|
120
153
|
type: "event",
|
|
121
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
|
+
},
|
|
122
193
|
{
|
|
123
194
|
inputs: [],
|
|
124
195
|
name: "avoFactory",
|
|
@@ -132,6 +203,57 @@ const _abi = [
|
|
|
132
203
|
stateMutability: "view",
|
|
133
204
|
type: "function",
|
|
134
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
|
+
},
|
|
135
257
|
{
|
|
136
258
|
inputs: [],
|
|
137
259
|
name: "avoSafeBytecode",
|
|
@@ -164,6 +286,25 @@ const _abi = [
|
|
|
164
286
|
stateMutability: "view",
|
|
165
287
|
type: "function",
|
|
166
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
|
+
},
|
|
167
308
|
{
|
|
168
309
|
inputs: [
|
|
169
310
|
{
|
|
@@ -202,6 +343,25 @@ const _abi = [
|
|
|
202
343
|
stateMutability: "view",
|
|
203
344
|
type: "function",
|
|
204
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
|
+
},
|
|
205
365
|
{
|
|
206
366
|
inputs: [
|
|
207
367
|
{
|
|
@@ -221,6 +381,25 @@ const _abi = [
|
|
|
221
381
|
stateMutability: "view",
|
|
222
382
|
type: "function",
|
|
223
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
|
+
},
|
|
224
403
|
{
|
|
225
404
|
inputs: [
|
|
226
405
|
{
|
|
@@ -281,6 +460,122 @@ const _abi = [
|
|
|
281
460
|
stateMutability: "payable",
|
|
282
461
|
type: "function",
|
|
283
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
|
+
},
|
|
284
579
|
{
|
|
285
580
|
inputs: [
|
|
286
581
|
{
|
|
@@ -418,13 +713,6 @@ const _abi = [
|
|
|
418
713
|
stateMutability: "payable",
|
|
419
714
|
type: "function",
|
|
420
715
|
},
|
|
421
|
-
{
|
|
422
|
-
inputs: [],
|
|
423
|
-
name: "initialize",
|
|
424
|
-
outputs: [],
|
|
425
|
-
stateMutability: "nonpayable",
|
|
426
|
-
type: "function",
|
|
427
|
-
},
|
|
428
716
|
{
|
|
429
717
|
inputs: [
|
|
430
718
|
{
|
|
@@ -435,14 +723,282 @@ const _abi = [
|
|
|
435
723
|
{
|
|
436
724
|
components: [
|
|
437
725
|
{
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
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[]",
|
|
441
751
|
},
|
|
442
752
|
{
|
|
443
|
-
internalType: "
|
|
444
|
-
name: "
|
|
445
|
-
type: "
|
|
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",
|
|
446
1002
|
},
|
|
447
1003
|
{
|
|
448
1004
|
internalType: "uint256",
|
|
@@ -491,6 +1047,128 @@ const _abi = [
|
|
|
491
1047
|
stateMutability: "nonpayable",
|
|
492
1048
|
type: "function",
|
|
493
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
|
+
},
|
|
494
1172
|
{
|
|
495
1173
|
inputs: [
|
|
496
1174
|
{
|
|
@@ -640,6 +1318,128 @@ const _abi = [
|
|
|
640
1318
|
stateMutability: "nonpayable",
|
|
641
1319
|
type: "function",
|
|
642
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
|
+
},
|
|
643
1443
|
] as const;
|
|
644
1444
|
|
|
645
1445
|
export class Forwarder__factory {
|