@inkd/sdk 0.9.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.
Files changed (106) hide show
  1. package/README.md +288 -0
  2. package/dist/InkdClient.d.ts +89 -0
  3. package/dist/InkdClient.d.ts.map +1 -0
  4. package/dist/InkdClient.js +398 -0
  5. package/dist/InkdClient.js.map +1 -0
  6. package/dist/ProjectRegistry.d.ts +655 -0
  7. package/dist/ProjectRegistry.d.ts.map +1 -0
  8. package/dist/ProjectRegistry.js +708 -0
  9. package/dist/ProjectRegistry.js.map +1 -0
  10. package/dist/__tests__/InkdClient.advanced.test.d.ts +10 -0
  11. package/dist/__tests__/InkdClient.advanced.test.d.ts.map +1 -0
  12. package/dist/__tests__/InkdClient.advanced.test.js +588 -0
  13. package/dist/__tests__/InkdClient.advanced.test.js.map +1 -0
  14. package/dist/__tests__/InkdClient.connectArweave.test.d.ts +10 -0
  15. package/dist/__tests__/InkdClient.connectArweave.test.d.ts.map +1 -0
  16. package/dist/__tests__/InkdClient.connectArweave.test.js +132 -0
  17. package/dist/__tests__/InkdClient.connectArweave.test.js.map +1 -0
  18. package/dist/__tests__/InkdClient.test.d.ts +2 -0
  19. package/dist/__tests__/InkdClient.test.d.ts.map +1 -0
  20. package/dist/__tests__/InkdClient.test.js +259 -0
  21. package/dist/__tests__/InkdClient.test.js.map +1 -0
  22. package/dist/__tests__/ProjectRegistry.test.d.ts +8 -0
  23. package/dist/__tests__/ProjectRegistry.test.d.ts.map +1 -0
  24. package/dist/__tests__/ProjectRegistry.test.js +689 -0
  25. package/dist/__tests__/ProjectRegistry.test.js.map +1 -0
  26. package/dist/__tests__/arweave.test.d.ts +9 -0
  27. package/dist/__tests__/arweave.test.d.ts.map +1 -0
  28. package/dist/__tests__/arweave.test.js +353 -0
  29. package/dist/__tests__/arweave.test.js.map +1 -0
  30. package/dist/__tests__/encryption.test.d.ts +2 -0
  31. package/dist/__tests__/encryption.test.d.ts.map +1 -0
  32. package/dist/__tests__/encryption.test.js +154 -0
  33. package/dist/__tests__/encryption.test.js.map +1 -0
  34. package/dist/__tests__/errors.test.d.ts +2 -0
  35. package/dist/__tests__/errors.test.d.ts.map +1 -0
  36. package/dist/__tests__/errors.test.js +136 -0
  37. package/dist/__tests__/errors.test.js.map +1 -0
  38. package/dist/__tests__/events.test.d.ts +10 -0
  39. package/dist/__tests__/events.test.d.ts.map +1 -0
  40. package/dist/__tests__/events.test.js +380 -0
  41. package/dist/__tests__/events.test.js.map +1 -0
  42. package/dist/__tests__/index.InkdClient.test.d.ts +8 -0
  43. package/dist/__tests__/index.InkdClient.test.d.ts.map +1 -0
  44. package/dist/__tests__/index.InkdClient.test.js +422 -0
  45. package/dist/__tests__/index.InkdClient.test.js.map +1 -0
  46. package/dist/__tests__/multicall.test.d.ts +9 -0
  47. package/dist/__tests__/multicall.test.d.ts.map +1 -0
  48. package/dist/__tests__/multicall.test.js +362 -0
  49. package/dist/__tests__/multicall.test.js.map +1 -0
  50. package/dist/__tests__/types.test.d.ts +2 -0
  51. package/dist/__tests__/types.test.d.ts.map +1 -0
  52. package/dist/__tests__/types.test.js +35 -0
  53. package/dist/__tests__/types.test.js.map +1 -0
  54. package/dist/abi.d.ts +2632 -0
  55. package/dist/abi.d.ts.map +1 -0
  56. package/dist/abi.js +3423 -0
  57. package/dist/abi.js.map +1 -0
  58. package/dist/arweave.d.ts +45 -0
  59. package/dist/arweave.d.ts.map +1 -0
  60. package/dist/arweave.js +154 -0
  61. package/dist/arweave.js.map +1 -0
  62. package/dist/encryption.d.ts +52 -0
  63. package/dist/encryption.d.ts.map +1 -0
  64. package/dist/encryption.js +80 -0
  65. package/dist/encryption.js.map +1 -0
  66. package/dist/errors.d.ts +63 -0
  67. package/dist/errors.d.ts.map +1 -0
  68. package/dist/errors.js +124 -0
  69. package/dist/errors.js.map +1 -0
  70. package/dist/events.d.ts +136 -0
  71. package/dist/events.d.ts.map +1 -0
  72. package/dist/events.js +131 -0
  73. package/dist/events.js.map +1 -0
  74. package/dist/hooks/index.d.ts +5 -0
  75. package/dist/hooks/index.d.ts.map +1 -0
  76. package/dist/hooks/index.js +12 -0
  77. package/dist/hooks/index.js.map +1 -0
  78. package/dist/hooks/useInkd.d.ts +24 -0
  79. package/dist/hooks/useInkd.d.ts.map +1 -0
  80. package/dist/hooks/useInkd.js +109 -0
  81. package/dist/hooks/useInkd.js.map +1 -0
  82. package/dist/hooks/useInkdHolder.d.ts +16 -0
  83. package/dist/hooks/useInkdHolder.d.ts.map +1 -0
  84. package/dist/hooks/useInkdHolder.js +45 -0
  85. package/dist/hooks/useInkdHolder.js.map +1 -0
  86. package/dist/hooks/useInscriptions.d.ts +17 -0
  87. package/dist/hooks/useInscriptions.d.ts.map +1 -0
  88. package/dist/hooks/useInscriptions.js +46 -0
  89. package/dist/hooks/useInscriptions.js.map +1 -0
  90. package/dist/hooks/useToken.d.ts +16 -0
  91. package/dist/hooks/useToken.d.ts.map +1 -0
  92. package/dist/hooks/useToken.js +45 -0
  93. package/dist/hooks/useToken.js.map +1 -0
  94. package/dist/index.d.ts +54 -0
  95. package/dist/index.d.ts.map +1 -0
  96. package/dist/index.js +290 -0
  97. package/dist/index.js.map +1 -0
  98. package/dist/multicall.d.ts +134 -0
  99. package/dist/multicall.d.ts.map +1 -0
  100. package/dist/multicall.js +182 -0
  101. package/dist/multicall.js.map +1 -0
  102. package/dist/types.d.ts +187 -0
  103. package/dist/types.d.ts.map +1 -0
  104. package/dist/types.js +32 -0
  105. package/dist/types.js.map +1 -0
  106. package/package.json +78 -0
