@lukso/lsp7-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 (42) hide show
  1. package/README.md +13 -1
  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/{compatibility-abis/LSP7DigitalAsset-v0.13.0.json → artifacts/LSP7Votes.json} +411 -15
  12. package/artifacts/LSP7VotesInitAbstract.json +1146 -0
  13. package/compatibility-abis/LSP7DigitalAsset-v0.12.0.json +727 -736
  14. package/compatibility-abis/LSP7DigitalAsset-v0.14.0.json +749 -758
  15. package/compatibility-abis/README.md +22 -5
  16. package/contracts/ILSP7DigitalAsset.sol +2 -9
  17. package/contracts/LSP7Constants.sol +10 -0
  18. package/contracts/LSP7DigitalAsset.sol +780 -27
  19. package/contracts/LSP7DigitalAssetInitAbstract.sol +784 -14
  20. package/contracts/extensions/LSP7CappedSupply.sol +1 -1
  21. package/contracts/extensions/LSP7CappedSupplyInitAbstract.sol +1 -1
  22. package/contracts/extensions/LSP7Votes.sol +416 -0
  23. package/contracts/extensions/LSP7VotesConstants.sol +8 -0
  24. package/contracts/extensions/LSP7VotesInitAbstract.sol +443 -0
  25. package/dist/index.cjs +10 -1
  26. package/dist/index.d.cts +10 -4
  27. package/dist/index.d.mts +10 -4
  28. package/dist/index.d.ts +10 -4
  29. package/dist/index.mjs +10 -2
  30. package/package.json +7 -6
  31. package/types/index.ts +3488 -1480
  32. package/contracts/LSP7DigitalAssetCore.sol +0 -744
  33. package/types/common.ts +0 -131
  34. package/types/contracts/ILSP7DigitalAsset.ts +0 -626
  35. package/types/contracts/LSP7DigitalAsset.ts +0 -698
  36. package/types/contracts/LSP7DigitalAssetInitAbstract.ts +0 -729
  37. package/types/contracts/extensions/LSP7Burnable.ts +0 -717
  38. package/types/contracts/extensions/LSP7BurnableInitAbstract.ts +0 -748
  39. package/types/contracts/extensions/LSP7CappedSupply.ts +0 -712
  40. package/types/contracts/extensions/LSP7CappedSupplyInitAbstract.ts +0 -743
  41. package/types/contracts/presets/LSP7Mintable.ts +0 -717
  42. package/types/contracts/presets/LSP7MintableInit.ts +0 -779
