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