@lukso/lsp-smart-contracts 0.12.1 → 0.14.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.
Files changed (131) hide show
  1. package/README.md +3 -2
  2. package/artifacts/LSP0ERC725Account.json +6 -6
  3. package/artifacts/LSP0ERC725AccountInit.json +6 -6
  4. package/artifacts/LSP11BasicSocialRecovery.json +2 -2
  5. package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
  6. package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
  7. package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
  8. package/artifacts/LSP4DigitalAssetMetadata.json +5 -0
  9. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +5 -0
  10. package/artifacts/LSP6KeyManager.json +2 -2
  11. package/artifacts/LSP6KeyManagerInit.json +2 -2
  12. package/artifacts/LSP7CappedSupply.json +71 -36
  13. package/artifacts/LSP7CappedSupplyInitAbstract.json +71 -36
  14. package/artifacts/LSP7CompatibleERC20.json +71 -36
  15. package/artifacts/LSP7CompatibleERC20InitAbstract.json +71 -36
  16. package/artifacts/LSP7CompatibleERC20Mintable.json +78 -38
  17. package/artifacts/LSP7CompatibleERC20MintableInit.json +78 -38
  18. package/artifacts/LSP7DigitalAsset.json +71 -36
  19. package/artifacts/LSP7DigitalAssetInitAbstract.json +71 -36
  20. package/artifacts/LSP7Mintable.json +78 -38
  21. package/artifacts/LSP7MintableInit.json +78 -38
  22. package/artifacts/LSP8CappedSupply.json +187 -23
  23. package/artifacts/LSP8CappedSupplyInitAbstract.json +200 -36
  24. package/artifacts/LSP8CompatibleERC721.json +187 -23
  25. package/artifacts/LSP8CompatibleERC721InitAbstract.json +200 -36
  26. package/artifacts/LSP8CompatibleERC721Mintable.json +195 -26
  27. package/artifacts/LSP8CompatibleERC721MintableInit.json +208 -39
  28. package/artifacts/LSP8IdentifiableDigitalAsset.json +187 -23
  29. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +200 -36
  30. package/artifacts/LSP8Mintable.json +195 -26
  31. package/artifacts/LSP8MintableInit.json +208 -39
  32. package/artifacts/LSP9Vault.json +6 -6
  33. package/artifacts/LSP9VaultInit.json +6 -6
  34. package/artifacts/UniversalProfile.json +6 -6
  35. package/artifacts/UniversalProfileInit.json +6 -6
  36. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +1 -22
  37. package/contracts/LSP17Extensions/Extension4337.sol +26 -1
  38. package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
  39. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +10 -2
  40. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +20 -34
  41. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +47 -0
  42. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +19 -31
  43. package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +13 -6
  44. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +1 -1
  45. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +2 -2
  46. package/contracts/LSP6KeyManager/LSP6Utils.sol +1 -1
  47. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +20 -9
  48. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  49. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
  50. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +128 -25
  51. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +5 -2
  52. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +6 -0
  53. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +4 -2
  54. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -4
  55. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -2
  56. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +5 -2
  57. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +8 -2
  58. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +12 -1
  59. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +4 -0
  60. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -0
  61. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +77 -5
  62. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +15 -12
  63. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +19 -3
  64. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +25 -16
  65. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +223 -19
  66. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +28 -15
  67. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
  68. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
  69. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +1 -2
  70. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +1 -2
  71. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +15 -4
  72. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +8 -4
  73. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +1 -2
  74. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +1 -2
  75. package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +0 -1
  76. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +13 -2
  77. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +6 -2
  78. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +4 -2
  79. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +14 -4
  80. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +7 -4
  81. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +7 -4
  82. package/contracts/LSP9Vault/LSP9VaultCore.sol +0 -22
  83. package/contracts/Version.sol +1 -1
  84. package/devdocs/LSP4DigitalAssetMetadata.json +11 -5
  85. package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -2
  86. package/devdocs/LSP6KeyManager.json +1 -1
  87. package/devdocs/LSP6KeyManagerInit.json +1 -1
  88. package/devdocs/LSP7CappedSupply.json +22 -2
  89. package/devdocs/LSP7CappedSupplyInitAbstract.json +22 -2
  90. package/devdocs/LSP7CompatibleERC20.json +23 -2
  91. package/devdocs/LSP7CompatibleERC20InitAbstract.json +22 -2
  92. package/devdocs/LSP7CompatibleERC20Mintable.json +23 -2
  93. package/devdocs/LSP7CompatibleERC20MintableInit.json +24 -3
  94. package/devdocs/LSP7DigitalAsset.json +27 -6
  95. package/devdocs/LSP7DigitalAssetInitAbstract.json +22 -2
  96. package/devdocs/LSP7Mintable.json +24 -2
  97. package/devdocs/LSP7MintableInit.json +25 -3
  98. package/devdocs/LSP8CappedSupply.json +66 -4
  99. package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -4
  100. package/devdocs/LSP8CompatibleERC721.json +69 -5
  101. package/devdocs/LSP8CompatibleERC721InitAbstract.json +67 -5
  102. package/devdocs/LSP8CompatibleERC721Mintable.json +69 -5
  103. package/devdocs/LSP8CompatibleERC721MintableInit.json +70 -6
  104. package/devdocs/LSP8IdentifiableDigitalAsset.json +71 -8
  105. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -4
  106. package/devdocs/LSP8Mintable.json +68 -4
  107. package/devdocs/LSP8MintableInit.json +69 -5
  108. package/dist/constants.cjs.js +4406 -1319
  109. package/dist/constants.d.ts +4158 -818
  110. package/dist/constants.es.js +4405 -1319
  111. package/package.json +2 -2
  112. package/userdocs/LSP7CappedSupply.json +8 -0
  113. package/userdocs/LSP7CappedSupplyInitAbstract.json +8 -0
  114. package/userdocs/LSP7CompatibleERC20.json +8 -0
  115. package/userdocs/LSP7CompatibleERC20InitAbstract.json +8 -0
  116. package/userdocs/LSP7CompatibleERC20Mintable.json +8 -0
  117. package/userdocs/LSP7CompatibleERC20MintableInit.json +9 -1
  118. package/userdocs/LSP7DigitalAsset.json +8 -0
  119. package/userdocs/LSP7DigitalAssetInitAbstract.json +8 -0
  120. package/userdocs/LSP7Mintable.json +8 -0
  121. package/userdocs/LSP7MintableInit.json +9 -1
  122. package/userdocs/LSP8CappedSupply.json +20 -0
  123. package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -0
  124. package/userdocs/LSP8CompatibleERC721.json +20 -0
  125. package/userdocs/LSP8CompatibleERC721InitAbstract.json +20 -0
  126. package/userdocs/LSP8CompatibleERC721Mintable.json +20 -0
  127. package/userdocs/LSP8CompatibleERC721MintableInit.json +21 -1
  128. package/userdocs/LSP8IdentifiableDigitalAsset.json +21 -1
  129. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -0
  130. package/userdocs/LSP8Mintable.json +20 -0
  131. package/userdocs/LSP8MintableInit.json +21 -1
