@lukso/lsp7-contracts 0.15.0 → 0.16.3

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