@aixyz/erc-8004 0.7.0 → 0.8.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,1044 @@
1
+ export const IdentityRegistryAbi_V1 = [
2
+ {
3
+ inputs: [],
4
+ stateMutability: "nonpayable",
5
+ type: "constructor",
6
+ },
7
+ {
8
+ inputs: [
9
+ {
10
+ internalType: "address",
11
+ name: "target",
12
+ type: "address",
13
+ },
14
+ ],
15
+ name: "AddressEmptyCode",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [],
20
+ name: "ECDSAInvalidSignature",
21
+ type: "error",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint256",
27
+ name: "length",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "ECDSAInvalidSignatureLength",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [
36
+ {
37
+ internalType: "bytes32",
38
+ name: "s",
39
+ type: "bytes32",
40
+ },
41
+ ],
42
+ name: "ECDSAInvalidSignatureS",
43
+ type: "error",
44
+ },
45
+ {
46
+ inputs: [
47
+ {
48
+ internalType: "address",
49
+ name: "implementation",
50
+ type: "address",
51
+ },
52
+ ],
53
+ name: "ERC1967InvalidImplementation",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "ERC1967NonPayable",
59
+ type: "error",
60
+ },
61
+ {
62
+ inputs: [
63
+ {
64
+ internalType: "address",
65
+ name: "sender",
66
+ type: "address",
67
+ },
68
+ {
69
+ internalType: "uint256",
70
+ name: "tokenId",
71
+ type: "uint256",
72
+ },
73
+ {
74
+ internalType: "address",
75
+ name: "owner",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "ERC721IncorrectOwner",
80
+ type: "error",
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: "address",
86
+ name: "operator",
87
+ type: "address",
88
+ },
89
+ {
90
+ internalType: "uint256",
91
+ name: "tokenId",
92
+ type: "uint256",
93
+ },
94
+ ],
95
+ name: "ERC721InsufficientApproval",
96
+ type: "error",
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ internalType: "address",
102
+ name: "approver",
103
+ type: "address",
104
+ },
105
+ ],
106
+ name: "ERC721InvalidApprover",
107
+ type: "error",
108
+ },
109
+ {
110
+ inputs: [
111
+ {
112
+ internalType: "address",
113
+ name: "operator",
114
+ type: "address",
115
+ },
116
+ ],
117
+ name: "ERC721InvalidOperator",
118
+ type: "error",
119
+ },
120
+ {
121
+ inputs: [
122
+ {
123
+ internalType: "address",
124
+ name: "owner",
125
+ type: "address",
126
+ },
127
+ ],
128
+ name: "ERC721InvalidOwner",
129
+ type: "error",
130
+ },
131
+ {
132
+ inputs: [
133
+ {
134
+ internalType: "address",
135
+ name: "receiver",
136
+ type: "address",
137
+ },
138
+ ],
139
+ name: "ERC721InvalidReceiver",
140
+ type: "error",
141
+ },
142
+ {
143
+ inputs: [
144
+ {
145
+ internalType: "address",
146
+ name: "sender",
147
+ type: "address",
148
+ },
149
+ ],
150
+ name: "ERC721InvalidSender",
151
+ type: "error",
152
+ },
153
+ {
154
+ inputs: [
155
+ {
156
+ internalType: "uint256",
157
+ name: "tokenId",
158
+ type: "uint256",
159
+ },
160
+ ],
161
+ name: "ERC721NonexistentToken",
162
+ type: "error",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "FailedCall",
167
+ type: "error",
168
+ },
169
+ {
170
+ inputs: [],
171
+ name: "InvalidInitialization",
172
+ type: "error",
173
+ },
174
+ {
175
+ inputs: [],
176
+ name: "NotInitializing",
177
+ type: "error",
178
+ },
179
+ {
180
+ inputs: [
181
+ {
182
+ internalType: "address",
183
+ name: "owner",
184
+ type: "address",
185
+ },
186
+ ],
187
+ name: "OwnableInvalidOwner",
188
+ type: "error",
189
+ },
190
+ {
191
+ inputs: [
192
+ {
193
+ internalType: "address",
194
+ name: "account",
195
+ type: "address",
196
+ },
197
+ ],
198
+ name: "OwnableUnauthorizedAccount",
199
+ type: "error",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "UUPSUnauthorizedCallContext",
204
+ type: "error",
205
+ },
206
+ {
207
+ inputs: [
208
+ {
209
+ internalType: "bytes32",
210
+ name: "slot",
211
+ type: "bytes32",
212
+ },
213
+ ],
214
+ name: "UUPSUnsupportedProxiableUUID",
215
+ type: "error",
216
+ },
217
+ {
218
+ anonymous: false,
219
+ inputs: [
220
+ {
221
+ indexed: true,
222
+ internalType: "address",
223
+ name: "owner",
224
+ type: "address",
225
+ },
226
+ {
227
+ indexed: true,
228
+ internalType: "address",
229
+ name: "approved",
230
+ type: "address",
231
+ },
232
+ {
233
+ indexed: true,
234
+ internalType: "uint256",
235
+ name: "tokenId",
236
+ type: "uint256",
237
+ },
238
+ ],
239
+ name: "Approval",
240
+ type: "event",
241
+ },
242
+ {
243
+ anonymous: false,
244
+ inputs: [
245
+ {
246
+ indexed: true,
247
+ internalType: "address",
248
+ name: "owner",
249
+ type: "address",
250
+ },
251
+ {
252
+ indexed: true,
253
+ internalType: "address",
254
+ name: "operator",
255
+ type: "address",
256
+ },
257
+ {
258
+ indexed: false,
259
+ internalType: "bool",
260
+ name: "approved",
261
+ type: "bool",
262
+ },
263
+ ],
264
+ name: "ApprovalForAll",
265
+ type: "event",
266
+ },
267
+ {
268
+ anonymous: false,
269
+ inputs: [
270
+ {
271
+ indexed: false,
272
+ internalType: "uint256",
273
+ name: "_fromTokenId",
274
+ type: "uint256",
275
+ },
276
+ {
277
+ indexed: false,
278
+ internalType: "uint256",
279
+ name: "_toTokenId",
280
+ type: "uint256",
281
+ },
282
+ ],
283
+ name: "BatchMetadataUpdate",
284
+ type: "event",
285
+ },
286
+ {
287
+ anonymous: false,
288
+ inputs: [],
289
+ name: "EIP712DomainChanged",
290
+ type: "event",
291
+ },
292
+ {
293
+ anonymous: false,
294
+ inputs: [
295
+ {
296
+ indexed: false,
297
+ internalType: "uint64",
298
+ name: "version",
299
+ type: "uint64",
300
+ },
301
+ ],
302
+ name: "Initialized",
303
+ type: "event",
304
+ },
305
+ {
306
+ anonymous: false,
307
+ inputs: [
308
+ {
309
+ indexed: true,
310
+ internalType: "uint256",
311
+ name: "agentId",
312
+ type: "uint256",
313
+ },
314
+ {
315
+ indexed: true,
316
+ internalType: "string",
317
+ name: "indexedMetadataKey",
318
+ type: "string",
319
+ },
320
+ {
321
+ indexed: false,
322
+ internalType: "string",
323
+ name: "metadataKey",
324
+ type: "string",
325
+ },
326
+ {
327
+ indexed: false,
328
+ internalType: "bytes",
329
+ name: "metadataValue",
330
+ type: "bytes",
331
+ },
332
+ ],
333
+ name: "MetadataSet",
334
+ type: "event",
335
+ },
336
+ {
337
+ anonymous: false,
338
+ inputs: [
339
+ {
340
+ indexed: false,
341
+ internalType: "uint256",
342
+ name: "_tokenId",
343
+ type: "uint256",
344
+ },
345
+ ],
346
+ name: "MetadataUpdate",
347
+ type: "event",
348
+ },
349
+ {
350
+ anonymous: false,
351
+ inputs: [
352
+ {
353
+ indexed: true,
354
+ internalType: "address",
355
+ name: "previousOwner",
356
+ type: "address",
357
+ },
358
+ {
359
+ indexed: true,
360
+ internalType: "address",
361
+ name: "newOwner",
362
+ type: "address",
363
+ },
364
+ ],
365
+ name: "OwnershipTransferred",
366
+ type: "event",
367
+ },
368
+ {
369
+ anonymous: false,
370
+ inputs: [
371
+ {
372
+ indexed: true,
373
+ internalType: "uint256",
374
+ name: "agentId",
375
+ type: "uint256",
376
+ },
377
+ {
378
+ indexed: false,
379
+ internalType: "string",
380
+ name: "agentURI",
381
+ type: "string",
382
+ },
383
+ {
384
+ indexed: true,
385
+ internalType: "address",
386
+ name: "owner",
387
+ type: "address",
388
+ },
389
+ ],
390
+ name: "Registered",
391
+ type: "event",
392
+ },
393
+ {
394
+ anonymous: false,
395
+ inputs: [
396
+ {
397
+ indexed: true,
398
+ internalType: "address",
399
+ name: "from",
400
+ type: "address",
401
+ },
402
+ {
403
+ indexed: true,
404
+ internalType: "address",
405
+ name: "to",
406
+ type: "address",
407
+ },
408
+ {
409
+ indexed: true,
410
+ internalType: "uint256",
411
+ name: "tokenId",
412
+ type: "uint256",
413
+ },
414
+ ],
415
+ name: "Transfer",
416
+ type: "event",
417
+ },
418
+ {
419
+ anonymous: false,
420
+ inputs: [
421
+ {
422
+ indexed: true,
423
+ internalType: "uint256",
424
+ name: "agentId",
425
+ type: "uint256",
426
+ },
427
+ {
428
+ indexed: false,
429
+ internalType: "string",
430
+ name: "newURI",
431
+ type: "string",
432
+ },
433
+ {
434
+ indexed: true,
435
+ internalType: "address",
436
+ name: "updatedBy",
437
+ type: "address",
438
+ },
439
+ ],
440
+ name: "URIUpdated",
441
+ type: "event",
442
+ },
443
+ {
444
+ anonymous: false,
445
+ inputs: [
446
+ {
447
+ indexed: true,
448
+ internalType: "address",
449
+ name: "implementation",
450
+ type: "address",
451
+ },
452
+ ],
453
+ name: "Upgraded",
454
+ type: "event",
455
+ },
456
+ {
457
+ inputs: [],
458
+ name: "UPGRADE_INTERFACE_VERSION",
459
+ outputs: [
460
+ {
461
+ internalType: "string",
462
+ name: "",
463
+ type: "string",
464
+ },
465
+ ],
466
+ stateMutability: "view",
467
+ type: "function",
468
+ },
469
+ {
470
+ inputs: [
471
+ {
472
+ internalType: "address",
473
+ name: "to",
474
+ type: "address",
475
+ },
476
+ {
477
+ internalType: "uint256",
478
+ name: "tokenId",
479
+ type: "uint256",
480
+ },
481
+ ],
482
+ name: "approve",
483
+ outputs: [],
484
+ stateMutability: "nonpayable",
485
+ type: "function",
486
+ },
487
+ {
488
+ inputs: [
489
+ {
490
+ internalType: "address",
491
+ name: "owner",
492
+ type: "address",
493
+ },
494
+ ],
495
+ name: "balanceOf",
496
+ outputs: [
497
+ {
498
+ internalType: "uint256",
499
+ name: "",
500
+ type: "uint256",
501
+ },
502
+ ],
503
+ stateMutability: "view",
504
+ type: "function",
505
+ },
506
+ {
507
+ inputs: [],
508
+ name: "eip712Domain",
509
+ outputs: [
510
+ {
511
+ internalType: "bytes1",
512
+ name: "fields",
513
+ type: "bytes1",
514
+ },
515
+ {
516
+ internalType: "string",
517
+ name: "name",
518
+ type: "string",
519
+ },
520
+ {
521
+ internalType: "string",
522
+ name: "version",
523
+ type: "string",
524
+ },
525
+ {
526
+ internalType: "uint256",
527
+ name: "chainId",
528
+ type: "uint256",
529
+ },
530
+ {
531
+ internalType: "address",
532
+ name: "verifyingContract",
533
+ type: "address",
534
+ },
535
+ {
536
+ internalType: "bytes32",
537
+ name: "salt",
538
+ type: "bytes32",
539
+ },
540
+ {
541
+ internalType: "uint256[]",
542
+ name: "extensions",
543
+ type: "uint256[]",
544
+ },
545
+ ],
546
+ stateMutability: "view",
547
+ type: "function",
548
+ },
549
+ {
550
+ inputs: [
551
+ {
552
+ internalType: "uint256",
553
+ name: "agentId",
554
+ type: "uint256",
555
+ },
556
+ ],
557
+ name: "getAgentWallet",
558
+ outputs: [
559
+ {
560
+ internalType: "bytes",
561
+ name: "",
562
+ type: "bytes",
563
+ },
564
+ ],
565
+ stateMutability: "view",
566
+ type: "function",
567
+ },
568
+ {
569
+ inputs: [
570
+ {
571
+ internalType: "uint256",
572
+ name: "tokenId",
573
+ type: "uint256",
574
+ },
575
+ ],
576
+ name: "getApproved",
577
+ outputs: [
578
+ {
579
+ internalType: "address",
580
+ name: "",
581
+ type: "address",
582
+ },
583
+ ],
584
+ stateMutability: "view",
585
+ type: "function",
586
+ },
587
+ {
588
+ inputs: [
589
+ {
590
+ internalType: "uint256",
591
+ name: "agentId",
592
+ type: "uint256",
593
+ },
594
+ {
595
+ internalType: "string",
596
+ name: "metadataKey",
597
+ type: "string",
598
+ },
599
+ ],
600
+ name: "getMetadata",
601
+ outputs: [
602
+ {
603
+ internalType: "bytes",
604
+ name: "",
605
+ type: "bytes",
606
+ },
607
+ ],
608
+ stateMutability: "view",
609
+ type: "function",
610
+ },
611
+ {
612
+ inputs: [],
613
+ name: "getVersion",
614
+ outputs: [
615
+ {
616
+ internalType: "string",
617
+ name: "",
618
+ type: "string",
619
+ },
620
+ ],
621
+ stateMutability: "pure",
622
+ type: "function",
623
+ },
624
+ {
625
+ inputs: [],
626
+ name: "initialize",
627
+ outputs: [],
628
+ stateMutability: "nonpayable",
629
+ type: "function",
630
+ },
631
+ {
632
+ inputs: [
633
+ {
634
+ internalType: "address",
635
+ name: "owner",
636
+ type: "address",
637
+ },
638
+ {
639
+ internalType: "address",
640
+ name: "operator",
641
+ type: "address",
642
+ },
643
+ ],
644
+ name: "isApprovedForAll",
645
+ outputs: [
646
+ {
647
+ internalType: "bool",
648
+ name: "",
649
+ type: "bool",
650
+ },
651
+ ],
652
+ stateMutability: "view",
653
+ type: "function",
654
+ },
655
+ {
656
+ inputs: [],
657
+ name: "name",
658
+ outputs: [
659
+ {
660
+ internalType: "string",
661
+ name: "",
662
+ type: "string",
663
+ },
664
+ ],
665
+ stateMutability: "view",
666
+ type: "function",
667
+ },
668
+ {
669
+ inputs: [],
670
+ name: "owner",
671
+ outputs: [
672
+ {
673
+ internalType: "address",
674
+ name: "",
675
+ type: "address",
676
+ },
677
+ ],
678
+ stateMutability: "view",
679
+ type: "function",
680
+ },
681
+ {
682
+ inputs: [
683
+ {
684
+ internalType: "uint256",
685
+ name: "tokenId",
686
+ type: "uint256",
687
+ },
688
+ ],
689
+ name: "ownerOf",
690
+ outputs: [
691
+ {
692
+ internalType: "address",
693
+ name: "",
694
+ type: "address",
695
+ },
696
+ ],
697
+ stateMutability: "view",
698
+ type: "function",
699
+ },
700
+ {
701
+ inputs: [],
702
+ name: "proxiableUUID",
703
+ outputs: [
704
+ {
705
+ internalType: "bytes32",
706
+ name: "",
707
+ type: "bytes32",
708
+ },
709
+ ],
710
+ stateMutability: "view",
711
+ type: "function",
712
+ },
713
+ {
714
+ inputs: [],
715
+ name: "register",
716
+ outputs: [
717
+ {
718
+ internalType: "uint256",
719
+ name: "agentId",
720
+ type: "uint256",
721
+ },
722
+ ],
723
+ stateMutability: "nonpayable",
724
+ type: "function",
725
+ },
726
+ {
727
+ inputs: [
728
+ {
729
+ internalType: "string",
730
+ name: "agentURI",
731
+ type: "string",
732
+ },
733
+ {
734
+ components: [
735
+ {
736
+ internalType: "string",
737
+ name: "metadataKey",
738
+ type: "string",
739
+ },
740
+ {
741
+ internalType: "bytes",
742
+ name: "metadataValue",
743
+ type: "bytes",
744
+ },
745
+ ],
746
+ internalType: "struct IdentityRegistryUpgradeable.MetadataEntry[]",
747
+ name: "metadata",
748
+ type: "tuple[]",
749
+ },
750
+ ],
751
+ name: "register",
752
+ outputs: [
753
+ {
754
+ internalType: "uint256",
755
+ name: "agentId",
756
+ type: "uint256",
757
+ },
758
+ ],
759
+ stateMutability: "nonpayable",
760
+ type: "function",
761
+ },
762
+ {
763
+ inputs: [
764
+ {
765
+ internalType: "string",
766
+ name: "agentURI",
767
+ type: "string",
768
+ },
769
+ ],
770
+ name: "register",
771
+ outputs: [
772
+ {
773
+ internalType: "uint256",
774
+ name: "agentId",
775
+ type: "uint256",
776
+ },
777
+ ],
778
+ stateMutability: "nonpayable",
779
+ type: "function",
780
+ },
781
+ {
782
+ inputs: [],
783
+ name: "renounceOwnership",
784
+ outputs: [],
785
+ stateMutability: "nonpayable",
786
+ type: "function",
787
+ },
788
+ {
789
+ inputs: [
790
+ {
791
+ internalType: "address",
792
+ name: "from",
793
+ type: "address",
794
+ },
795
+ {
796
+ internalType: "address",
797
+ name: "to",
798
+ type: "address",
799
+ },
800
+ {
801
+ internalType: "uint256",
802
+ name: "tokenId",
803
+ type: "uint256",
804
+ },
805
+ ],
806
+ name: "safeTransferFrom",
807
+ outputs: [],
808
+ stateMutability: "nonpayable",
809
+ type: "function",
810
+ },
811
+ {
812
+ inputs: [
813
+ {
814
+ internalType: "address",
815
+ name: "from",
816
+ type: "address",
817
+ },
818
+ {
819
+ internalType: "address",
820
+ name: "to",
821
+ type: "address",
822
+ },
823
+ {
824
+ internalType: "uint256",
825
+ name: "tokenId",
826
+ type: "uint256",
827
+ },
828
+ {
829
+ internalType: "bytes",
830
+ name: "data",
831
+ type: "bytes",
832
+ },
833
+ ],
834
+ name: "safeTransferFrom",
835
+ outputs: [],
836
+ stateMutability: "nonpayable",
837
+ type: "function",
838
+ },
839
+ {
840
+ inputs: [
841
+ {
842
+ internalType: "uint256",
843
+ name: "agentId",
844
+ type: "uint256",
845
+ },
846
+ {
847
+ internalType: "string",
848
+ name: "newURI",
849
+ type: "string",
850
+ },
851
+ ],
852
+ name: "setAgentURI",
853
+ outputs: [],
854
+ stateMutability: "nonpayable",
855
+ type: "function",
856
+ },
857
+ {
858
+ inputs: [
859
+ {
860
+ internalType: "uint256",
861
+ name: "agentId",
862
+ type: "uint256",
863
+ },
864
+ {
865
+ internalType: "address",
866
+ name: "newWallet",
867
+ type: "address",
868
+ },
869
+ {
870
+ internalType: "uint256",
871
+ name: "deadline",
872
+ type: "uint256",
873
+ },
874
+ {
875
+ internalType: "bytes",
876
+ name: "signature",
877
+ type: "bytes",
878
+ },
879
+ ],
880
+ name: "setAgentWallet",
881
+ outputs: [],
882
+ stateMutability: "nonpayable",
883
+ type: "function",
884
+ },
885
+ {
886
+ inputs: [
887
+ {
888
+ internalType: "address",
889
+ name: "operator",
890
+ type: "address",
891
+ },
892
+ {
893
+ internalType: "bool",
894
+ name: "approved",
895
+ type: "bool",
896
+ },
897
+ ],
898
+ name: "setApprovalForAll",
899
+ outputs: [],
900
+ stateMutability: "nonpayable",
901
+ type: "function",
902
+ },
903
+ {
904
+ inputs: [
905
+ {
906
+ internalType: "uint256",
907
+ name: "agentId",
908
+ type: "uint256",
909
+ },
910
+ {
911
+ internalType: "string",
912
+ name: "metadataKey",
913
+ type: "string",
914
+ },
915
+ {
916
+ internalType: "bytes",
917
+ name: "metadataValue",
918
+ type: "bytes",
919
+ },
920
+ ],
921
+ name: "setMetadata",
922
+ outputs: [],
923
+ stateMutability: "nonpayable",
924
+ type: "function",
925
+ },
926
+ {
927
+ inputs: [
928
+ {
929
+ internalType: "bytes4",
930
+ name: "interfaceId",
931
+ type: "bytes4",
932
+ },
933
+ ],
934
+ name: "supportsInterface",
935
+ outputs: [
936
+ {
937
+ internalType: "bool",
938
+ name: "",
939
+ type: "bool",
940
+ },
941
+ ],
942
+ stateMutability: "view",
943
+ type: "function",
944
+ },
945
+ {
946
+ inputs: [],
947
+ name: "symbol",
948
+ outputs: [
949
+ {
950
+ internalType: "string",
951
+ name: "",
952
+ type: "string",
953
+ },
954
+ ],
955
+ stateMutability: "view",
956
+ type: "function",
957
+ },
958
+ {
959
+ inputs: [
960
+ {
961
+ internalType: "uint256",
962
+ name: "tokenId",
963
+ type: "uint256",
964
+ },
965
+ ],
966
+ name: "tokenURI",
967
+ outputs: [
968
+ {
969
+ internalType: "string",
970
+ name: "",
971
+ type: "string",
972
+ },
973
+ ],
974
+ stateMutability: "view",
975
+ type: "function",
976
+ },
977
+ {
978
+ inputs: [
979
+ {
980
+ internalType: "address",
981
+ name: "from",
982
+ type: "address",
983
+ },
984
+ {
985
+ internalType: "address",
986
+ name: "to",
987
+ type: "address",
988
+ },
989
+ {
990
+ internalType: "uint256",
991
+ name: "tokenId",
992
+ type: "uint256",
993
+ },
994
+ ],
995
+ name: "transferFrom",
996
+ outputs: [],
997
+ stateMutability: "nonpayable",
998
+ type: "function",
999
+ },
1000
+ {
1001
+ inputs: [
1002
+ {
1003
+ internalType: "address",
1004
+ name: "newOwner",
1005
+ type: "address",
1006
+ },
1007
+ ],
1008
+ name: "transferOwnership",
1009
+ outputs: [],
1010
+ stateMutability: "nonpayable",
1011
+ type: "function",
1012
+ },
1013
+ {
1014
+ inputs: [
1015
+ {
1016
+ internalType: "uint256",
1017
+ name: "agentId",
1018
+ type: "uint256",
1019
+ },
1020
+ ],
1021
+ name: "unsetAgentWallet",
1022
+ outputs: [],
1023
+ stateMutability: "nonpayable",
1024
+ type: "function",
1025
+ },
1026
+ {
1027
+ inputs: [
1028
+ {
1029
+ internalType: "address",
1030
+ name: "newImplementation",
1031
+ type: "address",
1032
+ },
1033
+ {
1034
+ internalType: "bytes",
1035
+ name: "data",
1036
+ type: "bytes",
1037
+ },
1038
+ ],
1039
+ name: "upgradeToAndCall",
1040
+ outputs: [],
1041
+ stateMutability: "payable",
1042
+ type: "function",
1043
+ },
1044
+ ] as const;