@lukso/lsp8-contracts 0.17.3 → 0.19.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.
Files changed (63) hide show
  1. package/README.md +69 -24
  2. package/artifacts/IAccessControlExtended.json +1 -1
  3. package/artifacts/ILSP8CappedBalance.json +1 -1
  4. package/artifacts/ILSP8CappedSupply.json +1 -1
  5. package/artifacts/ILSP8IdentifiableDigitalAsset.json +1 -1
  6. package/artifacts/ILSP8Mintable.json +1 -1
  7. package/artifacts/ILSP8NonTransferable.json +8 -2
  8. package/artifacts/ILSP8Revokable.json +38 -1
  9. package/artifacts/LSP8Burnable.json +1 -1
  10. package/artifacts/LSP8BurnableInitAbstract.json +1 -1
  11. package/artifacts/LSP8CappedBalanceAbstract.json +1 -1
  12. package/artifacts/LSP8CappedBalanceInitAbstract.json +1 -1
  13. package/artifacts/LSP8CappedSupplyAbstract.json +1 -1
  14. package/artifacts/LSP8CappedSupplyInitAbstract.json +1 -1
  15. package/artifacts/LSP8CustomizableToken.json +64 -21
  16. package/artifacts/LSP8CustomizableTokenInit.json +59 -16
  17. package/artifacts/LSP8Enumerable.json +1 -1
  18. package/artifacts/LSP8EnumerableInitAbstract.json +1 -1
  19. package/artifacts/LSP8IdentifiableDigitalAsset.json +1 -1
  20. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +1 -1
  21. package/artifacts/LSP8Mintable.json +21 -3
  22. package/artifacts/LSP8MintableAbstract.json +1 -1
  23. package/artifacts/LSP8MintableInit.json +21 -3
  24. package/artifacts/LSP8MintableInitAbstract.json +1 -1
  25. package/artifacts/LSP8NonTransferableAbstract.json +20 -14
  26. package/artifacts/LSP8NonTransferableInitAbstract.json +20 -14
  27. package/artifacts/LSP8RevokableAbstract.json +38 -1
  28. package/artifacts/LSP8RevokableInitAbstract.json +38 -1
  29. package/artifacts/LSP8Votes.json +1 -1
  30. package/artifacts/LSP8VotesInitAbstract.json +1 -1
  31. package/contracts/extensions/AccessControlExtended/AccessControlExtendedAbstract.sol +3 -9
  32. package/contracts/extensions/AccessControlExtended/AccessControlExtendedInitAbstract.sol +4 -12
  33. package/contracts/extensions/AccessControlExtended/IAccessControlExtended.sol +1 -3
  34. package/contracts/extensions/LSP8Burnable/LSP8Burnable.sol +1 -3
  35. package/contracts/extensions/LSP8Burnable/LSP8BurnableInitAbstract.sol +1 -3
  36. package/contracts/extensions/LSP8CappedBalance/LSP8CappedBalanceAbstract.sol +2 -6
  37. package/contracts/extensions/LSP8CappedBalance/LSP8CappedBalanceInitAbstract.sol +3 -9
  38. package/contracts/extensions/LSP8CappedSupply/LSP8CappedSupplyAbstract.sol +1 -3
  39. package/contracts/extensions/LSP8CappedSupply/LSP8CappedSupplyInitAbstract.sol +1 -3
  40. package/contracts/extensions/LSP8Enumerable/LSP8Enumerable.sol +1 -3
  41. package/contracts/extensions/LSP8Enumerable/LSP8EnumerableInitAbstract.sol +1 -3
  42. package/contracts/extensions/LSP8Mintable/LSP8MintableAbstract.sol +2 -6
  43. package/contracts/extensions/LSP8Mintable/LSP8MintableInitAbstract.sol +3 -9
  44. package/contracts/extensions/LSP8MusicNFT/LSP8MusicNFTAbstract.sol +30 -0
  45. package/contracts/extensions/LSP8MusicNFT/LSP8MusicNFTConstants.sol +13 -0
  46. package/contracts/extensions/LSP8NonTransferable/ILSP8NonTransferable.sol +9 -3
  47. package/contracts/extensions/LSP8NonTransferable/LSP8NonTransferableAbstract.sol +22 -14
  48. package/contracts/extensions/LSP8NonTransferable/LSP8NonTransferableInitAbstract.sol +23 -17
  49. package/contracts/extensions/LSP8Revokable/ILSP8Revokable.sol +15 -1
  50. package/contracts/extensions/LSP8Revokable/LSP8RevokableAbstract.sol +11 -9
  51. package/contracts/extensions/LSP8Revokable/LSP8RevokableInitAbstract.sol +19 -13
  52. package/contracts/extensions/LSP8Votes/LSP8Votes.sol +1 -3
  53. package/contracts/extensions/LSP8Votes/LSP8VotesInitAbstract.sol +2 -6
  54. package/contracts/presets/LSP8CustomizableToken.sol +9 -27
  55. package/contracts/presets/LSP8CustomizableTokenInit.sol +10 -30
  56. package/contracts/presets/LSP8Mintable.sol +47 -11
  57. package/contracts/presets/LSP8MintableInit.sol +55 -8
  58. package/dist/abi.cjs +189 -29
  59. package/dist/abi.d.cts +244 -41
  60. package/dist/abi.d.mts +244 -41
  61. package/dist/abi.d.ts +244 -41
  62. package/dist/abi.mjs +189 -29
  63. package/package.json +5 -1