@@ -1,736 +1,727 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "LSP7DigitalAsset",
4
- "sourceName": "contracts/LSP7DigitalAsset/LSP7DigitalAsset.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
- {
56
- "internalType": "address",
57
- "name": "tokenOwner",
58
- "type": "address"
59
- },
60
- {
61
- "internalType": "uint256",
62
- "name": "authorizedAmount",
63
- "type": "uint256"
64
- },
65
- {
66
- "internalType": "address",
67
- "name": "operator",
68
- "type": "address"
69
- },
70
- {
71
- "internalType": "uint256",
72
- "name": "amount",
73
- "type": "uint256"
74
- }
75
- ],
76
- "name": "LSP7AmountExceedsAuthorizedAmount",
77
- "type": "error"
78
- },
79
- {
80
- "inputs": [
81
- {
82
- "internalType": "uint256",
83
- "name": "balance",
84
- "type": "uint256"
85
- },
86
- {
87
- "internalType": "address",
88
- "name": "tokenOwner",
89
- "type": "address"
90
- },
91
- {
92
- "internalType": "uint256",
93
- "name": "amount",
94
- "type": "uint256"
95
- }
96
- ],
97
- "name": "LSP7AmountExceedsBalance",
98
- "type": "error"
99
- },
100
- {
101
- "inputs": [],
102
- "name": "LSP7CannotSendToSelf",
103
- "type": "error"
104
- },
105
- {
106
- "inputs": [],
107
- "name": "LSP7CannotSendWithAddressZero",
108
- "type": "error"
109
- },
110
- {
111
- "inputs": [],
112
- "name": "LSP7CannotUseAddressZeroAsOperator",
113
- "type": "error"
114
- },
115
- {
116
- "inputs": [],
117
- "name": "LSP7DecreasedAllowanceBelowZero",
118
- "type": "error"
119
- },
120
- {
121
- "inputs": [],
122
- "name": "LSP7InvalidTransferBatch",
123
- "type": "error"
124
- },
125
- {
126
- "inputs": [
127
- {
128
- "internalType": "address",
129
- "name": "tokenReceiver",
130
- "type": "address"
131
- }
132
- ],
133
- "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface",
134
- "type": "error"
135
- },
136
- {
137
- "inputs": [
138
- {
139
- "internalType": "address",
140
- "name": "tokenReceiver",
141
- "type": "address"
142
- }
143
- ],
144
- "name": "LSP7NotifyTokenReceiverIsEOA",
145
- "type": "error"
146
- },
147
- {
148
- "inputs": [],
149
- "name": "LSP7TokenContractCannotHoldValue",
150
- "type": "error"
151
- },
152
- {
153
- "inputs": [],
154
- "name": "LSP7TokenOwnerCannotBeOperator",
155
- "type": "error"
156
- },
157
- {
158
- "inputs": [
159
- {
160
- "internalType": "bytes4",
161
- "name": "functionSelector",
162
- "type": "bytes4"
163
- }
164
- ],
165
- "name": "NoExtensionFoundForFunctionSelector",
166
- "type": "error"
167
- },
168
- {
169
- "inputs": [
170
- {
171
- "internalType": "address",
172
- "name": "operator",
173
- "type": "address"
174
- }
175
- ],
176
- "name": "OperatorAllowanceCannotBeIncreasedFromZero",
177
- "type": "error"
178
- },
179
- {
180
- "inputs": [
181
- {
182
- "internalType": "address",
183
- "name": "callerAddress",
184
- "type": "address"
185
- }
186
- ],
187
- "name": "OwnableCallerNotTheOwner",
188
- "type": "error"
189
- },
190
- {
191
- "inputs": [],
192
- "name": "OwnableCannotSetZeroAddressAsOwner",
193
- "type": "error"
194
- },
195
- {
196
- "anonymous": false,
197
- "inputs": [
198
- {
199
- "indexed": true,
200
- "internalType": "address",
201
- "name": "operator",
202
- "type": "address"
203
- },
204
- {
205
- "indexed": true,
206
- "internalType": "address",
207
- "name": "tokenOwner",
208
- "type": "address"
209
- },
210
- {
211
- "indexed": true,
212
- "internalType": "uint256",
213
- "name": "amount",
214
- "type": "uint256"
215
- },
216
- {
217
- "indexed": false,
218
- "internalType": "bytes",
219
- "name": "operatorNotificationData",
220
- "type": "bytes"
221
- }
222
- ],
223
- "name": "AuthorizedOperator",
224
- "type": "event"
225
- },
226
- {
227
- "anonymous": false,
228
- "inputs": [
229
- {
230
- "indexed": true,
231
- "internalType": "bytes32",
232
- "name": "dataKey",
233
- "type": "bytes32"
234
- },
235
- {
236
- "indexed": false,
237
- "internalType": "bytes",
238
- "name": "dataValue",
239
- "type": "bytes"
240
- }
241
- ],
242
- "name": "DataChanged",
243
- "type": "event"
244
- },
245
- {
246
- "anonymous": false,
247
- "inputs": [
248
- {
249
- "indexed": true,
250
- "internalType": "address",
251
- "name": "previousOwner",
252
- "type": "address"
253
- },
254
- {
255
- "indexed": true,
256
- "internalType": "address",
257
- "name": "newOwner",
258
- "type": "address"
259
- }
260
- ],
261
- "name": "OwnershipTransferred",
262
- "type": "event"
263
- },
264
- {
265
- "anonymous": false,
266
- "inputs": [
267
- {
268
- "indexed": true,
269
- "internalType": "address",
270
- "name": "operator",
271
- "type": "address"
272
- },
273
- {
274
- "indexed": true,
275
- "internalType": "address",
276
- "name": "tokenOwner",
277
- "type": "address"
278
- },
279
- {
280
- "indexed": false,
281
- "internalType": "bool",
282
- "name": "notified",
283
- "type": "bool"
284
- },
285
- {
286
- "indexed": false,
287
- "internalType": "bytes",
288
- "name": "operatorNotificationData",
289
- "type": "bytes"
290
- }
291
- ],
292
- "name": "RevokedOperator",
293
- "type": "event"
294
- },
295
- {
296
- "anonymous": false,
297
- "inputs": [
298
- {
299
- "indexed": true,
300
- "internalType": "address",
301
- "name": "operator",
302
- "type": "address"
303
- },
304
- {
305
- "indexed": true,
306
- "internalType": "address",
307
- "name": "from",
308
- "type": "address"
309
- },
310
- {
311
- "indexed": true,
312
- "internalType": "address",
313
- "name": "to",
314
- "type": "address"
315
- },
316
- {
317
- "indexed": false,
318
- "internalType": "uint256",
319
- "name": "amount",
320
- "type": "uint256"
321
- },
322
- {
323
- "indexed": false,
324
- "internalType": "bool",
325
- "name": "force",
326
- "type": "bool"
327
- },
328
- {
329
- "indexed": false,
330
- "internalType": "bytes",
331
- "name": "data",
332
- "type": "bytes"
333
- }
334
- ],
335
- "name": "Transfer",
336
- "type": "event"
337
- },
338
- {
339
- "stateMutability": "payable",
340
- "type": "fallback"
341
- },
342
- {
343
- "inputs": [
344
- {
345
- "internalType": "address",
346
- "name": "operator",
347
- "type": "address"
348
- },
349
- {
350
- "internalType": "uint256",
351
- "name": "amount",
352
- "type": "uint256"
353
- },
354
- {
355
- "internalType": "bytes",
356
- "name": "operatorNotificationData",
357
- "type": "bytes"
358
- }
359
- ],
360
- "name": "authorizeOperator",
361
- "outputs": [],
362
- "stateMutability": "nonpayable",
363
- "type": "function"
364
- },
365
- {
366
- "inputs": [
367
- {
368
- "internalType": "address",
369
- "name": "operator",
370
- "type": "address"
371
- },
372
- {
373
- "internalType": "address",
374
- "name": "tokenOwner",
375
- "type": "address"
376
- }
377
- ],
378
- "name": "authorizedAmountFor",
379
- "outputs": [
380
- {
381
- "internalType": "uint256",
382
- "name": "",
383
- "type": "uint256"
384
- }
385
- ],
386
- "stateMutability": "view",
387
- "type": "function"
388
- },
389
- {
390
- "inputs": [
391
- {
392
- "internalType": "address",
393
- "name": "tokenOwner",
394
- "type": "address"
395
- }
396
- ],
397
- "name": "balanceOf",
398
- "outputs": [
399
- {
400
- "internalType": "uint256",
401
- "name": "",
402
- "type": "uint256"
403
- }
404
- ],
405
- "stateMutability": "view",
406
- "type": "function"
407
- },
408
- {
409
- "inputs": [],
410
- "name": "decimals",
411
- "outputs": [
412
- {
413
- "internalType": "uint8",
414
- "name": "",
415
- "type": "uint8"
416
- }
417
- ],
418
- "stateMutability": "view",
419
- "type": "function"
420
- },
421
- {
422
- "inputs": [
423
- {
424
- "internalType": "address",
425
- "name": "operator",
426
- "type": "address"
427
- },
428
- {
429
- "internalType": "uint256",
430
- "name": "subtractedAmount",
431
- "type": "uint256"
432
- },
433
- {
434
- "internalType": "bytes",
435
- "name": "operatorNotificationData",
436
- "type": "bytes"
437
- }
438
- ],
439
- "name": "decreaseAllowance",
440
- "outputs": [],
441
- "stateMutability": "nonpayable",
442
- "type": "function"
443
- },
444
- {
445
- "inputs": [
446
- {
447
- "internalType": "bytes32",
448
- "name": "dataKey",
449
- "type": "bytes32"
450
- }
451
- ],
452
- "name": "getData",
453
- "outputs": [
454
- {
455
- "internalType": "bytes",
456
- "name": "dataValue",
457
- "type": "bytes"
458
- }
459
- ],
460
- "stateMutability": "view",
461
- "type": "function"
462
- },
463
- {
464
- "inputs": [
465
- {
466
- "internalType": "bytes32[]",
467
- "name": "dataKeys",
468
- "type": "bytes32[]"
469
- }
470
- ],
471
- "name": "getDataBatch",
472
- "outputs": [
473
- {
474
- "internalType": "bytes[]",
475
- "name": "dataValues",
476
- "type": "bytes[]"
477
- }
478
- ],
479
- "stateMutability": "view",
480
- "type": "function"
481
- },
482
- {
483
- "inputs": [
484
- {
485
- "internalType": "address",
486
- "name": "tokenOwner",
487
- "type": "address"
488
- }
489
- ],
490
- "name": "getOperatorsOf",
491
- "outputs": [
492
- {
493
- "internalType": "address[]",
494
- "name": "",
495
- "type": "address[]"
496
- }
497
- ],
498
- "stateMutability": "view",
499
- "type": "function"
500
- },
501
- {
502
- "inputs": [
503
- {
504
- "internalType": "address",
505
- "name": "operator",
506
- "type": "address"
507
- },
508
- {
509
- "internalType": "uint256",
510
- "name": "addedAmount",
511
- "type": "uint256"
512
- },
513
- {
514
- "internalType": "bytes",
515
- "name": "operatorNotificationData",
516
- "type": "bytes"
517
- }
518
- ],
519
- "name": "increaseAllowance",
520
- "outputs": [],
521
- "stateMutability": "nonpayable",
522
- "type": "function"
523
- },
524
- {
525
- "inputs": [],
526
- "name": "owner",
527
- "outputs": [
528
- {
529
- "internalType": "address",
530
- "name": "",
531
- "type": "address"
532
- }
533
- ],
534
- "stateMutability": "view",
535
- "type": "function"
536
- },
537
- {
538
- "inputs": [],
539
- "name": "renounceOwnership",
540
- "outputs": [],
541
- "stateMutability": "nonpayable",
542
- "type": "function"
543
- },
544
- {
545
- "inputs": [
546
- {
547
- "internalType": "address",
548
- "name": "operator",
549
- "type": "address"
550
- },
551
- {
552
- "internalType": "bool",
553
- "name": "notify",
554
- "type": "bool"
555
- },
556
- {
557
- "internalType": "bytes",
558
- "name": "operatorNotificationData",
559
- "type": "bytes"
560
- }
561
- ],
562
- "name": "revokeOperator",
563
- "outputs": [],
564
- "stateMutability": "nonpayable",
565
- "type": "function"
566
- },
567
- {
568
- "inputs": [
569
- {
570
- "internalType": "bytes32",
571
- "name": "dataKey",
572
- "type": "bytes32"
573
- },
574
- {
575
- "internalType": "bytes",
576
- "name": "dataValue",
577
- "type": "bytes"
578
- }
579
- ],
580
- "name": "setData",
581
- "outputs": [],
582
- "stateMutability": "payable",
583
- "type": "function"
584
- },
585
- {
586
- "inputs": [
587
- {
588
- "internalType": "bytes32[]",
589
- "name": "dataKeys",
590
- "type": "bytes32[]"
591
- },
592
- {
593
- "internalType": "bytes[]",
594
- "name": "dataValues",
595
- "type": "bytes[]"
596
- }
597
- ],
598
- "name": "setDataBatch",
599
- "outputs": [],
600
- "stateMutability": "payable",
601
- "type": "function"
602
- },
603
- {
604
- "inputs": [
605
- {
606
- "internalType": "bytes4",
607
- "name": "interfaceId",
608
- "type": "bytes4"
609
- }
610
- ],
611
- "name": "supportsInterface",
612
- "outputs": [
613
- {
614
- "internalType": "bool",
615
- "name": "",
616
- "type": "bool"
617
- }
618
- ],
619
- "stateMutability": "view",
620
- "type": "function"
621
- },
622
- {
623
- "inputs": [],
624
- "name": "totalSupply",
625
- "outputs": [
626
- {
627
- "internalType": "uint256",
628
- "name": "",
629
- "type": "uint256"
630
- }
631
- ],
632
- "stateMutability": "view",
633
- "type": "function"
634
- },
635
- {
636
- "inputs": [
637
- {
638
- "internalType": "address",
639
- "name": "from",
640
- "type": "address"
641
- },
642
- {
643
- "internalType": "address",
644
- "name": "to",
645
- "type": "address"
646
- },
647
- {
648
- "internalType": "uint256",
649
- "name": "amount",
650
- "type": "uint256"
651
- },
652
- {
653
- "internalType": "bool",
654
- "name": "force",
655
- "type": "bool"
656
- },
657
- {
658
- "internalType": "bytes",
659
- "name": "data",
660
- "type": "bytes"
661
- }
662
- ],
663
- "name": "transfer",
664
- "outputs": [],
665
- "stateMutability": "nonpayable",
666
- "type": "function"
667
- },
668
- {
669
- "inputs": [
670
- {
671
- "internalType": "address[]",
672
- "name": "from",
673
- "type": "address[]"
674
- },
675
- {
676
- "internalType": "address[]",
677
- "name": "to",
678
- "type": "address[]"
679
- },
680
- {
681
- "internalType": "uint256[]",
682
- "name": "amount",
683
- "type": "uint256[]"
684
- },
685
- {
686
- "internalType": "bool[]",
687
- "name": "force",
688
- "type": "bool[]"
689
- },
690
- {
691
- "internalType": "bytes[]",
692
- "name": "data",
693
- "type": "bytes[]"
694
- }
695
- ],
696
- "name": "transferBatch",
697
- "outputs": [],
698
- "stateMutability": "nonpayable",
699
- "type": "function"
700
- },
701
- {
702
- "inputs": [
703
- {
704
- "internalType": "address",
705
- "name": "newOwner",
706
- "type": "address"
707
- }
708
- ],
709
- "name": "transferOwnership",
710
- "outputs": [],
711
- "stateMutability": "nonpayable",
712
- "type": "function"
713
- },
714
- {
715
- "inputs": [],
716
- "name": "version",
717
- "outputs": [
718
- {
719
- "internalType": "string",
720
- "name": "",
721
- "type": "string"
722
- }
723
- ],
724
- "stateMutability": "view",
725
- "type": "function"
726
- },
727
- {
728
- "stateMutability": "payable",
729
- "type": "receive"
730
- }
731
- ],
732
- "bytecode": "0x",
733
- "deployedBytecode": "0x",
734
- "linkReferences": {},
735
- "deployedLinkReferences": {}
736
- }
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "ERC725Y_DataKeysValuesEmptyArray",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "ERC725Y_DataKeysValuesLengthMismatch",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [],
14
+ "name": "ERC725Y_MsgValueDisallowed",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "bytes",
21
+ "name": "storedData",
22
+ "type": "bytes"
23
+ }
24
+ ],
25
+ "name": "InvalidExtensionAddress",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "bytes",
32
+ "name": "data",
33
+ "type": "bytes"
34
+ }
35
+ ],
36
+ "name": "InvalidFunctionSelector",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [],
41
+ "name": "LSP4TokenNameNotEditable",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "LSP4TokenSymbolNotEditable",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "tokenOwner",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "authorizedAmount",
59
+ "type": "uint256"
60
+ },
61
+ {
62
+ "internalType": "address",
63
+ "name": "operator",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "internalType": "uint256",
68
+ "name": "amount",
69
+ "type": "uint256"
70
+ }
71
+ ],
72
+ "name": "LSP7AmountExceedsAuthorizedAmount",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "uint256",
79
+ "name": "balance",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "internalType": "address",
84
+ "name": "tokenOwner",
85
+ "type": "address"
86
+ },
87
+ {
88
+ "internalType": "uint256",
89
+ "name": "amount",
90
+ "type": "uint256"
91
+ }
92
+ ],
93
+ "name": "LSP7AmountExceedsBalance",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "LSP7CannotSendToSelf",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "LSP7CannotSendWithAddressZero",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "LSP7CannotUseAddressZeroAsOperator",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "LSP7DecreasedAllowanceBelowZero",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "LSP7InvalidTransferBatch",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [
123
+ {
124
+ "internalType": "address",
125
+ "name": "tokenReceiver",
126
+ "type": "address"
127
+ }
128
+ ],
129
+ "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [
134
+ {
135
+ "internalType": "address",
136
+ "name": "tokenReceiver",
137
+ "type": "address"
138
+ }
139
+ ],
140
+ "name": "LSP7NotifyTokenReceiverIsEOA",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "LSP7TokenContractCannotHoldValue",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "LSP7TokenOwnerCannotBeOperator",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "bytes4",
157
+ "name": "functionSelector",
158
+ "type": "bytes4"
159
+ }
160
+ ],
161
+ "name": "NoExtensionFoundForFunctionSelector",
162
+ "type": "error"
163
+ },
164
+ {
165
+ "inputs": [
166
+ {
167
+ "internalType": "address",
168
+ "name": "operator",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "OperatorAllowanceCannotBeIncreasedFromZero",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "address",
179
+ "name": "callerAddress",
180
+ "type": "address"
181
+ }
182
+ ],
183
+ "name": "OwnableCallerNotTheOwner",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "OwnableCannotSetZeroAddressAsOwner",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "anonymous": false,
193
+ "inputs": [
194
+ {
195
+ "indexed": true,
196
+ "internalType": "address",
197
+ "name": "operator",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": true,
202
+ "internalType": "address",
203
+ "name": "tokenOwner",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "indexed": true,
208
+ "internalType": "uint256",
209
+ "name": "amount",
210
+ "type": "uint256"
211
+ },
212
+ {
213
+ "indexed": false,
214
+ "internalType": "bytes",
215
+ "name": "operatorNotificationData",
216
+ "type": "bytes"
217
+ }
218
+ ],
219
+ "name": "AuthorizedOperator",
220
+ "type": "event"
221
+ },
222
+ {
223
+ "anonymous": false,
224
+ "inputs": [
225
+ {
226
+ "indexed": true,
227
+ "internalType": "bytes32",
228
+ "name": "dataKey",
229
+ "type": "bytes32"
230
+ },
231
+ {
232
+ "indexed": false,
233
+ "internalType": "bytes",
234
+ "name": "dataValue",
235
+ "type": "bytes"
236
+ }
237
+ ],
238
+ "name": "DataChanged",
239
+ "type": "event"
240
+ },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": true,
246
+ "internalType": "address",
247
+ "name": "previousOwner",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": true,
252
+ "internalType": "address",
253
+ "name": "newOwner",
254
+ "type": "address"
255
+ }
256
+ ],
257
+ "name": "OwnershipTransferred",
258
+ "type": "event"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": true,
265
+ "internalType": "address",
266
+ "name": "operator",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "indexed": true,
271
+ "internalType": "address",
272
+ "name": "tokenOwner",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "bool",
278
+ "name": "notified",
279
+ "type": "bool"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "bytes",
284
+ "name": "operatorNotificationData",
285
+ "type": "bytes"
286
+ }
287
+ ],
288
+ "name": "RevokedOperator",
289
+ "type": "event"
290
+ },
291
+ {
292
+ "anonymous": false,
293
+ "inputs": [
294
+ {
295
+ "indexed": true,
296
+ "internalType": "address",
297
+ "name": "operator",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "indexed": true,
302
+ "internalType": "address",
303
+ "name": "from",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "indexed": true,
308
+ "internalType": "address",
309
+ "name": "to",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "indexed": false,
314
+ "internalType": "uint256",
315
+ "name": "amount",
316
+ "type": "uint256"
317
+ },
318
+ {
319
+ "indexed": false,
320
+ "internalType": "bool",
321
+ "name": "force",
322
+ "type": "bool"
323
+ },
324
+ {
325
+ "indexed": false,
326
+ "internalType": "bytes",
327
+ "name": "data",
328
+ "type": "bytes"
329
+ }
330
+ ],
331
+ "name": "Transfer",
332
+ "type": "event"
333
+ },
334
+ {
335
+ "stateMutability": "payable",
336
+ "type": "fallback"
337
+ },
338
+ {
339
+ "inputs": [
340
+ {
341
+ "internalType": "address",
342
+ "name": "operator",
343
+ "type": "address"
344
+ },
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "amount",
348
+ "type": "uint256"
349
+ },
350
+ {
351
+ "internalType": "bytes",
352
+ "name": "operatorNotificationData",
353
+ "type": "bytes"
354
+ }
355
+ ],
356
+ "name": "authorizeOperator",
357
+ "outputs": [],
358
+ "stateMutability": "nonpayable",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [
363
+ {
364
+ "internalType": "address",
365
+ "name": "operator",
366
+ "type": "address"
367
+ },
368
+ {
369
+ "internalType": "address",
370
+ "name": "tokenOwner",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "name": "authorizedAmountFor",
375
+ "outputs": [
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "",
379
+ "type": "uint256"
380
+ }
381
+ ],
382
+ "stateMutability": "view",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "inputs": [
387
+ {
388
+ "internalType": "address",
389
+ "name": "tokenOwner",
390
+ "type": "address"
391
+ }
392
+ ],
393
+ "name": "balanceOf",
394
+ "outputs": [
395
+ {
396
+ "internalType": "uint256",
397
+ "name": "",
398
+ "type": "uint256"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "decimals",
407
+ "outputs": [
408
+ {
409
+ "internalType": "uint8",
410
+ "name": "",
411
+ "type": "uint8"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [
419
+ {
420
+ "internalType": "address",
421
+ "name": "operator",
422
+ "type": "address"
423
+ },
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "subtractedAmount",
427
+ "type": "uint256"
428
+ },
429
+ {
430
+ "internalType": "bytes",
431
+ "name": "operatorNotificationData",
432
+ "type": "bytes"
433
+ }
434
+ ],
435
+ "name": "decreaseAllowance",
436
+ "outputs": [],
437
+ "stateMutability": "nonpayable",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [
442
+ {
443
+ "internalType": "bytes32",
444
+ "name": "dataKey",
445
+ "type": "bytes32"
446
+ }
447
+ ],
448
+ "name": "getData",
449
+ "outputs": [
450
+ {
451
+ "internalType": "bytes",
452
+ "name": "dataValue",
453
+ "type": "bytes"
454
+ }
455
+ ],
456
+ "stateMutability": "view",
457
+ "type": "function"
458
+ },
459
+ {
460
+ "inputs": [
461
+ {
462
+ "internalType": "bytes32[]",
463
+ "name": "dataKeys",
464
+ "type": "bytes32[]"
465
+ }
466
+ ],
467
+ "name": "getDataBatch",
468
+ "outputs": [
469
+ {
470
+ "internalType": "bytes[]",
471
+ "name": "dataValues",
472
+ "type": "bytes[]"
473
+ }
474
+ ],
475
+ "stateMutability": "view",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [
480
+ {
481
+ "internalType": "address",
482
+ "name": "tokenOwner",
483
+ "type": "address"
484
+ }
485
+ ],
486
+ "name": "getOperatorsOf",
487
+ "outputs": [
488
+ {
489
+ "internalType": "address[]",
490
+ "name": "",
491
+ "type": "address[]"
492
+ }
493
+ ],
494
+ "stateMutability": "view",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "internalType": "address",
501
+ "name": "operator",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "internalType": "uint256",
506
+ "name": "addedAmount",
507
+ "type": "uint256"
508
+ },
509
+ {
510
+ "internalType": "bytes",
511
+ "name": "operatorNotificationData",
512
+ "type": "bytes"
513
+ }
514
+ ],
515
+ "name": "increaseAllowance",
516
+ "outputs": [],
517
+ "stateMutability": "nonpayable",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [],
522
+ "name": "owner",
523
+ "outputs": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "",
527
+ "type": "address"
528
+ }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [],
535
+ "name": "renounceOwnership",
536
+ "outputs": [],
537
+ "stateMutability": "nonpayable",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "address",
544
+ "name": "operator",
545
+ "type": "address"
546
+ },
547
+ {
548
+ "internalType": "bool",
549
+ "name": "notify",
550
+ "type": "bool"
551
+ },
552
+ {
553
+ "internalType": "bytes",
554
+ "name": "operatorNotificationData",
555
+ "type": "bytes"
556
+ }
557
+ ],
558
+ "name": "revokeOperator",
559
+ "outputs": [],
560
+ "stateMutability": "nonpayable",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [
565
+ {
566
+ "internalType": "bytes32",
567
+ "name": "dataKey",
568
+ "type": "bytes32"
569
+ },
570
+ {
571
+ "internalType": "bytes",
572
+ "name": "dataValue",
573
+ "type": "bytes"
574
+ }
575
+ ],
576
+ "name": "setData",
577
+ "outputs": [],
578
+ "stateMutability": "payable",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [
583
+ {
584
+ "internalType": "bytes32[]",
585
+ "name": "dataKeys",
586
+ "type": "bytes32[]"
587
+ },
588
+ {
589
+ "internalType": "bytes[]",
590
+ "name": "dataValues",
591
+ "type": "bytes[]"
592
+ }
593
+ ],
594
+ "name": "setDataBatch",
595
+ "outputs": [],
596
+ "stateMutability": "payable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "bytes4",
603
+ "name": "interfaceId",
604
+ "type": "bytes4"
605
+ }
606
+ ],
607
+ "name": "supportsInterface",
608
+ "outputs": [
609
+ {
610
+ "internalType": "bool",
611
+ "name": "",
612
+ "type": "bool"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [],
620
+ "name": "totalSupply",
621
+ "outputs": [
622
+ {
623
+ "internalType": "uint256",
624
+ "name": "",
625
+ "type": "uint256"
626
+ }
627
+ ],
628
+ "stateMutability": "view",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [
633
+ {
634
+ "internalType": "address",
635
+ "name": "from",
636
+ "type": "address"
637
+ },
638
+ {
639
+ "internalType": "address",
640
+ "name": "to",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "amount",
646
+ "type": "uint256"
647
+ },
648
+ {
649
+ "internalType": "bool",
650
+ "name": "force",
651
+ "type": "bool"
652
+ },
653
+ {
654
+ "internalType": "bytes",
655
+ "name": "data",
656
+ "type": "bytes"
657
+ }
658
+ ],
659
+ "name": "transfer",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "address[]",
668
+ "name": "from",
669
+ "type": "address[]"
670
+ },
671
+ {
672
+ "internalType": "address[]",
673
+ "name": "to",
674
+ "type": "address[]"
675
+ },
676
+ {
677
+ "internalType": "uint256[]",
678
+ "name": "amount",
679
+ "type": "uint256[]"
680
+ },
681
+ {
682
+ "internalType": "bool[]",
683
+ "name": "force",
684
+ "type": "bool[]"
685
+ },
686
+ {
687
+ "internalType": "bytes[]",
688
+ "name": "data",
689
+ "type": "bytes[]"
690
+ }
691
+ ],
692
+ "name": "transferBatch",
693
+ "outputs": [],
694
+ "stateMutability": "nonpayable",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [
699
+ {
700
+ "internalType": "address",
701
+ "name": "newOwner",
702
+ "type": "address"
703
+ }
704
+ ],
705
+ "name": "transferOwnership",
706
+ "outputs": [],
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [],
712
+ "name": "version",
713
+ "outputs": [
714
+ {
715
+ "internalType": "string",
716
+ "name": "",
717
+ "type": "string"
718
+ }
719
+ ],
720
+ "stateMutability": "view",
721
+ "type": "function"
722
+ },
723
+ {
724
+ "stateMutability": "payable",
725
+ "type": "receive"
726
+ }
727
+ ]