@lukso/lsp8-contracts 0.15.0-rc.5 → 0.16.2

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 (50) hide show
  1. package/README.md +15 -1
  2. package/artifacts/ILSP8IdentifiableDigitalAsset.json +0 -112
  3. package/artifacts/LSP8Burnable.json +0 -11
  4. package/artifacts/LSP8BurnableInitAbstract.json +0 -16
  5. package/artifacts/LSP8CappedSupply.json +0 -11
  6. package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -16
  7. package/artifacts/LSP8Enumerable.json +0 -11
  8. package/artifacts/LSP8EnumerableInitAbstract.json +0 -16
  9. package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -11
  10. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -16
  11. package/artifacts/LSP8Mintable.json +2 -13
  12. package/artifacts/LSP8MintableInit.json +2 -13
  13. package/artifacts/LSP8Votes.json +1230 -0
  14. package/artifacts/LSP8VotesInitAbstract.json +1222 -0
  15. package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.12.0.json +739 -748
  16. package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.13.0.json +890 -899
  17. package/compatibility-abis/LSP8IdentifiableDigitalAsset-v0.14.0.json +890 -899
  18. package/compatibility-abis/LSP8IdentifiableDigitalAsset.json +927 -0
  19. package/compatibility-abis/README.md +34 -0
  20. package/contracts/ILSP8IdentifiableDigitalAsset.sol +2 -8
  21. package/contracts/LSP8Constants.sol +4 -0
  22. package/contracts/LSP8IdentifiableDigitalAsset.sol +796 -36
  23. package/contracts/LSP8IdentifiableDigitalAssetInitAbstract.sol +806 -36
  24. package/contracts/extensions/LSP8CappedSupply.sol +1 -1
  25. package/contracts/extensions/LSP8CappedSupplyInitAbstract.sol +1 -1
  26. package/contracts/extensions/LSP8Enumerable.sol +6 -5
  27. package/contracts/extensions/LSP8EnumerableInitAbstract.sol +5 -5
  28. package/contracts/extensions/LSP8Votes.sol +94 -0
  29. package/contracts/extensions/LSP8VotesConstants.sol +8 -0
  30. package/contracts/extensions/LSP8VotesInitAbstract.sol +116 -0
  31. package/dist/index.cjs +10 -1
  32. package/dist/index.d.cts +23 -17
  33. package/dist/index.d.mts +23 -17
  34. package/dist/index.d.ts +23 -17
  35. package/dist/index.mjs +10 -2
  36. package/package.json +7 -8
  37. package/types/index.ts +3958 -1854
  38. package/contracts/LSP8IdentifiableDigitalAssetCore.sol +0 -806
  39. package/types/common.ts +0 -131
  40. package/types/contracts/ILSP8IdentifiableDigitalAsset.ts +0 -706
  41. package/types/contracts/LSP8IdentifiableDigitalAsset.ts +0 -778
  42. package/types/contracts/LSP8IdentifiableDigitalAssetInitAbstract.ts +0 -813
  43. package/types/contracts/extensions/LSP8Burnable.ts +0 -797
  44. package/types/contracts/extensions/LSP8BurnableInitAbstract.ts +0 -829
  45. package/types/contracts/extensions/LSP8CappedSupply.ts +0 -792
  46. package/types/contracts/extensions/LSP8CappedSupplyInitAbstract.ts +0 -824
  47. package/types/contracts/extensions/LSP8Enumerable.ts +0 -790
  48. package/types/contracts/extensions/LSP8EnumerableInitAbstract.ts +0 -821
  49. package/types/contracts/presets/LSP8Mintable.ts +0 -797
  50. package/types/contracts/presets/LSP8MintableInit.ts +0 -860
