@lukso/lsp8-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/ILSP8CappedBalance.json +1 -1
- package/artifacts/ILSP8CappedSupply.json +1 -1
- package/artifacts/ILSP8IdentifiableDigitalAsset.json +1 -1
- package/artifacts/ILSP8Mintable.json +1 -1
- package/artifacts/ILSP8NonTransferable.json +8 -2
- package/artifacts/ILSP8Revokable.json +38 -1
- package/artifacts/LSP8Burnable.json +1 -1
- package/artifacts/LSP8BurnableInitAbstract.json +1 -1
- package/artifacts/LSP8CappedBalanceAbstract.json +1 -1
- package/artifacts/LSP8CappedBalanceInitAbstract.json +1 -1
- package/artifacts/LSP8CappedSupplyAbstract.json +1 -1
- package/artifacts/LSP8CappedSupplyInitAbstract.json +1 -1
- package/artifacts/LSP8CustomizableToken.json +64 -21
- package/artifacts/LSP8CustomizableTokenInit.json +59 -16
- package/artifacts/LSP8Enumerable.json +1 -1
- package/artifacts/LSP8EnumerableInitAbstract.json +1 -1
- package/artifacts/LSP8IdentifiableDigitalAsset.json +1 -1
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +1 -1
- package/artifacts/LSP8Mintable.json +1 -1
- package/artifacts/LSP8MintableAbstract.json +1 -1
- package/artifacts/LSP8MintableInit.json +1 -1
- package/artifacts/LSP8MintableInitAbstract.json +1 -1
- package/artifacts/LSP8NonTransferableAbstract.json +20 -14
- package/artifacts/LSP8NonTransferableInitAbstract.json +20 -14
- package/artifacts/LSP8RevokableAbstract.json +38 -1
- package/artifacts/LSP8RevokableInitAbstract.json +38 -1
- package/artifacts/LSP8Votes.json +1 -1
- package/artifacts/LSP8VotesInitAbstract.json +1 -1
- package/contracts/extensions/LSP8NonTransferable/ILSP8NonTransferable.sol +9 -3
- package/contracts/extensions/LSP8NonTransferable/LSP8NonTransferableAbstract.sol +17 -8
- package/contracts/extensions/LSP8NonTransferable/LSP8NonTransferableInitAbstract.sol +17 -8
- package/contracts/extensions/LSP8Revokable/ILSP8Revokable.sol +9 -0
- package/contracts/extensions/LSP8Revokable/LSP8RevokableAbstract.sol +8 -0
- package/contracts/extensions/LSP8Revokable/LSP8RevokableInitAbstract.sol +15 -1
- 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
|
@@ -645,6 +645,11 @@ declare const ilsp8NonTransferableAbi: readonly [{
|
|
|
645
645
|
readonly type: "event";
|
|
646
646
|
readonly anonymous: false;
|
|
647
647
|
readonly inputs: readonly [{
|
|
648
|
+
readonly name: "nonTransferabilityEnabled";
|
|
649
|
+
readonly internalType: "bool";
|
|
650
|
+
readonly type: "bool";
|
|
651
|
+
readonly indexed: true;
|
|
652
|
+
}, {
|
|
648
653
|
readonly name: "start";
|
|
649
654
|
readonly internalType: "uint256";
|
|
650
655
|
readonly type: "uint256";
|
|
@@ -675,7 +680,7 @@ declare const ilsp8NonTransferableAbi: readonly [{
|
|
|
675
680
|
}, {
|
|
676
681
|
readonly type: "function";
|
|
677
682
|
readonly inputs: readonly [];
|
|
678
|
-
readonly name: "
|
|
683
|
+
readonly name: "nonTransferabilityEnabled";
|
|
679
684
|
readonly outputs: readonly [{
|
|
680
685
|
readonly name: "";
|
|
681
686
|
readonly internalType: "bool";
|
|
@@ -727,6 +732,36 @@ declare const ilsp8RevokableAbi: readonly [{
|
|
|
727
732
|
readonly indexed: true;
|
|
728
733
|
}];
|
|
729
734
|
readonly name: "RevokableStatusChanged";
|
|
735
|
+
}, {
|
|
736
|
+
readonly type: "event";
|
|
737
|
+
readonly anonymous: false;
|
|
738
|
+
readonly inputs: readonly [{
|
|
739
|
+
readonly name: "revoker";
|
|
740
|
+
readonly internalType: "address";
|
|
741
|
+
readonly type: "address";
|
|
742
|
+
readonly indexed: true;
|
|
743
|
+
}, {
|
|
744
|
+
readonly name: "from";
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
readonly type: "address";
|
|
747
|
+
readonly indexed: true;
|
|
748
|
+
}, {
|
|
749
|
+
readonly name: "to";
|
|
750
|
+
readonly internalType: "address";
|
|
751
|
+
readonly type: "address";
|
|
752
|
+
readonly indexed: true;
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "tokenId";
|
|
755
|
+
readonly internalType: "bytes32";
|
|
756
|
+
readonly type: "bytes32";
|
|
757
|
+
readonly indexed: false;
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "data";
|
|
760
|
+
readonly internalType: "bytes";
|
|
761
|
+
readonly type: "bytes";
|
|
762
|
+
readonly indexed: false;
|
|
763
|
+
}];
|
|
764
|
+
readonly name: "TokenRevoked";
|
|
730
765
|
}, {
|
|
731
766
|
readonly type: "function";
|
|
732
767
|
readonly inputs: readonly [];
|
|
@@ -6139,6 +6174,36 @@ declare const lsp8CustomizableTokenAbi: readonly [{
|
|
|
6139
6174
|
readonly indexed: false;
|
|
6140
6175
|
}];
|
|
6141
6176
|
readonly name: "TokenIdDataChanged";
|
|
6177
|
+
}, {
|
|
6178
|
+
readonly type: "event";
|
|
6179
|
+
readonly anonymous: false;
|
|
6180
|
+
readonly inputs: readonly [{
|
|
6181
|
+
readonly name: "revoker";
|
|
6182
|
+
readonly internalType: "address";
|
|
6183
|
+
readonly type: "address";
|
|
6184
|
+
readonly indexed: true;
|
|
6185
|
+
}, {
|
|
6186
|
+
readonly name: "from";
|
|
6187
|
+
readonly internalType: "address";
|
|
6188
|
+
readonly type: "address";
|
|
6189
|
+
readonly indexed: true;
|
|
6190
|
+
}, {
|
|
6191
|
+
readonly name: "to";
|
|
6192
|
+
readonly internalType: "address";
|
|
6193
|
+
readonly type: "address";
|
|
6194
|
+
readonly indexed: true;
|
|
6195
|
+
}, {
|
|
6196
|
+
readonly name: "tokenId";
|
|
6197
|
+
readonly internalType: "bytes32";
|
|
6198
|
+
readonly type: "bytes32";
|
|
6199
|
+
readonly indexed: false;
|
|
6200
|
+
}, {
|
|
6201
|
+
readonly name: "data";
|
|
6202
|
+
readonly internalType: "bytes";
|
|
6203
|
+
readonly type: "bytes";
|
|
6204
|
+
readonly indexed: false;
|
|
6205
|
+
}];
|
|
6206
|
+
readonly name: "TokenRevoked";
|
|
6142
6207
|
}, {
|
|
6143
6208
|
readonly type: "event";
|
|
6144
6209
|
readonly anonymous: false;
|
|
@@ -6178,6 +6243,11 @@ declare const lsp8CustomizableTokenAbi: readonly [{
|
|
|
6178
6243
|
readonly type: "event";
|
|
6179
6244
|
readonly anonymous: false;
|
|
6180
6245
|
readonly inputs: readonly [{
|
|
6246
|
+
readonly name: "nonTransferabilityEnabled";
|
|
6247
|
+
readonly internalType: "bool";
|
|
6248
|
+
readonly type: "bool";
|
|
6249
|
+
readonly indexed: true;
|
|
6250
|
+
}, {
|
|
6181
6251
|
readonly name: "start";
|
|
6182
6252
|
readonly internalType: "uint256";
|
|
6183
6253
|
readonly type: "uint256";
|
|
@@ -6560,6 +6630,16 @@ declare const lsp8CustomizableTokenAbi: readonly [{
|
|
|
6560
6630
|
readonly name: "mint";
|
|
6561
6631
|
readonly outputs: readonly [];
|
|
6562
6632
|
readonly stateMutability: "nonpayable";
|
|
6633
|
+
}, {
|
|
6634
|
+
readonly type: "function";
|
|
6635
|
+
readonly inputs: readonly [];
|
|
6636
|
+
readonly name: "nonTransferabilityEnabled";
|
|
6637
|
+
readonly outputs: readonly [{
|
|
6638
|
+
readonly name: "";
|
|
6639
|
+
readonly internalType: "bool";
|
|
6640
|
+
readonly type: "bool";
|
|
6641
|
+
}];
|
|
6642
|
+
readonly stateMutability: "view";
|
|
6563
6643
|
}, {
|
|
6564
6644
|
readonly type: "function";
|
|
6565
6645
|
readonly inputs: readonly [];
|
|
@@ -6864,16 +6944,6 @@ declare const lsp8CustomizableTokenAbi: readonly [{
|
|
|
6864
6944
|
readonly name: "transferBatch";
|
|
6865
6945
|
readonly outputs: readonly [];
|
|
6866
6946
|
readonly stateMutability: "nonpayable";
|
|
6867
|
-
}, {
|
|
6868
|
-
readonly type: "function";
|
|
6869
|
-
readonly inputs: readonly [];
|
|
6870
|
-
readonly name: "transferLockEnabled";
|
|
6871
|
-
readonly outputs: readonly [{
|
|
6872
|
-
readonly name: "";
|
|
6873
|
-
readonly internalType: "bool";
|
|
6874
|
-
readonly type: "bool";
|
|
6875
|
-
}];
|
|
6876
|
-
readonly stateMutability: "view";
|
|
6877
6947
|
}, {
|
|
6878
6948
|
readonly type: "function";
|
|
6879
6949
|
readonly inputs: readonly [];
|
|
@@ -7393,6 +7463,36 @@ declare const lsp8CustomizableTokenInitAbi: readonly [{
|
|
|
7393
7463
|
readonly indexed: false;
|
|
7394
7464
|
}];
|
|
7395
7465
|
readonly name: "TokenIdDataChanged";
|
|
7466
|
+
}, {
|
|
7467
|
+
readonly type: "event";
|
|
7468
|
+
readonly anonymous: false;
|
|
7469
|
+
readonly inputs: readonly [{
|
|
7470
|
+
readonly name: "revoker";
|
|
7471
|
+
readonly internalType: "address";
|
|
7472
|
+
readonly type: "address";
|
|
7473
|
+
readonly indexed: true;
|
|
7474
|
+
}, {
|
|
7475
|
+
readonly name: "from";
|
|
7476
|
+
readonly internalType: "address";
|
|
7477
|
+
readonly type: "address";
|
|
7478
|
+
readonly indexed: true;
|
|
7479
|
+
}, {
|
|
7480
|
+
readonly name: "to";
|
|
7481
|
+
readonly internalType: "address";
|
|
7482
|
+
readonly type: "address";
|
|
7483
|
+
readonly indexed: true;
|
|
7484
|
+
}, {
|
|
7485
|
+
readonly name: "tokenId";
|
|
7486
|
+
readonly internalType: "bytes32";
|
|
7487
|
+
readonly type: "bytes32";
|
|
7488
|
+
readonly indexed: false;
|
|
7489
|
+
}, {
|
|
7490
|
+
readonly name: "data";
|
|
7491
|
+
readonly internalType: "bytes";
|
|
7492
|
+
readonly type: "bytes";
|
|
7493
|
+
readonly indexed: false;
|
|
7494
|
+
}];
|
|
7495
|
+
readonly name: "TokenRevoked";
|
|
7396
7496
|
}, {
|
|
7397
7497
|
readonly type: "event";
|
|
7398
7498
|
readonly anonymous: false;
|
|
@@ -7432,6 +7532,11 @@ declare const lsp8CustomizableTokenInitAbi: readonly [{
|
|
|
7432
7532
|
readonly type: "event";
|
|
7433
7533
|
readonly anonymous: false;
|
|
7434
7534
|
readonly inputs: readonly [{
|
|
7535
|
+
readonly name: "nonTransferabilityEnabled";
|
|
7536
|
+
readonly internalType: "bool";
|
|
7537
|
+
readonly type: "bool";
|
|
7538
|
+
readonly indexed: true;
|
|
7539
|
+
}, {
|
|
7435
7540
|
readonly name: "start";
|
|
7436
7541
|
readonly internalType: "uint256";
|
|
7437
7542
|
readonly type: "uint256";
|
|
@@ -7888,6 +7993,16 @@ declare const lsp8CustomizableTokenInitAbi: readonly [{
|
|
|
7888
7993
|
readonly name: "mint";
|
|
7889
7994
|
readonly outputs: readonly [];
|
|
7890
7995
|
readonly stateMutability: "nonpayable";
|
|
7996
|
+
}, {
|
|
7997
|
+
readonly type: "function";
|
|
7998
|
+
readonly inputs: readonly [];
|
|
7999
|
+
readonly name: "nonTransferabilityEnabled";
|
|
8000
|
+
readonly outputs: readonly [{
|
|
8001
|
+
readonly name: "";
|
|
8002
|
+
readonly internalType: "bool";
|
|
8003
|
+
readonly type: "bool";
|
|
8004
|
+
}];
|
|
8005
|
+
readonly stateMutability: "view";
|
|
7891
8006
|
}, {
|
|
7892
8007
|
readonly type: "function";
|
|
7893
8008
|
readonly inputs: readonly [];
|
|
@@ -8192,16 +8307,6 @@ declare const lsp8CustomizableTokenInitAbi: readonly [{
|
|
|
8192
8307
|
readonly name: "transferBatch";
|
|
8193
8308
|
readonly outputs: readonly [];
|
|
8194
8309
|
readonly stateMutability: "nonpayable";
|
|
8195
|
-
}, {
|
|
8196
|
-
readonly type: "function";
|
|
8197
|
-
readonly inputs: readonly [];
|
|
8198
|
-
readonly name: "transferLockEnabled";
|
|
8199
|
-
readonly outputs: readonly [{
|
|
8200
|
-
readonly name: "";
|
|
8201
|
-
readonly internalType: "bool";
|
|
8202
|
-
readonly type: "bool";
|
|
8203
|
-
}];
|
|
8204
|
-
readonly stateMutability: "view";
|
|
8205
8310
|
}, {
|
|
8206
8311
|
readonly type: "function";
|
|
8207
8312
|
readonly inputs: readonly [];
|
|
@@ -15672,6 +15777,11 @@ declare const lsp8NonTransferableAbstractAbi: readonly [{
|
|
|
15672
15777
|
readonly type: "event";
|
|
15673
15778
|
readonly anonymous: false;
|
|
15674
15779
|
readonly inputs: readonly [{
|
|
15780
|
+
readonly name: "nonTransferabilityEnabled";
|
|
15781
|
+
readonly internalType: "bool";
|
|
15782
|
+
readonly type: "bool";
|
|
15783
|
+
readonly indexed: true;
|
|
15784
|
+
}, {
|
|
15675
15785
|
readonly name: "start";
|
|
15676
15786
|
readonly internalType: "uint256";
|
|
15677
15787
|
readonly type: "uint256";
|
|
@@ -15956,6 +16066,16 @@ declare const lsp8NonTransferableAbstractAbi: readonly [{
|
|
|
15956
16066
|
readonly name: "makeTransferable";
|
|
15957
16067
|
readonly outputs: readonly [];
|
|
15958
16068
|
readonly stateMutability: "nonpayable";
|
|
16069
|
+
}, {
|
|
16070
|
+
readonly type: "function";
|
|
16071
|
+
readonly inputs: readonly [];
|
|
16072
|
+
readonly name: "nonTransferabilityEnabled";
|
|
16073
|
+
readonly outputs: readonly [{
|
|
16074
|
+
readonly name: "";
|
|
16075
|
+
readonly internalType: "bool";
|
|
16076
|
+
readonly type: "bool";
|
|
16077
|
+
}];
|
|
16078
|
+
readonly stateMutability: "view";
|
|
15959
16079
|
}, {
|
|
15960
16080
|
readonly type: "function";
|
|
15961
16081
|
readonly inputs: readonly [];
|
|
@@ -16218,16 +16338,6 @@ declare const lsp8NonTransferableAbstractAbi: readonly [{
|
|
|
16218
16338
|
readonly name: "transferBatch";
|
|
16219
16339
|
readonly outputs: readonly [];
|
|
16220
16340
|
readonly stateMutability: "nonpayable";
|
|
16221
|
-
}, {
|
|
16222
|
-
readonly type: "function";
|
|
16223
|
-
readonly inputs: readonly [];
|
|
16224
|
-
readonly name: "transferLockEnabled";
|
|
16225
|
-
readonly outputs: readonly [{
|
|
16226
|
-
readonly name: "";
|
|
16227
|
-
readonly internalType: "bool";
|
|
16228
|
-
readonly type: "bool";
|
|
16229
|
-
}];
|
|
16230
|
-
readonly stateMutability: "view";
|
|
16231
16341
|
}, {
|
|
16232
16342
|
readonly type: "function";
|
|
16233
16343
|
readonly inputs: readonly [];
|
|
@@ -16722,6 +16832,11 @@ declare const lsp8NonTransferableInitAbstractAbi: readonly [{
|
|
|
16722
16832
|
readonly type: "event";
|
|
16723
16833
|
readonly anonymous: false;
|
|
16724
16834
|
readonly inputs: readonly [{
|
|
16835
|
+
readonly name: "nonTransferabilityEnabled";
|
|
16836
|
+
readonly internalType: "bool";
|
|
16837
|
+
readonly type: "bool";
|
|
16838
|
+
readonly indexed: true;
|
|
16839
|
+
}, {
|
|
16725
16840
|
readonly name: "start";
|
|
16726
16841
|
readonly internalType: "uint256";
|
|
16727
16842
|
readonly type: "uint256";
|
|
@@ -17006,6 +17121,16 @@ declare const lsp8NonTransferableInitAbstractAbi: readonly [{
|
|
|
17006
17121
|
readonly name: "makeTransferable";
|
|
17007
17122
|
readonly outputs: readonly [];
|
|
17008
17123
|
readonly stateMutability: "nonpayable";
|
|
17124
|
+
}, {
|
|
17125
|
+
readonly type: "function";
|
|
17126
|
+
readonly inputs: readonly [];
|
|
17127
|
+
readonly name: "nonTransferabilityEnabled";
|
|
17128
|
+
readonly outputs: readonly [{
|
|
17129
|
+
readonly name: "";
|
|
17130
|
+
readonly internalType: "bool";
|
|
17131
|
+
readonly type: "bool";
|
|
17132
|
+
}];
|
|
17133
|
+
readonly stateMutability: "view";
|
|
17009
17134
|
}, {
|
|
17010
17135
|
readonly type: "function";
|
|
17011
17136
|
readonly inputs: readonly [];
|
|
@@ -17268,16 +17393,6 @@ declare const lsp8NonTransferableInitAbstractAbi: readonly [{
|
|
|
17268
17393
|
readonly name: "transferBatch";
|
|
17269
17394
|
readonly outputs: readonly [];
|
|
17270
17395
|
readonly stateMutability: "nonpayable";
|
|
17271
|
-
}, {
|
|
17272
|
-
readonly type: "function";
|
|
17273
|
-
readonly inputs: readonly [];
|
|
17274
|
-
readonly name: "transferLockEnabled";
|
|
17275
|
-
readonly outputs: readonly [{
|
|
17276
|
-
readonly name: "";
|
|
17277
|
-
readonly internalType: "bool";
|
|
17278
|
-
readonly type: "bool";
|
|
17279
|
-
}];
|
|
17280
|
-
readonly stateMutability: "view";
|
|
17281
17396
|
}, {
|
|
17282
17397
|
readonly type: "function";
|
|
17283
17398
|
readonly inputs: readonly [];
|
|
@@ -17725,6 +17840,36 @@ declare const lsp8RevokableAbstractAbi: readonly [{
|
|
|
17725
17840
|
readonly indexed: false;
|
|
17726
17841
|
}];
|
|
17727
17842
|
readonly name: "TokenIdDataChanged";
|
|
17843
|
+
}, {
|
|
17844
|
+
readonly type: "event";
|
|
17845
|
+
readonly anonymous: false;
|
|
17846
|
+
readonly inputs: readonly [{
|
|
17847
|
+
readonly name: "revoker";
|
|
17848
|
+
readonly internalType: "address";
|
|
17849
|
+
readonly type: "address";
|
|
17850
|
+
readonly indexed: true;
|
|
17851
|
+
}, {
|
|
17852
|
+
readonly name: "from";
|
|
17853
|
+
readonly internalType: "address";
|
|
17854
|
+
readonly type: "address";
|
|
17855
|
+
readonly indexed: true;
|
|
17856
|
+
}, {
|
|
17857
|
+
readonly name: "to";
|
|
17858
|
+
readonly internalType: "address";
|
|
17859
|
+
readonly type: "address";
|
|
17860
|
+
readonly indexed: true;
|
|
17861
|
+
}, {
|
|
17862
|
+
readonly name: "tokenId";
|
|
17863
|
+
readonly internalType: "bytes32";
|
|
17864
|
+
readonly type: "bytes32";
|
|
17865
|
+
readonly indexed: false;
|
|
17866
|
+
}, {
|
|
17867
|
+
readonly name: "data";
|
|
17868
|
+
readonly internalType: "bytes";
|
|
17869
|
+
readonly type: "bytes";
|
|
17870
|
+
readonly indexed: false;
|
|
17871
|
+
}];
|
|
17872
|
+
readonly name: "TokenRevoked";
|
|
17728
17873
|
}, {
|
|
17729
17874
|
readonly type: "event";
|
|
17730
17875
|
readonly anonymous: false;
|
|
@@ -18736,6 +18881,36 @@ declare const lsp8RevokableInitAbstractAbi: readonly [{
|
|
|
18736
18881
|
readonly indexed: false;
|
|
18737
18882
|
}];
|
|
18738
18883
|
readonly name: "TokenIdDataChanged";
|
|
18884
|
+
}, {
|
|
18885
|
+
readonly type: "event";
|
|
18886
|
+
readonly anonymous: false;
|
|
18887
|
+
readonly inputs: readonly [{
|
|
18888
|
+
readonly name: "revoker";
|
|
18889
|
+
readonly internalType: "address";
|
|
18890
|
+
readonly type: "address";
|
|
18891
|
+
readonly indexed: true;
|
|
18892
|
+
}, {
|
|
18893
|
+
readonly name: "from";
|
|
18894
|
+
readonly internalType: "address";
|
|
18895
|
+
readonly type: "address";
|
|
18896
|
+
readonly indexed: true;
|
|
18897
|
+
}, {
|
|
18898
|
+
readonly name: "to";
|
|
18899
|
+
readonly internalType: "address";
|
|
18900
|
+
readonly type: "address";
|
|
18901
|
+
readonly indexed: true;
|
|
18902
|
+
}, {
|
|
18903
|
+
readonly name: "tokenId";
|
|
18904
|
+
readonly internalType: "bytes32";
|
|
18905
|
+
readonly type: "bytes32";
|
|
18906
|
+
readonly indexed: false;
|
|
18907
|
+
}, {
|
|
18908
|
+
readonly name: "data";
|
|
18909
|
+
readonly internalType: "bytes";
|
|
18910
|
+
readonly type: "bytes";
|
|
18911
|
+
readonly indexed: false;
|
|
18912
|
+
}];
|
|
18913
|
+
readonly name: "TokenRevoked";
|
|
18739
18914
|
}, {
|
|
18740
18915
|
readonly type: "event";
|
|
18741
18916
|
readonly anonymous: false;
|