@@ -3,30 +3,16 @@ pragma solidity ^0.8.27;
3
3
 
4
4
  // modules
5
5
  import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
6
- import {
7
- AccessControlExtendedAbstract
8
- } from "../extensions/AccessControlExtended/AccessControlExtendedAbstract.sol";
9
- import {
10
- LSP8IdentifiableDigitalAsset
11
- } from "../LSP8IdentifiableDigitalAsset.sol";
6
+ import {AccessControlExtendedAbstract} from "../extensions/AccessControlExtended/AccessControlExtendedAbstract.sol";
7
+ import {LSP8IdentifiableDigitalAsset} from "../LSP8IdentifiableDigitalAsset.sol";
12
8
 
13
9
  // extensions
14
10
  import {LSP8Burnable} from "../extensions/LSP8Burnable/LSP8Burnable.sol";
15
- import {
16
- LSP8MintableAbstract
17
- } from "../extensions/LSP8Mintable/LSP8MintableAbstract.sol";
18
- import {
19
- LSP8CappedSupplyAbstract
20
- } from "../extensions/LSP8CappedSupply/LSP8CappedSupplyAbstract.sol";
21
- import {
22
- LSP8CappedBalanceAbstract
23
- } from "../extensions/LSP8CappedBalance/LSP8CappedBalanceAbstract.sol";
24
- import {
25
- LSP8NonTransferableAbstract
26
- } from "../extensions/LSP8NonTransferable/LSP8NonTransferableAbstract.sol";
27
- import {
28
- LSP8RevokableAbstract
29
- } from "../extensions/LSP8Revokable/LSP8RevokableAbstract.sol";
11
+ import {LSP8MintableAbstract} from "../extensions/LSP8Mintable/LSP8MintableAbstract.sol";
12
+ import {LSP8CappedSupplyAbstract} from "../extensions/LSP8CappedSupply/LSP8CappedSupplyAbstract.sol";
13
+ import {LSP8CappedBalanceAbstract} from "../extensions/LSP8CappedBalance/LSP8CappedBalanceAbstract.sol";
14
+ import {LSP8NonTransferableAbstract} from "../extensions/LSP8NonTransferable/LSP8NonTransferableAbstract.sol";
15
+ import {LSP8RevokableAbstract} from "../extensions/LSP8Revokable/LSP8RevokableAbstract.sol";
30
16
 
31
17
  // constants
