@lukso/lsp7-contracts 0.16.3 → 0.16.4

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.
@@ -1,817 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "LSP7CappedSupply",
4
- "sourceName": "contracts/extensions/LSP7CappedSupply.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
- "name": "LSP7CappedSupplyCannotMintOverCap",
129
- "type": "error"
130
- },
131
- {
132
- "inputs": [],
133
- "name": "LSP7CappedSupplyRequired",
134
- "type": "error"
135
- },
136
- {
137
- "inputs": [
138
- {
139
- "internalType": "address",
140
- "name": "caller",
141
- "type": "address"
142
- },
143
- {
144
- "internalType": "address",
145
- "name": "tokenOwner",
146
- "type": "address"
147
- },
148
- {
149
- "internalType": "address",
150
- "name": "operator",
151
- "type": "address"
152
- }
153
- ],
154
- "name": "LSP7DecreaseAllowanceNotAuthorized",
155
- "type": "error"
156
- },
157
- {
158
- "inputs": [],
159
- "name": "LSP7DecreasedAllowanceBelowZero",
160
- "type": "error"
161
- },
162
- {
163
- "inputs": [],
164
- "name": "LSP7InvalidTransferBatch",
165
- "type": "error"
166
- },
167
- {
168
- "inputs": [
169
- {
170
- "internalType": "address",
171
- "name": "tokenReceiver",
172
- "type": "address"
173
- }
174
- ],
175
- "name": "LSP7NotifyTokenReceiverContractMissingLSP1Interface",
176
- "type": "error"
177
- },
178
- {
179
- "inputs": [
180
- {
181
- "internalType": "address",
182
- "name": "tokenReceiver",
183
- "type": "address"
184
- }
185
- ],
186
- "name": "LSP7NotifyTokenReceiverIsEOA",
187
- "type": "error"
188
- },
189
- {
190
- "inputs": [
191
- {
192
- "internalType": "address",
193
- "name": "caller",
194
- "type": "address"
195
- },
196
- {
197
- "internalType": "address",
198
- "name": "tokenOwner",
199
- "type": "address"
200
- },
201
- {
202
- "internalType": "address",
203
- "name": "operator",
204
- "type": "address"
205
- }
206
- ],
207
- "name": "LSP7RevokeOperatorNotAuthorized",
208
- "type": "error"
209
- },
210
- {
211
- "inputs": [],
212
- "name": "LSP7TokenContractCannotHoldValue",
213
- "type": "error"
214
- },
215
- {
216
- "inputs": [],
217
- "name": "LSP7TokenOwnerCannotBeOperator",
218
- "type": "error"
219
- },
220
- {
221
- "inputs": [
222
- {
223
- "internalType": "bytes4",
224
- "name": "functionSelector",
225
- "type": "bytes4"
226
- }
227
- ],
228
- "name": "NoExtensionFoundForFunctionSelector",
229
- "type": "error"
230
- },
231
- {
232
- "inputs": [
233
- {
234
- "internalType": "address",
235
- "name": "operator",
236
- "type": "address"
237
- }
238
- ],
239
- "name": "OperatorAllowanceCannotBeIncreasedFromZero",
240
- "type": "error"
241
- },
242
- {
243
- "inputs": [],
244
- "name": "OwnableCannotSetZeroAddressAsOwner",
245
- "type": "error"
246
- },
247
- {
248
- "anonymous": false,
249
- "inputs": [
250
- {
251
- "indexed": true,
252
- "internalType": "bytes32",
253
- "name": "dataKey",
254
- "type": "bytes32"
255
- },
256
- {
257
- "indexed": false,
258
- "internalType": "bytes",
259
- "name": "dataValue",
260
- "type": "bytes"
261
- }
262
- ],
263
- "name": "DataChanged",
264
- "type": "event"
265
- },
266
- {
267
- "anonymous": false,
268
- "inputs": [
269
- {
270
- "indexed": true,
271
- "internalType": "address",
272
- "name": "operator",
273
- "type": "address"
274
- },
275
- {
276
- "indexed": true,
277
- "internalType": "address",
278
- "name": "tokenOwner",
279
- "type": "address"
280
- },
281
- {
282
- "indexed": true,
283
- "internalType": "uint256",
284
- "name": "amount",
285
- "type": "uint256"
286
- },
287
- {
288
- "indexed": false,
289
- "internalType": "bytes",
290
- "name": "operatorNotificationData",
291
- "type": "bytes"
292
- }
293
- ],
294
- "name": "OperatorAuthorizationChanged",
295
- "type": "event"
296
- },
297
- {
298
- "anonymous": false,
299
- "inputs": [
300
- {
301
- "indexed": true,
302
- "internalType": "address",
303
- "name": "operator",
304
- "type": "address"
305
- },
306
- {
307
- "indexed": true,
308
- "internalType": "address",
309
- "name": "tokenOwner",
310
- "type": "address"
311
- },
312
- {
313
- "indexed": true,
314
- "internalType": "bool",
315
- "name": "notified",
316
- "type": "bool"
317
- },
318
- {
319
- "indexed": false,
320
- "internalType": "bytes",
321
- "name": "operatorNotificationData",
322
- "type": "bytes"
323
- }
324
- ],
325
- "name": "OperatorRevoked",
326
- "type": "event"
327
- },
328
- {
329
- "anonymous": false,
330
- "inputs": [
331
- {
332
- "indexed": true,
333
- "internalType": "address",
334
- "name": "previousOwner",
335
- "type": "address"
336
- },
337
- {
338
- "indexed": true,
339
- "internalType": "address",
340
- "name": "newOwner",
341
- "type": "address"
342
- }
343
- ],
344
- "name": "OwnershipTransferred",
345
- "type": "event"
346
- },
347
- {
348
- "anonymous": false,
349
- "inputs": [
350
- {
351
- "indexed": true,
352
- "internalType": "address",
353
- "name": "operator",
354
- "type": "address"
355
- },
356
- {
357
- "indexed": true,
358
- "internalType": "address",
359
- "name": "from",
360
- "type": "address"
361
- },
362
- {
363
- "indexed": true,
364
- "internalType": "address",
365
- "name": "to",
366
- "type": "address"
367
- },
368
- {
369
- "indexed": false,
370
- "internalType": "uint256",
371
- "name": "amount",
372
- "type": "uint256"
373
- },
374
- {
375
- "indexed": false,
376
- "internalType": "bool",
377
- "name": "force",
378
- "type": "bool"
379
- },
380
- {
381
- "indexed": false,
382
- "internalType": "bytes",
383
- "name": "data",
384
- "type": "bytes"
385
- }
386
- ],
387
- "name": "Transfer",
388
- "type": "event"
389
- },
390
- {
391
- "stateMutability": "payable",
392
- "type": "fallback"
393
- },
394
- {
395
- "inputs": [
396
- {
397
- "internalType": "address",
398
- "name": "operator",
399
- "type": "address"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "amount",
404
- "type": "uint256"
405
- },
406
- {
407
- "internalType": "bytes",
408
- "name": "operatorNotificationData",
409
- "type": "bytes"
410
- }
411
- ],
412
- "name": "authorizeOperator",
413
- "outputs": [],
414
- "stateMutability": "nonpayable",
415
- "type": "function"
416
- },
417
- {
418
- "inputs": [
419
- {
420
- "internalType": "address",
421
- "name": "operator",
422
- "type": "address"
423
- },
424
- {
425
- "internalType": "address",
426
- "name": "tokenOwner",
427
- "type": "address"
428
- }
429
- ],
430
- "name": "authorizedAmountFor",
431
- "outputs": [
432
- {
433
- "internalType": "uint256",
434
- "name": "",
435
- "type": "uint256"
436
- }
437
- ],
438
- "stateMutability": "view",
439
- "type": "function"
440
- },
441
- {
442
- "inputs": [
443
- {
444
- "internalType": "address",
445
- "name": "tokenOwner",
446
- "type": "address"
447
- }
448
- ],
449
- "name": "balanceOf",
450
- "outputs": [
451
- {
452
- "internalType": "uint256",
453
- "name": "",
454
- "type": "uint256"
455
- }
456
- ],
457
- "stateMutability": "view",
458
- "type": "function"
459
- },
460
- {
461
- "inputs": [
462
- {
463
- "internalType": "bytes[]",
464
- "name": "data",
465
- "type": "bytes[]"
466
- }
467
- ],
468
- "name": "batchCalls",
469
- "outputs": [
470
- {
471
- "internalType": "bytes[]",
472
- "name": "results",
473
- "type": "bytes[]"
474
- }
475
- ],
476
- "stateMutability": "nonpayable",
477
- "type": "function"
478
- },
479
- {
480
- "inputs": [],
481
- "name": "decimals",
482
- "outputs": [
483
- {
484
- "internalType": "uint8",
485
- "name": "",
486
- "type": "uint8"
487
- }
488
- ],
489
- "stateMutability": "view",
490
- "type": "function"
491
- },
492
- {
493
- "inputs": [
494
- {
495
- "internalType": "address",
496
- "name": "operator",
497
- "type": "address"
498
- },
499
- {
500
- "internalType": "address",
501
- "name": "tokenOwner",
502
- "type": "address"
503
- },
504
- {
505
- "internalType": "uint256",
506
- "name": "subtractedAmount",
507
- "type": "uint256"
508
- },
509
- {
510
- "internalType": "bytes",
511
- "name": "operatorNotificationData",
512
- "type": "bytes"
513
- }
514
- ],
515
- "name": "decreaseAllowance",
516
- "outputs": [],
517
- "stateMutability": "nonpayable",
518
- "type": "function"
519
- },
520
- {
521
- "inputs": [
522
- {
523
- "internalType": "bytes32",
524
- "name": "dataKey",
525
- "type": "bytes32"
526
- }
527
- ],
528
- "name": "getData",
529
- "outputs": [
530
- {
531
- "internalType": "bytes",
532
- "name": "dataValue",
533
- "type": "bytes"
534
- }
535
- ],
536
- "stateMutability": "view",
537
- "type": "function"
538
- },
539
- {
540
- "inputs": [
541
- {
542
- "internalType": "bytes32[]",
543
- "name": "dataKeys",
544
- "type": "bytes32[]"
545
- }
546
- ],
547
- "name": "getDataBatch",
548
- "outputs": [
549
- {
550
- "internalType": "bytes[]",
551
- "name": "dataValues",
552
- "type": "bytes[]"
553
- }
554
- ],
555
- "stateMutability": "view",
556
- "type": "function"
557
- },
558
- {
559
- "inputs": [
560
- {
561
- "internalType": "address",
562
- "name": "tokenOwner",
563
- "type": "address"
564
- }
565
- ],
566
- "name": "getOperatorsOf",
567
- "outputs": [
568
- {
569
- "internalType": "address[]",
570
- "name": "",
571
- "type": "address[]"
572
- }
573
- ],
574
- "stateMutability": "view",
575
- "type": "function"
576
- },
577
- {
578
- "inputs": [
579
- {
580
- "internalType": "address",
581
- "name": "operator",
582
- "type": "address"
583
- },
584
- {
585
- "internalType": "uint256",
586
- "name": "addedAmount",
587
- "type": "uint256"
588
- },
589
- {
590
- "internalType": "bytes",
591
- "name": "operatorNotificationData",
592
- "type": "bytes"
593
- }
594
- ],
595
- "name": "increaseAllowance",
596
- "outputs": [],
597
- "stateMutability": "nonpayable",
598
- "type": "function"
599
- },
600
- {
601
- "inputs": [],
602
- "name": "owner",
603
- "outputs": [
604
- {
605
- "internalType": "address",
606
- "name": "",
607
- "type": "address"
608
- }
609
- ],
610
- "stateMutability": "view",
611
- "type": "function"
612
- },
613
- {
614
- "inputs": [],
615
- "name": "renounceOwnership",
616
- "outputs": [],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "address",
624
- "name": "operator",
625
- "type": "address"
626
- },
627
- {
628
- "internalType": "address",
629
- "name": "tokenOwner",
630
- "type": "address"
631
- },
632
- {
633
- "internalType": "bool",
634
- "name": "notify",
635
- "type": "bool"
636
- },
637
- {
638
- "internalType": "bytes",
639
- "name": "operatorNotificationData",
640
- "type": "bytes"
641
- }
642
- ],
643
- "name": "revokeOperator",
644
- "outputs": [],
645
- "stateMutability": "nonpayable",
646
- "type": "function"
647
- },
648
- {
649
- "inputs": [
650
- {
651
- "internalType": "bytes32",
652
- "name": "dataKey",
653
- "type": "bytes32"
654
- },
655
- {
656
- "internalType": "bytes",
657
- "name": "dataValue",
658
- "type": "bytes"
659
- }
660
- ],
661
- "name": "setData",
662
- "outputs": [],
663
- "stateMutability": "payable",
664
- "type": "function"
665
- },
666
- {
667
- "inputs": [
668
- {
669
- "internalType": "bytes32[]",
670
- "name": "dataKeys",
671
- "type": "bytes32[]"
672
- },
673
- {
674
- "internalType": "bytes[]",
675
- "name": "dataValues",
676
- "type": "bytes[]"
677
- }
678
- ],
679
- "name": "setDataBatch",
680
- "outputs": [],
681
- "stateMutability": "payable",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [
686
- {
687
- "internalType": "bytes4",
688
- "name": "interfaceId",
689
- "type": "bytes4"
690
- }
691
- ],
692
- "name": "supportsInterface",
693
- "outputs": [
694
- {
695
- "internalType": "bool",
696
- "name": "",
697
- "type": "bool"
698
- }
699
- ],
700
- "stateMutability": "view",
701
- "type": "function"
702
- },
703
- {
704
- "inputs": [],
705
- "name": "tokenSupplyCap",
706
- "outputs": [
707
- {
708
- "internalType": "uint256",
709
- "name": "",
710
- "type": "uint256"
711
- }
712
- ],
713
- "stateMutability": "view",
714
- "type": "function"
715
- },
716
- {
717
- "inputs": [],
718
- "name": "totalSupply",
719
- "outputs": [
720
- {
721
- "internalType": "uint256",
722
- "name": "",
723
- "type": "uint256"
724
- }
725
- ],
726
- "stateMutability": "view",
727
- "type": "function"
728
- },
729
- {
730
- "inputs": [
731
- {
732
- "internalType": "address",
733
- "name": "from",
734
- "type": "address"
735
- },
736
- {
737
- "internalType": "address",
738
- "name": "to",
739
- "type": "address"
740
- },
741
- {
742
- "internalType": "uint256",
743
- "name": "amount",
744
- "type": "uint256"
745
- },
746
- {
747
- "internalType": "bool",
748
- "name": "force",
749
- "type": "bool"
750
- },
751
- {
752
- "internalType": "bytes",
753
- "name": "data",
754
- "type": "bytes"
755
- }
756
- ],
757
- "name": "transfer",
758
- "outputs": [],
759
- "stateMutability": "nonpayable",
760
- "type": "function"
761
- },
762
- {
763
- "inputs": [
764
- {
765
- "internalType": "address[]",
766
- "name": "from",
767
- "type": "address[]"
768
- },
769
- {
770
- "internalType": "address[]",
771
- "name": "to",
772
- "type": "address[]"
773
- },
774
- {
775
- "internalType": "uint256[]",
776
- "name": "amount",
777
- "type": "uint256[]"
778
- },
779
- {
780
- "internalType": "bool[]",
781
- "name": "force",
782
- "type": "bool[]"
783
- },
784
- {
785
- "internalType": "bytes[]",
786
- "name": "data",
787
- "type": "bytes[]"
788
- }
789
- ],
790
- "name": "transferBatch",
791
- "outputs": [],
792
- "stateMutability": "nonpayable",
793
- "type": "function"
794
- },
795
- {
796
- "inputs": [
797
- {
798
- "internalType": "address",
799
- "name": "newOwner",
800
- "type": "address"
801
- }
802
- ],
803
- "name": "transferOwnership",
804
- "outputs": [],
805
- "stateMutability": "nonpayable",
806
- "type": "function"
807
- },
808
- {
809
- "stateMutability": "payable",
810
- "type": "receive"
811
- }
812
- ],
813
- "bytecode": "0x",
814
- "deployedBytecode": "0x",
815
- "linkReferences": {},
816
- "deployedLinkReferences": {}
817
- }