anchor-sdk 0.1.43-beta.1 → 0.1.43-beta.4

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.
Files changed (38) hide show
  1. package/dist/constants.d.ts +1 -1
  2. package/dist/generated/Api.d.ts +199 -197
  3. package/dist/index.js +3 -1379
  4. package/dist/index.js.map +12 -11
  5. package/dist/react/index.js +3 -8
  6. package/dist/react/index.js.map +19 -0
  7. package/package.json +15 -15
  8. package/dist/AnchorApiClientV2.d.ts.map +0 -1
  9. package/dist/AnchorApiClientV2.js +0 -358
  10. package/dist/AnchorERC1155Client.d.ts.map +0 -1
  11. package/dist/AnchorERC1155Client.js +0 -301
  12. package/dist/AnchorPayClient.d.ts.map +0 -1
  13. package/dist/AnchorPayClient.js +0 -908
  14. package/dist/abi/AnchorERC1155.d.ts.map +0 -1
  15. package/dist/abi/AnchorERC1155.js +0 -1122
  16. package/dist/abi/AnchorPay.json +0 -578
  17. package/dist/constants.d.ts.map +0 -1
  18. package/dist/constants.js +0 -367
  19. package/dist/generated/Api.d.ts.map +0 -1
  20. package/dist/generated/Api.js +0 -868
  21. package/dist/index.d.ts.map +0 -1
  22. package/dist/react/AnchorReactSDK.js +0 -192
  23. package/dist/typechain/AnchorERC1155.d.ts.map +0 -1
  24. package/dist/typechain/AnchorERC1155.js +0 -2
  25. package/dist/typechain/AnchorPay.d.ts.map +0 -1
  26. package/dist/typechain/AnchorPay.js +0 -2
  27. package/dist/typechain/common.d.ts.map +0 -1
  28. package/dist/typechain/common.js +0 -2
  29. package/dist/typechain/factories/AnchorERC1155__factory.d.ts.map +0 -1
  30. package/dist/typechain/factories/AnchorERC1155__factory.js +0 -1766
  31. package/dist/typechain/factories/AnchorPay__factory.d.ts.map +0 -1
  32. package/dist/typechain/factories/AnchorPay__factory.js +0 -469
  33. package/dist/typechain/factories/index.d.ts.map +0 -1
  34. package/dist/typechain/factories/index.js +0 -10
  35. package/dist/typechain/index.d.ts.map +0 -1
  36. package/dist/typechain/index.js +0 -41
  37. package/dist/types.d.ts.map +0 -1
  38. package/dist/types.js +0 -2