@@ -1,6 +1,5 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
-
3
- pragma solidity ^0.8.4;
2
+ pragma solidity ^0.8.12;
4
3
 
5
4
  // interfaces
6
5
  import {ILSP8Mintable} from "./ILSP8Mintable.sol";
@@ -21,13 +20,24 @@ contract LSP8Mintable is LSP8IdentifiableDigitalAsset, ILSP8Mintable {
21
20
  * @param name_ The name of the token.
22
21
  * @param symbol_ The symbol of the token.
23
22
  * @param newOwner_ The owner of the token contract.
23
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
24
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
24
25
  */
25
26
  constructor(
26
27
  string memory name_,
27
28
  string memory symbol_,
28
29
  address newOwner_,
29
- uint256 tokenIdType_
30
- ) LSP8IdentifiableDigitalAsset(name_, symbol_, newOwner_, tokenIdType_) {}
30
+ uint256 lsp4TokenType_,
31
+ uint256 lsp8TokenIdFormat_
32
+ )
33
+ LSP8IdentifiableDigitalAsset(
34
+ name_,
35
+ symbol_,
36
+ newOwner_,
37
+ lsp4TokenType_,
38
+ lsp8TokenIdFormat_
39
+ )
40
+ {}
31
41
 
32
42
  /**
33
43
  * @notice Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `force`).
@@ -1,6 +1,5 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
-
3
- pragma solidity ^0.8.4;
2
+ pragma solidity ^0.8.12;
4
3
 
5
4
  // modules
6
5
  import {LSP8MintableInitAbstract} from "./LSP8MintableInitAbstract.sol";
@@ -23,18 +22,22 @@ contract LSP8MintableInit is LSP8MintableInitAbstract {
23
22
  * @param name_ The name of the token.
24
23
  * @param symbol_ The symbol of the token.
25
24
  * @param newOwner_ The owner of the token contract.
25
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
26
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
26
27
  */
