@lukso/lsp-smart-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.
Files changed (38) hide show
  1. package/artifacts/LSP0ERC725Account.json +676 -0
  2. package/artifacts/LSP0ERC725AccountInit.json +696 -0
  3. package/artifacts/LSP11SocialRecovery.json +1171 -0
  4. package/artifacts/LSP1UniversalReceiverDelegateUP.json +88 -0
  5. package/artifacts/LSP1UniversalReceiverDelegateVault.json +88 -0
  6. package/artifacts/LSP23LinkedContractsFactory.json +544 -0
  7. package/artifacts/LSP26FollowerSystem.json +248 -0
  8. package/artifacts/LSP4DigitalAssetMetadata.json +210 -0
  9. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +218 -0
  10. package/artifacts/LSP6KeyManager.json +600 -0
  11. package/artifacts/LSP6KeyManagerInit.json +620 -0
  12. package/artifacts/LSP7CappedSupply.json +817 -0
  13. package/artifacts/LSP7CappedSupplyInitAbstract.json +825 -0
  14. package/artifacts/LSP7DigitalAsset.json +794 -0
  15. package/artifacts/LSP7DigitalAssetInitAbstract.json +802 -0
  16. package/artifacts/LSP7Mintable.json +853 -0
  17. package/artifacts/LSP7MintableInit.json +873 -0
  18. package/artifacts/LSP7Votes.json +1154 -0
  19. package/artifacts/LSP8Burnable.json +943 -0
  20. package/artifacts/LSP8BurnableInitAbstract.json +951 -0
  21. package/artifacts/LSP8CappedSupply.json +948 -0
  22. package/artifacts/LSP8CappedSupplyInitAbstract.json +956 -0
  23. package/artifacts/LSP8Enumerable.json +944 -0
  24. package/artifacts/LSP8EnumerableInitAbstract.json +952 -0
  25. package/artifacts/LSP8IdentifiableDigitalAsset.json +925 -0
  26. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +933 -0
  27. package/artifacts/LSP8Mintable.json +995 -0
  28. package/artifacts/LSP8MintableInit.json +1015 -0
  29. package/artifacts/LSP8Votes.json +1230 -0
  30. package/artifacts/LSP8VotesInitAbstract.json +1222 -0
  31. package/artifacts/LSP9Vault.json +631 -0
  32. package/artifacts/LSP9VaultInit.json +651 -0
  33. package/artifacts/UniversalProfile.json +676 -0
  34. package/artifacts/UniversalProfileInit.json +696 -0
  35. package/dist/constants.d.cts +2 -1
  36. package/dist/constants.d.mts +2 -1
  37. package/dist/constants.d.ts +2 -1
  38. package/package.json +9 -8
