@lukso/lsp7-contracts 0.15.0-rc.4 → 0.15.0

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