@lukso/lsp7-contracts 0.16.3 → 0.16.5

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