@@ -0,0 +1,802 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "LSP7DigitalAssetInitAbstract",
4
+ "sourceName": "@lukso/lsp7-contracts/contracts/LSP7DigitalAssetInitAbstract.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": false,
256
+ "internalType": "uint8",
257
+ "name": "version",
258
+ "type": "uint8"
259
+ }
260
+ ],
261
+ "name": "Initialized",
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": true,
281
+ "internalType": "uint256",
282
+ "name": "amount",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "bytes",
288
+ "name": "operatorNotificationData",
289
+ "type": "bytes"
290
+ }
291
+ ],
292
+ "name": "OperatorAuthorizationChanged",
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": "tokenOwner",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "indexed": true,
312
+ "internalType": "bool",
313
+ "name": "notified",
314
+ "type": "bool"
315
+ },
316
+ {
317
+ "indexed": false,
318
+ "internalType": "bytes",
319
+ "name": "operatorNotificationData",
320
+ "type": "bytes"
321
+ }
322
+ ],
323
+ "name": "OperatorRevoked",
324
+ "type": "event"
325
+ },
326
+ {
327
+ "anonymous": false,
328
+ "inputs": [
329
+ {
330
+ "indexed": true,
331
+ "internalType": "address",
332
+ "name": "previousOwner",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "indexed": true,
337
+ "internalType": "address",
338
+ "name": "newOwner",
339
+ "type": "address"
340
+ }
341
+ ],
342
+ "name": "OwnershipTransferred",
343
+ "type": "event"
344
+ },
345
+ {
346
+ "anonymous": false,
347
+ "inputs": [
348
+ {
349
+ "indexed": true,
350
+ "internalType": "address",
351
+ "name": "operator",
352
+ "type": "address"
353
+ },
354
+ {
355
+ "indexed": true,
356
+ "internalType": "address",
357
+ "name": "from",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "indexed": true,
362
+ "internalType": "address",
363
+ "name": "to",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "indexed": false,
368
+ "internalType": "uint256",
369
+ "name": "amount",
370
+ "type": "uint256"
371
+ },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "bool",
375
+ "name": "force",
376
+ "type": "bool"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "bytes",
381
+ "name": "data",
382
+ "type": "bytes"
383
+ }
384
+ ],
385
+ "name": "Transfer",
386
+ "type": "event"
387
+ },
388
+ {
389
+ "stateMutability": "payable",
390
+ "type": "fallback"
391
+ },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "address",
396
+ "name": "operator",
397
+ "type": "address"
398
+ },
399
+ {
400
+ "internalType": "uint256",
401
+ "name": "amount",
402
+ "type": "uint256"
403
+ },
404
+ {
405
+ "internalType": "bytes",
406
+ "name": "operatorNotificationData",
407
+ "type": "bytes"
408
+ }
409
+ ],
410
+ "name": "authorizeOperator",
411
+ "outputs": [],
412
+ "stateMutability": "nonpayable",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "address",
419
+ "name": "operator",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "internalType": "address",
424
+ "name": "tokenOwner",
425
+ "type": "address"
426
+ }
427
+ ],
428
+ "name": "authorizedAmountFor",
429
+ "outputs": [
430
+ {
431
+ "internalType": "uint256",
432
+ "name": "",
433
+ "type": "uint256"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "address",
443
+ "name": "tokenOwner",
444
+ "type": "address"
445
+ }
446
+ ],
447
+ "name": "balanceOf",
448
+ "outputs": [
449
+ {
450
+ "internalType": "uint256",
451
+ "name": "",
452
+ "type": "uint256"
453
+ }
454
+ ],
455
+ "stateMutability": "view",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [
460
+ {
461
+ "internalType": "bytes[]",
462
+ "name": "data",
463
+ "type": "bytes[]"
464
+ }
465
+ ],
466
+ "name": "batchCalls",
467
+ "outputs": [
468
+ {
469
+ "internalType": "bytes[]",
470
+ "name": "results",
471
+ "type": "bytes[]"
472
+ }
473
+ ],
474
+ "stateMutability": "nonpayable",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "decimals",
480
+ "outputs": [
481
+ {
482
+ "internalType": "uint8",
483
+ "name": "",
484
+ "type": "uint8"
485
+ }
486
+ ],
487
+ "stateMutability": "view",
488
+ "type": "function"
489
+ },
490
+ {
491
+ "inputs": [
492
+ {
493
+ "internalType": "address",
494
+ "name": "operator",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "address",
499
+ "name": "tokenOwner",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "uint256",
504
+ "name": "subtractedAmount",
505
+ "type": "uint256"
506
+ },
507
+ {
508
+ "internalType": "bytes",
509
+ "name": "operatorNotificationData",
510
+ "type": "bytes"
511
+ }
512
+ ],
513
+ "name": "decreaseAllowance",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "bytes32",
522
+ "name": "dataKey",
523
+ "type": "bytes32"
524
+ }
525
+ ],
526
+ "name": "getData",
527
+ "outputs": [
528
+ {
529
+ "internalType": "bytes",
530
+ "name": "dataValue",
531
+ "type": "bytes"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "bytes32[]",
541
+ "name": "dataKeys",
542
+ "type": "bytes32[]"
543
+ }
544
+ ],
545
+ "name": "getDataBatch",
546
+ "outputs": [
547
+ {
548
+ "internalType": "bytes[]",
549
+ "name": "dataValues",
550
+ "type": "bytes[]"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "address",
560
+ "name": "tokenOwner",
561
+ "type": "address"
562
+ }
563
+ ],
564
+ "name": "getOperatorsOf",
565
+ "outputs": [
566
+ {
567
+ "internalType": "address[]",
568
+ "name": "",
569
+ "type": "address[]"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "address",
579
+ "name": "operator",
580
+ "type": "address"
581
+ },
582
+ {
583
+ "internalType": "uint256",
584
+ "name": "addedAmount",
585
+ "type": "uint256"
586
+ },
587
+ {
588
+ "internalType": "bytes",
589
+ "name": "operatorNotificationData",
590
+ "type": "bytes"
591
+ }
592
+ ],
593
+ "name": "increaseAllowance",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [],
600
+ "name": "owner",
601
+ "outputs": [
602
+ {
603
+ "internalType": "address",
604
+ "name": "",
605
+ "type": "address"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [],
613
+ "name": "renounceOwnership",
614
+ "outputs": [],
615
+ "stateMutability": "nonpayable",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "address",
622
+ "name": "operator",
623
+ "type": "address"
624
+ },
625
+ {
626
+ "internalType": "address",
627
+ "name": "tokenOwner",
628
+ "type": "address"
629
+ },
630
+ {
631
+ "internalType": "bool",
632
+ "name": "notify",
633
+ "type": "bool"
634
+ },
635
+ {
636
+ "internalType": "bytes",
637
+ "name": "operatorNotificationData",
638
+ "type": "bytes"
639
+ }
640
+ ],
641
+ "name": "revokeOperator",
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [
648
+ {
649
+ "internalType": "bytes32",
650
+ "name": "dataKey",
651
+ "type": "bytes32"
652
+ },
653
+ {
654
+ "internalType": "bytes",
655
+ "name": "dataValue",
656
+ "type": "bytes"
657
+ }
658
+ ],
659
+ "name": "setData",
660
+ "outputs": [],
661
+ "stateMutability": "payable",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [
666
+ {
667
+ "internalType": "bytes32[]",
668
+ "name": "dataKeys",
669
+ "type": "bytes32[]"
670
+ },
671
+ {
672
+ "internalType": "bytes[]",
673
+ "name": "dataValues",
674
+ "type": "bytes[]"
675
+ }
676
+ ],
677
+ "name": "setDataBatch",
678
+ "outputs": [],
679
+ "stateMutability": "payable",
680
+ "type": "function"
681
+ },
682
+ {
683
+ "inputs": [
684
+ {
685
+ "internalType": "bytes4",
686
+ "name": "interfaceId",
687
+ "type": "bytes4"
688
+ }
689
+ ],
690
+ "name": "supportsInterface",
691
+ "outputs": [
692
+ {
693
+ "internalType": "bool",
694
+ "name": "",
695
+ "type": "bool"
696
+ }
697
+ ],
698
+ "stateMutability": "view",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [],
703
+ "name": "totalSupply",
704
+ "outputs": [
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "address",
718
+ "name": "from",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "internalType": "address",
723
+ "name": "to",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "uint256",
728
+ "name": "amount",
729
+ "type": "uint256"
730
+ },
731
+ {
732
+ "internalType": "bool",
733
+ "name": "force",
734
+ "type": "bool"
735
+ },
736
+ {
737
+ "internalType": "bytes",
738
+ "name": "data",
739
+ "type": "bytes"
740
+ }
741
+ ],
742
+ "name": "transfer",
743
+ "outputs": [],
744
+ "stateMutability": "nonpayable",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ {
750
+ "internalType": "address[]",
751
+ "name": "from",
752
+ "type": "address[]"
753
+ },
754
+ {
755
+ "internalType": "address[]",
756
+ "name": "to",
757
+ "type": "address[]"
758
+ },
759
+ {
760
+ "internalType": "uint256[]",
761
+ "name": "amount",
762
+ "type": "uint256[]"
763
+ },
764
+ {
765
+ "internalType": "bool[]",
766
+ "name": "force",
767
+ "type": "bool[]"
768
+ },
769
+ {
770
+ "internalType": "bytes[]",
771
+ "name": "data",
772
+ "type": "bytes[]"
773
+ }
774
+ ],
775
+ "name": "transferBatch",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
782
+ {
783
+ "internalType": "address",
784
+ "name": "newOwner",
785
+ "type": "address"
786
+ }
787
+ ],
788
+ "name": "transferOwnership",
789
+ "outputs": [],
790
+ "stateMutability": "nonpayable",
791
+ "type": "function"
792
+ },
793
+ {
794
+ "stateMutability": "payable",
795
+ "type": "receive"
796
+ }
797
+ ],
798
+ "bytecode": "0x",
799
+ "deployedBytecode": "0x",
800
+ "linkReferences": {},
801
+ "deployedLinkReferences": {}
802
+ }