@@ -1,1766 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.AnchorERC1155__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- type: "constructor",
11
- inputs: [],
12
- stateMutability: "nonpayable",
13
- },
14
- {
15
- type: "function",
16
- name: "DEFAULT_ADMIN_ROLE",
17
- inputs: [],
18
- outputs: [
19
- {
20
- name: "",
21
- type: "bytes32",
22
- internalType: "bytes32",
23
- },
24
- ],
25
- stateMutability: "view",
26
- },
27
- {
28
- type: "function",
29
- name: "UPGRADE_INTERFACE_VERSION",
30
- inputs: [],
31
- outputs: [
32
- {
33
- name: "",
34
- type: "string",
35
- internalType: "string",
36
- },
37
- ],
38
- stateMutability: "view",
39
- },
40
- {
41
- type: "function",
42
- name: "badgeToProject",
43
- inputs: [
44
- {
45
- name: "tokenId",
46
- type: "uint256",
47
- internalType: "uint256",
48
- },
49
- ],
50
- outputs: [
51
- {
52
- name: "",
53
- type: "bytes32",
54
- internalType: "bytes32",
55
- },
56
- ],
57
- stateMutability: "view",
58
- },
59
- {
60
- type: "function",
61
- name: "balanceOf",
62
- inputs: [
63
- {
64
- name: "account",
65
- type: "address",
66
- internalType: "address",
67
- },
68
- {
69
- name: "id",
70
- type: "uint256",
71
- internalType: "uint256",
72
- },
73
- ],
74
- outputs: [
75
- {
76
- name: "",
77
- type: "uint256",
78
- internalType: "uint256",
79
- },
80
- ],
81
- stateMutability: "view",
82
- },
83
- {
84
- type: "function",
85
- name: "balanceOfBatch",
86
- inputs: [
87
- {
88
- name: "accounts",
89
- type: "address[]",
90
- internalType: "address[]",
91
- },
92
- {
93
- name: "ids",
94
- type: "uint256[]",
95
- internalType: "uint256[]",
96
- },
97
- ],
98
- outputs: [
99
- {
100
- name: "",
101
- type: "uint256[]",
102
- internalType: "uint256[]",
103
- },
104
- ],
105
- stateMutability: "view",
106
- },
107
- {
108
- type: "function",
109
- name: "burnBatch",
110
- inputs: [
111
- {
112
- name: "from",
113
- type: "address",
114
- internalType: "address",
115
- },
116
- {
117
- name: "ids",
118
- type: "uint256[]",
119
- internalType: "uint256[]",
120
- },
121
- {
122
- name: "values",
123
- type: "uint256[]",
124
- internalType: "uint256[]",
125
- },
126
- ],
127
- outputs: [],
128
- stateMutability: "nonpayable",
129
- },
130
- {
131
- type: "function",
132
- name: "calculateProjectTokenId",
133
- inputs: [
134
- {
135
- name: "projectHandle",
136
- type: "bytes32",
137
- internalType: "bytes32",
138
- },
139
- {
140
- name: "projectTokenId",
141
- type: "uint256",
142
- internalType: "uint256",
143
- },
144
- ],
145
- outputs: [
146
- {
147
- name: "",
148
- type: "uint256",
149
- internalType: "uint256",
150
- },
151
- ],
152
- stateMutability: "pure",
153
- },
154
- {
155
- type: "function",
156
- name: "createBatch",
157
- inputs: [
158
- {
159
- name: "projectHandle",
160
- type: "bytes32",
161
- internalType: "bytes32",
162
- },
163
- {
164
- name: "_to",
165
- type: "address",
166
- internalType: "address",
167
- },
168
- {
169
- name: "_tokenIds",
170
- type: "uint256[]",
171
- internalType: "uint256[]",
172
- },
173
- {
174
- name: "_tokenURIs",
175
- type: "string[]",
176
- internalType: "string[]",
177
- },
178
- {
179
- name: "_maxSupplies",
180
- type: "uint256[]",
181
- internalType: "uint256[]",
182
- },
183
- ],
184
- outputs: [],
185
- stateMutability: "nonpayable",
186
- },
187
- {
188
- type: "function",
189
- name: "createBatch",
190
- inputs: [
191
- {
192
- name: "_to",
193
- type: "address",
194
- internalType: "address",
195
- },
196
- {
197
- name: "_tokenIds",
198
- type: "uint256[]",
199
- internalType: "uint256[]",
200
- },
201
- {
202
- name: "_tokenURIs",
203
- type: "string[]",
204
- internalType: "string[]",
205
- },
206
- {
207
- name: "_maxSupplies",
208
- type: "uint256[]",
209
- internalType: "uint256[]",
210
- },
211
- ],
212
- outputs: [],
213
- stateMutability: "nonpayable",
214
- },
215
- {
216
- type: "function",
217
- name: "eip712Domain",
218
- inputs: [],
219
- outputs: [
220
- {
221
- name: "fields",
222
- type: "bytes1",
223
- internalType: "bytes1",
224
- },
225
- {
226
- name: "name",
227
- type: "string",
228
- internalType: "string",
229
- },
230
- {
231
- name: "version",
232
- type: "string",
233
- internalType: "string",
234
- },
235
- {
236
- name: "chainId",
237
- type: "uint256",
238
- internalType: "uint256",
239
- },
240
- {
241
- name: "verifyingContract",
242
- type: "address",
243
- internalType: "address",
244
- },
245
- {
246
- name: "salt",
247
- type: "bytes32",
248
- internalType: "bytes32",
249
- },
250
- {
251
- name: "extensions",
252
- type: "uint256[]",
253
- internalType: "uint256[]",
254
- },
255
- ],
256
- stateMutability: "view",
257
- },
258
- {
259
- type: "function",
260
- name: "exists",
261
- inputs: [
262
- {
263
- name: "id",
264
- type: "uint256",
265
- internalType: "uint256",
266
- },
267
- ],
268
- outputs: [
269
- {
270
- name: "",
271
- type: "bool",
272
- internalType: "bool",
273
- },
274
- ],
275
- stateMutability: "view",
276
- },
277
- {
278
- type: "function",
279
- name: "getRoleAdmin",
280
- inputs: [
281
- {
282
- name: "role",
283
- type: "bytes32",
284
- internalType: "bytes32",
285
- },
286
- ],
287
- outputs: [
288
- {
289
- name: "",
290
- type: "bytes32",
291
- internalType: "bytes32",
292
- },
293
- ],
294
- stateMutability: "view",
295
- },
296
- {
297
- type: "function",
298
- name: "grantAdminRole",
299
- inputs: [
300
- {
301
- name: "admin",
302
- type: "address",
303
- internalType: "address",
304
- },
305
- ],
306
- outputs: [],
307
- stateMutability: "nonpayable",
308
- },
309
- {
310
- type: "function",
311
- name: "grantProjectOperator",
312
- inputs: [
313
- {
314
- name: "projectHandle",
315
- type: "bytes32",
316
- internalType: "bytes32",
317
- },
318
- {
319
- name: "operator",
320
- type: "address",
321
- internalType: "address",
322
- },
323
- ],
324
- outputs: [],
325
- stateMutability: "nonpayable",
326
- },
327
- {
328
- type: "function",
329
- name: "grantRole",
330
- inputs: [
331
- {
332
- name: "role",
333
- type: "bytes32",
334
- internalType: "bytes32",
335
- },
336
- {
337
- name: "account",
338
- type: "address",
339
- internalType: "address",
340
- },
341
- ],
342
- outputs: [],
343
- stateMutability: "nonpayable",
344
- },
345
- {
346
- type: "function",
347
- name: "hasRole",
348
- inputs: [
349
- {
350
- name: "role",
351
- type: "bytes32",
352
- internalType: "bytes32",
353
- },
354
- {
355
- name: "account",
356
- type: "address",
357
- internalType: "address",
358
- },
359
- ],
360
- outputs: [
361
- {
362
- name: "",
363
- type: "bool",
364
- internalType: "bool",
365
- },
366
- ],
367
- stateMutability: "view",
368
- },
369
- {
370
- type: "function",
371
- name: "initialize",
372
- inputs: [
373
- {
374
- name: "_defaultAdmin",
375
- type: "address",
376
- internalType: "address",
377
- },
378
- {
379
- name: "_name",
380
- type: "string",
381
- internalType: "string",
382
- },
383
- {
384
- name: "_symbol",
385
- type: "string",
386
- internalType: "string",
387
- },
388
- {
389
- name: "_version",
390
- type: "string",
391
- internalType: "string",
392
- },
393
- {
394
- name: "_baseURI",
395
- type: "string",
396
- internalType: "string",
397
- },
398
- ],
399
- outputs: [],
400
- stateMutability: "nonpayable",
401
- },
402
- {
403
- type: "function",
404
- name: "isApprovedForAll",
405
- inputs: [
406
- {
407
- name: "account",
408
- type: "address",
409
- internalType: "address",
410
- },
411
- {
412
- name: "operator",
413
- type: "address",
414
- internalType: "address",
415
- },
416
- ],
417
- outputs: [
418
- {
419
- name: "",
420
- type: "bool",
421
- internalType: "bool",
422
- },
423
- ],
424
- stateMutability: "view",
425
- },
426
- {
427
- type: "function",
428
- name: "isProjectOperator",
429
- inputs: [
430
- {
431
- name: "projectHandle",
432
- type: "bytes32",
433
- internalType: "bytes32",
434
- },
435
- {
436
- name: "operator",
437
- type: "address",
438
- internalType: "address",
439
- },
440
- ],
441
- outputs: [
442
- {
443
- name: "",
444
- type: "bool",
445
- internalType: "bool",
446
- },
447
- ],
448
- stateMutability: "view",
449
- },
450
- {
451
- type: "function",
452
- name: "mintWithSignature",
453
- inputs: [
454
- {
455
- name: "_req",
456
- type: "tuple",
457
- internalType: "struct AnchorDataTypes.MintRequest",
458
- components: [
459
- {
460
- name: "to",
461
- type: "address",
462
- internalType: "address",
463
- },
464
- {
465
- name: "tokenId",
466
- type: "uint256",
467
- internalType: "uint256",
468
- },
469
- {
470
- name: "quantity",
471
- type: "uint256",
472
- internalType: "uint256",
473
- },
474
- {
475
- name: "price",
476
- type: "uint256",
477
- internalType: "uint256",
478
- },
479
- {
480
- name: "currency",
481
- type: "address",
482
- internalType: "address",
483
- },
484
- {
485
- name: "validityStartTimestamp",
486
- type: "uint128",
487
- internalType: "uint128",
488
- },
489
- {
490
- name: "validityEndTimestamp",
491
- type: "uint128",
492
- internalType: "uint128",
493
- },
494
- {
495
- name: "uid",
496
- type: "bytes32",
497
- internalType: "bytes32",
498
- },
499
- {
500
- name: "chainId",
501
- type: "uint256",
502
- internalType: "uint256",
503
- },
504
- {
505
- name: "projectHandle",
506
- type: "bytes32",
507
- internalType: "bytes32",
508
- },
509
- ],
510
- },
511
- {
512
- name: "_signature",
513
- type: "bytes",
514
- internalType: "bytes",
515
- },
516
- ],
517
- outputs: [
518
- {
519
- name: "signer",
520
- type: "address",
521
- internalType: "address",
522
- },
523
- ],
524
- stateMutability: "payable",
525
- },
526
- {
527
- type: "function",
528
- name: "multicall",
529
- inputs: [
530
- {
531
- name: "data",
532
- type: "bytes[]",
533
- internalType: "bytes[]",
534
- },
535
- ],
536
- outputs: [
537
- {
538
- name: "results",
539
- type: "bytes[]",
540
- internalType: "bytes[]",
541
- },
542
- ],
543
- stateMutability: "nonpayable",
544
- },
545
- {
546
- type: "function",
547
- name: "name",
548
- inputs: [],
549
- outputs: [
550
- {
551
- name: "",
552
- type: "string",
553
- internalType: "string",
554
- },
555
- ],
556
- stateMutability: "view",
557
- },
558
- {
559
- type: "function",
560
- name: "nextTokenIdToMint",
561
- inputs: [],
562
- outputs: [
563
- {
564
- name: "",
565
- type: "uint256",
566
- internalType: "uint256",
567
- },
568
- ],
569
- stateMutability: "view",
570
- },
571
- {
572
- type: "function",
573
- name: "owner",
574
- inputs: [],
575
- outputs: [
576
- {
577
- name: "",
578
- type: "address",
579
- internalType: "address",
580
- },
581
- ],
582
- stateMutability: "view",
583
- },
584
- {
585
- type: "function",
586
- name: "projectTotalSupply",
587
- inputs: [
588
- {
589
- name: "projectHandle",
590
- type: "bytes32",
591
- internalType: "bytes32",
592
- },
593
- ],
594
- outputs: [
595
- {
596
- name: "",
597
- type: "uint256",
598
- internalType: "uint256",
599
- },
600
- ],
601
- stateMutability: "view",
602
- },
603
- {
604
- type: "function",
605
- name: "proxiableUUID",
606
- inputs: [],
607
- outputs: [
608
- {
609
- name: "",
610
- type: "bytes32",
611
- internalType: "bytes32",
612
- },
613
- ],
614
- stateMutability: "view",
615
- },
616
- {
617
- type: "function",
618
- name: "renounceRole",
619
- inputs: [
620
- {
621
- name: "role",
622
- type: "bytes32",
623
- internalType: "bytes32",
624
- },
625
- {
626
- name: "callerConfirmation",
627
- type: "address",
628
- internalType: "address",
629
- },
630
- ],
631
- outputs: [],
632
- stateMutability: "nonpayable",
633
- },
634
- {
635
- type: "function",
636
- name: "revokeProjectOperator",
637
- inputs: [
638
- {
639
- name: "projectHandle",
640
- type: "bytes32",
641
- internalType: "bytes32",
642
- },
643
- {
644
- name: "operator",
645
- type: "address",
646
- internalType: "address",
647
- },
648
- ],
649
- outputs: [],
650
- stateMutability: "nonpayable",
651
- },
652
- {
653
- type: "function",
654
- name: "revokeRole",
655
- inputs: [
656
- {
657
- name: "role",
658
- type: "bytes32",
659
- internalType: "bytes32",
660
- },
661
- {
662
- name: "account",
663
- type: "address",
664
- internalType: "address",
665
- },
666
- ],
667
- outputs: [],
668
- stateMutability: "nonpayable",
669
- },
670
- {
671
- type: "function",
672
- name: "safeBatchTransferFrom",
673
- inputs: [
674
- {
675
- name: "from",
676
- type: "address",
677
- internalType: "address",
678
- },
679
- {
680
- name: "to",
681
- type: "address",
682
- internalType: "address",
683
- },
684
- {
685
- name: "ids",
686
- type: "uint256[]",
687
- internalType: "uint256[]",
688
- },
689
- {
690
- name: "values",
691
- type: "uint256[]",
692
- internalType: "uint256[]",
693
- },
694
- {
695
- name: "data",
696
- type: "bytes",
697
- internalType: "bytes",
698
- },
699
- ],
700
- outputs: [],
701
- stateMutability: "nonpayable",
702
- },
703
- {
704
- type: "function",
705
- name: "safeTransferFrom",
706
- inputs: [
707
- {
708
- name: "from",
709
- type: "address",
710
- internalType: "address",
711
- },
712
- {
713
- name: "to",
714
- type: "address",
715
- internalType: "address",
716
- },
717
- {
718
- name: "id",
719
- type: "uint256",
720
- internalType: "uint256",
721
- },
722
- {
723
- name: "value",
724
- type: "uint256",
725
- internalType: "uint256",
726
- },
727
- {
728
- name: "data",
729
- type: "bytes",
730
- internalType: "bytes",
731
- },
732
- ],
733
- outputs: [],
734
- stateMutability: "nonpayable",
735
- },
736
- {
737
- type: "function",
738
- name: "setApprovalForAll",
739
- inputs: [
740
- {
741
- name: "operator",
742
- type: "address",
743
- internalType: "address",
744
- },
745
- {
746
- name: "approved",
747
- type: "bool",
748
- internalType: "bool",
749
- },
750
- ],
751
- outputs: [],
752
- stateMutability: "nonpayable",
753
- },
754
- {
755
- type: "function",
756
- name: "setMaxSupply",
757
- inputs: [
758
- {
759
- name: "_tokenId",
760
- type: "uint256",
761
- internalType: "uint256",
762
- },
763
- {
764
- name: "_maxSupply",
765
- type: "uint256",
766
- internalType: "uint256",
767
- },
768
- ],
769
- outputs: [],
770
- stateMutability: "nonpayable",
771
- },
772
- {
773
- type: "function",
774
- name: "setRegistry",
775
- inputs: [
776
- {
777
- name: "registry",
778
- type: "address",
779
- internalType: "address",
780
- },
781
- ],
782
- outputs: [],
783
- stateMutability: "nonpayable",
784
- },
785
- {
786
- type: "function",
787
- name: "setURIs",
788
- inputs: [
789
- {
790
- name: "_tokenIds",
791
- type: "uint256[]",
792
- internalType: "uint256[]",
793
- },
794
- {
795
- name: "_tokenURIs",
796
- type: "string[]",
797
- internalType: "string[]",
798
- },
799
- ],
800
- outputs: [],
801
- stateMutability: "nonpayable",
802
- },
803
- {
804
- type: "function",
805
- name: "setup",
806
- inputs: [
807
- {
808
- name: "_name",
809
- type: "string",
810
- internalType: "string",
811
- },
812
- {
813
- name: "_symbol",
814
- type: "string",
815
- internalType: "string",
816
- },
817
- ],
818
- outputs: [],
819
- stateMutability: "nonpayable",
820
- },
821
- {
822
- type: "function",
823
- name: "supportsInterface",
824
- inputs: [
825
- {
826
- name: "interfaceId",
827
- type: "bytes4",
828
- internalType: "bytes4",
829
- },
830
- ],
831
- outputs: [
832
- {
833
- name: "",
834
- type: "bool",
835
- internalType: "bool",
836
- },
837
- ],
838
- stateMutability: "pure",
839
- },
840
- {
841
- type: "function",
842
- name: "symbol",
843
- inputs: [],
844
- outputs: [
845
- {
846
- name: "",
847
- type: "string",
848
- internalType: "string",
849
- },
850
- ],
851
- stateMutability: "view",
852
- },
853
- {
854
- type: "function",
855
- name: "tokenReceived",
856
- inputs: [
857
- {
858
- name: "token",
859
- type: "address",
860
- internalType: "address",
861
- },
862
- {
863
- name: "from",
864
- type: "address",
865
- internalType: "address",
866
- },
867
- {
868
- name: "to",
869
- type: "address",
870
- internalType: "address",
871
- },
872
- {
873
- name: "amount",
874
- type: "uint256",
875
- internalType: "uint256",
876
- },
877
- {
878
- name: "userData",
879
- type: "bytes",
880
- internalType: "bytes",
881
- },
882
- ],
883
- outputs: [],
884
- stateMutability: "nonpayable",
885
- },
886
- {
887
- type: "function",
888
- name: "totalSupply",
889
- inputs: [],
890
- outputs: [
891
- {
892
- name: "",
893
- type: "uint256",
894
- internalType: "uint256",
895
- },
896
- ],
897
- stateMutability: "view",
898
- },
899
- {
900
- type: "function",
901
- name: "totalSupply",
902
- inputs: [
903
- {
904
- name: "id",
905
- type: "uint256",
906
- internalType: "uint256",
907
- },
908
- ],
909
- outputs: [
910
- {
911
- name: "",
912
- type: "uint256",
913
- internalType: "uint256",
914
- },
915
- ],
916
- stateMutability: "view",
917
- },
918
- {
919
- type: "function",
920
- name: "upgradeTo",
921
- inputs: [
922
- {
923
- name: "newImplementation",
924
- type: "address",
925
- internalType: "address",
926
- },
927
- ],
928
- outputs: [],
929
- stateMutability: "nonpayable",
930
- },
931
- {
932
- type: "function",
933
- name: "upgradeToAndCall",
934
- inputs: [
935
- {
936
- name: "newImplementation",
937
- type: "address",
938
- internalType: "address",
939
- },
940
- {
941
- name: "data",
942
- type: "bytes",
943
- internalType: "bytes",
944
- },
945
- ],
946
- outputs: [],
947
- stateMutability: "payable",
948
- },
949
- {
950
- type: "function",
951
- name: "uri",
952
- inputs: [
953
- {
954
- name: "tokenId",
955
- type: "uint256",
956
- internalType: "uint256",
957
- },
958
- ],
959
- outputs: [
960
- {
961
- name: "",
962
- type: "string",
963
- internalType: "string",
964
- },
965
- ],
966
- stateMutability: "view",
967
- },
968
- {
969
- type: "function",
970
- name: "version",
971
- inputs: [],
972
- outputs: [
973
- {
974
- name: "",
975
- type: "string",
976
- internalType: "string",
977
- },
978
- ],
979
- stateMutability: "view",
980
- },
981
- {
982
- type: "event",
983
- name: "AnchorInitialized",
984
- inputs: [
985
- {
986
- name: "timestamp",
987
- type: "uint64",
988
- indexed: false,
989
- internalType: "uint64",
990
- },
991
- ],
992
- anonymous: false,
993
- },
994
- {
995
- type: "event",
996
- name: "ApprovalForAll",
997
- inputs: [
998
- {
999
- name: "account",
1000
- type: "address",
1001
- indexed: true,
1002
- internalType: "address",
1003
- },
1004
- {
1005
- name: "operator",
1006
- type: "address",
1007
- indexed: true,
1008
- internalType: "address",
1009
- },
1010
- {
1011
- name: "approved",
1012
- type: "bool",
1013
- indexed: false,
1014
- internalType: "bool",
1015
- },
1016
- ],
1017
- anonymous: false,
1018
- },
1019
- {
1020
- type: "event",
1021
- name: "BatchBurned",
1022
- inputs: [
1023
- {
1024
- name: "from",
1025
- type: "address",
1026
- indexed: true,
1027
- internalType: "address",
1028
- },
1029
- {
1030
- name: "tokenIds",
1031
- type: "uint256[]",
1032
- indexed: false,
1033
- internalType: "uint256[]",
1034
- },
1035
- {
1036
- name: "values",
1037
- type: "uint256[]",
1038
- indexed: false,
1039
- internalType: "uint256[]",
1040
- },
1041
- {
1042
- name: "timestamp",
1043
- type: "uint64",
1044
- indexed: false,
1045
- internalType: "uint64",
1046
- },
1047
- ],
1048
- anonymous: false,
1049
- },
1050
- {
1051
- type: "event",
1052
- name: "BatchCreated",
1053
- inputs: [
1054
- {
1055
- name: "projectHandle",
1056
- type: "bytes32",
1057
- indexed: true,
1058
- internalType: "bytes32",
1059
- },
1060
- {
1061
- name: "to",
1062
- type: "address",
1063
- indexed: true,
1064
- internalType: "address",
1065
- },
1066
- {
1067
- name: "tokenIds",
1068
- type: "uint256[]",
1069
- indexed: false,
1070
- internalType: "uint256[]",
1071
- },
1072
- {
1073
- name: "projectTokenIds",
1074
- type: "uint256[]",
1075
- indexed: false,
1076
- internalType: "uint256[]",
1077
- },
1078
- {
1079
- name: "tokenURIs",
1080
- type: "string[]",
1081
- indexed: false,
1082
- internalType: "string[]",
1083
- },
1084
- {
1085
- name: "maxSupply",
1086
- type: "uint256[]",
1087
- indexed: false,
1088
- internalType: "uint256[]",
1089
- },
1090
- {
1091
- name: "timestamp",
1092
- type: "uint64",
1093
- indexed: false,
1094
- internalType: "uint64",
1095
- },
1096
- ],
1097
- anonymous: false,
1098
- },
1099
- {
1100
- type: "event",
1101
- name: "BatchURI",
1102
- inputs: [
1103
- {
1104
- name: "tokenIds",
1105
- type: "uint256[]",
1106
- indexed: false,
1107
- internalType: "uint256[]",
1108
- },
1109
- {
1110
- name: "tokenURIs",
1111
- type: "string[]",
1112
- indexed: false,
1113
- internalType: "string[]",
1114
- },
1115
- {
1116
- name: "timestamp",
1117
- type: "uint64",
1118
- indexed: false,
1119
- internalType: "uint64",
1120
- },
1121
- ],
1122
- anonymous: false,
1123
- },
1124
- {
1125
- type: "event",
1126
- name: "EIP712DomainChanged",
1127
- inputs: [],
1128
- anonymous: false,
1129
- },
1130
- {
1131
- type: "event",
1132
- name: "Initialized",
1133
- inputs: [
1134
- {
1135
- name: "version",
1136
- type: "uint64",
1137
- indexed: false,
1138
- internalType: "uint64",
1139
- },
1140
- ],
1141
- anonymous: false,
1142
- },
1143
- {
1144
- type: "event",
1145
- name: "MaxSupplyUpdated",
1146
- inputs: [
1147
- {
1148
- name: "tokenId",
1149
- type: "uint256",
1150
- indexed: false,
1151
- internalType: "uint256",
1152
- },
1153
- {
1154
- name: "maxSupply",
1155
- type: "uint256",
1156
- indexed: false,
1157
- internalType: "uint256",
1158
- },
1159
- ],
1160
- anonymous: false,
1161
- },
1162
- {
1163
- type: "event",
1164
- name: "Minted",
1165
- inputs: [
1166
- {
1167
- name: "projectHandle",
1168
- type: "bytes32",
1169
- indexed: true,
1170
- internalType: "bytes32",
1171
- },
1172
- {
1173
- name: "to",
1174
- type: "address",
1175
- indexed: true,
1176
- internalType: "address",
1177
- },
1178
- {
1179
- name: "tokenId",
1180
- type: "uint256",
1181
- indexed: true,
1182
- internalType: "uint256",
1183
- },
1184
- {
1185
- name: "quantity",
1186
- type: "uint256",
1187
- indexed: false,
1188
- internalType: "uint256",
1189
- },
1190
- {
1191
- name: "price",
1192
- type: "uint256",
1193
- indexed: false,
1194
- internalType: "uint256",
1195
- },
1196
- {
1197
- name: "currency",
1198
- type: "address",
1199
- indexed: false,
1200
- internalType: "address",
1201
- },
1202
- {
1203
- name: "uid",
1204
- type: "bytes32",
1205
- indexed: false,
1206
- internalType: "bytes32",
1207
- },
1208
- {
1209
- name: "timestamp",
1210
- type: "uint64",
1211
- indexed: false,
1212
- internalType: "uint64",
1213
- },
1214
- ],
1215
- anonymous: false,
1216
- },
1217
- {
1218
- type: "event",
1219
- name: "ProjectOperatorGranted",
1220
- inputs: [
1221
- {
1222
- name: "projectHandle",
1223
- type: "bytes32",
1224
- indexed: true,
1225
- internalType: "bytes32",
1226
- },
1227
- {
1228
- name: "operator",
1229
- type: "address",
1230
- indexed: true,
1231
- internalType: "address",
1232
- },
1233
- {
1234
- name: "timestamp",
1235
- type: "uint64",
1236
- indexed: false,
1237
- internalType: "uint64",
1238
- },
1239
- ],
1240
- anonymous: false,
1241
- },
1242
- {
1243
- type: "event",
1244
- name: "ProjectOperatorRevoked",
1245
- inputs: [
1246
- {
1247
- name: "projectHandle",
1248
- type: "bytes32",
1249
- indexed: true,
1250
- internalType: "bytes32",
1251
- },
1252
- {
1253
- name: "operator",
1254
- type: "address",
1255
- indexed: true,
1256
- internalType: "address",
1257
- },
1258
- {
1259
- name: "timestamp",
1260
- type: "uint64",
1261
- indexed: false,
1262
- internalType: "uint64",
1263
- },
1264
- ],
1265
- anonymous: false,
1266
- },
1267
- {
1268
- type: "event",
1269
- name: "RoleAdminChanged",
1270
- inputs: [
1271
- {
1272
- name: "role",
1273
- type: "bytes32",
1274
- indexed: true,
1275
- internalType: "bytes32",
1276
- },
1277
- {
1278
- name: "previousAdminRole",
1279
- type: "bytes32",
1280
- indexed: true,
1281
- internalType: "bytes32",
1282
- },
1283
- {
1284
- name: "newAdminRole",
1285
- type: "bytes32",
1286
- indexed: true,
1287
- internalType: "bytes32",
1288
- },
1289
- ],
1290
- anonymous: false,
1291
- },
1292
- {
1293
- type: "event",
1294
- name: "RoleGranted",
1295
- inputs: [
1296
- {
1297
- name: "role",
1298
- type: "bytes32",
1299
- indexed: true,
1300
- internalType: "bytes32",
1301
- },
1302
- {
1303
- name: "account",
1304
- type: "address",
1305
- indexed: true,
1306
- internalType: "address",
1307
- },
1308
- {
1309
- name: "sender",
1310
- type: "address",
1311
- indexed: true,
1312
- internalType: "address",
1313
- },
1314
- ],
1315
- anonymous: false,
1316
- },
1317
- {
1318
- type: "event",
1319
- name: "RoleRevoked",
1320
- inputs: [
1321
- {
1322
- name: "role",
1323
- type: "bytes32",
1324
- indexed: true,
1325
- internalType: "bytes32",
1326
- },
1327
- {
1328
- name: "account",
1329
- type: "address",
1330
- indexed: true,
1331
- internalType: "address",
1332
- },
1333
- {
1334
- name: "sender",
1335
- type: "address",
1336
- indexed: true,
1337
- internalType: "address",
1338
- },
1339
- ],
1340
- anonymous: false,
1341
- },
1342
- {
1343
- type: "event",
1344
- name: "TransferBatch",
1345
- inputs: [
1346
- {
1347
- name: "operator",
1348
- type: "address",
1349
- indexed: true,
1350
- internalType: "address",
1351
- },
1352
- {
1353
- name: "from",
1354
- type: "address",
1355
- indexed: true,
1356
- internalType: "address",
1357
- },
1358
- {
1359
- name: "to",
1360
- type: "address",
1361
- indexed: true,
1362
- internalType: "address",
1363
- },
1364
- {
1365
- name: "ids",
1366
- type: "uint256[]",
1367
- indexed: false,
1368
- internalType: "uint256[]",
1369
- },
1370
- {
1371
- name: "values",
1372
- type: "uint256[]",
1373
- indexed: false,
1374
- internalType: "uint256[]",
1375
- },
1376
- ],
1377
- anonymous: false,
1378
- },
1379
- {
1380
- type: "event",
1381
- name: "TransferSingle",
1382
- inputs: [
1383
- {
1384
- name: "operator",
1385
- type: "address",
1386
- indexed: true,
1387
- internalType: "address",
1388
- },
1389
- {
1390
- name: "from",
1391
- type: "address",
1392
- indexed: true,
1393
- internalType: "address",
1394
- },
1395
- {
1396
- name: "to",
1397
- type: "address",
1398
- indexed: true,
1399
- internalType: "address",
1400
- },
1401
- {
1402
- name: "id",
1403
- type: "uint256",
1404
- indexed: false,
1405
- internalType: "uint256",
1406
- },
1407
- {
1408
- name: "value",
1409
- type: "uint256",
1410
- indexed: false,
1411
- internalType: "uint256",
1412
- },
1413
- ],
1414
- anonymous: false,
1415
- },
1416
- {
1417
- type: "event",
1418
- name: "URI",
1419
- inputs: [
1420
- {
1421
- name: "value",
1422
- type: "string",
1423
- indexed: false,
1424
- internalType: "string",
1425
- },
1426
- {
1427
- name: "id",
1428
- type: "uint256",
1429
- indexed: true,
1430
- internalType: "uint256",
1431
- },
1432
- ],
1433
- anonymous: false,
1434
- },
1435
- {
1436
- type: "event",
1437
- name: "Upgraded",
1438
- inputs: [
1439
- {
1440
- name: "implementation",
1441
- type: "address",
1442
- indexed: true,
1443
- internalType: "address",
1444
- },
1445
- ],
1446
- anonymous: false,
1447
- },
1448
- {
1449
- type: "error",
1450
- name: "AccessControlBadConfirmation",
1451
- inputs: [],
1452
- },
1453
- {
1454
- type: "error",
1455
- name: "AccessControlUnauthorizedAccount",
1456
- inputs: [
1457
- {
1458
- name: "account",
1459
- type: "address",
1460
- internalType: "address",
1461
- },
1462
- {
1463
- name: "neededRole",
1464
- type: "bytes32",
1465
- internalType: "bytes32",
1466
- },
1467
- ],
1468
- },
1469
- {
1470
- type: "error",
1471
- name: "AddressEmptyCode",
1472
- inputs: [
1473
- {
1474
- name: "target",
1475
- type: "address",
1476
- internalType: "address",
1477
- },
1478
- ],
1479
- },
1480
- {
1481
- type: "error",
1482
- name: "AddressNotSet",
1483
- inputs: [],
1484
- },
1485
- {
1486
- type: "error",
1487
- name: "ArrayLengthMismatch",
1488
- inputs: [],
1489
- },
1490
- {
1491
- type: "error",
1492
- name: "ECDSAInvalidSignature",
1493
- inputs: [],
1494
- },
1495
- {
1496
- type: "error",
1497
- name: "ECDSAInvalidSignatureLength",
1498
- inputs: [
1499
- {
1500
- name: "length",
1501
- type: "uint256",
1502
- internalType: "uint256",
1503
- },
1504
- ],
1505
- },
1506
- {
1507
- type: "error",
1508
- name: "ECDSAInvalidSignatureS",
1509
- inputs: [
1510
- {
1511
- name: "s",
1512
- type: "bytes32",
1513
- internalType: "bytes32",
1514
- },
1515
- ],
1516
- },
1517
- {
1518
- type: "error",
1519
- name: "ERC1155InsufficientBalance",
1520
- inputs: [
1521
- {
1522
- name: "sender",
1523
- type: "address",
1524
- internalType: "address",
1525
- },
1526
- {
1527
- name: "balance",
1528
- type: "uint256",
1529
- internalType: "uint256",
1530
- },
1531
- {
1532
- name: "needed",
1533
- type: "uint256",
1534
- internalType: "uint256",
1535
- },
1536
- {
1537
- name: "tokenId",
1538
- type: "uint256",
1539
- internalType: "uint256",
1540
- },
1541
- ],
1542
- },
1543
- {
1544
- type: "error",
1545
- name: "ERC1155InvalidApprover",
1546
- inputs: [
1547
- {
1548
- name: "approver",
1549
- type: "address",
1550
- internalType: "address",
1551
- },
1552
- ],
1553
- },
1554
- {
1555
- type: "error",
1556
- name: "ERC1155InvalidArrayLength",
1557
- inputs: [
1558
- {
1559
- name: "idsLength",
1560
- type: "uint256",
1561
- internalType: "uint256",
1562
- },
1563
- {
1564
- name: "valuesLength",
1565
- type: "uint256",
1566
- internalType: "uint256",
1567
- },
1568
- ],
1569
- },
1570
- {
1571
- type: "error",
1572
- name: "ERC1155InvalidOperator",
1573
- inputs: [
1574
- {
1575
- name: "operator",
1576
- type: "address",
1577
- internalType: "address",
1578
- },
1579
- ],
1580
- },
1581
- {
1582
- type: "error",
1583
- name: "ERC1155InvalidReceiver",
1584
- inputs: [
1585
- {
1586
- name: "receiver",
1587
- type: "address",
1588
- internalType: "address",
1589
- },
1590
- ],
1591
- },
1592
- {
1593
- type: "error",
1594
- name: "ERC1155InvalidSender",
1595
- inputs: [
1596
- {
1597
- name: "sender",
1598
- type: "address",
1599
- internalType: "address",
1600
- },
1601
- ],
1602
- },
1603
- {
1604
- type: "error",
1605
- name: "ERC1155MissingApprovalForAll",
1606
- inputs: [
1607
- {
1608
- name: "operator",
1609
- type: "address",
1610
- internalType: "address",
1611
- },
1612
- {
1613
- name: "owner",
1614
- type: "address",
1615
- internalType: "address",
1616
- },
1617
- ],
1618
- },
1619
- {
1620
- type: "error",
1621
- name: "ERC1967InvalidImplementation",
1622
- inputs: [
1623
- {
1624
- name: "implementation",
1625
- type: "address",
1626
- internalType: "address",
1627
- },
1628
- ],
1629
- },
1630
- {
1631
- type: "error",
1632
- name: "ERC1967NonPayable",
1633
- inputs: [],
1634
- },
1635
- {
1636
- type: "error",
1637
- name: "EmptyArray",
1638
- inputs: [],
1639
- },
1640
- {
1641
- type: "error",
1642
- name: "FailedCall",
1643
- inputs: [],
1644
- },
1645
- {
1646
- type: "error",
1647
- name: "InvalidChainId",
1648
- inputs: [],
1649
- },
1650
- {
1651
- type: "error",
1652
- name: "InvalidInitialization",
1653
- inputs: [],
1654
- },
1655
- {
1656
- type: "error",
1657
- name: "InvalidParameter",
1658
- inputs: [],
1659
- },
1660
- {
1661
- type: "error",
1662
- name: "InvalidPayment",
1663
- inputs: [],
1664
- },
1665
- {
1666
- type: "error",
1667
- name: "InvalidReceiver",
1668
- inputs: [],
1669
- },
1670
- {
1671
- type: "error",
1672
- name: "InvalidRegistry",
1673
- inputs: [],
1674
- },
1675
- {
1676
- type: "error",
1677
- name: "InvalidSignature",
1678
- inputs: [],
1679
- },
1680
- {
1681
- type: "error",
1682
- name: "InvalidTokenId",
1683
- inputs: [],
1684
- },
1685
- {
1686
- type: "error",
1687
- name: "MaxSupplyExceeded",
1688
- inputs: [],
1689
- },
1690
- {
1691
- type: "error",
1692
- name: "NonTransferableToken",
1693
- inputs: [],
1694
- },
1695
- {
1696
- type: "error",
1697
- name: "NotInitializing",
1698
- inputs: [],
1699
- },
1700
- {
1701
- type: "error",
1702
- name: "NotProjectOperator",
1703
- inputs: [],
1704
- },
1705
- {
1706
- type: "error",
1707
- name: "PaymentRequired",
1708
- inputs: [],
1709
- },
1710
- {
1711
- type: "error",
1712
- name: "ProjectHandleZero",
1713
- inputs: [],
1714
- },
1715
- {
1716
- type: "error",
1717
- name: "RecipientUndefined",
1718
- inputs: [],
1719
- },
1720
- {
1721
- type: "error",
1722
- name: "ReentrancyGuardReentrantCall",
1723
- inputs: [],
1724
- },
1725
- {
1726
- type: "error",
1727
- name: "SignatureExpired",
1728
- inputs: [],
1729
- },
1730
- {
1731
- type: "error",
1732
- name: "UUPSUnauthorizedCallContext",
1733
- inputs: [],
1734
- },
1735
- {
1736
- type: "error",
1737
- name: "UUPSUnsupportedProxiableUUID",
1738
- inputs: [
1739
- {
1740
- name: "slot",
1741
- type: "bytes32",
1742
- internalType: "bytes32",
1743
- },
1744
- ],
1745
- },
1746
- {
1747
- type: "error",
1748
- name: "Unauthorized",
1749
- inputs: [],
1750
- },
1751
- {
1752
- type: "error",
1753
- name: "ZeroQuantity",
1754
- inputs: [],
1755
- },
1756
- ];
1757
- class AnchorERC1155__factory {
1758
- static createInterface() {
1759
- return new ethers_1.Interface(_abi);
1760
- }
1761
- static connect(address, runner) {
1762
- return new ethers_1.Contract(address, _abi, runner);
1763
- }
1764
- }
1765
- exports.AnchorERC1155__factory = AnchorERC1155__factory;
1766
- AnchorERC1155__factory.abi = _abi;