27
28
  function initialize(
28
29
  string memory name_,
29
30
  string memory symbol_,
30
31
  address newOwner_,
31
- uint256 tokenIdType_
32
+ uint256 lsp4TokenType_,
33
+ uint256 lsp8TokenIdFormat_
32
34
  ) external virtual initializer {
33
35
  LSP8MintableInitAbstract._initialize(
34
36
  name_,
35
37
  symbol_,
36
38
  newOwner_,
37
- tokenIdType_
39
+ lsp4TokenType_,
40
+ lsp8TokenIdFormat_
38
41
  );
39
42
  }
40
43
  }
@@ -1,6 +1,5 @@
1
1
  // SPDX-License-Identifier: Apache-2.0
2
-
3
- pragma solidity ^0.8.4;
2
+ pragma solidity ^0.8.12;
4
3
 
5
4
  // interfaces
6
5
  import {ILSP8Mintable} from "./ILSP8Mintable.sol";
@@ -23,18 +22,22 @@ abstract contract LSP8MintableInitAbstract is
23
22
  * @param name_ The name of the token.
24
23
  * @param symbol_ The symbol of the token.
25
24
  * @param newOwner_ The owner of the token contract.
25
+ * @param lsp4TokenType_ The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).
26
+ * @param lsp8TokenIdFormat_ The format of tokenIds (= NFTs) that this contract will create.
26
27
  */
27
28
  function _initialize(
28
29
  string memory name_,
29
30
  string memory symbol_,
30
31
  address newOwner_,
31
- uint256 tokenIdType_
32
+ uint256 lsp4TokenType_,
33
+ uint256 lsp8TokenIdFormat_
32
34
  ) internal virtual override onlyInitializing {
33
35
  LSP8IdentifiableDigitalAssetInitAbstract._initialize(
34
36
  name_,
35
37
  symbol_,
36
38
  newOwner_,
37
- tokenIdType_
39
+ lsp4TokenType_,
40
+ lsp8TokenIdFormat_
38
41
  );
39
42
  }
40
43
 
@@ -12,7 +12,6 @@ import {
12
12
  import {ILSP9Vault} from "./ILSP9Vault.sol";
13
13
 
14
14
  // libraries
15
- import {BytesLib} from "solidity-bytes-utils/contracts/BytesLib.sol";
16
15
  import {
17
16
  ERC165Checker
18
17
  } from "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
@@ -640,27 +639,6 @@ contract LSP9VaultCore is
640
639
  }
641
640
  }
642
641
 
