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