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