32
18
  import {
@@ -37,12 +23,8 @@ import {
37
23
  } from "./LSP8CustomizableTokenConstants.sol";
38
24
 
39
25
  // errors
40
- import {
41
- LSP8MintDisabled
42
- } from "../extensions/LSP8Mintable/LSP8MintableErrors.sol";
43
- import {
44
- LSP8CappedSupplyCannotMintOverCap
45
- } from "../extensions/LSP8CappedSupply/LSP8CappedSupplyErrors.sol";
26
+ import {LSP8MintDisabled} from "../extensions/LSP8Mintable/LSP8MintableErrors.sol";
27
+ import {LSP8CappedSupplyCannotMintOverCap} from "../extensions/LSP8CappedSupply/LSP8CappedSupplyErrors.sol";
46
28
 
47
29
  /// @title LSP8CustomizableToken
48
30
  /// @dev A customizable LSP8 token that implements multiple features and uses role-based exemptions.
@@ -2,32 +2,16 @@
2
2
  pragma solidity ^0.8.27;
3
3
 
4
4
  // modules
5
- import {
6
- OwnableUpgradeable
7
- } from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
8
- import {
9
- LSP8IdentifiableDigitalAssetInitAbstract
10
- } from "../LSP8IdentifiableDigitalAssetInitAbstract.sol";
5
+ import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
6
+ import {LSP8IdentifiableDigitalAssetInitAbstract} from "../LSP8IdentifiableDigitalAssetInitAbstract.sol";
11
7
 
12
8
  // extensions
13
- import {
14
- LSP8BurnableInitAbstract
15
- } from "../extensions/LSP8Burnable/LSP8BurnableInitAbstract.sol";
16
- import {
17
- LSP8MintableInitAbstract
18
- } from "../extensions/LSP8Mintable/LSP8MintableInitAbstract.sol";
19
- import {
20
- LSP8CappedSupplyInitAbstract
21
- } from "../extensions/LSP8CappedSupply/LSP8CappedSupplyInitAbstract.sol";
22
- import {
23
- LSP8CappedBalanceInitAbstract
24
- } from "../extensions/LSP8CappedBalance/LSP8CappedBalanceInitAbstract.sol";
25
- import {
26
- LSP8NonTransferableInitAbstract
27
- } from "../extensions/LSP8NonTransferable/LSP8NonTransferableInitAbstract.sol";
28
- import {
29
- LSP8RevokableInitAbstract
30
- } from "../extensions/LSP8Revokable/LSP8RevokableInitAbstract.sol";
9
+ import {LSP8BurnableInitAbstract} from "../extensions/LSP8Burnable/LSP8BurnableInitAbstract.sol";
10
+ import {LSP8MintableInitAbstract} from "../extensions/LSP8Mintable/LSP8MintableInitAbstract.sol";
11
+ import {LSP8CappedSupplyInitAbstract} from "../extensions/LSP8CappedSupply/LSP8CappedSupplyInitAbstract.sol";
12
+ import {LSP8CappedBalanceInitAbstract} from "../extensions/LSP8CappedBalance/LSP8CappedBalanceInitAbstract.sol";
13
+ import {LSP8NonTransferableInitAbstract} from "../extensions/LSP8NonTransferable/LSP8NonTransferableInitAbstract.sol";
14
+ import {LSP8RevokableInitAbstract} from "../extensions/LSP8Revokable/LSP8RevokableInitAbstract.sol";
31
15
 
32
16
  // constants
33
17
  import {
@@ -38,12 +22,8 @@ import {
38
22
  } from "./LSP8CustomizableTokenConstants.sol";
39
23
 
40
24
  // errors
41
- import {
42
- LSP8MintDisabled
43
- } from "../extensions/LSP8Mintable/LSP8MintableErrors.sol";
44
- import {
45
- LSP8CappedSupplyCannotMintOverCap
46
- } from "../extensions/LSP8CappedSupply/LSP8CappedSupplyErrors.sol";
25
+ import {LSP8MintDisabled} from "../extensions/LSP8Mintable/LSP8MintableErrors.sol";
26
+ import {LSP8CappedSupplyCannotMintOverCap} from "../extensions/LSP8CappedSupply/LSP8CappedSupplyErrors.sol";
47
27
 
48
28
  /// @title LSP8CustomizableTokenInit
49
29
  /// @dev A customizable LSP8 token that implements multiple features and uses role-based exemptions. This version of the contract is the implementation to use behind proxies.
@@ -2,20 +2,18 @@
2
2
  pragma solidity ^0.8.27;
3
3
 
4
4
  // modules
5
- import {
6
- LSP8IdentifiableDigitalAsset
7
- } from "../LSP8IdentifiableDigitalAsset.sol";
8
- import {
9
- LSP8MintableAbstract
10
- } from "../extensions/LSP8Mintable/LSP8MintableAbstract.sol";
11
- import {
12
- AccessControlExtendedAbstract
13
- } from "../extensions/AccessControlExtended/AccessControlExtendedAbstract.sol";
5
+ import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
6
+ import {LSP8IdentifiableDigitalAsset} from "../LSP8IdentifiableDigitalAsset.sol";
7
+ import {LSP8Burnable} from "../extensions/LSP8Burnable/LSP8Burnable.sol";
8
+ import {LSP8MintableAbstract} from "../extensions/LSP8Mintable/LSP8MintableAbstract.sol";
9
+ import {AccessControlExtendedAbstract} from "../extensions/AccessControlExtended/AccessControlExtendedAbstract.sol";
14
10
 
15
11
  /**
16
- * @title LSP8IdentifiableDigitalAsset deployable preset contract with a public {mint} function callable by addresses holding `MINTER_ROLE`.
12
+ * @title LSP8IdentifiableDigitalAsset deployable preset contract with:
13
+ * - a public {mint} function callable by addresses holding `MINTER_ROLE`.
14
+ * - a public {burn} function callable by any token holder or operator.
17
15
  */
18
- contract LSP8Mintable is LSP8MintableAbstract {
16
+ contract LSP8Mintable is LSP8MintableAbstract, LSP8Burnable {
19
17
  /**
20
18
  * @notice Deploying a `LSP8Mintable` token contract.
21
19
  * @dev Set the token to be mintable to allow minting more tokens after deployment.
@@ -42,4 +40,42 @@ contract LSP8Mintable is LSP8MintableAbstract {
42
40
  AccessControlExtendedAbstract()
43
41
  LSP8MintableAbstract(true)
44
42
  {}
43
+
44
+ /// @dev Required override to resolve multiple inheritance. Delegates via `super` to the parent implementation
45
+ /// that aggregates the interface IDs supported across all inherited modules.
46
+ function supportsInterface(
47
+ bytes4 interfaceId
48
+ )
49
+ public
50
+ view
51
+ virtual
52
+ override(LSP8MintableAbstract, LSP8IdentifiableDigitalAsset)
53
+ returns (bool)
54
+ {
55
+ return super.supportsInterface(interfaceId);
56
+ }
57
+
58
+ /// @inheritdoc LSP8MintableAbstract
59
+ /// @dev Required override to resolve multiple inheritance. Calls every parent {_mint} function via `super`.
60
+ function _mint(
61
+ address to,
62
+ bytes32 tokenId,
63
+ bool force,
64
+ bytes memory data
65
+ )
66
+ internal
67
+ virtual
68
+ override(LSP8MintableAbstract, LSP8IdentifiableDigitalAsset)
69
+ {
70
+ super._mint(to, tokenId, force, data);
71
+ }
72
+
73
+ /// @dev Required override to resolve multiple inheritance. Calls every parent {_transferOwnership} function
74
+ /// via `super` so that each inherited module updates its ownership-dependent state.
75
+ /// When contract ownership changes, this resets the admin role of `MINTER_ROLE` back to `DEFAULT_ADMIN_ROLE`.
76
+ function _transferOwnership(
77
+ address newOwner
78
+ ) internal virtual override(LSP8MintableAbstract, Ownable) {
79
+ super._transferOwnership(newOwner);
80
+ }
45
81
  }
@@ -2,17 +2,20 @@
2
2
  pragma solidity ^0.8.27;
3
3
 
4
4
  // modules
5
- import {
6
- LSP8IdentifiableDigitalAssetInitAbstract
7
- } from "../LSP8IdentifiableDigitalAssetInitAbstract.sol";
8
- import {
9
- LSP8MintableInitAbstract
10
- } from "../extensions/LSP8Mintable/LSP8MintableInitAbstract.sol";
5
+ import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
6
+ import {LSP8BurnableInitAbstract} from "../extensions/LSP8Burnable/LSP8BurnableInitAbstract.sol";
7
+ import {LSP8IdentifiableDigitalAssetInitAbstract} from "../LSP8IdentifiableDigitalAssetInitAbstract.sol";
8
+ import {LSP8MintableInitAbstract} from "../extensions/LSP8Mintable/LSP8MintableInitAbstract.sol";
11
9
 
12
10
  /**
13
- * @dev LSP8IdentifiableDigitalAsset deployable preset contract (proxy version) with a public {mint} function callable by addresses holding `MINTER_ROLE`.
11
+ * @dev LSP8IdentifiableDigitalAsset deployable preset contract (proxy version) with:
12
+ * - a public {mint} function callable by addresses holding `MINTER_ROLE`.
13
+ * - a public {burn} function callable by any token holder or operator.
14
14
  */
15
- contract LSP8MintableInit is LSP8MintableInitAbstract {
15
+ contract LSP8MintableInit is
16
+ LSP8MintableInitAbstract,
17
+ LSP8BurnableInitAbstract
18
+ {
16
19
  /**
17
20
  * @dev initialize (= lock) base implementation contract on deployment
18
21
  */
@@ -47,4 +50,48 @@ contract LSP8MintableInit is LSP8MintableInitAbstract {
47
50
  __AccessControlExtended_init();
48
51
  __LSP8Mintable_init_unchained(true);
49
52
  }
53
+
54
+ /// @dev Required override to resolve multiple inheritance. Delegates via `super` to the parent implementation
55
+ /// that aggregates the interface IDs supported across all inherited modules.
56
+ function supportsInterface(
57
+ bytes4 interfaceId
58
+ )
59
+ public
60
+ view
61
+ virtual
62
+ override(
63
+ LSP8MintableInitAbstract,
64
+ LSP8IdentifiableDigitalAssetInitAbstract
65
+ )
66
+ returns (bool)
67
+ {
68
+ return super.supportsInterface(interfaceId);
69
+ }
70
+
71
+ /// @inheritdoc LSP8MintableInitAbstract
72
+ /// @dev Required override to resolve multiple inheritance. Calls every parent {_mint} function via `super`.
73
+ function _mint(
74
+ address to,
75
+ bytes32 tokenId,
76
+ bool force,
77
+ bytes memory data
78
+ )
79
+ internal
80
+ virtual
81
+ override(
82
+ LSP8MintableInitAbstract,
83
+ LSP8IdentifiableDigitalAssetInitAbstract
84
+ )
85
+ {
86
+ super._mint(to, tokenId, force, data);
87
+ }
88
+
89
+ /// @dev Required override to resolve multiple inheritance. Calls every parent {_transferOwnership} function
90
+ /// via `super` so that each inherited module updates its ownership-dependent state.
91
+ /// When contract ownership changes, this resets the admin role of `MINTER_ROLE` back to `DEFAULT_ADMIN_ROLE`.
92
+ function _transferOwnership(
93
+ address newOwner
94
+ ) internal virtual override(LSP8MintableInitAbstract, OwnableUpgradeable) {
95
+ super._transferOwnership(newOwner);
96
+ }
50
97
  }
package/dist/abi.cjs CHANGED
@@ -466,6 +466,12 @@ const ilsp8NonTransferableAbi = [
466
466
  type: "event",
467
467
  anonymous: false,
468
468
  inputs: [
469
+ {
470
+ name: "nonTransferabilityEnabled",
471
+ internalType: "bool",
472
+ type: "bool",
473
+ indexed: true
474
+ },
469
475
  {
470
476
  name: "start",
471
477
  internalType: "uint256",
@@ -493,7 +499,7 @@ const ilsp8NonTransferableAbi = [
493
499
  {
494
500
  type: "function",
495
501
  inputs: [],
496
- name: "transferLockEnabled",
502
+ name: "nonTransferabilityEnabled",
497
503
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
498
504
  stateMutability: "view"
499
505
  },
@@ -535,6 +541,28 @@ const ilsp8RevokableAbi = [
535
541
  ],
536
542
  name: "RevokableStatusChanged"
537
543
  },
544
+ {
545
+ type: "event",
546
+ anonymous: false,
547
+ inputs: [
548
+ {
549
+ name: "revoker",
550
+ internalType: "address",
551
+ type: "address",
552
+ indexed: true
553
+ },
554
+ { name: "from", internalType: "address", type: "address", indexed: true },
555
+ { name: "to", internalType: "address", type: "address", indexed: true },
556
+ {
557
+ name: "tokenId",
558
+ internalType: "bytes32",
559
+ type: "bytes32",
560
+ indexed: false
561
+ },
562
+ { name: "data", internalType: "bytes", type: "bytes", indexed: false }
563
+ ],
564
+ name: "TokenRevoked"
565
+ },
538
566
  {
539
567
  type: "function",
540
568
  inputs: [],
@@ -4250,6 +4278,28 @@ const lsp8CustomizableTokenAbi = [
4250
4278
  ],
4251
4279
  name: "TokenIdDataChanged"
4252
4280
  },
4281
+ {
4282
+ type: "event",
4283
+ anonymous: false,
4284
+ inputs: [
4285
+ {
4286
+ name: "revoker",
4287
+ internalType: "address",
4288
+ type: "address",
4289
+ indexed: true
4290
+ },
4291
+ { name: "from", internalType: "address", type: "address", indexed: true },
4292
+ { name: "to", internalType: "address", type: "address", indexed: true },
4293
+ {
4294
+ name: "tokenId",
4295
+ internalType: "bytes32",
4296
+ type: "bytes32",
4297
+ indexed: false
4298
+ },
4299
+ { name: "data", internalType: "bytes", type: "bytes", indexed: false }
4300
+ ],
4301
+ name: "TokenRevoked"
4302
+ },
4253
4303
  {
4254
4304
  type: "event",
4255
4305
  anonymous: false,
@@ -4277,6 +4327,12 @@ const lsp8CustomizableTokenAbi = [
4277
4327
  type: "event",
4278
4328
  anonymous: false,
4279
4329
  inputs: [
4330
+ {
4331
+ name: "nonTransferabilityEnabled",
4332
+ internalType: "bool",
4333
+ type: "bool",
4334
+ indexed: true
4335
+ },
4280
4336
  {
4281
4337
  name: "start",
4282
4338
  internalType: "uint256",
@@ -4520,6 +4576,13 @@ const lsp8CustomizableTokenAbi = [
4520
4576
  outputs: [],
4521
4577
  stateMutability: "nonpayable"
4522
4578
  },
4579
+ {
4580
+ type: "function",
4581
+ inputs: [],
4582
+ name: "nonTransferabilityEnabled",
4583
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
4584
+ stateMutability: "view"
4585
+ },
4523
4586
  {
4524
4587
  type: "function",
4525
4588
  inputs: [],
@@ -4709,13 +4772,6 @@ const lsp8CustomizableTokenAbi = [
4709
4772
  outputs: [],
4710
4773
  stateMutability: "nonpayable"
4711
4774
  },
4712
- {
4713
- type: "function",
4714
- inputs: [],
4715
- name: "transferLockEnabled",
4716
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
4717
- stateMutability: "view"
4718
- },
4719
4775
  {
4720
4776
  type: "function",
4721
4777
  inputs: [],
@@ -5107,6 +5163,28 @@ const lsp8CustomizableTokenInitAbi = [
5107
5163
  ],
5108
5164
  name: "TokenIdDataChanged"
5109
5165
  },
5166
+ {
5167
+ type: "event",
5168
+ anonymous: false,
5169
+ inputs: [
5170
+ {
5171
+ name: "revoker",
5172
+ internalType: "address",
5173
+ type: "address",
5174
+ indexed: true
5175
+ },
5176
+ { name: "from", internalType: "address", type: "address", indexed: true },
5177
+ { name: "to", internalType: "address", type: "address", indexed: true },
5178
+ {
5179
+ name: "tokenId",
5180
+ internalType: "bytes32",
5181
+ type: "bytes32",
5182
+ indexed: false
5183
+ },
5184
+ { name: "data", internalType: "bytes", type: "bytes", indexed: false }
5185
+ ],
5186
+ name: "TokenRevoked"
5187
+ },
5110
5188
  {
5111
5189
  type: "event",
5112
5190
  anonymous: false,
@@ -5134,6 +5212,12 @@ const lsp8CustomizableTokenInitAbi = [
5134
5212
  type: "event",
5135
5213
  anonymous: false,
5136
5214
  inputs: [
5215
+ {
5216
+ name: "nonTransferabilityEnabled",
5217
+ internalType: "bool",
5218
+ type: "bool",
5219
+ indexed: true
5220
+ },
5137
5221
  {
5138
5222
  name: "start",
5139
5223
  internalType: "uint256",
@@ -5433,6 +5517,13 @@ const lsp8CustomizableTokenInitAbi = [
5433
5517
  outputs: [],
5434
5518
  stateMutability: "nonpayable"
5435
5519
  },
5520
+ {
5521
+ type: "function",
5522
+ inputs: [],
5523
+ name: "nonTransferabilityEnabled",
5524
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5525
+ stateMutability: "view"
5526
+ },
5436
5527
  {
5437
5528
  type: "function",
5438
5529
  inputs: [],
@@ -5622,13 +5713,6 @@ const lsp8CustomizableTokenInitAbi = [
5622
5713
  outputs: [],
5623
5714
  stateMutability: "nonpayable"
5624
5715
  },
5625
- {
5626
- type: "function",
5627
- inputs: [],
5628
- name: "transferLockEnabled",
5629
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
5630
- stateMutability: "view"
5631
- },
5632
5716
  {
5633
5717
  type: "function",
5634
5718
  inputs: [],
@@ -7994,6 +8078,16 @@ const lsp8MintableAbi = [
7994
8078
  outputs: [{ name: "results", internalType: "bytes[]", type: "bytes[]" }],
7995
8079
  stateMutability: "nonpayable"
7996
8080
  },
8081
+ {
8082
+ type: "function",
8083
+ inputs: [
8084
+ { name: "tokenId", internalType: "bytes32", type: "bytes32" },
8085
+ { name: "data", internalType: "bytes", type: "bytes" }
8086
+ ],
8087
+ name: "burn",
8088
+ outputs: [],
8089
+ stateMutability: "nonpayable"
8090
+ },
7997
8091
  {
7998
8092
  type: "function",
7999
8093
  inputs: [],
@@ -9385,6 +9479,16 @@ const lsp8MintableInitAbi = [
9385
9479
  outputs: [{ name: "results", internalType: "bytes[]", type: "bytes[]" }],
9386
9480
  stateMutability: "nonpayable"
9387
9481
  },
9482
+ {
9483
+ type: "function",
9484
+ inputs: [
9485
+ { name: "tokenId", internalType: "bytes32", type: "bytes32" },
9486
+ { name: "data", internalType: "bytes", type: "bytes" }
9487
+ ],
9488
+ name: "burn",
9489
+ outputs: [],
9490
+ stateMutability: "nonpayable"
9491
+ },
9388
9492
  {
9389
9493
  type: "function",
9390
9494
  inputs: [],
@@ -10737,6 +10841,12 @@ const lsp8NonTransferableAbstractAbi = [
10737
10841
  type: "event",
10738
10842
  anonymous: false,
10739
10843
  inputs: [
10844
+ {
10845
+ name: "nonTransferabilityEnabled",
10846
+ internalType: "bool",
10847
+ type: "bool",
10848
+ indexed: true
10849
+ },
10740
10850
  {
10741
10851
  name: "start",
10742
10852
  internalType: "uint256",
@@ -10909,6 +11019,13 @@ const lsp8NonTransferableAbstractAbi = [
10909
11019
  outputs: [],
10910
11020
  stateMutability: "nonpayable"
10911
11021
  },
11022
+ {
11023
+ type: "function",
11024
+ inputs: [],
11025
+ name: "nonTransferabilityEnabled",
11026
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
11027
+ stateMutability: "view"
11028
+ },
10912
11029
  {
10913
11030
  type: "function",
10914
11031
  inputs: [],
@@ -11072,13 +11189,6 @@ const lsp8NonTransferableAbstractAbi = [
11072
11189
  outputs: [],
11073
11190
  stateMutability: "nonpayable"
11074
11191
  },
11075
- {
11076
- type: "function",
11077
- inputs: [],
11078
- name: "transferLockEnabled",
11079
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
11080
- stateMutability: "view"
11081
- },
11082
11192
  {
11083
11193
  type: "function",
11084
11194
  inputs: [],
@@ -11462,6 +11572,12 @@ const lsp8NonTransferableInitAbstractAbi = [
11462
11572
  type: "event",
11463
11573
  anonymous: false,
11464
11574
  inputs: [
11575
+ {
11576
+ name: "nonTransferabilityEnabled",
11577
+ internalType: "bool",
11578
+ type: "bool",
11579
+ indexed: true
11580
+ },
11465
11581
  {
11466
11582
  name: "start",
11467
11583
  internalType: "uint256",
@@ -11634,6 +11750,13 @@ const lsp8NonTransferableInitAbstractAbi = [
11634
11750
  outputs: [],
11635
11751
  stateMutability: "nonpayable"
11636
11752
  },
11753
+ {
11754
+ type: "function",
11755
+ inputs: [],
11756
+ name: "nonTransferabilityEnabled",
11757
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
11758
+ stateMutability: "view"
11759
+ },
11637
11760
  {
11638
11761
  type: "function",
11639
11762
  inputs: [],
@@ -11797,13 +11920,6 @@ const lsp8NonTransferableInitAbstractAbi = [
11797
11920
  outputs: [],
11798
11921
  stateMutability: "nonpayable"
11799
11922
  },
11800
- {
11801
- type: "function",
11802
- inputs: [],
11803
- name: "transferLockEnabled",
11804
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
11805
- stateMutability: "view"
11806
- },
11807
11923
  {
11808
11924
  type: "function",
11809
11925
  inputs: [],
@@ -12158,6 +12274,28 @@ const lsp8RevokableAbstractAbi = [
12158
12274
  ],
12159
12275
  name: "TokenIdDataChanged"
12160
12276
  },
12277
+ {
12278
+ type: "event",
12279
+ anonymous: false,
12280
+ inputs: [
12281
+ {
12282
+ name: "revoker",
12283
+ internalType: "address",
12284
+ type: "address",
12285
+ indexed: true
12286
+ },
12287
+ { name: "from", internalType: "address", type: "address", indexed: true },
12288
+ { name: "to", internalType: "address", type: "address", indexed: true },
12289
+ {
12290
+ name: "tokenId",
12291
+ internalType: "bytes32",
12292
+ type: "bytes32",
12293
+ indexed: false
12294
+ },
12295
+ { name: "data", internalType: "bytes", type: "bytes", indexed: false }
12296
+ ],
12297
+ name: "TokenRevoked"
12298
+ },
12161
12299
  {
12162
12300
  type: "event",
12163
12301
  anonymous: false,
@@ -12851,6 +12989,28 @@ const lsp8RevokableInitAbstractAbi = [
12851
12989
  ],
12852
12990
  name: "TokenIdDataChanged"
12853
12991
  },
12992
+ {
12993
+ type: "event",
12994
+ anonymous: false,
12995
+ inputs: [
12996
+ {
12997
+ name: "revoker",
12998
+ internalType: "address",
12999
+ type: "address",
13000
+ indexed: true
13001
+ },
13002
+ { name: "from", internalType: "address", type: "address", indexed: true },
13003
+ { name: "to", internalType: "address", type: "address", indexed: true },
13004
+ {
13005
+ name: "tokenId",
13006
+ internalType: "bytes32",
13007
+ type: "bytes32",
13008
+ indexed: false
13009
+ },
13010
+ { name: "data", internalType: "bytes", type: "bytes", indexed: false }
13011
+ ],
13012
+ name: "TokenRevoked"
13013
+ },
12854
13014
  {
12855
13015
  type: "event",
12856
13016
  anonymous: false,