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