643
- /**
644
- * @dev This function overrides the {ERC725YCore} internal {_setData} function to optimize gas usage by emitting only the first 256 bytes of the `dataValue`.
645
- *
646
- * @custom:events {DataChanged} event with only the first 256 bytes of {dataValue}.
647
- *
648
- * @param dataKey The key to store the data value under.
649
- * @param dataValue The data value to be stored.
650
- */
651
- function _setData(
652
- bytes32 dataKey,
653
- bytes memory dataValue
654
- ) internal virtual override {
655
- _store[dataKey] = dataValue;
656
- emit DataChanged(
657
- dataKey,
658
- dataValue.length <= 256
659
- ? dataValue
660
- : BytesLib.slice(dataValue, 0, 256)
661
- );
662
- }
663
-
664
642
  /**
665
643
  * @dev This function overrides the {ERC725XCore} internal {_execute} function to disable operation type DELEGATECALL (4).
666
644
  *
@@ -11,7 +11,7 @@ abstract contract Version {
11
11
  // DO NOT CHANGE
12
12
  // Comments block below is used by release-please to automatically update the version in this file.
13
13
  // x-release-please-start-version
14
- string public constant VERSION = "0.12.1";
14
+ string public constant VERSION = "0.14.0";
15
15
 
16
16
  // x-release-please-end
17
17
  }
@@ -19,12 +19,17 @@
19
19
  ],
20
20
  "LSP4TokenNameNotEditable()": [
21
21
  {
22
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
22
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
23
23
  }
24
24
  ],
25
25
  "LSP4TokenSymbolNotEditable()": [
26
26
  {
27
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
27
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
28
+ }
29
+ ],
30
+ "LSP4TokenTypeNotEditable()": [
31
+ {
32
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
28
33
  }
29
34
  ],
30
35
  "OwnableCallerNotTheOwner(address)": [
@@ -45,9 +50,10 @@
45
50
  "methods": {
46
51
  "constructor": {
47
52
  "params": {
48
- "initialOwner_": "The owner of the token contract",
49
- "name_": "The name of the token",
50
- "symbol_": "The symbol of the token"
53
+ "initialOwner_": "The owner of the token contract.",
54
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
55
+ "name_": "The name of the token.",
56
+ "symbol_": "The symbol of the token."
51
57
  }
52
58
  },
53
59
  "getData(bytes32)": {
@@ -19,12 +19,17 @@
19
19
  ],
20
20
  "LSP4TokenNameNotEditable()": [
21
21
  {
22
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
22
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
23
23
  }
24
24
  ],
25
25
  "LSP4TokenSymbolNotEditable()": [
26
26
  {
27
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
27
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
28
+ }
29
+ ],
30
+ "LSP4TokenTypeNotEditable()": [
31
+ {
32
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
28
33
  }
29
34
  ],
30
35
  "OwnableCallerNotTheOwner(address)": [
@@ -220,7 +220,7 @@
220
220
  },
221
221
  "executeRelayCall(bytes,uint256,uint256,bytes)": {
222
222
  "custom:events": "{PermissionsVerified} event when the permissions related to `payload` have been verified successfully.",
223
- "custom:hint": "If you are looking to learn how to sign and execute relay transactions via the Key Manager, see our Javascript step by step guide [_\"Execute Relay Transactions\"_](../../../guides/key-manager/execute-relay-transactions.md). See the LSP6 Standard page for more details on how to [generate a valid signature for Execute Relay Call](../../../standards/universal-profile/lsp6-key-manager.md#how-to-sign-relay-transactions).",
223
+ "custom:hint": "If you are looking to learn how to sign and execute relay transactions via the Key Manager, see our Javascript step by step guide [_\"Execute Relay Transactions\"_](../../../learn/expert-guides/key-manager/execute-relay-transactions.md). See the LSP6 Standard page for more details on how to [generate a valid signature for Execute Relay Call](../../../standards/universal-profile/lsp6-key-manager.md#how-to-sign-relay-transactions).",
224
224
  "details": "Allows any address (executor) to execute a payload (= abi-encoded function call), given they have a valid signature from a signer address and a valid `nonce` for this signer. The signature MUST be generated according to the signature format defined by the LSP25 standard. The signer that generated the `signature` MUST be a controller with some permissions on the linked {target}. The `payload` will be executed on the {target} contract once the LSP25 signature and the permissions of the signer have been verified.",
225
225
  "params": {
226
226
  "nonce": "The nonce of the address that signed the calldata (in a specific `_channel`), obtained via {getNonce}. Used to prevent replay attack.",
@@ -217,7 +217,7 @@
217
217
  },
218
218
  "executeRelayCall(bytes,uint256,uint256,bytes)": {
219
219
  "custom:events": "{PermissionsVerified} event when the permissions related to `payload` have been verified successfully.",
220
- "custom:hint": "If you are looking to learn how to sign and execute relay transactions via the Key Manager, see our Javascript step by step guide [_\"Execute Relay Transactions\"_](../../../guides/key-manager/execute-relay-transactions.md). See the LSP6 Standard page for more details on how to [generate a valid signature for Execute Relay Call](../../../standards/universal-profile/lsp6-key-manager.md#how-to-sign-relay-transactions).",
220
+ "custom:hint": "If you are looking to learn how to sign and execute relay transactions via the Key Manager, see our Javascript step by step guide [_\"Execute Relay Transactions\"_](../../../learn/expert-guides/key-manager/execute-relay-transactions.md). See the LSP6 Standard page for more details on how to [generate a valid signature for Execute Relay Call](../../../standards/universal-profile/lsp6-key-manager.md#how-to-sign-relay-transactions).",
221
221
  "details": "Allows any address (executor) to execute a payload (= abi-encoded function call), given they have a valid signature from a signer address and a valid `nonce` for this signer. The signature MUST be generated according to the signature format defined by the LSP25 standard. The signer that generated the `signature` MUST be a controller with some permissions on the linked {target}. The `payload` will be executed on the {target} contract once the LSP25 signature and the permissions of the signer have been verified.",
222
222
  "params": {
223
223
  "nonce": "The nonce of the address that signed the calldata (in a specific `_channel`), obtained via {getNonce}. Used to prevent replay attack.",
@@ -28,12 +28,17 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
37
42
  }
38
43
  ],
39
44
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -46,6 +51,11 @@
46
51
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
47
52
  }
48
53
  ],
54
+ "LSP7BatchCallFailed(uint256)": [
55
+ {
56
+ "details": "Reverts when a batch call failed."
57
+ }
58
+ ],
49
59
  "LSP7CannotSendToSelf()": [
50
60
  {
51
61
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -155,6 +165,16 @@
155
165
  "_0": "The amount of tokens owned by `tokenOwner`."
156
166
  }
157
167
  },
168
+ "batchCalls(bytes[])": {
169
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
170
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
171
+ "params": {
172
+ "data": "An array of ABI encoded function calls to be called on the contract."
173
+ },
174
+ "returns": {
175
+ "results": "An array of abi-encoded data returned by the functions executed."
176
+ }
177
+ },
158
178
  "constructor": {
159
179
  "custom:requirements": "- `tokenSupplyCap_` MUST NOT be 0.",
160
180
  "details": "Deploy a `LSP7CappedSupply` token contract and set the maximum token supply token cap up to which it is not possible to mint more tokens.",
@@ -28,12 +28,17 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
37
42
  }
38
43
  ],
39
44
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -46,6 +51,11 @@
46
51
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
47
52
  }
48
53
  ],
54
+ "LSP7BatchCallFailed(uint256)": [
55
+ {
56
+ "details": "Reverts when a batch call failed."
57
+ }
58
+ ],
49
59
  "LSP7CannotSendToSelf()": [
50
60
  {
51
61
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -155,6 +165,16 @@
155
165
  "_0": "The amount of tokens owned by `tokenOwner`."
156
166
  }
157
167
  },
168
+ "batchCalls(bytes[])": {
169
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
170
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
171
+ "params": {
172
+ "data": "An array of ABI encoded function calls to be called on the contract."
173
+ },
174
+ "returns": {
175
+ "results": "An array of abi-encoded data returned by the functions executed."
176
+ }
177
+ },
158
178
  "decimals()": {
159
179
  "details": "Returns the number of decimals used to get its user representation. If the asset contract has been set to be non-divisible via the `isNonDivisible_` parameter in the `constructor`, the decimals returned wiil be `0`. Otherwise `18` is the common value.",
160
180
  "returns": {
@@ -28,12 +28,17 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
37
42
  }
38
43
  ],
39
44
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -46,6 +51,11 @@
46
51
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
47
52
  }
48
53
  ],
54
+ "LSP7BatchCallFailed(uint256)": [
55
+ {
56
+ "details": "Reverts when a batch call failed."
57
+ }
58
+ ],
49
59
  "LSP7CannotSendToSelf()": [
50
60
  {
51
61
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -165,8 +175,19 @@
165
175
  "_0": "The amount of tokens owned by `tokenOwner`."
166
176
  }
167
177
  },
178
+ "batchCalls(bytes[])": {
179
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
180
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
181
+ "params": {
182
+ "data": "An array of ABI encoded function calls to be called on the contract."
183
+ },
184
+ "returns": {
185
+ "results": "An array of abi-encoded data returned by the functions executed."
186
+ }
187
+ },
168
188
  "constructor": {
169
189
  "params": {
190
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
170
191
  "name_": "The name of the token.",
171
192
  "newOwner_": "The owner of the token contract.",
172
193
  "symbol_": "The symbol of the token."
@@ -28,12 +28,17 @@
28
28
  ],
29
29
  "LSP4TokenNameNotEditable()": [
30
30
  {
31
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
31
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
32
32
  }
33
33
  ],
34
34
  "LSP4TokenSymbolNotEditable()": [
35
35
  {
36
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
36
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
37
+ }
38
+ ],
39
+ "LSP4TokenTypeNotEditable()": [
40
+ {
41
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
37
42
  }
38
43
  ],
39
44
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -46,6 +51,11 @@
46
51
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
47
52
  }
48
53
  ],
54
+ "LSP7BatchCallFailed(uint256)": [
55
+ {
56
+ "details": "Reverts when a batch call failed."
57
+ }
58
+ ],
49
59
  "LSP7CannotSendToSelf()": [
50
60
  {
51
61
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -165,6 +175,16 @@
165
175
  "_0": "The amount of tokens owned by `tokenOwner`."
166
176
  }
167
177
  },
178
+ "batchCalls(bytes[])": {
179
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
180
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
181
+ "params": {
182
+ "data": "An array of ABI encoded function calls to be called on the contract."
183
+ },
184
+ "returns": {
185
+ "results": "An array of abi-encoded data returned by the functions executed."
186
+ }
187
+ },
168
188
  "decimals()": {
169
189
  "details": "Returns the number of decimals used to get its user representation. If the asset contract has been set to be non-divisible via the `isNonDivisible_` parameter in the `constructor`, the decimals returned wiil be `0`. Otherwise `18` is the common value.",
170
190
  "returns": {
@@ -27,12 +27,17 @@
27
27
  ],
28
28
  "LSP4TokenNameNotEditable()": [
29
29
  {
30
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
30
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
31
31
  }
32
32
  ],
33
33
  "LSP4TokenSymbolNotEditable()": [
34
34
  {
35
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
35
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
36
+ }
37
+ ],
38
+ "LSP4TokenTypeNotEditable()": [
39
+ {
40
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
36
41
  }
37
42
  ],
38
43
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -45,6 +50,11 @@
45
50
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
46
51
  }
47
52
  ],
53
+ "LSP7BatchCallFailed(uint256)": [
54
+ {
55
+ "details": "Reverts when a batch call failed."
56
+ }
57
+ ],
48
58
  "LSP7CannotSendToSelf()": [
49
59
  {
50
60
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -164,8 +174,19 @@
164
174
  "_0": "The amount of tokens owned by `tokenOwner`."
165
175
  }
166
176
  },
177
+ "batchCalls(bytes[])": {
178
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
179
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
180
+ "params": {
181
+ "data": "An array of ABI encoded function calls to be called on the contract."
182
+ },
183
+ "returns": {
184
+ "results": "An array of abi-encoded data returned by the functions executed."
185
+ }
186
+ },
167
187
  "constructor": {
168
188
  "params": {
189
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
169
190
  "name_": "The name of the token.",
170
191
  "newOwner_": "The owner of the token contract.",
171
192
  "symbol_": "The symbol of the token."
@@ -27,12 +27,17 @@
27
27
  ],
28
28
  "LSP4TokenNameNotEditable()": [
29
29
  {
30
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
30
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
31
31
  }
32
32
  ],
33
33
  "LSP4TokenSymbolNotEditable()": [
34
34
  {
35
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
35
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
36
+ }
37
+ ],
38
+ "LSP4TokenTypeNotEditable()": [
39
+ {
40
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
36
41
  }
37
42
  ],
38
43
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -45,6 +50,11 @@
45
50
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
46
51
  }
47
52
  ],
53
+ "LSP7BatchCallFailed(uint256)": [
54
+ {
55
+ "details": "Reverts when a batch call failed."
56
+ }
57
+ ],
48
58
  "LSP7CannotSendToSelf()": [
49
59
  {
50
60
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -164,6 +174,16 @@
164
174
  "_0": "The amount of tokens owned by `tokenOwner`."
165
175
  }
166
176
  },
177
+ "batchCalls(bytes[])": {
178
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
179
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
180
+ "params": {
181
+ "data": "An array of ABI encoded function calls to be called on the contract."
182
+ },
183
+ "returns": {
184
+ "results": "An array of abi-encoded data returned by the functions executed."
185
+ }
186
+ },
167
187
  "constructor": {
168
188
  "details": "initialize (= lock) base implementation contract on deployment"
169
189
  },
@@ -214,8 +234,9 @@
214
234
  "operator": "The operator to increase the allowance for `msg.sender`"
215
235
  }
216
236
  },
217
- "initialize(string,string,address)": {
237
+ "initialize(string,string,address,uint256)": {
218
238
  "params": {
239
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
219
240
  "name_": "The name of the token.",
220
241
  "newOwner_": "The owner of the token contract.",
221
242
  "symbol_": "The symbol of the token."
@@ -29,12 +29,17 @@
29
29
  ],
30
30
  "LSP4TokenNameNotEditable()": [
31
31
  {
32
- "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
32
+ "details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed / initialized. The `LSP4TokenName` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
33
33
  }
34
34
  ],
35
35
  "LSP4TokenSymbolNotEditable()": [
36
36
  {
37
- "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
37
+ "details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed / initialized. The `LSP4TokenSymbol` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed / initialized."
38
+ }
39
+ ],
40
+ "LSP4TokenTypeNotEditable()": [
41
+ {
42
+ "details": "Reverts when trying to edit the data key `LSP4TokenType` after the digital asset contract has been deployed / initialized. The `LSP4TokenType` data key is located inside the ERC725Y data key-value store of the digital asset contract. It can be set only once inside the constructor / initializer when the digital asset contract is being deployed / initialized."
38
43
  }
39
44
  ],
40
45
  "LSP7AmountExceedsAuthorizedAmount(address,uint256,address,uint256)": [
@@ -47,6 +52,11 @@
47
52
  "details": "reverts when sending an `amount` of tokens larger than the current `balance` of the `tokenOwner`."
48
53
  }
49
54
  ],
55
+ "LSP7BatchCallFailed(uint256)": [
56
+ {
57
+ "details": "Reverts when a batch call failed."
58
+ }
59
+ ],
50
60
  "LSP7CannotSendToSelf()": [
51
61
  {
52
62
  "details": "reverts when specifying the same address for `from` or `to` in a token transfer."
@@ -146,12 +156,23 @@
146
156
  "_0": "The amount of tokens owned by `tokenOwner`."
147
157
  }
148
158
  },
159
+ "batchCalls(bytes[])": {
160
+ "custom:info": "It's not possible to send value along the functions call due to the use of `delegatecall`.",
161
+ "details": "Allows a caller to batch different function calls in one call. Perform a `delegatecall` on self, to call different functions with preserving the context.",
162
+ "params": {
163
+ "data": "An array of ABI encoded function calls to be called on the contract."
164
+ },
165
+ "returns": {
166
+ "results": "An array of abi-encoded data returned by the functions executed."
167
+ }
168
+ },
149
169
  "constructor": {
150
170
  "params": {
151
- "isNonDivisible_": "Specify if the LSP7 token is a fungible or non-fungible token",
152
- "name_": "The name of the token",
153
- "newOwner_": "The owner of the the token-Metadata",
154
- "symbol_": "The symbol of the token"
171
+ "isNonDivisible_": "Specify if the LSP7 token is a fungible or non-fungible token.",
172
+ "lsp4TokenType_": "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
173
+ "name_": "The name of the token.",
174
+ "newOwner_": "The owner of the the token-Metadata.",
175
+ "symbol_": "The symbol of the token."
155
176
  }
156
177
  },
157
178
  "decimals()": {