package/dist/abi.js ADDED
@@ -0,0 +1,3423 @@
1
+ "use strict";
2
+ /**
3
+ * @file abi.ts
4
+ * @description Contract ABIs for InkdToken, InkdVault, and InkdRegistry.
5
+ * Auto-generated from compiled Foundry artifacts. Do not edit manually.
6
+ * Regenerate with: `node scripts/extract-abi.js`
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.INKD_REGISTRY_ABI = exports.INKD_VAULT_ABI = exports.INKD_TOKEN_ABI = void 0;
10
+ exports.INKD_TOKEN_ABI = [
11
+ {
12
+ "type": "function",
13
+ "name": "MAX_BATCH_SIZE",
14
+ "inputs": [],
15
+ "outputs": [
16
+ {
17
+ "name": "",
18
+ "type": "uint256",
19
+ "internalType": "uint256"
20
+ }
21
+ ],
22
+ "stateMutability": "view"
23
+ },
24
+ {
25
+ "type": "function",
26
+ "name": "MAX_SUPPLY",
27
+ "inputs": [],
28
+ "outputs": [
29
+ {
30
+ "name": "",
31
+ "type": "uint256",
32
+ "internalType": "uint256"
33
+ }
34
+ ],
35
+ "stateMutability": "view"
36
+ },
37
+ {
38
+ "type": "function",
39
+ "name": "UPGRADE_INTERFACE_VERSION",
40
+ "inputs": [],
41
+ "outputs": [
42
+ {
43
+ "name": "",
44
+ "type": "string",
45
+ "internalType": "string"
46
+ }
47
+ ],
48
+ "stateMutability": "view"
49
+ },
50
+ {
51
+ "type": "function",
52
+ "name": "approve",
53
+ "inputs": [
54
+ {
55
+ "name": "to",
56
+ "type": "address",
57
+ "internalType": "address"
58
+ },
59
+ {
60
+ "name": "tokenId",
61
+ "type": "uint256",
62
+ "internalType": "uint256"
63
+ }
64
+ ],
65
+ "outputs": [],
66
+ "stateMutability": "nonpayable"
67
+ },
68
+ {
69
+ "type": "function",
70
+ "name": "balanceOf",
71
+ "inputs": [
72
+ {
73
+ "name": "owner",
74
+ "type": "address",
75
+ "internalType": "address"
76
+ }
77
+ ],
78
+ "outputs": [
79
+ {
80
+ "name": "",
81
+ "type": "uint256",
82
+ "internalType": "uint256"
83
+ }
84
+ ],
85
+ "stateMutability": "view"
86
+ },
87
+ {
88
+ "type": "function",
89
+ "name": "batchMint",
90
+ "inputs": [
91
+ {
92
+ "name": "quantity",
93
+ "type": "uint256",
94
+ "internalType": "uint256"
95
+ }
96
+ ],
97
+ "outputs": [
98
+ {
99
+ "name": "tokenIds",
100
+ "type": "uint256[]",
101
+ "internalType": "uint256[]"
102
+ }
103
+ ],
104
+ "stateMutability": "payable"
105
+ },
106
+ {
107
+ "type": "function",
108
+ "name": "getApproved",
109
+ "inputs": [
110
+ {
111
+ "name": "tokenId",
112
+ "type": "uint256",
113
+ "internalType": "uint256"
114
+ }
115
+ ],
116
+ "outputs": [
117
+ {
118
+ "name": "",
119
+ "type": "address",
120
+ "internalType": "address"
121
+ }
122
+ ],
123
+ "stateMutability": "view"
124
+ },
125
+ {
126
+ "type": "function",
127
+ "name": "getTokensByOwner",
128
+ "inputs": [
129
+ {
130
+ "name": "wallet",
131
+ "type": "address",
132
+ "internalType": "address"
133
+ }
134
+ ],
135
+ "outputs": [
136
+ {
137
+ "name": "tokenIds",
138
+ "type": "uint256[]",
139
+ "internalType": "uint256[]"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "initialize",
147
+ "inputs": [
148
+ {
149
+ "name": "_owner",
150
+ "type": "address",
151
+ "internalType": "address"
152
+ },
153
+ {
154
+ "name": "_mintPrice",
155
+ "type": "uint256",
156
+ "internalType": "uint256"
157
+ },
158
+ {
159
+ "name": "_royaltyBps",
160
+ "type": "uint96",
161
+ "internalType": "uint96"
162
+ }
163
+ ],
164
+ "outputs": [],
165
+ "stateMutability": "nonpayable"
166
+ },
167
+ {
168
+ "type": "function",
169
+ "name": "inscriptionCount",
170
+ "inputs": [
171
+ {
172
+ "name": "",
173
+ "type": "uint256",
174
+ "internalType": "uint256"
175
+ }
176
+ ],
177
+ "outputs": [
178
+ {
179
+ "name": "",
180
+ "type": "uint256",
181
+ "internalType": "uint256"
182
+ }
183
+ ],
184
+ "stateMutability": "view"
185
+ },
186
+ {
187
+ "type": "function",
188
+ "name": "isApprovedForAll",
189
+ "inputs": [
190
+ {
191
+ "name": "owner",
192
+ "type": "address",
193
+ "internalType": "address"
194
+ },
195
+ {
196
+ "name": "operator",
197
+ "type": "address",
198
+ "internalType": "address"
199
+ }
200
+ ],
201
+ "outputs": [
202
+ {
203
+ "name": "",
204
+ "type": "bool",
205
+ "internalType": "bool"
206
+ }
207
+ ],
208
+ "stateMutability": "view"
209
+ },
210
+ {
211
+ "type": "function",
212
+ "name": "isInkdHolder",
213
+ "inputs": [
214
+ {
215
+ "name": "wallet",
216
+ "type": "address",
217
+ "internalType": "address"
218
+ }
219
+ ],
220
+ "outputs": [
221
+ {
222
+ "name": "",
223
+ "type": "bool",
224
+ "internalType": "bool"
225
+ }
226
+ ],
227
+ "stateMutability": "view"
228
+ },
229
+ {
230
+ "type": "function",
231
+ "name": "mint",
232
+ "inputs": [],
233
+ "outputs": [
234
+ {
235
+ "name": "tokenId",
236
+ "type": "uint256",
237
+ "internalType": "uint256"
238
+ }
239
+ ],
240
+ "stateMutability": "payable"
241
+ },
242
+ {
243
+ "type": "function",
244
+ "name": "mintPrice",
245
+ "inputs": [],
246
+ "outputs": [
247
+ {
248
+ "name": "",
249
+ "type": "uint256",
250
+ "internalType": "uint256"
251
+ }
252
+ ],
253
+ "stateMutability": "view"
254
+ },
255
+ {
256
+ "type": "function",
257
+ "name": "mintRevenue",
258
+ "inputs": [],
259
+ "outputs": [
260
+ {
261
+ "name": "",
262
+ "type": "uint256",
263
+ "internalType": "uint256"
264
+ }
265
+ ],
266
+ "stateMutability": "view"
267
+ },
268
+ {
269
+ "type": "function",
270
+ "name": "mintedAt",
271
+ "inputs": [
272
+ {
273
+ "name": "",
274
+ "type": "uint256",
275
+ "internalType": "uint256"
276
+ }
277
+ ],
278
+ "outputs": [
279
+ {
280
+ "name": "",
281
+ "type": "uint256",
282
+ "internalType": "uint256"
283
+ }
284
+ ],
285
+ "stateMutability": "view"
286
+ },
287
+ {
288
+ "type": "function",
289
+ "name": "name",
290
+ "inputs": [],
291
+ "outputs": [
292
+ {
293
+ "name": "",
294
+ "type": "string",
295
+ "internalType": "string"
296
+ }
297
+ ],
298
+ "stateMutability": "view"
299
+ },
300
+ {
301
+ "type": "function",
302
+ "name": "nextTokenId",
303
+ "inputs": [],
304
+ "outputs": [
305
+ {
306
+ "name": "",
307
+ "type": "uint256",
308
+ "internalType": "uint256"
309
+ }
310
+ ],
311
+ "stateMutability": "view"
312
+ },
313
+ {
314
+ "type": "function",
315
+ "name": "owner",
316
+ "inputs": [],
317
+ "outputs": [
318
+ {
319
+ "name": "",
320
+ "type": "address",
321
+ "internalType": "address"
322
+ }
323
+ ],
324
+ "stateMutability": "view"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "ownerOf",
329
+ "inputs": [
330
+ {
331
+ "name": "tokenId",
332
+ "type": "uint256",
333
+ "internalType": "uint256"
334
+ }
335
+ ],
336
+ "outputs": [
337
+ {
338
+ "name": "",
339
+ "type": "address",
340
+ "internalType": "address"
341
+ }
342
+ ],
343
+ "stateMutability": "view"
344
+ },
345
+ {
346
+ "type": "function",
347
+ "name": "proxiableUUID",
348
+ "inputs": [],
349
+ "outputs": [
350
+ {
351
+ "name": "",
352
+ "type": "bytes32",
353
+ "internalType": "bytes32"
354
+ }
355
+ ],
356
+ "stateMutability": "view"
357
+ },
358
+ {
359
+ "type": "function",
360
+ "name": "renounceOwnership",
361
+ "inputs": [],
362
+ "outputs": [],
363
+ "stateMutability": "nonpayable"
364
+ },
365
+ {
366
+ "type": "function",
367
+ "name": "royaltyInfo",
368
+ "inputs": [
369
+ {
370
+ "name": "tokenId",
371
+ "type": "uint256",
372
+ "internalType": "uint256"
373
+ },
374
+ {
375
+ "name": "salePrice",
376
+ "type": "uint256",
377
+ "internalType": "uint256"
378
+ }
379
+ ],
380
+ "outputs": [
381
+ {
382
+ "name": "receiver",
383
+ "type": "address",
384
+ "internalType": "address"
385
+ },
386
+ {
387
+ "name": "amount",
388
+ "type": "uint256",
389
+ "internalType": "uint256"
390
+ }
391
+ ],
392
+ "stateMutability": "view"
393
+ },
394
+ {
395
+ "type": "function",
396
+ "name": "safeTransferFrom",
397
+ "inputs": [
398
+ {
399
+ "name": "from",
400
+ "type": "address",
401
+ "internalType": "address"
402
+ },
403
+ {
404
+ "name": "to",
405
+ "type": "address",
406
+ "internalType": "address"
407
+ },
408
+ {
409
+ "name": "tokenId",
410
+ "type": "uint256",
411
+ "internalType": "uint256"
412
+ }
413
+ ],
414
+ "outputs": [],
415
+ "stateMutability": "nonpayable"
416
+ },
417
+ {
418
+ "type": "function",
419
+ "name": "safeTransferFrom",
420
+ "inputs": [
421
+ {
422
+ "name": "from",
423
+ "type": "address",
424
+ "internalType": "address"
425
+ },
426
+ {
427
+ "name": "to",
428
+ "type": "address",
429
+ "internalType": "address"
430
+ },
431
+ {
432
+ "name": "tokenId",
433
+ "type": "uint256",
434
+ "internalType": "uint256"
435
+ },
436
+ {
437
+ "name": "data",
438
+ "type": "bytes",
439
+ "internalType": "bytes"
440
+ }
441
+ ],
442
+ "outputs": [],
443
+ "stateMutability": "nonpayable"
444
+ },
445
+ {
446
+ "type": "function",
447
+ "name": "setApprovalForAll",
448
+ "inputs": [
449
+ {
450
+ "name": "operator",
451
+ "type": "address",
452
+ "internalType": "address"
453
+ },
454
+ {
455
+ "name": "approved",
456
+ "type": "bool",
457
+ "internalType": "bool"
458
+ }
459
+ ],
460
+ "outputs": [],
461
+ "stateMutability": "nonpayable"
462
+ },
463
+ {
464
+ "type": "function",
465
+ "name": "setInscriptionCount",
466
+ "inputs": [
467
+ {
468
+ "name": "tokenId",
469
+ "type": "uint256",
470
+ "internalType": "uint256"
471
+ },
472
+ {
473
+ "name": "newCount",
474
+ "type": "uint256",
475
+ "internalType": "uint256"
476
+ }
477
+ ],
478
+ "outputs": [],
479
+ "stateMutability": "nonpayable"
480
+ },
481
+ {
482
+ "type": "function",
483
+ "name": "setMintPrice",
484
+ "inputs": [
485
+ {
486
+ "name": "newPrice",
487
+ "type": "uint256",
488
+ "internalType": "uint256"
489
+ }
490
+ ],
491
+ "outputs": [],
492
+ "stateMutability": "nonpayable"
493
+ },
494
+ {
495
+ "type": "function",
496
+ "name": "setRoyalty",
497
+ "inputs": [
498
+ {
499
+ "name": "receiver",
500
+ "type": "address",
501
+ "internalType": "address"
502
+ },
503
+ {
504
+ "name": "feeBps",
505
+ "type": "uint96",
506
+ "internalType": "uint96"
507
+ }
508
+ ],
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable"
511
+ },
512
+ {
513
+ "type": "function",
514
+ "name": "setVault",
515
+ "inputs": [
516
+ {
517
+ "name": "_vault",
518
+ "type": "address",
519
+ "internalType": "address"
520
+ }
521
+ ],
522
+ "outputs": [],
523
+ "stateMutability": "nonpayable"
524
+ },
525
+ {
526
+ "type": "function",
527
+ "name": "supportsInterface",
528
+ "inputs": [
529
+ {
530
+ "name": "interfaceId",
531
+ "type": "bytes4",
532
+ "internalType": "bytes4"
533
+ }
534
+ ],
535
+ "outputs": [
536
+ {
537
+ "name": "",
538
+ "type": "bool",
539
+ "internalType": "bool"
540
+ }
541
+ ],
542
+ "stateMutability": "view"
543
+ },
544
+ {
545
+ "type": "function",
546
+ "name": "symbol",
547
+ "inputs": [],
548
+ "outputs": [
549
+ {
550
+ "name": "",
551
+ "type": "string",
552
+ "internalType": "string"
553
+ }
554
+ ],
555
+ "stateMutability": "view"
556
+ },
557
+ {
558
+ "type": "function",
559
+ "name": "tokenByIndex",
560
+ "inputs": [
561
+ {
562
+ "name": "index",
563
+ "type": "uint256",
564
+ "internalType": "uint256"
565
+ }
566
+ ],
567
+ "outputs": [
568
+ {
569
+ "name": "",
570
+ "type": "uint256",
571
+ "internalType": "uint256"
572
+ }
573
+ ],
574
+ "stateMutability": "view"
575
+ },
576
+ {
577
+ "type": "function",
578
+ "name": "tokenOfOwnerByIndex",
579
+ "inputs": [
580
+ {
581
+ "name": "owner",
582
+ "type": "address",
583
+ "internalType": "address"
584
+ },
585
+ {
586
+ "name": "index",
587
+ "type": "uint256",
588
+ "internalType": "uint256"
589
+ }
590
+ ],
591
+ "outputs": [
592
+ {
593
+ "name": "",
594
+ "type": "uint256",
595
+ "internalType": "uint256"
596
+ }
597
+ ],
598
+ "stateMutability": "view"
599
+ },
600
+ {
601
+ "type": "function",
602
+ "name": "tokenURI",
603
+ "inputs": [
604
+ {
605
+ "name": "tokenId",
606
+ "type": "uint256",
607
+ "internalType": "uint256"
608
+ }
609
+ ],
610
+ "outputs": [
611
+ {
612
+ "name": "",
613
+ "type": "string",
614
+ "internalType": "string"
615
+ }
616
+ ],
617
+ "stateMutability": "view"
618
+ },
619
+ {
620
+ "type": "function",
621
+ "name": "totalSupply",
622
+ "inputs": [],
623
+ "outputs": [
624
+ {
625
+ "name": "",
626
+ "type": "uint256",
627
+ "internalType": "uint256"
628
+ }
629
+ ],
630
+ "stateMutability": "view"
631
+ },
632
+ {
633
+ "type": "function",
634
+ "name": "transferFrom",
635
+ "inputs": [
636
+ {
637
+ "name": "from",
638
+ "type": "address",
639
+ "internalType": "address"
640
+ },
641
+ {
642
+ "name": "to",
643
+ "type": "address",
644
+ "internalType": "address"
645
+ },
646
+ {
647
+ "name": "tokenId",
648
+ "type": "uint256",
649
+ "internalType": "uint256"
650
+ }
651
+ ],
652
+ "outputs": [],
653
+ "stateMutability": "nonpayable"
654
+ },
655
+ {
656
+ "type": "function",
657
+ "name": "transferOwnership",
658
+ "inputs": [
659
+ {
660
+ "name": "newOwner",
661
+ "type": "address",
662
+ "internalType": "address"
663
+ }
664
+ ],
665
+ "outputs": [],
666
+ "stateMutability": "nonpayable"
667
+ },
668
+ {
669
+ "type": "function",
670
+ "name": "upgradeToAndCall",
671
+ "inputs": [
672
+ {
673
+ "name": "newImplementation",
674
+ "type": "address",
675
+ "internalType": "address"
676
+ },
677
+ {
678
+ "name": "data",
679
+ "type": "bytes",
680
+ "internalType": "bytes"
681
+ }
682
+ ],
683
+ "outputs": [],
684
+ "stateMutability": "payable"
685
+ },
686
+ {
687
+ "type": "function",
688
+ "name": "vault",
689
+ "inputs": [],
690
+ "outputs": [
691
+ {
692
+ "name": "",
693
+ "type": "address",
694
+ "internalType": "address"
695
+ }
696
+ ],
697
+ "stateMutability": "view"
698
+ },
699
+ {
700
+ "type": "function",
701
+ "name": "withdrawRevenue",
702
+ "inputs": [],
703
+ "outputs": [],
704
+ "stateMutability": "nonpayable"
705
+ },
706
+ {
707
+ "type": "event",
708
+ "name": "Approval",
709
+ "inputs": [
710
+ {
711
+ "name": "owner",
712
+ "type": "address",
713
+ "indexed": true,
714
+ "internalType": "address"
715
+ },
716
+ {
717
+ "name": "approved",
718
+ "type": "address",
719
+ "indexed": true,
720
+ "internalType": "address"
721
+ },
722
+ {
723
+ "name": "tokenId",
724
+ "type": "uint256",
725
+ "indexed": true,
726
+ "internalType": "uint256"
727
+ }
728
+ ],
729
+ "anonymous": false
730
+ },
731
+ {
732
+ "type": "event",
733
+ "name": "ApprovalForAll",
734
+ "inputs": [
735
+ {
736
+ "name": "owner",
737
+ "type": "address",
738
+ "indexed": true,
739
+ "internalType": "address"
740
+ },
741
+ {
742
+ "name": "operator",
743
+ "type": "address",
744
+ "indexed": true,
745
+ "internalType": "address"
746
+ },
747
+ {
748
+ "name": "approved",
749
+ "type": "bool",
750
+ "indexed": false,
751
+ "internalType": "bool"
752
+ }
753
+ ],
754
+ "anonymous": false
755
+ },
756
+ {
757
+ "type": "event",
758
+ "name": "BatchMinted",
759
+ "inputs": [
760
+ {
761
+ "name": "tokenIds",
762
+ "type": "uint256[]",
763
+ "indexed": false,
764
+ "internalType": "uint256[]"
765
+ },
766
+ {
767
+ "name": "owner",
768
+ "type": "address",
769
+ "indexed": true,
770
+ "internalType": "address"
771
+ },
772
+ {
773
+ "name": "totalPrice",
774
+ "type": "uint256",
775
+ "indexed": false,
776
+ "internalType": "uint256"
777
+ }
778
+ ],
779
+ "anonymous": false
780
+ },
781
+ {
782
+ "type": "event",
783
+ "name": "Initialized",
784
+ "inputs": [
785
+ {
786
+ "name": "version",
787
+ "type": "uint64",
788
+ "indexed": false,
789
+ "internalType": "uint64"
790
+ }
791
+ ],
792
+ "anonymous": false
793
+ },
794
+ {
795
+ "type": "event",
796
+ "name": "InscriptionCountUpdated",
797
+ "inputs": [
798
+ {
799
+ "name": "tokenId",
800
+ "type": "uint256",
801
+ "indexed": true,
802
+ "internalType": "uint256"
803
+ },
804
+ {
805
+ "name": "newCount",
806
+ "type": "uint256",
807
+ "indexed": false,
808
+ "internalType": "uint256"
809
+ }
810
+ ],
811
+ "anonymous": false
812
+ },
813
+ {
814
+ "type": "event",
815
+ "name": "MintPriceUpdated",
816
+ "inputs": [
817
+ {
818
+ "name": "oldPrice",
819
+ "type": "uint256",
820
+ "indexed": false,
821
+ "internalType": "uint256"
822
+ },
823
+ {
824
+ "name": "newPrice",
825
+ "type": "uint256",
826
+ "indexed": false,
827
+ "internalType": "uint256"
828
+ }
829
+ ],
830
+ "anonymous": false
831
+ },
832
+ {
833
+ "type": "event",
834
+ "name": "OwnershipTransferred",
835
+ "inputs": [
836
+ {
837
+ "name": "previousOwner",
838
+ "type": "address",
839
+ "indexed": true,
840
+ "internalType": "address"
841
+ },
842
+ {
843
+ "name": "newOwner",
844
+ "type": "address",
845
+ "indexed": true,
846
+ "internalType": "address"
847
+ }
848
+ ],
849
+ "anonymous": false
850
+ },
851
+ {
852
+ "type": "event",
853
+ "name": "RevenueWithdrawn",
854
+ "inputs": [
855
+ {
856
+ "name": "to",
857
+ "type": "address",
858
+ "indexed": true,
859
+ "internalType": "address"
860
+ },
861
+ {
862
+ "name": "amount",
863
+ "type": "uint256",
864
+ "indexed": false,
865
+ "internalType": "uint256"
866
+ }
867
+ ],
868
+ "anonymous": false
869
+ },
870
+ {
871
+ "type": "event",
872
+ "name": "TokenMinted",
873
+ "inputs": [
874
+ {
875
+ "name": "tokenId",
876
+ "type": "uint256",
877
+ "indexed": true,
878
+ "internalType": "uint256"
879
+ },
880
+ {
881
+ "name": "owner",
882
+ "type": "address",
883
+ "indexed": true,
884
+ "internalType": "address"
885
+ },
886
+ {
887
+ "name": "price",
888
+ "type": "uint256",
889
+ "indexed": false,
890
+ "internalType": "uint256"
891
+ }
892
+ ],
893
+ "anonymous": false
894
+ },
895
+ {
896
+ "type": "event",
897
+ "name": "Transfer",
898
+ "inputs": [
899
+ {
900
+ "name": "from",
901
+ "type": "address",
902
+ "indexed": true,
903
+ "internalType": "address"
904
+ },
905
+ {
906
+ "name": "to",
907
+ "type": "address",
908
+ "indexed": true,
909
+ "internalType": "address"
910
+ },
911
+ {
912
+ "name": "tokenId",
913
+ "type": "uint256",
914
+ "indexed": true,
915
+ "internalType": "uint256"
916
+ }
917
+ ],
918
+ "anonymous": false
919
+ },
920
+ {
921
+ "type": "event",
922
+ "name": "Upgraded",
923
+ "inputs": [
924
+ {
925
+ "name": "implementation",
926
+ "type": "address",
927
+ "indexed": true,
928
+ "internalType": "address"
929
+ }
930
+ ],
931
+ "anonymous": false
932
+ },
933
+ {
934
+ "type": "event",
935
+ "name": "VaultUpdated",
936
+ "inputs": [
937
+ {
938
+ "name": "oldVault",
939
+ "type": "address",
940
+ "indexed": true,
941
+ "internalType": "address"
942
+ },
943
+ {
944
+ "name": "newVault",
945
+ "type": "address",
946
+ "indexed": true,
947
+ "internalType": "address"
948
+ }
949
+ ],
950
+ "anonymous": false
951
+ },
952
+ {
953
+ "type": "error",
954
+ "name": "AddressEmptyCode",
955
+ "inputs": [
956
+ {
957
+ "name": "target",
958
+ "type": "address",
959
+ "internalType": "address"
960
+ }
961
+ ]
962
+ },
963
+ {
964
+ "type": "error",
965
+ "name": "BatchTooLarge",
966
+ "inputs": [
967
+ {
968
+ "name": "requested",
969
+ "type": "uint256",
970
+ "internalType": "uint256"
971
+ },
972
+ {
973
+ "name": "max",
974
+ "type": "uint256",
975
+ "internalType": "uint256"
976
+ }
977
+ ]
978
+ },
979
+ {
980
+ "type": "error",
981
+ "name": "ERC1967InvalidImplementation",
982
+ "inputs": [
983
+ {
984
+ "name": "implementation",
985
+ "type": "address",
986
+ "internalType": "address"
987
+ }
988
+ ]
989
+ },
990
+ {
991
+ "type": "error",
992
+ "name": "ERC1967NonPayable",
993
+ "inputs": []
994
+ },
995
+ {
996
+ "type": "error",
997
+ "name": "ERC2981InvalidDefaultRoyalty",
998
+ "inputs": [
999
+ {
1000
+ "name": "numerator",
1001
+ "type": "uint256",
1002
+ "internalType": "uint256"
1003
+ },
1004
+ {
1005
+ "name": "denominator",
1006
+ "type": "uint256",
1007
+ "internalType": "uint256"
1008
+ }
1009
+ ]
1010
+ },
1011
+ {
1012
+ "type": "error",
1013
+ "name": "ERC2981InvalidDefaultRoyaltyReceiver",
1014
+ "inputs": [
1015
+ {
1016
+ "name": "receiver",
1017
+ "type": "address",
1018
+ "internalType": "address"
1019
+ }
1020
+ ]
1021
+ },
1022
+ {
1023
+ "type": "error",
1024
+ "name": "ERC2981InvalidTokenRoyalty",
1025
+ "inputs": [
1026
+ {
1027
+ "name": "tokenId",
1028
+ "type": "uint256",
1029
+ "internalType": "uint256"
1030
+ },
1031
+ {
1032
+ "name": "numerator",
1033
+ "type": "uint256",
1034
+ "internalType": "uint256"
1035
+ },
1036
+ {
1037
+ "name": "denominator",
1038
+ "type": "uint256",
1039
+ "internalType": "uint256"
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "type": "error",
1045
+ "name": "ERC2981InvalidTokenRoyaltyReceiver",
1046
+ "inputs": [
1047
+ {
1048
+ "name": "tokenId",
1049
+ "type": "uint256",
1050
+ "internalType": "uint256"
1051
+ },
1052
+ {
1053
+ "name": "receiver",
1054
+ "type": "address",
1055
+ "internalType": "address"
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "type": "error",
1061
+ "name": "ERC721EnumerableForbiddenBatchMint",
1062
+ "inputs": []
1063
+ },
1064
+ {
1065
+ "type": "error",
1066
+ "name": "ERC721IncorrectOwner",
1067
+ "inputs": [
1068
+ {
1069
+ "name": "sender",
1070
+ "type": "address",
1071
+ "internalType": "address"
1072
+ },
1073
+ {
1074
+ "name": "tokenId",
1075
+ "type": "uint256",
1076
+ "internalType": "uint256"
1077
+ },
1078
+ {
1079
+ "name": "owner",
1080
+ "type": "address",
1081
+ "internalType": "address"
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "type": "error",
1087
+ "name": "ERC721InsufficientApproval",
1088
+ "inputs": [
1089
+ {
1090
+ "name": "operator",
1091
+ "type": "address",
1092
+ "internalType": "address"
1093
+ },
1094
+ {
1095
+ "name": "tokenId",
1096
+ "type": "uint256",
1097
+ "internalType": "uint256"
1098
+ }
1099
+ ]
1100
+ },
1101
+ {
1102
+ "type": "error",
1103
+ "name": "ERC721InvalidApprover",
1104
+ "inputs": [
1105
+ {
1106
+ "name": "approver",
1107
+ "type": "address",
1108
+ "internalType": "address"
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "type": "error",
1114
+ "name": "ERC721InvalidOperator",
1115
+ "inputs": [
1116
+ {
1117
+ "name": "operator",
1118
+ "type": "address",
1119
+ "internalType": "address"
1120
+ }
1121
+ ]
1122
+ },
1123
+ {
1124
+ "type": "error",
1125
+ "name": "ERC721InvalidOwner",
1126
+ "inputs": [
1127
+ {
1128
+ "name": "owner",
1129
+ "type": "address",
1130
+ "internalType": "address"
1131
+ }
1132
+ ]
1133
+ },
1134
+ {
1135
+ "type": "error",
1136
+ "name": "ERC721InvalidReceiver",
1137
+ "inputs": [
1138
+ {
1139
+ "name": "receiver",
1140
+ "type": "address",
1141
+ "internalType": "address"
1142
+ }
1143
+ ]
1144
+ },
1145
+ {
1146
+ "type": "error",
1147
+ "name": "ERC721InvalidSender",
1148
+ "inputs": [
1149
+ {
1150
+ "name": "sender",
1151
+ "type": "address",
1152
+ "internalType": "address"
1153
+ }
1154
+ ]
1155
+ },
1156
+ {
1157
+ "type": "error",
1158
+ "name": "ERC721NonexistentToken",
1159
+ "inputs": [
1160
+ {
1161
+ "name": "tokenId",
1162
+ "type": "uint256",
1163
+ "internalType": "uint256"
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "type": "error",
1169
+ "name": "ERC721OutOfBoundsIndex",
1170
+ "inputs": [
1171
+ {
1172
+ "name": "owner",
1173
+ "type": "address",
1174
+ "internalType": "address"
1175
+ },
1176
+ {
1177
+ "name": "index",
1178
+ "type": "uint256",
1179
+ "internalType": "uint256"
1180
+ }
1181
+ ]
1182
+ },
1183
+ {
1184
+ "type": "error",
1185
+ "name": "FailedCall",
1186
+ "inputs": []
1187
+ },
1188
+ {
1189
+ "type": "error",
1190
+ "name": "InsufficientPayment",
1191
+ "inputs": [
1192
+ {
1193
+ "name": "required",
1194
+ "type": "uint256",
1195
+ "internalType": "uint256"
1196
+ },
1197
+ {
1198
+ "name": "sent",
1199
+ "type": "uint256",
1200
+ "internalType": "uint256"
1201
+ }
1202
+ ]
1203
+ },
1204
+ {
1205
+ "type": "error",
1206
+ "name": "InvalidInitialization",
1207
+ "inputs": []
1208
+ },
1209
+ {
1210
+ "type": "error",
1211
+ "name": "MaxSupplyReached",
1212
+ "inputs": []
1213
+ },
1214
+ {
1215
+ "type": "error",
1216
+ "name": "NoRevenue",
1217
+ "inputs": []
1218
+ },
1219
+ {
1220
+ "type": "error",
1221
+ "name": "NotInitializing",
1222
+ "inputs": []
1223
+ },
1224
+ {
1225
+ "type": "error",
1226
+ "name": "OnlyVault",
1227
+ "inputs": []
1228
+ },
1229
+ {
1230
+ "type": "error",
1231
+ "name": "OwnableInvalidOwner",
1232
+ "inputs": [
1233
+ {
1234
+ "name": "owner",
1235
+ "type": "address",
1236
+ "internalType": "address"
1237
+ }
1238
+ ]
1239
+ },
1240
+ {
1241
+ "type": "error",
1242
+ "name": "OwnableUnauthorizedAccount",
1243
+ "inputs": [
1244
+ {
1245
+ "name": "account",
1246
+ "type": "address",
1247
+ "internalType": "address"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "type": "error",
1253
+ "name": "ReentrancyGuardReentrantCall",
1254
+ "inputs": []
1255
+ },
1256
+ {
1257
+ "type": "error",
1258
+ "name": "StringsInsufficientHexLength",
1259
+ "inputs": [
1260
+ {
1261
+ "name": "value",
1262
+ "type": "uint256",
1263
+ "internalType": "uint256"
1264
+ },
1265
+ {
1266
+ "name": "length",
1267
+ "type": "uint256",
1268
+ "internalType": "uint256"
1269
+ }
1270
+ ]
1271
+ },
1272
+ {
1273
+ "type": "error",
1274
+ "name": "TransferFailed",
1275
+ "inputs": []
1276
+ },
1277
+ {
1278
+ "type": "error",
1279
+ "name": "UUPSUnauthorizedCallContext",
1280
+ "inputs": []
1281
+ },
1282
+ {
1283
+ "type": "error",
1284
+ "name": "UUPSUnsupportedProxiableUUID",
1285
+ "inputs": [
1286
+ {
1287
+ "name": "slot",
1288
+ "type": "bytes32",
1289
+ "internalType": "bytes32"
1290
+ }
1291
+ ]
1292
+ },
1293
+ {
1294
+ "type": "error",
1295
+ "name": "ZeroAddress",
1296
+ "inputs": []
1297
+ }
1298
+ ];
1299
+ exports.INKD_VAULT_ABI = [
1300
+ {
1301
+ "type": "function",
1302
+ "name": "MAX_GRANTS_PER_TOKEN",
1303
+ "inputs": [],
1304
+ "outputs": [
1305
+ {
1306
+ "name": "",
1307
+ "type": "uint256",
1308
+ "internalType": "uint256"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view"
1312
+ },
1313
+ {
1314
+ "type": "function",
1315
+ "name": "UPGRADE_INTERFACE_VERSION",
1316
+ "inputs": [],
1317
+ "outputs": [
1318
+ {
1319
+ "name": "",
1320
+ "type": "string",
1321
+ "internalType": "string"
1322
+ }
1323
+ ],
1324
+ "stateMutability": "view"
1325
+ },
1326
+ {
1327
+ "type": "function",
1328
+ "name": "accessGrants",
1329
+ "inputs": [
1330
+ {
1331
+ "name": "",
1332
+ "type": "uint256",
1333
+ "internalType": "uint256"
1334
+ },
1335
+ {
1336
+ "name": "",
1337
+ "type": "address",
1338
+ "internalType": "address"
1339
+ }
1340
+ ],
1341
+ "outputs": [
1342
+ {
1343
+ "name": "grantee",
1344
+ "type": "address",
1345
+ "internalType": "address"
1346
+ },
1347
+ {
1348
+ "name": "expiresAt",
1349
+ "type": "uint256",
1350
+ "internalType": "uint256"
1351
+ },
1352
+ {
1353
+ "name": "grantedAt",
1354
+ "type": "uint256",
1355
+ "internalType": "uint256"
1356
+ }
1357
+ ],
1358
+ "stateMutability": "view"
1359
+ },
1360
+ {
1361
+ "type": "function",
1362
+ "name": "getActiveGrants",
1363
+ "inputs": [
1364
+ {
1365
+ "name": "tokenId",
1366
+ "type": "uint256",
1367
+ "internalType": "uint256"
1368
+ }
1369
+ ],
1370
+ "outputs": [
1371
+ {
1372
+ "name": "grants",
1373
+ "type": "tuple[]",
1374
+ "internalType": "struct InkdVault.AccessGrant[]",
1375
+ "components": [
1376
+ {
1377
+ "name": "grantee",
1378
+ "type": "address",
1379
+ "internalType": "address"
1380
+ },
1381
+ {
1382
+ "name": "expiresAt",
1383
+ "type": "uint256",
1384
+ "internalType": "uint256"
1385
+ },
1386
+ {
1387
+ "name": "grantedAt",
1388
+ "type": "uint256",
1389
+ "internalType": "uint256"
1390
+ }
1391
+ ]
1392
+ }
1393
+ ],
1394
+ "stateMutability": "view"
1395
+ },
1396
+ {
1397
+ "type": "function",
1398
+ "name": "getInscription",
1399
+ "inputs": [
1400
+ {
1401
+ "name": "tokenId",
1402
+ "type": "uint256",
1403
+ "internalType": "uint256"
1404
+ },
1405
+ {
1406
+ "name": "inscriptionIndex",
1407
+ "type": "uint256",
1408
+ "internalType": "uint256"
1409
+ }
1410
+ ],
1411
+ "outputs": [
1412
+ {
1413
+ "name": "",
1414
+ "type": "tuple",
1415
+ "internalType": "struct InkdVault.Inscription",
1416
+ "components": [
1417
+ {
1418
+ "name": "arweaveHash",
1419
+ "type": "string",
1420
+ "internalType": "string"
1421
+ },
1422
+ {
1423
+ "name": "contentType",
1424
+ "type": "string",
1425
+ "internalType": "string"
1426
+ },
1427
+ {
1428
+ "name": "size",
1429
+ "type": "uint256",
1430
+ "internalType": "uint256"
1431
+ },
1432
+ {
1433
+ "name": "name",
1434
+ "type": "string",
1435
+ "internalType": "string"
1436
+ },
1437
+ {
1438
+ "name": "createdAt",
1439
+ "type": "uint256",
1440
+ "internalType": "uint256"
1441
+ },
1442
+ {
1443
+ "name": "isRemoved",
1444
+ "type": "bool",
1445
+ "internalType": "bool"
1446
+ },
1447
+ {
1448
+ "name": "version",
1449
+ "type": "uint256",
1450
+ "internalType": "uint256"
1451
+ }
1452
+ ]
1453
+ }
1454
+ ],
1455
+ "stateMutability": "view"
1456
+ },
1457
+ {
1458
+ "type": "function",
1459
+ "name": "getInscriptionCount",
1460
+ "inputs": [
1461
+ {
1462
+ "name": "tokenId",
1463
+ "type": "uint256",
1464
+ "internalType": "uint256"
1465
+ }
1466
+ ],
1467
+ "outputs": [
1468
+ {
1469
+ "name": "",
1470
+ "type": "uint256",
1471
+ "internalType": "uint256"
1472
+ }
1473
+ ],
1474
+ "stateMutability": "view"
1475
+ },
1476
+ {
1477
+ "type": "function",
1478
+ "name": "getInscriptions",
1479
+ "inputs": [
1480
+ {
1481
+ "name": "tokenId",
1482
+ "type": "uint256",
1483
+ "internalType": "uint256"
1484
+ }
1485
+ ],
1486
+ "outputs": [
1487
+ {
1488
+ "name": "",
1489
+ "type": "tuple[]",
1490
+ "internalType": "struct InkdVault.Inscription[]",
1491
+ "components": [
1492
+ {
1493
+ "name": "arweaveHash",
1494
+ "type": "string",
1495
+ "internalType": "string"
1496
+ },
1497
+ {
1498
+ "name": "contentType",
1499
+ "type": "string",
1500
+ "internalType": "string"
1501
+ },
1502
+ {
1503
+ "name": "size",
1504
+ "type": "uint256",
1505
+ "internalType": "uint256"
1506
+ },
1507
+ {
1508
+ "name": "name",
1509
+ "type": "string",
1510
+ "internalType": "string"
1511
+ },
1512
+ {
1513
+ "name": "createdAt",
1514
+ "type": "uint256",
1515
+ "internalType": "uint256"
1516
+ },
1517
+ {
1518
+ "name": "isRemoved",
1519
+ "type": "bool",
1520
+ "internalType": "bool"
1521
+ },
1522
+ {
1523
+ "name": "version",
1524
+ "type": "uint256",
1525
+ "internalType": "uint256"
1526
+ }
1527
+ ]
1528
+ }
1529
+ ],
1530
+ "stateMutability": "view"
1531
+ },
1532
+ {
1533
+ "type": "function",
1534
+ "name": "getVersionHistory",
1535
+ "inputs": [
1536
+ {
1537
+ "name": "tokenId",
1538
+ "type": "uint256",
1539
+ "internalType": "uint256"
1540
+ },
1541
+ {
1542
+ "name": "inscriptionIndex",
1543
+ "type": "uint256",
1544
+ "internalType": "uint256"
1545
+ }
1546
+ ],
1547
+ "outputs": [
1548
+ {
1549
+ "name": "",
1550
+ "type": "string[]",
1551
+ "internalType": "string[]"
1552
+ }
1553
+ ],
1554
+ "stateMutability": "view"
1555
+ },
1556
+ {
1557
+ "type": "function",
1558
+ "name": "grantReadAccess",
1559
+ "inputs": [
1560
+ {
1561
+ "name": "tokenId",
1562
+ "type": "uint256",
1563
+ "internalType": "uint256"
1564
+ },
1565
+ {
1566
+ "name": "wallet",
1567
+ "type": "address",
1568
+ "internalType": "address"
1569
+ },
1570
+ {
1571
+ "name": "expiresAt",
1572
+ "type": "uint256",
1573
+ "internalType": "uint256"
1574
+ }
1575
+ ],
1576
+ "outputs": [],
1577
+ "stateMutability": "nonpayable"
1578
+ },
1579
+ {
1580
+ "type": "function",
1581
+ "name": "hasAccess",
1582
+ "inputs": [
1583
+ {
1584
+ "name": "tokenId",
1585
+ "type": "uint256",
1586
+ "internalType": "uint256"
1587
+ },
1588
+ {
1589
+ "name": "wallet",
1590
+ "type": "address",
1591
+ "internalType": "address"
1592
+ }
1593
+ ],
1594
+ "outputs": [
1595
+ {
1596
+ "name": "",
1597
+ "type": "bool",
1598
+ "internalType": "bool"
1599
+ }
1600
+ ],
1601
+ "stateMutability": "view"
1602
+ },
1603
+ {
1604
+ "type": "function",
1605
+ "name": "initialize",
1606
+ "inputs": [
1607
+ {
1608
+ "name": "_owner",
1609
+ "type": "address",
1610
+ "internalType": "address"
1611
+ },
1612
+ {
1613
+ "name": "_inkdToken",
1614
+ "type": "address",
1615
+ "internalType": "address"
1616
+ }
1617
+ ],
1618
+ "outputs": [],
1619
+ "stateMutability": "nonpayable"
1620
+ },
1621
+ {
1622
+ "type": "function",
1623
+ "name": "inkdToken",
1624
+ "inputs": [],
1625
+ "outputs": [
1626
+ {
1627
+ "name": "",
1628
+ "type": "address",
1629
+ "internalType": "contract IInkdToken"
1630
+ }
1631
+ ],
1632
+ "stateMutability": "view"
1633
+ },
1634
+ {
1635
+ "type": "function",
1636
+ "name": "inscribe",
1637
+ "inputs": [
1638
+ {
1639
+ "name": "tokenId",
1640
+ "type": "uint256",
1641
+ "internalType": "uint256"
1642
+ },
1643
+ {
1644
+ "name": "arweaveHash",
1645
+ "type": "string",
1646
+ "internalType": "string"
1647
+ },
1648
+ {
1649
+ "name": "contentType",
1650
+ "type": "string",
1651
+ "internalType": "string"
1652
+ },
1653
+ {
1654
+ "name": "size",
1655
+ "type": "uint256",
1656
+ "internalType": "uint256"
1657
+ },
1658
+ {
1659
+ "name": "name",
1660
+ "type": "string",
1661
+ "internalType": "string"
1662
+ }
1663
+ ],
1664
+ "outputs": [
1665
+ {
1666
+ "name": "inscriptionIndex",
1667
+ "type": "uint256",
1668
+ "internalType": "uint256"
1669
+ }
1670
+ ],
1671
+ "stateMutability": "payable"
1672
+ },
1673
+ {
1674
+ "type": "function",
1675
+ "name": "inscriptionFee",
1676
+ "inputs": [],
1677
+ "outputs": [
1678
+ {
1679
+ "name": "",
1680
+ "type": "uint256",
1681
+ "internalType": "uint256"
1682
+ }
1683
+ ],
1684
+ "stateMutability": "view"
1685
+ },
1686
+ {
1687
+ "type": "function",
1688
+ "name": "owner",
1689
+ "inputs": [],
1690
+ "outputs": [
1691
+ {
1692
+ "name": "",
1693
+ "type": "address",
1694
+ "internalType": "address"
1695
+ }
1696
+ ],
1697
+ "stateMutability": "view"
1698
+ },
1699
+ {
1700
+ "type": "function",
1701
+ "name": "pause",
1702
+ "inputs": [],
1703
+ "outputs": [],
1704
+ "stateMutability": "nonpayable"
1705
+ },
1706
+ {
1707
+ "type": "function",
1708
+ "name": "paused",
1709
+ "inputs": [],
1710
+ "outputs": [
1711
+ {
1712
+ "name": "",
1713
+ "type": "bool",
1714
+ "internalType": "bool"
1715
+ }
1716
+ ],
1717
+ "stateMutability": "view"
1718
+ },
1719
+ {
1720
+ "type": "function",
1721
+ "name": "protocolFeeBalance",
1722
+ "inputs": [],
1723
+ "outputs": [
1724
+ {
1725
+ "name": "",
1726
+ "type": "uint256",
1727
+ "internalType": "uint256"
1728
+ }
1729
+ ],
1730
+ "stateMutability": "view"
1731
+ },
1732
+ {
1733
+ "type": "function",
1734
+ "name": "protocolFeeBps",
1735
+ "inputs": [],
1736
+ "outputs": [
1737
+ {
1738
+ "name": "",
1739
+ "type": "uint256",
1740
+ "internalType": "uint256"
1741
+ }
1742
+ ],
1743
+ "stateMutability": "view"
1744
+ },
1745
+ {
1746
+ "type": "function",
1747
+ "name": "proxiableUUID",
1748
+ "inputs": [],
1749
+ "outputs": [
1750
+ {
1751
+ "name": "",
1752
+ "type": "bytes32",
1753
+ "internalType": "bytes32"
1754
+ }
1755
+ ],
1756
+ "stateMutability": "view"
1757
+ },
1758
+ {
1759
+ "type": "function",
1760
+ "name": "removeInscription",
1761
+ "inputs": [
1762
+ {
1763
+ "name": "tokenId",
1764
+ "type": "uint256",
1765
+ "internalType": "uint256"
1766
+ },
1767
+ {
1768
+ "name": "inscriptionIndex",
1769
+ "type": "uint256",
1770
+ "internalType": "uint256"
1771
+ }
1772
+ ],
1773
+ "outputs": [],
1774
+ "stateMutability": "nonpayable"
1775
+ },
1776
+ {
1777
+ "type": "function",
1778
+ "name": "renounceOwnership",
1779
+ "inputs": [],
1780
+ "outputs": [],
1781
+ "stateMutability": "nonpayable"
1782
+ },
1783
+ {
1784
+ "type": "function",
1785
+ "name": "revokeAccess",
1786
+ "inputs": [
1787
+ {
1788
+ "name": "tokenId",
1789
+ "type": "uint256",
1790
+ "internalType": "uint256"
1791
+ },
1792
+ {
1793
+ "name": "wallet",
1794
+ "type": "address",
1795
+ "internalType": "address"
1796
+ }
1797
+ ],
1798
+ "outputs": [],
1799
+ "stateMutability": "nonpayable"
1800
+ },
1801
+ {
1802
+ "type": "function",
1803
+ "name": "setInkdToken",
1804
+ "inputs": [
1805
+ {
1806
+ "name": "_inkdToken",
1807
+ "type": "address",
1808
+ "internalType": "address"
1809
+ }
1810
+ ],
1811
+ "outputs": [],
1812
+ "stateMutability": "nonpayable"
1813
+ },
1814
+ {
1815
+ "type": "function",
1816
+ "name": "setInscriptionFee",
1817
+ "inputs": [
1818
+ {
1819
+ "name": "fee",
1820
+ "type": "uint256",
1821
+ "internalType": "uint256"
1822
+ }
1823
+ ],
1824
+ "outputs": [],
1825
+ "stateMutability": "nonpayable"
1826
+ },
1827
+ {
1828
+ "type": "function",
1829
+ "name": "setProtocolFee",
1830
+ "inputs": [
1831
+ {
1832
+ "name": "bps",
1833
+ "type": "uint256",
1834
+ "internalType": "uint256"
1835
+ }
1836
+ ],
1837
+ "outputs": [],
1838
+ "stateMutability": "nonpayable"
1839
+ },
1840
+ {
1841
+ "type": "function",
1842
+ "name": "totalInscriptions",
1843
+ "inputs": [],
1844
+ "outputs": [
1845
+ {
1846
+ "name": "",
1847
+ "type": "uint256",
1848
+ "internalType": "uint256"
1849
+ }
1850
+ ],
1851
+ "stateMutability": "view"
1852
+ },
1853
+ {
1854
+ "type": "function",
1855
+ "name": "transferOwnership",
1856
+ "inputs": [
1857
+ {
1858
+ "name": "newOwner",
1859
+ "type": "address",
1860
+ "internalType": "address"
1861
+ }
1862
+ ],
1863
+ "outputs": [],
1864
+ "stateMutability": "nonpayable"
1865
+ },
1866
+ {
1867
+ "type": "function",
1868
+ "name": "unpause",
1869
+ "inputs": [],
1870
+ "outputs": [],
1871
+ "stateMutability": "nonpayable"
1872
+ },
1873
+ {
1874
+ "type": "function",
1875
+ "name": "updateInscription",
1876
+ "inputs": [
1877
+ {
1878
+ "name": "tokenId",
1879
+ "type": "uint256",
1880
+ "internalType": "uint256"
1881
+ },
1882
+ {
1883
+ "name": "inscriptionIndex",
1884
+ "type": "uint256",
1885
+ "internalType": "uint256"
1886
+ },
1887
+ {
1888
+ "name": "newArweaveHash",
1889
+ "type": "string",
1890
+ "internalType": "string"
1891
+ }
1892
+ ],
1893
+ "outputs": [],
1894
+ "stateMutability": "nonpayable"
1895
+ },
1896
+ {
1897
+ "type": "function",
1898
+ "name": "upgradeToAndCall",
1899
+ "inputs": [
1900
+ {
1901
+ "name": "newImplementation",
1902
+ "type": "address",
1903
+ "internalType": "address"
1904
+ },
1905
+ {
1906
+ "name": "data",
1907
+ "type": "bytes",
1908
+ "internalType": "bytes"
1909
+ }
1910
+ ],
1911
+ "outputs": [],
1912
+ "stateMutability": "payable"
1913
+ },
1914
+ {
1915
+ "type": "function",
1916
+ "name": "withdrawFees",
1917
+ "inputs": [],
1918
+ "outputs": [],
1919
+ "stateMutability": "nonpayable"
1920
+ },
1921
+ {
1922
+ "type": "event",
1923
+ "name": "AccessGranted",
1924
+ "inputs": [
1925
+ {
1926
+ "name": "tokenId",
1927
+ "type": "uint256",
1928
+ "indexed": true,
1929
+ "internalType": "uint256"
1930
+ },
1931
+ {
1932
+ "name": "grantee",
1933
+ "type": "address",
1934
+ "indexed": true,
1935
+ "internalType": "address"
1936
+ },
1937
+ {
1938
+ "name": "expiresAt",
1939
+ "type": "uint256",
1940
+ "indexed": false,
1941
+ "internalType": "uint256"
1942
+ }
1943
+ ],
1944
+ "anonymous": false
1945
+ },
1946
+ {
1947
+ "type": "event",
1948
+ "name": "AccessRevoked",
1949
+ "inputs": [
1950
+ {
1951
+ "name": "tokenId",
1952
+ "type": "uint256",
1953
+ "indexed": true,
1954
+ "internalType": "uint256"
1955
+ },
1956
+ {
1957
+ "name": "grantee",
1958
+ "type": "address",
1959
+ "indexed": true,
1960
+ "internalType": "address"
1961
+ }
1962
+ ],
1963
+ "anonymous": false
1964
+ },
1965
+ {
1966
+ "type": "event",
1967
+ "name": "FeesWithdrawn",
1968
+ "inputs": [
1969
+ {
1970
+ "name": "to",
1971
+ "type": "address",
1972
+ "indexed": true,
1973
+ "internalType": "address"
1974
+ },
1975
+ {
1976
+ "name": "amount",
1977
+ "type": "uint256",
1978
+ "indexed": false,
1979
+ "internalType": "uint256"
1980
+ }
1981
+ ],
1982
+ "anonymous": false
1983
+ },
1984
+ {
1985
+ "type": "event",
1986
+ "name": "Initialized",
1987
+ "inputs": [
1988
+ {
1989
+ "name": "version",
1990
+ "type": "uint64",
1991
+ "indexed": false,
1992
+ "internalType": "uint64"
1993
+ }
1994
+ ],
1995
+ "anonymous": false
1996
+ },
1997
+ {
1998
+ "type": "event",
1999
+ "name": "Inscribed",
2000
+ "inputs": [
2001
+ {
2002
+ "name": "tokenId",
2003
+ "type": "uint256",
2004
+ "indexed": true,
2005
+ "internalType": "uint256"
2006
+ },
2007
+ {
2008
+ "name": "inscriptionIndex",
2009
+ "type": "uint256",
2010
+ "indexed": true,
2011
+ "internalType": "uint256"
2012
+ },
2013
+ {
2014
+ "name": "arweaveHash",
2015
+ "type": "string",
2016
+ "indexed": false,
2017
+ "internalType": "string"
2018
+ },
2019
+ {
2020
+ "name": "contentType",
2021
+ "type": "string",
2022
+ "indexed": false,
2023
+ "internalType": "string"
2024
+ },
2025
+ {
2026
+ "name": "size",
2027
+ "type": "uint256",
2028
+ "indexed": false,
2029
+ "internalType": "uint256"
2030
+ },
2031
+ {
2032
+ "name": "name",
2033
+ "type": "string",
2034
+ "indexed": false,
2035
+ "internalType": "string"
2036
+ },
2037
+ {
2038
+ "name": "protocolFee",
2039
+ "type": "uint256",
2040
+ "indexed": false,
2041
+ "internalType": "uint256"
2042
+ }
2043
+ ],
2044
+ "anonymous": false
2045
+ },
2046
+ {
2047
+ "type": "event",
2048
+ "name": "InscriptionRemoved",
2049
+ "inputs": [
2050
+ {
2051
+ "name": "tokenId",
2052
+ "type": "uint256",
2053
+ "indexed": true,
2054
+ "internalType": "uint256"
2055
+ },
2056
+ {
2057
+ "name": "inscriptionIndex",
2058
+ "type": "uint256",
2059
+ "indexed": true,
2060
+ "internalType": "uint256"
2061
+ }
2062
+ ],
2063
+ "anonymous": false
2064
+ },
2065
+ {
2066
+ "type": "event",
2067
+ "name": "InscriptionUpdated",
2068
+ "inputs": [
2069
+ {
2070
+ "name": "tokenId",
2071
+ "type": "uint256",
2072
+ "indexed": true,
2073
+ "internalType": "uint256"
2074
+ },
2075
+ {
2076
+ "name": "inscriptionIndex",
2077
+ "type": "uint256",
2078
+ "indexed": true,
2079
+ "internalType": "uint256"
2080
+ },
2081
+ {
2082
+ "name": "newArweaveHash",
2083
+ "type": "string",
2084
+ "indexed": false,
2085
+ "internalType": "string"
2086
+ },
2087
+ {
2088
+ "name": "newVersion",
2089
+ "type": "uint256",
2090
+ "indexed": false,
2091
+ "internalType": "uint256"
2092
+ }
2093
+ ],
2094
+ "anonymous": false
2095
+ },
2096
+ {
2097
+ "type": "event",
2098
+ "name": "OwnershipTransferred",
2099
+ "inputs": [
2100
+ {
2101
+ "name": "previousOwner",
2102
+ "type": "address",
2103
+ "indexed": true,
2104
+ "internalType": "address"
2105
+ },
2106
+ {
2107
+ "name": "newOwner",
2108
+ "type": "address",
2109
+ "indexed": true,
2110
+ "internalType": "address"
2111
+ }
2112
+ ],
2113
+ "anonymous": false
2114
+ },
2115
+ {
2116
+ "type": "event",
2117
+ "name": "Paused",
2118
+ "inputs": [
2119
+ {
2120
+ "name": "account",
2121
+ "type": "address",
2122
+ "indexed": false,
2123
+ "internalType": "address"
2124
+ }
2125
+ ],
2126
+ "anonymous": false
2127
+ },
2128
+ {
2129
+ "type": "event",
2130
+ "name": "ProtocolFeeUpdated",
2131
+ "inputs": [
2132
+ {
2133
+ "name": "oldBps",
2134
+ "type": "uint256",
2135
+ "indexed": false,
2136
+ "internalType": "uint256"
2137
+ },
2138
+ {
2139
+ "name": "newBps",
2140
+ "type": "uint256",
2141
+ "indexed": false,
2142
+ "internalType": "uint256"
2143
+ }
2144
+ ],
2145
+ "anonymous": false
2146
+ },
2147
+ {
2148
+ "type": "event",
2149
+ "name": "Unpaused",
2150
+ "inputs": [
2151
+ {
2152
+ "name": "account",
2153
+ "type": "address",
2154
+ "indexed": false,
2155
+ "internalType": "address"
2156
+ }
2157
+ ],
2158
+ "anonymous": false
2159
+ },
2160
+ {
2161
+ "type": "event",
2162
+ "name": "Upgraded",
2163
+ "inputs": [
2164
+ {
2165
+ "name": "implementation",
2166
+ "type": "address",
2167
+ "indexed": true,
2168
+ "internalType": "address"
2169
+ }
2170
+ ],
2171
+ "anonymous": false
2172
+ },
2173
+ {
2174
+ "type": "error",
2175
+ "name": "AddressEmptyCode",
2176
+ "inputs": [
2177
+ {
2178
+ "name": "target",
2179
+ "type": "address",
2180
+ "internalType": "address"
2181
+ }
2182
+ ]
2183
+ },
2184
+ {
2185
+ "type": "error",
2186
+ "name": "ERC1967InvalidImplementation",
2187
+ "inputs": [
2188
+ {
2189
+ "name": "implementation",
2190
+ "type": "address",
2191
+ "internalType": "address"
2192
+ }
2193
+ ]
2194
+ },
2195
+ {
2196
+ "type": "error",
2197
+ "name": "ERC1967NonPayable",
2198
+ "inputs": []
2199
+ },
2200
+ {
2201
+ "type": "error",
2202
+ "name": "EmptyArweaveHash",
2203
+ "inputs": []
2204
+ },
2205
+ {
2206
+ "type": "error",
2207
+ "name": "EnforcedPause",
2208
+ "inputs": []
2209
+ },
2210
+ {
2211
+ "type": "error",
2212
+ "name": "ExpectedPause",
2213
+ "inputs": []
2214
+ },
2215
+ {
2216
+ "type": "error",
2217
+ "name": "ExpiryInPast",
2218
+ "inputs": [
2219
+ {
2220
+ "name": "expiresAt",
2221
+ "type": "uint256",
2222
+ "internalType": "uint256"
2223
+ }
2224
+ ]
2225
+ },
2226
+ {
2227
+ "type": "error",
2228
+ "name": "FailedCall",
2229
+ "inputs": []
2230
+ },
2231
+ {
2232
+ "type": "error",
2233
+ "name": "FeeExceedsMax",
2234
+ "inputs": [
2235
+ {
2236
+ "name": "bps",
2237
+ "type": "uint256",
2238
+ "internalType": "uint256"
2239
+ }
2240
+ ]
2241
+ },
2242
+ {
2243
+ "type": "error",
2244
+ "name": "InscriptionAlreadyRemoved",
2245
+ "inputs": [
2246
+ {
2247
+ "name": "tokenId",
2248
+ "type": "uint256",
2249
+ "internalType": "uint256"
2250
+ },
2251
+ {
2252
+ "name": "index",
2253
+ "type": "uint256",
2254
+ "internalType": "uint256"
2255
+ }
2256
+ ]
2257
+ },
2258
+ {
2259
+ "type": "error",
2260
+ "name": "InscriptionNotFound",
2261
+ "inputs": [
2262
+ {
2263
+ "name": "tokenId",
2264
+ "type": "uint256",
2265
+ "internalType": "uint256"
2266
+ },
2267
+ {
2268
+ "name": "index",
2269
+ "type": "uint256",
2270
+ "internalType": "uint256"
2271
+ }
2272
+ ]
2273
+ },
2274
+ {
2275
+ "type": "error",
2276
+ "name": "InsufficientFee",
2277
+ "inputs": [
2278
+ {
2279
+ "name": "required",
2280
+ "type": "uint256",
2281
+ "internalType": "uint256"
2282
+ },
2283
+ {
2284
+ "name": "sent",
2285
+ "type": "uint256",
2286
+ "internalType": "uint256"
2287
+ }
2288
+ ]
2289
+ },
2290
+ {
2291
+ "type": "error",
2292
+ "name": "InvalidInitialization",
2293
+ "inputs": []
2294
+ },
2295
+ {
2296
+ "type": "error",
2297
+ "name": "NoFeesToWithdraw",
2298
+ "inputs": []
2299
+ },
2300
+ {
2301
+ "type": "error",
2302
+ "name": "NotInitializing",
2303
+ "inputs": []
2304
+ },
2305
+ {
2306
+ "type": "error",
2307
+ "name": "NotInkdHolder",
2308
+ "inputs": []
2309
+ },
2310
+ {
2311
+ "type": "error",
2312
+ "name": "NotTokenOwner",
2313
+ "inputs": [
2314
+ {
2315
+ "name": "tokenId",
2316
+ "type": "uint256",
2317
+ "internalType": "uint256"
2318
+ },
2319
+ {
2320
+ "name": "caller",
2321
+ "type": "address",
2322
+ "internalType": "address"
2323
+ }
2324
+ ]
2325
+ },
2326
+ {
2327
+ "type": "error",
2328
+ "name": "OwnableInvalidOwner",
2329
+ "inputs": [
2330
+ {
2331
+ "name": "owner",
2332
+ "type": "address",
2333
+ "internalType": "address"
2334
+ }
2335
+ ]
2336
+ },
2337
+ {
2338
+ "type": "error",
2339
+ "name": "OwnableUnauthorizedAccount",
2340
+ "inputs": [
2341
+ {
2342
+ "name": "account",
2343
+ "type": "address",
2344
+ "internalType": "address"
2345
+ }
2346
+ ]
2347
+ },
2348
+ {
2349
+ "type": "error",
2350
+ "name": "ReentrancyGuardReentrantCall",
2351
+ "inputs": []
2352
+ },
2353
+ {
2354
+ "type": "error",
2355
+ "name": "TooManyGrants",
2356
+ "inputs": [
2357
+ {
2358
+ "name": "tokenId",
2359
+ "type": "uint256",
2360
+ "internalType": "uint256"
2361
+ }
2362
+ ]
2363
+ },
2364
+ {
2365
+ "type": "error",
2366
+ "name": "TransferFailed",
2367
+ "inputs": []
2368
+ },
2369
+ {
2370
+ "type": "error",
2371
+ "name": "UUPSUnauthorizedCallContext",
2372
+ "inputs": []
2373
+ },
2374
+ {
2375
+ "type": "error",
2376
+ "name": "UUPSUnsupportedProxiableUUID",
2377
+ "inputs": [
2378
+ {
2379
+ "name": "slot",
2380
+ "type": "bytes32",
2381
+ "internalType": "bytes32"
2382
+ }
2383
+ ]
2384
+ },
2385
+ {
2386
+ "type": "error",
2387
+ "name": "ZeroAddress",
2388
+ "inputs": []
2389
+ }
2390
+ ];
2391
+ exports.INKD_REGISTRY_ABI = [
2392
+ {
2393
+ "type": "function",
2394
+ "name": "UPGRADE_INTERFACE_VERSION",
2395
+ "inputs": [],
2396
+ "outputs": [
2397
+ {
2398
+ "name": "",
2399
+ "type": "string",
2400
+ "internalType": "string"
2401
+ }
2402
+ ],
2403
+ "stateMutability": "view"
2404
+ },
2405
+ {
2406
+ "type": "function",
2407
+ "name": "addTags",
2408
+ "inputs": [
2409
+ {
2410
+ "name": "tokenId",
2411
+ "type": "uint256",
2412
+ "internalType": "uint256"
2413
+ },
2414
+ {
2415
+ "name": "inscriptionIndex",
2416
+ "type": "uint256",
2417
+ "internalType": "uint256"
2418
+ },
2419
+ {
2420
+ "name": "tags",
2421
+ "type": "string[]",
2422
+ "internalType": "string[]"
2423
+ }
2424
+ ],
2425
+ "outputs": [],
2426
+ "stateMutability": "nonpayable"
2427
+ },
2428
+ {
2429
+ "type": "function",
2430
+ "name": "buyToken",
2431
+ "inputs": [
2432
+ {
2433
+ "name": "tokenId",
2434
+ "type": "uint256",
2435
+ "internalType": "uint256"
2436
+ }
2437
+ ],
2438
+ "outputs": [],
2439
+ "stateMutability": "payable"
2440
+ },
2441
+ {
2442
+ "type": "function",
2443
+ "name": "cancelListing",
2444
+ "inputs": [
2445
+ {
2446
+ "name": "tokenId",
2447
+ "type": "uint256",
2448
+ "internalType": "uint256"
2449
+ }
2450
+ ],
2451
+ "outputs": [],
2452
+ "stateMutability": "nonpayable"
2453
+ },
2454
+ {
2455
+ "type": "function",
2456
+ "name": "getActiveListings",
2457
+ "inputs": [
2458
+ {
2459
+ "name": "offset",
2460
+ "type": "uint256",
2461
+ "internalType": "uint256"
2462
+ },
2463
+ {
2464
+ "name": "limit",
2465
+ "type": "uint256",
2466
+ "internalType": "uint256"
2467
+ }
2468
+ ],
2469
+ "outputs": [
2470
+ {
2471
+ "name": "result",
2472
+ "type": "tuple[]",
2473
+ "internalType": "struct InkdRegistry.Listing[]",
2474
+ "components": [
2475
+ {
2476
+ "name": "tokenId",
2477
+ "type": "uint256",
2478
+ "internalType": "uint256"
2479
+ },
2480
+ {
2481
+ "name": "seller",
2482
+ "type": "address",
2483
+ "internalType": "address"
2484
+ },
2485
+ {
2486
+ "name": "price",
2487
+ "type": "uint256",
2488
+ "internalType": "uint256"
2489
+ },
2490
+ {
2491
+ "name": "listedAt",
2492
+ "type": "uint256",
2493
+ "internalType": "uint256"
2494
+ },
2495
+ {
2496
+ "name": "active",
2497
+ "type": "bool",
2498
+ "internalType": "bool"
2499
+ }
2500
+ ]
2501
+ }
2502
+ ],
2503
+ "stateMutability": "view"
2504
+ },
2505
+ {
2506
+ "type": "function",
2507
+ "name": "getInscriptionTags",
2508
+ "inputs": [
2509
+ {
2510
+ "name": "tokenId",
2511
+ "type": "uint256",
2512
+ "internalType": "uint256"
2513
+ },
2514
+ {
2515
+ "name": "inscriptionIndex",
2516
+ "type": "uint256",
2517
+ "internalType": "uint256"
2518
+ }
2519
+ ],
2520
+ "outputs": [
2521
+ {
2522
+ "name": "",
2523
+ "type": "string[]",
2524
+ "internalType": "string[]"
2525
+ }
2526
+ ],
2527
+ "stateMutability": "view"
2528
+ },
2529
+ {
2530
+ "type": "function",
2531
+ "name": "getPublicTokens",
2532
+ "inputs": [
2533
+ {
2534
+ "name": "offset",
2535
+ "type": "uint256",
2536
+ "internalType": "uint256"
2537
+ },
2538
+ {
2539
+ "name": "limit",
2540
+ "type": "uint256",
2541
+ "internalType": "uint256"
2542
+ }
2543
+ ],
2544
+ "outputs": [
2545
+ {
2546
+ "name": "tokenIds",
2547
+ "type": "uint256[]",
2548
+ "internalType": "uint256[]"
2549
+ }
2550
+ ],
2551
+ "stateMutability": "view"
2552
+ },
2553
+ {
2554
+ "type": "function",
2555
+ "name": "getStats",
2556
+ "inputs": [],
2557
+ "outputs": [
2558
+ {
2559
+ "name": "_totalTokens",
2560
+ "type": "uint256",
2561
+ "internalType": "uint256"
2562
+ },
2563
+ {
2564
+ "name": "_totalInscriptions",
2565
+ "type": "uint256",
2566
+ "internalType": "uint256"
2567
+ },
2568
+ {
2569
+ "name": "_totalVolume",
2570
+ "type": "uint256",
2571
+ "internalType": "uint256"
2572
+ },
2573
+ {
2574
+ "name": "_totalSales",
2575
+ "type": "uint256",
2576
+ "internalType": "uint256"
2577
+ }
2578
+ ],
2579
+ "stateMutability": "view"
2580
+ },
2581
+ {
2582
+ "type": "function",
2583
+ "name": "indexContentType",
2584
+ "inputs": [
2585
+ {
2586
+ "name": "tokenId",
2587
+ "type": "uint256",
2588
+ "internalType": "uint256"
2589
+ },
2590
+ {
2591
+ "name": "contentType",
2592
+ "type": "string",
2593
+ "internalType": "string"
2594
+ }
2595
+ ],
2596
+ "outputs": [],
2597
+ "stateMutability": "nonpayable"
2598
+ },
2599
+ {
2600
+ "type": "function",
2601
+ "name": "initialize",
2602
+ "inputs": [
2603
+ {
2604
+ "name": "_owner",
2605
+ "type": "address",
2606
+ "internalType": "address"
2607
+ },
2608
+ {
2609
+ "name": "_inkdToken",
2610
+ "type": "address",
2611
+ "internalType": "address"
2612
+ }
2613
+ ],
2614
+ "outputs": [],
2615
+ "stateMutability": "nonpayable"
2616
+ },
2617
+ {
2618
+ "type": "function",
2619
+ "name": "inkdToken",
2620
+ "inputs": [],
2621
+ "outputs": [
2622
+ {
2623
+ "name": "",
2624
+ "type": "address",
2625
+ "internalType": "contract IInkdTokenForRegistry"
2626
+ }
2627
+ ],
2628
+ "stateMutability": "view"
2629
+ },
2630
+ {
2631
+ "type": "function",
2632
+ "name": "listForSale",
2633
+ "inputs": [
2634
+ {
2635
+ "name": "tokenId",
2636
+ "type": "uint256",
2637
+ "internalType": "uint256"
2638
+ },
2639
+ {
2640
+ "name": "price",
2641
+ "type": "uint256",
2642
+ "internalType": "uint256"
2643
+ }
2644
+ ],
2645
+ "outputs": [],
2646
+ "stateMutability": "nonpayable"
2647
+ },
2648
+ {
2649
+ "type": "function",
2650
+ "name": "listings",
2651
+ "inputs": [
2652
+ {
2653
+ "name": "",
2654
+ "type": "uint256",
2655
+ "internalType": "uint256"
2656
+ }
2657
+ ],
2658
+ "outputs": [
2659
+ {
2660
+ "name": "tokenId",
2661
+ "type": "uint256",
2662
+ "internalType": "uint256"
2663
+ },
2664
+ {
2665
+ "name": "seller",
2666
+ "type": "address",
2667
+ "internalType": "address"
2668
+ },
2669
+ {
2670
+ "name": "price",
2671
+ "type": "uint256",
2672
+ "internalType": "uint256"
2673
+ },
2674
+ {
2675
+ "name": "listedAt",
2676
+ "type": "uint256",
2677
+ "internalType": "uint256"
2678
+ },
2679
+ {
2680
+ "name": "active",
2681
+ "type": "bool",
2682
+ "internalType": "bool"
2683
+ }
2684
+ ],
2685
+ "stateMutability": "view"
2686
+ },
2687
+ {
2688
+ "type": "function",
2689
+ "name": "marketplaceFeeBalance",
2690
+ "inputs": [],
2691
+ "outputs": [
2692
+ {
2693
+ "name": "",
2694
+ "type": "uint256",
2695
+ "internalType": "uint256"
2696
+ }
2697
+ ],
2698
+ "stateMutability": "view"
2699
+ },
2700
+ {
2701
+ "type": "function",
2702
+ "name": "marketplaceFeeBps",
2703
+ "inputs": [],
2704
+ "outputs": [
2705
+ {
2706
+ "name": "",
2707
+ "type": "uint256",
2708
+ "internalType": "uint256"
2709
+ }
2710
+ ],
2711
+ "stateMutability": "view"
2712
+ },
2713
+ {
2714
+ "type": "function",
2715
+ "name": "owner",
2716
+ "inputs": [],
2717
+ "outputs": [
2718
+ {
2719
+ "name": "",
2720
+ "type": "address",
2721
+ "internalType": "address"
2722
+ }
2723
+ ],
2724
+ "stateMutability": "view"
2725
+ },
2726
+ {
2727
+ "type": "function",
2728
+ "name": "proxiableUUID",
2729
+ "inputs": [],
2730
+ "outputs": [
2731
+ {
2732
+ "name": "",
2733
+ "type": "bytes32",
2734
+ "internalType": "bytes32"
2735
+ }
2736
+ ],
2737
+ "stateMutability": "view"
2738
+ },
2739
+ {
2740
+ "type": "function",
2741
+ "name": "registerToken",
2742
+ "inputs": [
2743
+ {
2744
+ "name": "tokenId",
2745
+ "type": "uint256",
2746
+ "internalType": "uint256"
2747
+ },
2748
+ {
2749
+ "name": "isPublic",
2750
+ "type": "bool",
2751
+ "internalType": "bool"
2752
+ },
2753
+ {
2754
+ "name": "tags",
2755
+ "type": "string[]",
2756
+ "internalType": "string[]"
2757
+ }
2758
+ ],
2759
+ "outputs": [],
2760
+ "stateMutability": "nonpayable"
2761
+ },
2762
+ {
2763
+ "type": "function",
2764
+ "name": "registrations",
2765
+ "inputs": [
2766
+ {
2767
+ "name": "",
2768
+ "type": "uint256",
2769
+ "internalType": "uint256"
2770
+ }
2771
+ ],
2772
+ "outputs": [
2773
+ {
2774
+ "name": "tokenId",
2775
+ "type": "uint256",
2776
+ "internalType": "uint256"
2777
+ },
2778
+ {
2779
+ "name": "owner",
2780
+ "type": "address",
2781
+ "internalType": "address"
2782
+ },
2783
+ {
2784
+ "name": "isPublic",
2785
+ "type": "bool",
2786
+ "internalType": "bool"
2787
+ },
2788
+ {
2789
+ "name": "registeredAt",
2790
+ "type": "uint256",
2791
+ "internalType": "uint256"
2792
+ }
2793
+ ],
2794
+ "stateMutability": "view"
2795
+ },
2796
+ {
2797
+ "type": "function",
2798
+ "name": "renounceOwnership",
2799
+ "inputs": [],
2800
+ "outputs": [],
2801
+ "stateMutability": "nonpayable"
2802
+ },
2803
+ {
2804
+ "type": "function",
2805
+ "name": "searchByContentType",
2806
+ "inputs": [
2807
+ {
2808
+ "name": "contentType",
2809
+ "type": "string",
2810
+ "internalType": "string"
2811
+ }
2812
+ ],
2813
+ "outputs": [
2814
+ {
2815
+ "name": "tokenIds",
2816
+ "type": "uint256[]",
2817
+ "internalType": "uint256[]"
2818
+ }
2819
+ ],
2820
+ "stateMutability": "view"
2821
+ },
2822
+ {
2823
+ "type": "function",
2824
+ "name": "searchByOwner",
2825
+ "inputs": [
2826
+ {
2827
+ "name": "walletOwner",
2828
+ "type": "address",
2829
+ "internalType": "address"
2830
+ }
2831
+ ],
2832
+ "outputs": [
2833
+ {
2834
+ "name": "tokenIds",
2835
+ "type": "uint256[]",
2836
+ "internalType": "uint256[]"
2837
+ }
2838
+ ],
2839
+ "stateMutability": "view"
2840
+ },
2841
+ {
2842
+ "type": "function",
2843
+ "name": "searchByTag",
2844
+ "inputs": [
2845
+ {
2846
+ "name": "tag",
2847
+ "type": "string",
2848
+ "internalType": "string"
2849
+ }
2850
+ ],
2851
+ "outputs": [
2852
+ {
2853
+ "name": "tokenIds",
2854
+ "type": "uint256[]",
2855
+ "internalType": "uint256[]"
2856
+ }
2857
+ ],
2858
+ "stateMutability": "view"
2859
+ },
2860
+ {
2861
+ "type": "function",
2862
+ "name": "setInkdToken",
2863
+ "inputs": [
2864
+ {
2865
+ "name": "_inkdToken",
2866
+ "type": "address",
2867
+ "internalType": "address"
2868
+ }
2869
+ ],
2870
+ "outputs": [],
2871
+ "stateMutability": "nonpayable"
2872
+ },
2873
+ {
2874
+ "type": "function",
2875
+ "name": "setMarketplaceFee",
2876
+ "inputs": [
2877
+ {
2878
+ "name": "bps",
2879
+ "type": "uint256",
2880
+ "internalType": "uint256"
2881
+ }
2882
+ ],
2883
+ "outputs": [],
2884
+ "stateMutability": "nonpayable"
2885
+ },
2886
+ {
2887
+ "type": "function",
2888
+ "name": "totalRegisteredTokens",
2889
+ "inputs": [],
2890
+ "outputs": [
2891
+ {
2892
+ "name": "",
2893
+ "type": "uint256",
2894
+ "internalType": "uint256"
2895
+ }
2896
+ ],
2897
+ "stateMutability": "view"
2898
+ },
2899
+ {
2900
+ "type": "function",
2901
+ "name": "totalSales",
2902
+ "inputs": [],
2903
+ "outputs": [
2904
+ {
2905
+ "name": "",
2906
+ "type": "uint256",
2907
+ "internalType": "uint256"
2908
+ }
2909
+ ],
2910
+ "stateMutability": "view"
2911
+ },
2912
+ {
2913
+ "type": "function",
2914
+ "name": "totalTrackedInscriptions",
2915
+ "inputs": [],
2916
+ "outputs": [
2917
+ {
2918
+ "name": "",
2919
+ "type": "uint256",
2920
+ "internalType": "uint256"
2921
+ }
2922
+ ],
2923
+ "stateMutability": "view"
2924
+ },
2925
+ {
2926
+ "type": "function",
2927
+ "name": "totalVolume",
2928
+ "inputs": [],
2929
+ "outputs": [
2930
+ {
2931
+ "name": "",
2932
+ "type": "uint256",
2933
+ "internalType": "uint256"
2934
+ }
2935
+ ],
2936
+ "stateMutability": "view"
2937
+ },
2938
+ {
2939
+ "type": "function",
2940
+ "name": "transferOwnership",
2941
+ "inputs": [
2942
+ {
2943
+ "name": "newOwner",
2944
+ "type": "address",
2945
+ "internalType": "address"
2946
+ }
2947
+ ],
2948
+ "outputs": [],
2949
+ "stateMutability": "nonpayable"
2950
+ },
2951
+ {
2952
+ "type": "function",
2953
+ "name": "updateRegistration",
2954
+ "inputs": [
2955
+ {
2956
+ "name": "tokenId",
2957
+ "type": "uint256",
2958
+ "internalType": "uint256"
2959
+ },
2960
+ {
2961
+ "name": "isPublic",
2962
+ "type": "bool",
2963
+ "internalType": "bool"
2964
+ }
2965
+ ],
2966
+ "outputs": [],
2967
+ "stateMutability": "nonpayable"
2968
+ },
2969
+ {
2970
+ "type": "function",
2971
+ "name": "upgradeToAndCall",
2972
+ "inputs": [
2973
+ {
2974
+ "name": "newImplementation",
2975
+ "type": "address",
2976
+ "internalType": "address"
2977
+ },
2978
+ {
2979
+ "name": "data",
2980
+ "type": "bytes",
2981
+ "internalType": "bytes"
2982
+ }
2983
+ ],
2984
+ "outputs": [],
2985
+ "stateMutability": "payable"
2986
+ },
2987
+ {
2988
+ "type": "function",
2989
+ "name": "withdrawFees",
2990
+ "inputs": [],
2991
+ "outputs": [],
2992
+ "stateMutability": "nonpayable"
2993
+ },
2994
+ {
2995
+ "type": "event",
2996
+ "name": "FeesWithdrawn",
2997
+ "inputs": [
2998
+ {
2999
+ "name": "to",
3000
+ "type": "address",
3001
+ "indexed": true,
3002
+ "internalType": "address"
3003
+ },
3004
+ {
3005
+ "name": "amount",
3006
+ "type": "uint256",
3007
+ "indexed": false,
3008
+ "internalType": "uint256"
3009
+ }
3010
+ ],
3011
+ "anonymous": false
3012
+ },
3013
+ {
3014
+ "type": "event",
3015
+ "name": "Initialized",
3016
+ "inputs": [
3017
+ {
3018
+ "name": "version",
3019
+ "type": "uint64",
3020
+ "indexed": false,
3021
+ "internalType": "uint64"
3022
+ }
3023
+ ],
3024
+ "anonymous": false
3025
+ },
3026
+ {
3027
+ "type": "event",
3028
+ "name": "ListingCancelled",
3029
+ "inputs": [
3030
+ {
3031
+ "name": "tokenId",
3032
+ "type": "uint256",
3033
+ "indexed": true,
3034
+ "internalType": "uint256"
3035
+ }
3036
+ ],
3037
+ "anonymous": false
3038
+ },
3039
+ {
3040
+ "type": "event",
3041
+ "name": "OwnershipTransferred",
3042
+ "inputs": [
3043
+ {
3044
+ "name": "previousOwner",
3045
+ "type": "address",
3046
+ "indexed": true,
3047
+ "internalType": "address"
3048
+ },
3049
+ {
3050
+ "name": "newOwner",
3051
+ "type": "address",
3052
+ "indexed": true,
3053
+ "internalType": "address"
3054
+ }
3055
+ ],
3056
+ "anonymous": false
3057
+ },
3058
+ {
3059
+ "type": "event",
3060
+ "name": "RegistrationUpdated",
3061
+ "inputs": [
3062
+ {
3063
+ "name": "tokenId",
3064
+ "type": "uint256",
3065
+ "indexed": true,
3066
+ "internalType": "uint256"
3067
+ },
3068
+ {
3069
+ "name": "isPublic",
3070
+ "type": "bool",
3071
+ "indexed": false,
3072
+ "internalType": "bool"
3073
+ }
3074
+ ],
3075
+ "anonymous": false
3076
+ },
3077
+ {
3078
+ "type": "event",
3079
+ "name": "TagsAdded",
3080
+ "inputs": [
3081
+ {
3082
+ "name": "tokenId",
3083
+ "type": "uint256",
3084
+ "indexed": true,
3085
+ "internalType": "uint256"
3086
+ },
3087
+ {
3088
+ "name": "inscriptionIndex",
3089
+ "type": "uint256",
3090
+ "indexed": true,
3091
+ "internalType": "uint256"
3092
+ },
3093
+ {
3094
+ "name": "tags",
3095
+ "type": "string[]",
3096
+ "indexed": false,
3097
+ "internalType": "string[]"
3098
+ }
3099
+ ],
3100
+ "anonymous": false
3101
+ },
3102
+ {
3103
+ "type": "event",
3104
+ "name": "TokenListed",
3105
+ "inputs": [
3106
+ {
3107
+ "name": "tokenId",
3108
+ "type": "uint256",
3109
+ "indexed": true,
3110
+ "internalType": "uint256"
3111
+ },
3112
+ {
3113
+ "name": "seller",
3114
+ "type": "address",
3115
+ "indexed": true,
3116
+ "internalType": "address"
3117
+ },
3118
+ {
3119
+ "name": "price",
3120
+ "type": "uint256",
3121
+ "indexed": false,
3122
+ "internalType": "uint256"
3123
+ }
3124
+ ],
3125
+ "anonymous": false
3126
+ },
3127
+ {
3128
+ "type": "event",
3129
+ "name": "TokenRegistered",
3130
+ "inputs": [
3131
+ {
3132
+ "name": "tokenId",
3133
+ "type": "uint256",
3134
+ "indexed": true,
3135
+ "internalType": "uint256"
3136
+ },
3137
+ {
3138
+ "name": "owner",
3139
+ "type": "address",
3140
+ "indexed": true,
3141
+ "internalType": "address"
3142
+ },
3143
+ {
3144
+ "name": "isPublic",
3145
+ "type": "bool",
3146
+ "indexed": false,
3147
+ "internalType": "bool"
3148
+ }
3149
+ ],
3150
+ "anonymous": false
3151
+ },
3152
+ {
3153
+ "type": "event",
3154
+ "name": "TokenSold",
3155
+ "inputs": [
3156
+ {
3157
+ "name": "tokenId",
3158
+ "type": "uint256",
3159
+ "indexed": true,
3160
+ "internalType": "uint256"
3161
+ },
3162
+ {
3163
+ "name": "seller",
3164
+ "type": "address",
3165
+ "indexed": true,
3166
+ "internalType": "address"
3167
+ },
3168
+ {
3169
+ "name": "buyer",
3170
+ "type": "address",
3171
+ "indexed": true,
3172
+ "internalType": "address"
3173
+ },
3174
+ {
3175
+ "name": "price",
3176
+ "type": "uint256",
3177
+ "indexed": false,
3178
+ "internalType": "uint256"
3179
+ },
3180
+ {
3181
+ "name": "fee",
3182
+ "type": "uint256",
3183
+ "indexed": false,
3184
+ "internalType": "uint256"
3185
+ }
3186
+ ],
3187
+ "anonymous": false
3188
+ },
3189
+ {
3190
+ "type": "event",
3191
+ "name": "TokenUnregistered",
3192
+ "inputs": [
3193
+ {
3194
+ "name": "tokenId",
3195
+ "type": "uint256",
3196
+ "indexed": true,
3197
+ "internalType": "uint256"
3198
+ }
3199
+ ],
3200
+ "anonymous": false
3201
+ },
3202
+ {
3203
+ "type": "event",
3204
+ "name": "Upgraded",
3205
+ "inputs": [
3206
+ {
3207
+ "name": "implementation",
3208
+ "type": "address",
3209
+ "indexed": true,
3210
+ "internalType": "address"
3211
+ }
3212
+ ],
3213
+ "anonymous": false
3214
+ },
3215
+ {
3216
+ "type": "error",
3217
+ "name": "AddressEmptyCode",
3218
+ "inputs": [
3219
+ {
3220
+ "name": "target",
3221
+ "type": "address",
3222
+ "internalType": "address"
3223
+ }
3224
+ ]
3225
+ },
3226
+ {
3227
+ "type": "error",
3228
+ "name": "AlreadyRegistered",
3229
+ "inputs": [
3230
+ {
3231
+ "name": "tokenId",
3232
+ "type": "uint256",
3233
+ "internalType": "uint256"
3234
+ }
3235
+ ]
3236
+ },
3237
+ {
3238
+ "type": "error",
3239
+ "name": "CannotBuyOwnListing",
3240
+ "inputs": []
3241
+ },
3242
+ {
3243
+ "type": "error",
3244
+ "name": "ERC1967InvalidImplementation",
3245
+ "inputs": [
3246
+ {
3247
+ "name": "implementation",
3248
+ "type": "address",
3249
+ "internalType": "address"
3250
+ }
3251
+ ]
3252
+ },
3253
+ {
3254
+ "type": "error",
3255
+ "name": "ERC1967NonPayable",
3256
+ "inputs": []
3257
+ },
3258
+ {
3259
+ "type": "error",
3260
+ "name": "FailedCall",
3261
+ "inputs": []
3262
+ },
3263
+ {
3264
+ "type": "error",
3265
+ "name": "FeeExceedsMax",
3266
+ "inputs": [
3267
+ {
3268
+ "name": "bps",
3269
+ "type": "uint256",
3270
+ "internalType": "uint256"
3271
+ }
3272
+ ]
3273
+ },
3274
+ {
3275
+ "type": "error",
3276
+ "name": "InsufficientPayment",
3277
+ "inputs": [
3278
+ {
3279
+ "name": "required",
3280
+ "type": "uint256",
3281
+ "internalType": "uint256"
3282
+ },
3283
+ {
3284
+ "name": "sent",
3285
+ "type": "uint256",
3286
+ "internalType": "uint256"
3287
+ }
3288
+ ]
3289
+ },
3290
+ {
3291
+ "type": "error",
3292
+ "name": "InvalidInitialization",
3293
+ "inputs": []
3294
+ },
3295
+ {
3296
+ "type": "error",
3297
+ "name": "NoFeesToWithdraw",
3298
+ "inputs": []
3299
+ },
3300
+ {
3301
+ "type": "error",
3302
+ "name": "NotInitializing",
3303
+ "inputs": []
3304
+ },
3305
+ {
3306
+ "type": "error",
3307
+ "name": "NotInkdHolder",
3308
+ "inputs": []
3309
+ },
3310
+ {
3311
+ "type": "error",
3312
+ "name": "NotListed",
3313
+ "inputs": [
3314
+ {
3315
+ "name": "tokenId",
3316
+ "type": "uint256",
3317
+ "internalType": "uint256"
3318
+ }
3319
+ ]
3320
+ },
3321
+ {
3322
+ "type": "error",
3323
+ "name": "NotRegistered",
3324
+ "inputs": [
3325
+ {
3326
+ "name": "tokenId",
3327
+ "type": "uint256",
3328
+ "internalType": "uint256"
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "type": "error",
3334
+ "name": "NotTokenOwner",
3335
+ "inputs": [
3336
+ {
3337
+ "name": "tokenId",
3338
+ "type": "uint256",
3339
+ "internalType": "uint256"
3340
+ },
3341
+ {
3342
+ "name": "caller",
3343
+ "type": "address",
3344
+ "internalType": "address"
3345
+ }
3346
+ ]
3347
+ },
3348
+ {
3349
+ "type": "error",
3350
+ "name": "OwnableInvalidOwner",
3351
+ "inputs": [
3352
+ {
3353
+ "name": "owner",
3354
+ "type": "address",
3355
+ "internalType": "address"
3356
+ }
3357
+ ]
3358
+ },
3359
+ {
3360
+ "type": "error",
3361
+ "name": "OwnableUnauthorizedAccount",
3362
+ "inputs": [
3363
+ {
3364
+ "name": "account",
3365
+ "type": "address",
3366
+ "internalType": "address"
3367
+ }
3368
+ ]
3369
+ },
3370
+ {
3371
+ "type": "error",
3372
+ "name": "ReentrancyGuardReentrantCall",
3373
+ "inputs": []
3374
+ },
3375
+ {
3376
+ "type": "error",
3377
+ "name": "TooManyTags",
3378
+ "inputs": [
3379
+ {
3380
+ "name": "count",
3381
+ "type": "uint256",
3382
+ "internalType": "uint256"
3383
+ },
3384
+ {
3385
+ "name": "max",
3386
+ "type": "uint256",
3387
+ "internalType": "uint256"
3388
+ }
3389
+ ]
3390
+ },
3391
+ {
3392
+ "type": "error",
3393
+ "name": "TransferFailed",
3394
+ "inputs": []
3395
+ },
3396
+ {
3397
+ "type": "error",
3398
+ "name": "UUPSUnauthorizedCallContext",
3399
+ "inputs": []
3400
+ },
3401
+ {
3402
+ "type": "error",
3403
+ "name": "UUPSUnsupportedProxiableUUID",
3404
+ "inputs": [
3405
+ {
3406
+ "name": "slot",
3407
+ "type": "bytes32",
3408
+ "internalType": "bytes32"
3409
+ }
3410
+ ]
3411
+ },
3412
+ {
3413
+ "type": "error",
3414
+ "name": "ZeroAddress",
3415
+ "inputs": []
3416
+ },
3417
+ {
3418
+ "type": "error",
3419
+ "name": "ZeroPrice",
3420
+ "inputs": []
3421
+ }
3422
+ ];
3423
+ //# sourceMappingURL=abi.js.map