@@ -0,0 +1,1222 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "LSP8VotesInitAbstract",
4
+ "sourceName": "contracts/extensions/LSP8VotesInitAbstract.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ERC725Y_DataKeysValuesEmptyArray",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ERC725Y_DataKeysValuesLengthMismatch",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "ERC725Y_MsgValueDisallowed",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "bytes",
25
+ "name": "storedData",
26
+ "type": "bytes"
27
+ }
28
+ ],
29
+ "name": "InvalidExtensionAddress",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "bytes",
36
+ "name": "data",
37
+ "type": "bytes"
38
+ }
39
+ ],
40
+ "name": "InvalidFunctionSelector",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "LSP4TokenNameNotEditable",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "LSP4TokenSymbolNotEditable",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [],
55
+ "name": "LSP4TokenTypeNotEditable",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "callIndex",
63
+ "type": "uint256"
64
+ }
65
+ ],
66
+ "name": "LSP8BatchCallFailed",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "LSP8CannotSendToAddressZero",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "LSP8CannotUseAddressZeroAsOperator",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "LSP8InvalidTransferBatch",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [
86
+ {
87
+ "internalType": "bytes32",
88
+ "name": "tokenId",
89
+ "type": "bytes32"
90
+ }
91
+ ],
92
+ "name": "LSP8NonExistentTokenId",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "address",
99
+ "name": "operator",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "internalType": "bytes32",
104
+ "name": "tokenId",
105
+ "type": "bytes32"
106
+ }
107
+ ],
108
+ "name": "LSP8NonExistingOperator",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "bytes32",
115
+ "name": "tokenId",
116
+ "type": "bytes32"
117
+ },
118
+ {
119
+ "internalType": "address",
120
+ "name": "caller",
121
+ "type": "address"
122
+ }
123
+ ],
124
+ "name": "LSP8NotTokenOperator",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "address",
131
+ "name": "tokenOwner",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "internalType": "bytes32",
136
+ "name": "tokenId",
137
+ "type": "bytes32"
138
+ },
139
+ {
140
+ "internalType": "address",
141
+ "name": "caller",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "LSP8NotTokenOwner",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "tokenReceiver",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "LSP8NotifyTokenReceiverContractMissingLSP1Interface",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "address",
163
+ "name": "tokenReceiver",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "name": "LSP8NotifyTokenReceiverIsEOA",
168
+ "type": "error"
169
+ },
170
+ {
171
+ "inputs": [
172
+ {
173
+ "internalType": "address",
174
+ "name": "operator",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "internalType": "bytes32",
179
+ "name": "tokenId",
180
+ "type": "bytes32"
181
+ }
182
+ ],
183
+ "name": "LSP8OperatorAlreadyAuthorized",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "address",
190
+ "name": "caller",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "internalType": "address",
195
+ "name": "tokenOwner",
196
+ "type": "address"
197
+ },
198
+ {
199
+ "internalType": "bytes32",
200
+ "name": "tokenId",
201
+ "type": "bytes32"
202
+ }
203
+ ],
204
+ "name": "LSP8RevokeOperatorNotAuthorized",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "LSP8TokenContractCannotHoldValue",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "LSP8TokenIdFormatNotEditable",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [],
219
+ "name": "LSP8TokenIdsDataEmptyArray",
220
+ "type": "error"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "LSP8TokenIdsDataLengthMismatch",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "LSP8TokenOwnerCannotBeOperator",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "bytes32",
236
+ "name": "tokenId",
237
+ "type": "bytes32"
238
+ },
239
+ {
240
+ "internalType": "address",
241
+ "name": "oldOwner",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "address",
246
+ "name": "newOwner",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "name": "LSP8TokenOwnerChanged",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "bytes4",
257
+ "name": "functionSelector",
258
+ "type": "bytes4"
259
+ }
260
+ ],
261
+ "name": "NoExtensionFoundForFunctionSelector",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "anonymous": false,
266
+ "inputs": [
267
+ {
268
+ "indexed": true,
269
+ "internalType": "bytes32",
270
+ "name": "dataKey",
271
+ "type": "bytes32"
272
+ },
273
+ {
274
+ "indexed": false,
275
+ "internalType": "bytes",
276
+ "name": "dataValue",
277
+ "type": "bytes"
278
+ }
279
+ ],
280
+ "name": "DataChanged",
281
+ "type": "event"
282
+ },
283
+ {
284
+ "anonymous": false,
285
+ "inputs": [
286
+ {
287
+ "indexed": true,
288
+ "internalType": "address",
289
+ "name": "delegator",
290
+ "type": "address"
291
+ },
292
+ {
293
+ "indexed": true,
294
+ "internalType": "address",
295
+ "name": "fromDelegate",
296
+ "type": "address"
297
+ },
298
+ {
299
+ "indexed": true,
300
+ "internalType": "address",
301
+ "name": "toDelegate",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "name": "DelegateChanged",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": true,
313
+ "internalType": "address",
314
+ "name": "delegate",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "uint256",
320
+ "name": "previousBalance",
321
+ "type": "uint256"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "uint256",
326
+ "name": "newBalance",
327
+ "type": "uint256"
328
+ }
329
+ ],
330
+ "name": "DelegateVotesChanged",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [],
336
+ "name": "EIP712DomainChanged",
337
+ "type": "event"
338
+ },
339
+ {
340
+ "anonymous": false,
341
+ "inputs": [
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint8",
345
+ "name": "version",
346
+ "type": "uint8"
347
+ }
348
+ ],
349
+ "name": "Initialized",
350
+ "type": "event"
351
+ },
352
+ {
353
+ "anonymous": false,
354
+ "inputs": [
355
+ {
356
+ "indexed": true,
357
+ "internalType": "address",
358
+ "name": "operator",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "indexed": true,
363
+ "internalType": "address",
364
+ "name": "tokenOwner",
365
+ "type": "address"
366
+ },
367
+ {
368
+ "indexed": true,
369
+ "internalType": "bytes32",
370
+ "name": "tokenId",
371
+ "type": "bytes32"
372
+ },
373
+ {
374
+ "indexed": false,
375
+ "internalType": "bytes",
376
+ "name": "operatorNotificationData",
377
+ "type": "bytes"
378
+ }
379
+ ],
380
+ "name": "OperatorAuthorizationChanged",
381
+ "type": "event"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": true,
388
+ "internalType": "address",
389
+ "name": "operator",
390
+ "type": "address"
391
+ },
392
+ {
393
+ "indexed": true,
394
+ "internalType": "address",
395
+ "name": "tokenOwner",
396
+ "type": "address"
397
+ },
398
+ {
399
+ "indexed": true,
400
+ "internalType": "bytes32",
401
+ "name": "tokenId",
402
+ "type": "bytes32"
403
+ },
404
+ {
405
+ "indexed": false,
406
+ "internalType": "bool",
407
+ "name": "notified",
408
+ "type": "bool"
409
+ },
410
+ {
411
+ "indexed": false,
412
+ "internalType": "bytes",
413
+ "name": "operatorNotificationData",
414
+ "type": "bytes"
415
+ }
416
+ ],
417
+ "name": "OperatorRevoked",
418
+ "type": "event"
419
+ },
420
+ {
421
+ "anonymous": false,
422
+ "inputs": [
423
+ {
424
+ "indexed": true,
425
+ "internalType": "address",
426
+ "name": "previousOwner",
427
+ "type": "address"
428
+ },
429
+ {
430
+ "indexed": true,
431
+ "internalType": "address",
432
+ "name": "newOwner",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "OwnershipTransferred",
437
+ "type": "event"
438
+ },
439
+ {
440
+ "anonymous": false,
441
+ "inputs": [
442
+ {
443
+ "indexed": true,
444
+ "internalType": "bytes32",
445
+ "name": "tokenId",
446
+ "type": "bytes32"
447
+ },
448
+ {
449
+ "indexed": true,
450
+ "internalType": "bytes32",
451
+ "name": "dataKey",
452
+ "type": "bytes32"
453
+ },
454
+ {
455
+ "indexed": false,
456
+ "internalType": "bytes",
457
+ "name": "dataValue",
458
+ "type": "bytes"
459
+ }
460
+ ],
461
+ "name": "TokenIdDataChanged",
462
+ "type": "event"
463
+ },
464
+ {
465
+ "anonymous": false,
466
+ "inputs": [
467
+ {
468
+ "indexed": false,
469
+ "internalType": "address",
470
+ "name": "operator",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "indexed": true,
475
+ "internalType": "address",
476
+ "name": "from",
477
+ "type": "address"
478
+ },
479
+ {
480
+ "indexed": true,
481
+ "internalType": "address",
482
+ "name": "to",
483
+ "type": "address"
484
+ },
485
+ {
486
+ "indexed": true,
487
+ "internalType": "bytes32",
488
+ "name": "tokenId",
489
+ "type": "bytes32"
490
+ },
491
+ {
492
+ "indexed": false,
493
+ "internalType": "bool",
494
+ "name": "force",
495
+ "type": "bool"
496
+ },
497
+ {
498
+ "indexed": false,
499
+ "internalType": "bytes",
500
+ "name": "data",
501
+ "type": "bytes"
502
+ }
503
+ ],
504
+ "name": "Transfer",
505
+ "type": "event"
506
+ },
507
+ {
508
+ "stateMutability": "payable",
509
+ "type": "fallback"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "CLOCK_MODE",
514
+ "outputs": [
515
+ {
516
+ "internalType": "string",
517
+ "name": "",
518
+ "type": "string"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "DOMAIN_SEPARATOR",
527
+ "outputs": [
528
+ {
529
+ "internalType": "bytes32",
530
+ "name": "",
531
+ "type": "bytes32"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "address",
541
+ "name": "operator",
542
+ "type": "address"
543
+ },
544
+ {
545
+ "internalType": "bytes32",
546
+ "name": "tokenId",
547
+ "type": "bytes32"
548
+ },
549
+ {
550
+ "internalType": "bytes",
551
+ "name": "operatorNotificationData",
552
+ "type": "bytes"
553
+ }
554
+ ],
555
+ "name": "authorizeOperator",
556
+ "outputs": [],
557
+ "stateMutability": "nonpayable",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [
562
+ {
563
+ "internalType": "address",
564
+ "name": "tokenOwner",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "name": "balanceOf",
569
+ "outputs": [
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "",
573
+ "type": "uint256"
574
+ }
575
+ ],
576
+ "stateMutability": "view",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "bytes[]",
583
+ "name": "data",
584
+ "type": "bytes[]"
585
+ }
586
+ ],
587
+ "name": "batchCalls",
588
+ "outputs": [
589
+ {
590
+ "internalType": "bytes[]",
591
+ "name": "results",
592
+ "type": "bytes[]"
593
+ }
594
+ ],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [],
600
+ "name": "clock",
601
+ "outputs": [
602
+ {
603
+ "internalType": "uint48",
604
+ "name": "",
605
+ "type": "uint48"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [
613
+ {
614
+ "internalType": "address",
615
+ "name": "delegatee",
616
+ "type": "address"
617
+ }
618
+ ],
619
+ "name": "delegate",
620
+ "outputs": [],
621
+ "stateMutability": "nonpayable",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [
626
+ {
627
+ "internalType": "address",
628
+ "name": "delegatee",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "nonce",
634
+ "type": "uint256"
635
+ },
636
+ {
637
+ "internalType": "uint256",
638
+ "name": "expiry",
639
+ "type": "uint256"
640
+ },
641
+ {
642
+ "internalType": "uint8",
643
+ "name": "v",
644
+ "type": "uint8"
645
+ },
646
+ {
647
+ "internalType": "bytes32",
648
+ "name": "r",
649
+ "type": "bytes32"
650
+ },
651
+ {
652
+ "internalType": "bytes32",
653
+ "name": "s",
654
+ "type": "bytes32"
655
+ }
656
+ ],
657
+ "name": "delegateBySig",
658
+ "outputs": [],
659
+ "stateMutability": "nonpayable",
660
+ "type": "function"
661
+ },
662
+ {
663
+ "inputs": [
664
+ {
665
+ "internalType": "address",
666
+ "name": "account",
667
+ "type": "address"
668
+ }
669
+ ],
670
+ "name": "delegates",
671
+ "outputs": [
672
+ {
673
+ "internalType": "address",
674
+ "name": "",
675
+ "type": "address"
676
+ }
677
+ ],
678
+ "stateMutability": "view",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [],
683
+ "name": "eip712Domain",
684
+ "outputs": [
685
+ {
686
+ "internalType": "bytes1",
687
+ "name": "fields",
688
+ "type": "bytes1"
689
+ },
690
+ {
691
+ "internalType": "string",
692
+ "name": "name",
693
+ "type": "string"
694
+ },
695
+ {
696
+ "internalType": "string",
697
+ "name": "version",
698
+ "type": "string"
699
+ },
700
+ {
701
+ "internalType": "uint256",
702
+ "name": "chainId",
703
+ "type": "uint256"
704
+ },
705
+ {
706
+ "internalType": "address",
707
+ "name": "verifyingContract",
708
+ "type": "address"
709
+ },
710
+ {
711
+ "internalType": "bytes32",
712
+ "name": "salt",
713
+ "type": "bytes32"
714
+ },
715
+ {
716
+ "internalType": "uint256[]",
717
+ "name": "extensions",
718
+ "type": "uint256[]"
719
+ }
720
+ ],
721
+ "stateMutability": "view",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "bytes32",
728
+ "name": "dataKey",
729
+ "type": "bytes32"
730
+ }
731
+ ],
732
+ "name": "getData",
733
+ "outputs": [
734
+ {
735
+ "internalType": "bytes",
736
+ "name": "dataValue",
737
+ "type": "bytes"
738
+ }
739
+ ],
740
+ "stateMutability": "view",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "internalType": "bytes32[]",
747
+ "name": "dataKeys",
748
+ "type": "bytes32[]"
749
+ }
750
+ ],
751
+ "name": "getDataBatch",
752
+ "outputs": [
753
+ {
754
+ "internalType": "bytes[]",
755
+ "name": "dataValues",
756
+ "type": "bytes[]"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [
764
+ {
765
+ "internalType": "bytes32[]",
766
+ "name": "tokenIds",
767
+ "type": "bytes32[]"
768
+ },
769
+ {
770
+ "internalType": "bytes32[]",
771
+ "name": "dataKeys",
772
+ "type": "bytes32[]"
773
+ }
774
+ ],
775
+ "name": "getDataBatchForTokenIds",
776
+ "outputs": [
777
+ {
778
+ "internalType": "bytes[]",
779
+ "name": "dataValues",
780
+ "type": "bytes[]"
781
+ }
782
+ ],
783
+ "stateMutability": "view",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "internalType": "bytes32",
790
+ "name": "tokenId",
791
+ "type": "bytes32"
792
+ },
793
+ {
794
+ "internalType": "bytes32",
795
+ "name": "dataKey",
796
+ "type": "bytes32"
797
+ }
798
+ ],
799
+ "name": "getDataForTokenId",
800
+ "outputs": [
801
+ {
802
+ "internalType": "bytes",
803
+ "name": "dataValue",
804
+ "type": "bytes"
805
+ }
806
+ ],
807
+ "stateMutability": "view",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [
812
+ {
813
+ "internalType": "bytes32",
814
+ "name": "tokenId",
815
+ "type": "bytes32"
816
+ }
817
+ ],
818
+ "name": "getOperatorsOf",
819
+ "outputs": [
820
+ {
821
+ "internalType": "address[]",
822
+ "name": "",
823
+ "type": "address[]"
824
+ }
825
+ ],
826
+ "stateMutability": "view",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "timepoint",
834
+ "type": "uint256"
835
+ }
836
+ ],
837
+ "name": "getPastTotalSupply",
838
+ "outputs": [
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "",
842
+ "type": "uint256"
843
+ }
844
+ ],
845
+ "stateMutability": "view",
846
+ "type": "function"
847
+ },
848
+ {
849
+ "inputs": [
850
+ {
851
+ "internalType": "address",
852
+ "name": "account",
853
+ "type": "address"
854
+ },
855
+ {
856
+ "internalType": "uint256",
857
+ "name": "timepoint",
858
+ "type": "uint256"
859
+ }
860
+ ],
861
+ "name": "getPastVotes",
862
+ "outputs": [
863
+ {
864
+ "internalType": "uint256",
865
+ "name": "",
866
+ "type": "uint256"
867
+ }
868
+ ],
869
+ "stateMutability": "view",
870
+ "type": "function"
871
+ },
872
+ {
873
+ "inputs": [
874
+ {
875
+ "internalType": "address",
876
+ "name": "account",
877
+ "type": "address"
878
+ }
879
+ ],
880
+ "name": "getVotes",
881
+ "outputs": [
882
+ {
883
+ "internalType": "uint256",
884
+ "name": "",
885
+ "type": "uint256"
886
+ }
887
+ ],
888
+ "stateMutability": "view",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "address",
895
+ "name": "operator",
896
+ "type": "address"
897
+ },
898
+ {
899
+ "internalType": "bytes32",
900
+ "name": "tokenId",
901
+ "type": "bytes32"
902
+ }
903
+ ],
904
+ "name": "isOperatorFor",
905
+ "outputs": [
906
+ {
907
+ "internalType": "bool",
908
+ "name": "",
909
+ "type": "bool"
910
+ }
911
+ ],
912
+ "stateMutability": "view",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [
917
+ {
918
+ "internalType": "address",
919
+ "name": "owner",
920
+ "type": "address"
921
+ }
922
+ ],
923
+ "name": "nonces",
924
+ "outputs": [
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "",
928
+ "type": "uint256"
929
+ }
930
+ ],
931
+ "stateMutability": "view",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "inputs": [],
936
+ "name": "owner",
937
+ "outputs": [
938
+ {
939
+ "internalType": "address",
940
+ "name": "",
941
+ "type": "address"
942
+ }
943
+ ],
944
+ "stateMutability": "view",
945
+ "type": "function"
946
+ },
947
+ {
948
+ "inputs": [],
949
+ "name": "renounceOwnership",
950
+ "outputs": [],
951
+ "stateMutability": "nonpayable",
952
+ "type": "function"
953
+ },
954
+ {
955
+ "inputs": [
956
+ {
957
+ "internalType": "address",
958
+ "name": "operator",
959
+ "type": "address"
960
+ },
961
+ {
962
+ "internalType": "bytes32",
963
+ "name": "tokenId",
964
+ "type": "bytes32"
965
+ },
966
+ {
967
+ "internalType": "bool",
968
+ "name": "notify",
969
+ "type": "bool"
970
+ },
971
+ {
972
+ "internalType": "bytes",
973
+ "name": "operatorNotificationData",
974
+ "type": "bytes"
975
+ }
976
+ ],
977
+ "name": "revokeOperator",
978
+ "outputs": [],
979
+ "stateMutability": "nonpayable",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "internalType": "bytes32",
986
+ "name": "dataKey",
987
+ "type": "bytes32"
988
+ },
989
+ {
990
+ "internalType": "bytes",
991
+ "name": "dataValue",
992
+ "type": "bytes"
993
+ }
994
+ ],
995
+ "name": "setData",
996
+ "outputs": [],
997
+ "stateMutability": "payable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "bytes32[]",
1004
+ "name": "dataKeys",
1005
+ "type": "bytes32[]"
1006
+ },
1007
+ {
1008
+ "internalType": "bytes[]",
1009
+ "name": "dataValues",
1010
+ "type": "bytes[]"
1011
+ }
1012
+ ],
1013
+ "name": "setDataBatch",
1014
+ "outputs": [],
1015
+ "stateMutability": "payable",
1016
+ "type": "function"
1017
+ },
1018
+ {
1019
+ "inputs": [
1020
+ {
1021
+ "internalType": "bytes32[]",
1022
+ "name": "tokenIds",
1023
+ "type": "bytes32[]"
1024
+ },
1025
+ {
1026
+ "internalType": "bytes32[]",
1027
+ "name": "dataKeys",
1028
+ "type": "bytes32[]"
1029
+ },
1030
+ {
1031
+ "internalType": "bytes[]",
1032
+ "name": "dataValues",
1033
+ "type": "bytes[]"
1034
+ }
1035
+ ],
1036
+ "name": "setDataBatchForTokenIds",
1037
+ "outputs": [],
1038
+ "stateMutability": "nonpayable",
1039
+ "type": "function"
1040
+ },
1041
+ {
1042
+ "inputs": [
1043
+ {
1044
+ "internalType": "bytes32",
1045
+ "name": "tokenId",
1046
+ "type": "bytes32"
1047
+ },
1048
+ {
1049
+ "internalType": "bytes32",
1050
+ "name": "dataKey",
1051
+ "type": "bytes32"
1052
+ },
1053
+ {
1054
+ "internalType": "bytes",
1055
+ "name": "dataValue",
1056
+ "type": "bytes"
1057
+ }
1058
+ ],
1059
+ "name": "setDataForTokenId",
1060
+ "outputs": [],
1061
+ "stateMutability": "nonpayable",
1062
+ "type": "function"
1063
+ },
1064
+ {
1065
+ "inputs": [
1066
+ {
1067
+ "internalType": "bytes4",
1068
+ "name": "interfaceId",
1069
+ "type": "bytes4"
1070
+ }
1071
+ ],
1072
+ "name": "supportsInterface",
1073
+ "outputs": [
1074
+ {
1075
+ "internalType": "bool",
1076
+ "name": "",
1077
+ "type": "bool"
1078
+ }
1079
+ ],
1080
+ "stateMutability": "view",
1081
+ "type": "function"
1082
+ },
1083
+ {
1084
+ "inputs": [
1085
+ {
1086
+ "internalType": "address",
1087
+ "name": "tokenOwner",
1088
+ "type": "address"
1089
+ }
1090
+ ],
1091
+ "name": "tokenIdsOf",
1092
+ "outputs": [
1093
+ {
1094
+ "internalType": "bytes32[]",
1095
+ "name": "",
1096
+ "type": "bytes32[]"
1097
+ }
1098
+ ],
1099
+ "stateMutability": "view",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [
1104
+ {
1105
+ "internalType": "bytes32",
1106
+ "name": "tokenId",
1107
+ "type": "bytes32"
1108
+ }
1109
+ ],
1110
+ "name": "tokenOwnerOf",
1111
+ "outputs": [
1112
+ {
1113
+ "internalType": "address",
1114
+ "name": "",
1115
+ "type": "address"
1116
+ }
1117
+ ],
1118
+ "stateMutability": "view",
1119
+ "type": "function"
1120
+ },
1121
+ {
1122
+ "inputs": [],
1123
+ "name": "totalSupply",
1124
+ "outputs": [
1125
+ {
1126
+ "internalType": "uint256",
1127
+ "name": "",
1128
+ "type": "uint256"
1129
+ }
1130
+ ],
1131
+ "stateMutability": "view",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "from",
1139
+ "type": "address"
1140
+ },
1141
+ {
1142
+ "internalType": "address",
1143
+ "name": "to",
1144
+ "type": "address"
1145
+ },
1146
+ {
1147
+ "internalType": "bytes32",
1148
+ "name": "tokenId",
1149
+ "type": "bytes32"
1150
+ },
1151
+ {
1152
+ "internalType": "bool",
1153
+ "name": "force",
1154
+ "type": "bool"
1155
+ },
1156
+ {
1157
+ "internalType": "bytes",
1158
+ "name": "data",
1159
+ "type": "bytes"
1160
+ }
1161
+ ],
1162
+ "name": "transfer",
1163
+ "outputs": [],
1164
+ "stateMutability": "nonpayable",
1165
+ "type": "function"
1166
+ },
1167
+ {
1168
+ "inputs": [
1169
+ {
1170
+ "internalType": "address[]",
1171
+ "name": "from",
1172
+ "type": "address[]"
1173
+ },
1174
+ {
1175
+ "internalType": "address[]",
1176
+ "name": "to",
1177
+ "type": "address[]"
1178
+ },
1179
+ {
1180
+ "internalType": "bytes32[]",
1181
+ "name": "tokenId",
1182
+ "type": "bytes32[]"
1183
+ },
1184
+ {
1185
+ "internalType": "bool[]",
1186
+ "name": "force",
1187
+ "type": "bool[]"
1188
+ },
1189
+ {
1190
+ "internalType": "bytes[]",
1191
+ "name": "data",
1192
+ "type": "bytes[]"
1193
+ }
1194
+ ],
1195
+ "name": "transferBatch",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "newOwner",
1205
+ "type": "address"
1206
+ }
1207
+ ],
1208
+ "name": "transferOwnership",
1209
+ "outputs": [],
1210
+ "stateMutability": "nonpayable",
1211
+ "type": "function"
1212
+ },
1213
+ {
1214
+ "stateMutability": "payable",
1215
+ "type": "receive"
1216
+ }
1217
+ ],
1218
+ "bytecode": "0x",
1219
+ "deployedBytecode": "0x",
1220
+ "linkReferences": {},
1221
+ "deployedLinkReferences": {}
1222
+ }