@lukso/lsp7-contracts 0.17.3 → 0.18.1
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.
- package/README.md +69 -24
- package/artifacts/IAccessControlExtended.json +1 -1
- package/artifacts/ILSP7CappedBalance.json +1 -1
- package/artifacts/ILSP7CappedSupply.json +1 -1
- package/artifacts/ILSP7DigitalAsset.json +1 -1
- package/artifacts/ILSP7Mintable.json +1 -1
- package/artifacts/ILSP7NonTransferable.json +8 -2
- package/artifacts/ILSP7Revokable.json +38 -1
- package/artifacts/LSP7Burnable.json +1 -1
- package/artifacts/LSP7BurnableInitAbstract.json +1 -1
- package/artifacts/LSP7CappedBalanceAbstract.json +1 -1
- package/artifacts/LSP7CappedBalanceInitAbstract.json +1 -1
- package/artifacts/LSP7CappedSupplyAbstract.json +1 -1
- package/artifacts/LSP7CappedSupplyInitAbstract.json +1 -1
- package/artifacts/LSP7CustomizableToken.json +63 -20
- package/artifacts/LSP7CustomizableTokenInit.json +59 -16
- package/artifacts/LSP7DigitalAsset.json +1 -1
- package/artifacts/LSP7DigitalAssetInitAbstract.json +1 -1
- package/artifacts/LSP7Mintable.json +1 -1
- package/artifacts/LSP7MintableAbstract.json +1 -1
- package/artifacts/LSP7MintableInit.json +1 -1
- package/artifacts/LSP7MintableInitAbstract.json +1 -1
- package/artifacts/LSP7NonTransferableAbstract.json +20 -14
- package/artifacts/LSP7NonTransferableInitAbstract.json +20 -14
- package/artifacts/LSP7RevokableAbstract.json +38 -1
- package/artifacts/LSP7RevokableInitAbstract.json +38 -1
- package/artifacts/LSP7Votes.json +1 -1
- package/artifacts/LSP7VotesInitAbstract.json +1 -1
- package/contracts/extensions/LSP7NonTransferable/ILSP7NonTransferable.sol +10 -4
- package/contracts/extensions/LSP7NonTransferable/LSP7NonTransferableAbstract.sol +17 -8
- package/contracts/extensions/LSP7NonTransferable/LSP7NonTransferableInitAbstract.sol +17 -8
- package/contracts/extensions/LSP7Revokable/ILSP7Revokable.sol +9 -0
- package/contracts/extensions/LSP7Revokable/LSP7RevokableAbstract.sol +8 -0
- package/contracts/extensions/LSP7Revokable/LSP7RevokableInitAbstract.sol +8 -0
- package/dist/abi.cjs +169 -29
- package/dist/abi.d.cts +216 -41
- package/dist/abi.d.mts +216 -41
- package/dist/abi.d.ts +216 -41
- package/dist/abi.mjs +169 -29
- package/package.json +1 -1
package/dist/abi.d.mts
CHANGED
|
@@ -570,6 +570,11 @@ declare const ilsp7NonTransferableAbi: readonly [{
|
|
|
570
570
|
readonly type: "event";
|
|
571
571
|
readonly anonymous: false;
|
|
572
572
|
readonly inputs: readonly [{
|
|
573
|
+
readonly name: "nonTransferabilityEnabled";
|
|
574
|
+
readonly internalType: "bool";
|
|
575
|
+
readonly type: "bool";
|
|
576
|
+
readonly indexed: true;
|
|
577
|
+
}, {
|
|
573
578
|
readonly name: "start";
|
|
574
579
|
readonly internalType: "uint256";
|
|
575
580
|
readonly type: "uint256";
|
|
@@ -600,7 +605,7 @@ declare const ilsp7NonTransferableAbi: readonly [{
|
|
|
600
605
|
}, {
|
|
601
606
|
readonly type: "function";
|
|
602
607
|
readonly inputs: readonly [];
|
|
603
|
-
readonly name: "
|
|
608
|
+
readonly name: "nonTransferabilityEnabled";
|
|
604
609
|
readonly outputs: readonly [{
|
|
605
610
|
readonly name: "";
|
|
606
611
|
readonly internalType: "bool";
|
|
@@ -652,6 +657,36 @@ declare const ilsp7RevokableAbi: readonly [{
|
|
|
652
657
|
readonly indexed: true;
|
|
653
658
|
}];
|
|
654
659
|
readonly name: "RevokableStatusChanged";
|
|
660
|
+
}, {
|
|
661
|
+
readonly type: "event";
|
|
662
|
+
readonly anonymous: false;
|
|
663
|
+
readonly inputs: readonly [{
|
|
664
|
+
readonly name: "revoker";
|
|
665
|
+
readonly internalType: "address";
|
|
666
|
+
readonly type: "address";
|
|
667
|
+
readonly indexed: true;
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: "from";
|
|
670
|
+
readonly internalType: "address";
|
|
671
|
+
readonly type: "address";
|
|
672
|
+
readonly indexed: true;
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "to";
|
|
675
|
+
readonly internalType: "address";
|
|
676
|
+
readonly type: "address";
|
|
677
|
+
readonly indexed: true;
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "amount";
|
|
680
|
+
readonly internalType: "uint256";
|
|
681
|
+
readonly type: "uint256";
|
|
682
|
+
readonly indexed: false;
|
|
683
|
+
}, {
|
|
684
|
+
readonly name: "data";
|
|
685
|
+
readonly internalType: "bytes";
|
|
686
|
+
readonly type: "bytes";
|
|
687
|
+
readonly indexed: false;
|
|
688
|
+
}];
|
|
689
|
+
readonly name: "TokenRevoked";
|
|
655
690
|
}, {
|
|
656
691
|
readonly type: "function";
|
|
657
692
|
readonly inputs: readonly [];
|
|
@@ -5433,6 +5468,36 @@ declare const lsp7CustomizableTokenAbi: readonly [{
|
|
|
5433
5468
|
readonly indexed: true;
|
|
5434
5469
|
}];
|
|
5435
5470
|
readonly name: "RoleRevoked";
|
|
5471
|
+
}, {
|
|
5472
|
+
readonly type: "event";
|
|
5473
|
+
readonly anonymous: false;
|
|
5474
|
+
readonly inputs: readonly [{
|
|
5475
|
+
readonly name: "revoker";
|
|
5476
|
+
readonly internalType: "address";
|
|
5477
|
+
readonly type: "address";
|
|
5478
|
+
readonly indexed: true;
|
|
5479
|
+
}, {
|
|
5480
|
+
readonly name: "from";
|
|
5481
|
+
readonly internalType: "address";
|
|
5482
|
+
readonly type: "address";
|
|
5483
|
+
readonly indexed: true;
|
|
5484
|
+
}, {
|
|
5485
|
+
readonly name: "to";
|
|
5486
|
+
readonly internalType: "address";
|
|
5487
|
+
readonly type: "address";
|
|
5488
|
+
readonly indexed: true;
|
|
5489
|
+
}, {
|
|
5490
|
+
readonly name: "amount";
|
|
5491
|
+
readonly internalType: "uint256";
|
|
5492
|
+
readonly type: "uint256";
|
|
5493
|
+
readonly indexed: false;
|
|
5494
|
+
}, {
|
|
5495
|
+
readonly name: "data";
|
|
5496
|
+
readonly internalType: "bytes";
|
|
5497
|
+
readonly type: "bytes";
|
|
5498
|
+
readonly indexed: false;
|
|
5499
|
+
}];
|
|
5500
|
+
readonly name: "TokenRevoked";
|
|
5436
5501
|
}, {
|
|
5437
5502
|
readonly type: "event";
|
|
5438
5503
|
readonly anonymous: false;
|
|
@@ -5472,6 +5537,11 @@ declare const lsp7CustomizableTokenAbi: readonly [{
|
|
|
5472
5537
|
readonly type: "event";
|
|
5473
5538
|
readonly anonymous: false;
|
|
5474
5539
|
readonly inputs: readonly [{
|
|
5540
|
+
readonly name: "nonTransferabilityEnabled";
|
|
5541
|
+
readonly internalType: "bool";
|
|
5542
|
+
readonly type: "bool";
|
|
5543
|
+
readonly indexed: true;
|
|
5544
|
+
}, {
|
|
5475
5545
|
readonly name: "start";
|
|
5476
5546
|
readonly internalType: "uint256";
|
|
5477
5547
|
readonly type: "uint256";
|
|
@@ -5872,6 +5942,16 @@ declare const lsp7CustomizableTokenAbi: readonly [{
|
|
|
5872
5942
|
readonly name: "mint";
|
|
5873
5943
|
readonly outputs: readonly [];
|
|
5874
5944
|
readonly stateMutability: "nonpayable";
|
|
5945
|
+
}, {
|
|
5946
|
+
readonly type: "function";
|
|
5947
|
+
readonly inputs: readonly [];
|
|
5948
|
+
readonly name: "nonTransferabilityEnabled";
|
|
5949
|
+
readonly outputs: readonly [{
|
|
5950
|
+
readonly name: "";
|
|
5951
|
+
readonly internalType: "bool";
|
|
5952
|
+
readonly type: "bool";
|
|
5953
|
+
}];
|
|
5954
|
+
readonly stateMutability: "view";
|
|
5875
5955
|
}, {
|
|
5876
5956
|
readonly type: "function";
|
|
5877
5957
|
readonly inputs: readonly [];
|
|
@@ -6112,16 +6192,6 @@ declare const lsp7CustomizableTokenAbi: readonly [{
|
|
|
6112
6192
|
readonly name: "transferBatch";
|
|
6113
6193
|
readonly outputs: readonly [];
|
|
6114
6194
|
readonly stateMutability: "nonpayable";
|
|
6115
|
-
}, {
|
|
6116
|
-
readonly type: "function";
|
|
6117
|
-
readonly inputs: readonly [];
|
|
6118
|
-
readonly name: "transferLockEnabled";
|
|
6119
|
-
readonly outputs: readonly [{
|
|
6120
|
-
readonly name: "";
|
|
6121
|
-
readonly internalType: "bool";
|
|
6122
|
-
readonly type: "bool";
|
|
6123
|
-
}];
|
|
6124
|
-
readonly stateMutability: "view";
|
|
6125
6195
|
}, {
|
|
6126
6196
|
readonly type: "function";
|
|
6127
6197
|
readonly inputs: readonly [];
|
|
@@ -6588,6 +6658,36 @@ declare const lsp7CustomizableTokenInitAbi: readonly [{
|
|
|
6588
6658
|
readonly indexed: true;
|
|
6589
6659
|
}];
|
|
6590
6660
|
readonly name: "RoleRevoked";
|
|
6661
|
+
}, {
|
|
6662
|
+
readonly type: "event";
|
|
6663
|
+
readonly anonymous: false;
|
|
6664
|
+
readonly inputs: readonly [{
|
|
6665
|
+
readonly name: "revoker";
|
|
6666
|
+
readonly internalType: "address";
|
|
6667
|
+
readonly type: "address";
|
|
6668
|
+
readonly indexed: true;
|
|
6669
|
+
}, {
|
|
6670
|
+
readonly name: "from";
|
|
6671
|
+
readonly internalType: "address";
|
|
6672
|
+
readonly type: "address";
|
|
6673
|
+
readonly indexed: true;
|
|
6674
|
+
}, {
|
|
6675
|
+
readonly name: "to";
|
|
6676
|
+
readonly internalType: "address";
|
|
6677
|
+
readonly type: "address";
|
|
6678
|
+
readonly indexed: true;
|
|
6679
|
+
}, {
|
|
6680
|
+
readonly name: "amount";
|
|
6681
|
+
readonly internalType: "uint256";
|
|
6682
|
+
readonly type: "uint256";
|
|
6683
|
+
readonly indexed: false;
|
|
6684
|
+
}, {
|
|
6685
|
+
readonly name: "data";
|
|
6686
|
+
readonly internalType: "bytes";
|
|
6687
|
+
readonly type: "bytes";
|
|
6688
|
+
readonly indexed: false;
|
|
6689
|
+
}];
|
|
6690
|
+
readonly name: "TokenRevoked";
|
|
6591
6691
|
}, {
|
|
6592
6692
|
readonly type: "event";
|
|
6593
6693
|
readonly anonymous: false;
|
|
@@ -6627,6 +6727,11 @@ declare const lsp7CustomizableTokenInitAbi: readonly [{
|
|
|
6627
6727
|
readonly type: "event";
|
|
6628
6728
|
readonly anonymous: false;
|
|
6629
6729
|
readonly inputs: readonly [{
|
|
6730
|
+
readonly name: "nonTransferabilityEnabled";
|
|
6731
|
+
readonly internalType: "bool";
|
|
6732
|
+
readonly type: "bool";
|
|
6733
|
+
readonly indexed: true;
|
|
6734
|
+
}, {
|
|
6630
6735
|
readonly name: "start";
|
|
6631
6736
|
readonly internalType: "uint256";
|
|
6632
6737
|
readonly type: "uint256";
|
|
@@ -7101,6 +7206,16 @@ declare const lsp7CustomizableTokenInitAbi: readonly [{
|
|
|
7101
7206
|
readonly name: "mint";
|
|
7102
7207
|
readonly outputs: readonly [];
|
|
7103
7208
|
readonly stateMutability: "nonpayable";
|
|
7209
|
+
}, {
|
|
7210
|
+
readonly type: "function";
|
|
7211
|
+
readonly inputs: readonly [];
|
|
7212
|
+
readonly name: "nonTransferabilityEnabled";
|
|
7213
|
+
readonly outputs: readonly [{
|
|
7214
|
+
readonly name: "";
|
|
7215
|
+
readonly internalType: "bool";
|
|
7216
|
+
readonly type: "bool";
|
|
7217
|
+
}];
|
|
7218
|
+
readonly stateMutability: "view";
|
|
7104
7219
|
}, {
|
|
7105
7220
|
readonly type: "function";
|
|
7106
7221
|
readonly inputs: readonly [];
|
|
@@ -7341,16 +7456,6 @@ declare const lsp7CustomizableTokenInitAbi: readonly [{
|
|
|
7341
7456
|
readonly name: "transferBatch";
|
|
7342
7457
|
readonly outputs: readonly [];
|
|
7343
7458
|
readonly stateMutability: "nonpayable";
|
|
7344
|
-
}, {
|
|
7345
|
-
readonly type: "function";
|
|
7346
|
-
readonly inputs: readonly [];
|
|
7347
|
-
readonly name: "transferLockEnabled";
|
|
7348
|
-
readonly outputs: readonly [{
|
|
7349
|
-
readonly name: "";
|
|
7350
|
-
readonly internalType: "bool";
|
|
7351
|
-
readonly type: "bool";
|
|
7352
|
-
}];
|
|
7353
|
-
readonly stateMutability: "view";
|
|
7354
7459
|
}, {
|
|
7355
7460
|
readonly type: "function";
|
|
7356
7461
|
readonly inputs: readonly [];
|
|
@@ -12702,6 +12807,11 @@ declare const lsp7NonTransferableAbstractAbi: readonly [{
|
|
|
12702
12807
|
readonly type: "event";
|
|
12703
12808
|
readonly anonymous: false;
|
|
12704
12809
|
readonly inputs: readonly [{
|
|
12810
|
+
readonly name: "nonTransferabilityEnabled";
|
|
12811
|
+
readonly internalType: "bool";
|
|
12812
|
+
readonly type: "bool";
|
|
12813
|
+
readonly indexed: true;
|
|
12814
|
+
}, {
|
|
12705
12815
|
readonly name: "start";
|
|
12706
12816
|
readonly internalType: "uint256";
|
|
12707
12817
|
readonly type: "uint256";
|
|
@@ -13000,6 +13110,16 @@ declare const lsp7NonTransferableAbstractAbi: readonly [{
|
|
|
13000
13110
|
readonly name: "makeTransferable";
|
|
13001
13111
|
readonly outputs: readonly [];
|
|
13002
13112
|
readonly stateMutability: "nonpayable";
|
|
13113
|
+
}, {
|
|
13114
|
+
readonly type: "function";
|
|
13115
|
+
readonly inputs: readonly [];
|
|
13116
|
+
readonly name: "nonTransferabilityEnabled";
|
|
13117
|
+
readonly outputs: readonly [{
|
|
13118
|
+
readonly name: "";
|
|
13119
|
+
readonly internalType: "bool";
|
|
13120
|
+
readonly type: "bool";
|
|
13121
|
+
}];
|
|
13122
|
+
readonly stateMutability: "view";
|
|
13003
13123
|
}, {
|
|
13004
13124
|
readonly type: "function";
|
|
13005
13125
|
readonly inputs: readonly [];
|
|
@@ -13198,16 +13318,6 @@ declare const lsp7NonTransferableAbstractAbi: readonly [{
|
|
|
13198
13318
|
readonly name: "transferBatch";
|
|
13199
13319
|
readonly outputs: readonly [];
|
|
13200
13320
|
readonly stateMutability: "nonpayable";
|
|
13201
|
-
}, {
|
|
13202
|
-
readonly type: "function";
|
|
13203
|
-
readonly inputs: readonly [];
|
|
13204
|
-
readonly name: "transferLockEnabled";
|
|
13205
|
-
readonly outputs: readonly [{
|
|
13206
|
-
readonly name: "";
|
|
13207
|
-
readonly internalType: "bool";
|
|
13208
|
-
readonly type: "bool";
|
|
13209
|
-
}];
|
|
13210
|
-
readonly stateMutability: "view";
|
|
13211
13321
|
}, {
|
|
13212
13322
|
readonly type: "function";
|
|
13213
13323
|
readonly inputs: readonly [];
|
|
@@ -13653,6 +13763,11 @@ declare const lsp7NonTransferableInitAbstractAbi: readonly [{
|
|
|
13653
13763
|
readonly type: "event";
|
|
13654
13764
|
readonly anonymous: false;
|
|
13655
13765
|
readonly inputs: readonly [{
|
|
13766
|
+
readonly name: "nonTransferabilityEnabled";
|
|
13767
|
+
readonly internalType: "bool";
|
|
13768
|
+
readonly type: "bool";
|
|
13769
|
+
readonly indexed: true;
|
|
13770
|
+
}, {
|
|
13656
13771
|
readonly name: "start";
|
|
13657
13772
|
readonly internalType: "uint256";
|
|
13658
13773
|
readonly type: "uint256";
|
|
@@ -13951,6 +14066,16 @@ declare const lsp7NonTransferableInitAbstractAbi: readonly [{
|
|
|
13951
14066
|
readonly name: "makeTransferable";
|
|
13952
14067
|
readonly outputs: readonly [];
|
|
13953
14068
|
readonly stateMutability: "nonpayable";
|
|
14069
|
+
}, {
|
|
14070
|
+
readonly type: "function";
|
|
14071
|
+
readonly inputs: readonly [];
|
|
14072
|
+
readonly name: "nonTransferabilityEnabled";
|
|
14073
|
+
readonly outputs: readonly [{
|
|
14074
|
+
readonly name: "";
|
|
14075
|
+
readonly internalType: "bool";
|
|
14076
|
+
readonly type: "bool";
|
|
14077
|
+
}];
|
|
14078
|
+
readonly stateMutability: "view";
|
|
13954
14079
|
}, {
|
|
13955
14080
|
readonly type: "function";
|
|
13956
14081
|
readonly inputs: readonly [];
|
|
@@ -14149,16 +14274,6 @@ declare const lsp7NonTransferableInitAbstractAbi: readonly [{
|
|
|
14149
14274
|
readonly name: "transferBatch";
|
|
14150
14275
|
readonly outputs: readonly [];
|
|
14151
14276
|
readonly stateMutability: "nonpayable";
|
|
14152
|
-
}, {
|
|
14153
|
-
readonly type: "function";
|
|
14154
|
-
readonly inputs: readonly [];
|
|
14155
|
-
readonly name: "transferLockEnabled";
|
|
14156
|
-
readonly outputs: readonly [{
|
|
14157
|
-
readonly name: "";
|
|
14158
|
-
readonly internalType: "bool";
|
|
14159
|
-
readonly type: "bool";
|
|
14160
|
-
}];
|
|
14161
|
-
readonly stateMutability: "view";
|
|
14162
14277
|
}, {
|
|
14163
14278
|
readonly type: "function";
|
|
14164
14279
|
readonly inputs: readonly [];
|
|
@@ -14557,6 +14672,36 @@ declare const lsp7RevokableAbstractAbi: readonly [{
|
|
|
14557
14672
|
readonly indexed: true;
|
|
14558
14673
|
}];
|
|
14559
14674
|
readonly name: "RoleRevoked";
|
|
14675
|
+
}, {
|
|
14676
|
+
readonly type: "event";
|
|
14677
|
+
readonly anonymous: false;
|
|
14678
|
+
readonly inputs: readonly [{
|
|
14679
|
+
readonly name: "revoker";
|
|
14680
|
+
readonly internalType: "address";
|
|
14681
|
+
readonly type: "address";
|
|
14682
|
+
readonly indexed: true;
|
|
14683
|
+
}, {
|
|
14684
|
+
readonly name: "from";
|
|
14685
|
+
readonly internalType: "address";
|
|
14686
|
+
readonly type: "address";
|
|
14687
|
+
readonly indexed: true;
|
|
14688
|
+
}, {
|
|
14689
|
+
readonly name: "to";
|
|
14690
|
+
readonly internalType: "address";
|
|
14691
|
+
readonly type: "address";
|
|
14692
|
+
readonly indexed: true;
|
|
14693
|
+
}, {
|
|
14694
|
+
readonly name: "amount";
|
|
14695
|
+
readonly internalType: "uint256";
|
|
14696
|
+
readonly type: "uint256";
|
|
14697
|
+
readonly indexed: false;
|
|
14698
|
+
}, {
|
|
14699
|
+
readonly name: "data";
|
|
14700
|
+
readonly internalType: "bytes";
|
|
14701
|
+
readonly type: "bytes";
|
|
14702
|
+
readonly indexed: false;
|
|
14703
|
+
}];
|
|
14704
|
+
readonly name: "TokenRevoked";
|
|
14560
14705
|
}, {
|
|
14561
14706
|
readonly type: "event";
|
|
14562
14707
|
readonly anonymous: false;
|
|
@@ -15469,6 +15614,36 @@ declare const lsp7RevokableInitAbstractAbi: readonly [{
|
|
|
15469
15614
|
readonly indexed: true;
|
|
15470
15615
|
}];
|
|
15471
15616
|
readonly name: "RoleRevoked";
|
|
15617
|
+
}, {
|
|
15618
|
+
readonly type: "event";
|
|
15619
|
+
readonly anonymous: false;
|
|
15620
|
+
readonly inputs: readonly [{
|
|
15621
|
+
readonly name: "revoker";
|
|
15622
|
+
readonly internalType: "address";
|
|
15623
|
+
readonly type: "address";
|
|
15624
|
+
readonly indexed: true;
|
|
15625
|
+
}, {
|
|
15626
|
+
readonly name: "from";
|
|
15627
|
+
readonly internalType: "address";
|
|
15628
|
+
readonly type: "address";
|
|
15629
|
+
readonly indexed: true;
|
|
15630
|
+
}, {
|
|
15631
|
+
readonly name: "to";
|
|
15632
|
+
readonly internalType: "address";
|
|
15633
|
+
readonly type: "address";
|
|
15634
|
+
readonly indexed: true;
|
|
15635
|
+
}, {
|
|
15636
|
+
readonly name: "amount";
|
|
15637
|
+
readonly internalType: "uint256";
|
|
15638
|
+
readonly type: "uint256";
|
|
15639
|
+
readonly indexed: false;
|
|
15640
|
+
}, {
|
|
15641
|
+
readonly name: "data";
|
|
15642
|
+
readonly internalType: "bytes";
|
|
15643
|
+
readonly type: "bytes";
|
|
15644
|
+
readonly indexed: false;
|
|
15645
|
+
}];
|
|
15646
|
+
readonly name: "TokenRevoked";
|
|
15472
15647
|
}, {
|
|
15473
15648
|
readonly type: "event";
|
|
15474
15649
|
readonly anonymous: false;
|