@lukso/lsp-smart-contracts 0.12.0 → 0.13.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.
- package/README.md +2 -2
- package/artifacts/LSP0ERC725Account.json +19 -19
- package/artifacts/LSP0ERC725AccountInit.json +19 -19
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +15 -15
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +15 -15
- package/artifacts/LSP4DigitalAssetMetadata.json +5 -0
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +5 -0
- package/artifacts/LSP6KeyManager.json +15 -15
- package/artifacts/LSP6KeyManagerInit.json +15 -15
- package/artifacts/LSP7CappedSupply.json +71 -49
- package/artifacts/LSP7CappedSupplyInitAbstract.json +71 -49
- package/artifacts/LSP7CompatibleERC20.json +71 -49
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +71 -49
- package/artifacts/LSP7CompatibleERC20Mintable.json +78 -51
- package/artifacts/LSP7CompatibleERC20MintableInit.json +78 -51
- package/artifacts/LSP7DigitalAsset.json +71 -49
- package/artifacts/LSP7DigitalAssetInitAbstract.json +71 -49
- package/artifacts/LSP7Mintable.json +78 -51
- package/artifacts/LSP7MintableInit.json +78 -51
- package/artifacts/LSP8CappedSupply.json +187 -36
- package/artifacts/LSP8CappedSupplyInitAbstract.json +200 -49
- package/artifacts/LSP8CompatibleERC721.json +187 -36
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +200 -49
- package/artifacts/LSP8CompatibleERC721Mintable.json +195 -39
- package/artifacts/LSP8CompatibleERC721MintableInit.json +208 -52
- package/artifacts/LSP8IdentifiableDigitalAsset.json +187 -36
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +200 -49
- package/artifacts/LSP8Mintable.json +195 -39
- package/artifacts/LSP8MintableInit.json +208 -52
- package/artifacts/LSP9Vault.json +19 -19
- package/artifacts/LSP9VaultInit.json +19 -19
- package/artifacts/UniversalProfile.json +19 -19
- package/artifacts/UniversalProfileInit.json +19 -19
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +7 -3
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +62 -62
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +2 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +3 -1
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +11 -10
- package/contracts/LSP17Extensions/Extension4337.sol +26 -1
- package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +2 -1
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +31 -33
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +24 -17
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +1 -1
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +1 -5
- package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +9 -0
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +20 -34
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +47 -0
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +19 -31
- package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +13 -6
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +2 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +16 -10
- package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +2 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +14 -16
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +6 -2
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +20 -9
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +129 -36
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +5 -2
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +6 -0
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +4 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +5 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +8 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +12 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +4 -0
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -0
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +77 -4
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +15 -12
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +19 -3
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +25 -16
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +222 -28
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +28 -15
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +16 -8
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +9 -8
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +13 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +4 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +13 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +6 -2
- package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
- package/contracts/LSP9Vault/LSP9Vault.sol +3 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +22 -37
- package/contracts/LSP9Vault/LSP9VaultInit.sol +2 -1
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +1 -1
- package/contracts/UniversalProfile.sol +4 -2
- package/contracts/UniversalProfileInit.sol +8 -5
- package/contracts/UniversalProfileInitAbstract.sol +4 -2
- package/contracts/Version.sol +6 -5
- package/devdocs/LSP0ERC725Account.json +3 -8
- package/devdocs/LSP0ERC725AccountInit.json +2 -7
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +0 -6
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +0 -6
- package/devdocs/LSP4DigitalAssetMetadata.json +11 -5
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -2
- package/devdocs/LSP6KeyManager.json +2 -7
- package/devdocs/LSP6KeyManagerInit.json +2 -7
- package/devdocs/LSP7CappedSupply.json +22 -8
- package/devdocs/LSP7CappedSupplyInitAbstract.json +22 -8
- package/devdocs/LSP7CompatibleERC20.json +23 -8
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +22 -8
- package/devdocs/LSP7CompatibleERC20Mintable.json +23 -8
- package/devdocs/LSP7CompatibleERC20MintableInit.json +24 -9
- package/devdocs/LSP7DigitalAsset.json +27 -12
- package/devdocs/LSP7DigitalAssetInitAbstract.json +22 -8
- package/devdocs/LSP7Mintable.json +24 -8
- package/devdocs/LSP7MintableInit.json +25 -9
- package/devdocs/LSP8CappedSupply.json +66 -10
- package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -10
- package/devdocs/LSP8CompatibleERC721.json +69 -11
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +67 -11
- package/devdocs/LSP8CompatibleERC721Mintable.json +69 -11
- package/devdocs/LSP8CompatibleERC721MintableInit.json +70 -12
- package/devdocs/LSP8IdentifiableDigitalAsset.json +71 -14
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -10
- package/devdocs/LSP8Mintable.json +68 -10
- package/devdocs/LSP8MintableInit.json +69 -11
- package/devdocs/LSP9Vault.json +0 -6
- package/devdocs/LSP9VaultInit.json +0 -6
- package/devdocs/UniversalProfile.json +3 -8
- package/devdocs/UniversalProfileInit.json +4 -9
- package/dist/constants.cjs.js +4552 -1859
- package/dist/constants.d.ts +4143 -1371
- package/dist/constants.es.js +4551 -1859
- package/package.json +2 -2
- package/userdocs/LSP0ERC725Account.json +3 -3
- package/userdocs/LSP0ERC725AccountInit.json +3 -3
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -3
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -3
- package/userdocs/LSP6KeyManager.json +3 -3
- package/userdocs/LSP6KeyManagerInit.json +3 -3
- package/userdocs/LSP7CappedSupply.json +8 -3
- package/userdocs/LSP7CappedSupplyInitAbstract.json +8 -3
- package/userdocs/LSP7CompatibleERC20.json +8 -3
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +8 -3
- package/userdocs/LSP7CompatibleERC20Mintable.json +8 -3
- package/userdocs/LSP7CompatibleERC20MintableInit.json +9 -4
- package/userdocs/LSP7DigitalAsset.json +8 -3
- package/userdocs/LSP7DigitalAssetInitAbstract.json +8 -3
- package/userdocs/LSP7Mintable.json +8 -3
- package/userdocs/LSP7MintableInit.json +9 -4
- package/userdocs/LSP8CappedSupply.json +20 -3
- package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -3
- package/userdocs/LSP8CompatibleERC721.json +20 -3
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +20 -3
- package/userdocs/LSP8CompatibleERC721Mintable.json +20 -3
- package/userdocs/LSP8CompatibleERC721MintableInit.json +21 -4
- package/userdocs/LSP8IdentifiableDigitalAsset.json +20 -3
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +19 -2
- package/userdocs/LSP8Mintable.json +19 -2
- package/userdocs/LSP8MintableInit.json +20 -3
- package/userdocs/LSP9Vault.json +3 -3
- package/userdocs/LSP9VaultInit.json +3 -3
- package/userdocs/UniversalProfile.json +3 -3
- package/userdocs/UniversalProfileInit.json +3 -3
|
@@ -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
|
|
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
|
|
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
|
-
"
|
|
50
|
-
"
|
|
53
|
+
"initialOwner_": "The owner of the token contract.",
|
|
54
|
+
"lsp4TokenType_": "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = 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
|
|
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
|
|
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.",
|
|
@@ -258,6 +258,7 @@
|
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
"isValidSignature(bytes32,bytes)": {
|
|
261
|
+
"custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP6KeyManager and prevent signatures from the same EOA to be replayed across different LSP6KeyManager.",
|
|
261
262
|
"details": "Checks if a signature was signed by a controller that has the permission `SIGN`. If the signer is a controller with the permission `SIGN`, it will return the ERC1271 success value.",
|
|
262
263
|
"params": {
|
|
263
264
|
"hash": "Hash of the data to be signed",
|
|
@@ -297,12 +298,6 @@
|
|
|
297
298
|
"returns": {
|
|
298
299
|
"_0": "The address of the linked contract"
|
|
299
300
|
}
|
|
300
|
-
},
|
|
301
|
-
"version()": {
|
|
302
|
-
"details": "Get the version of the contract.",
|
|
303
|
-
"returns": {
|
|
304
|
-
"_0": "The version of the the contract."
|
|
305
|
-
}
|
|
306
301
|
}
|
|
307
302
|
},
|
|
308
303
|
"title": "Implementation of a contract acting as a controller of an ERC725 Account, using permissions stored in the ERC725Y storage.",
|
|
@@ -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.",
|
|
@@ -261,6 +261,7 @@
|
|
|
261
261
|
}
|
|
262
262
|
},
|
|
263
263
|
"isValidSignature(bytes32,bytes)": {
|
|
264
|
+
"custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP6KeyManager and prevent signatures from the same EOA to be replayed across different LSP6KeyManager.",
|
|
264
265
|
"details": "Checks if a signature was signed by a controller that has the permission `SIGN`. If the signer is a controller with the permission `SIGN`, it will return the ERC1271 success value.",
|
|
265
266
|
"params": {
|
|
266
267
|
"hash": "Hash of the data to be signed",
|
|
@@ -300,12 +301,6 @@
|
|
|
300
301
|
"returns": {
|
|
301
302
|
"_0": "The address of the linked contract"
|
|
302
303
|
}
|
|
303
|
-
},
|
|
304
|
-
"version()": {
|
|
305
|
-
"details": "Get the version of the contract.",
|
|
306
|
-
"returns": {
|
|
307
|
-
"_0": "The version of the the contract."
|
|
308
|
-
}
|
|
309
304
|
}
|
|
310
305
|
},
|
|
311
306
|
"title": "Proxy implementation of a contract acting as a controller of an ERC725 Account, using permissions stored in the ERC725Y storage",
|
|
@@ -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
|
|
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
|
|
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.",
|
|
@@ -280,12 +300,6 @@
|
|
|
280
300
|
},
|
|
281
301
|
"transferOwnership(address)": {
|
|
282
302
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
283
|
-
},
|
|
284
|
-
"version()": {
|
|
285
|
-
"details": "Get the version of the contract.",
|
|
286
|
-
"returns": {
|
|
287
|
-
"_0": "The version of the the contract."
|
|
288
|
-
}
|
|
289
303
|
}
|
|
290
304
|
},
|
|
291
305
|
"version": 1
|
|
@@ -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
|
|
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
|
|
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": {
|
|
@@ -273,12 +293,6 @@
|
|
|
273
293
|
},
|
|
274
294
|
"transferOwnership(address)": {
|
|
275
295
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
276
|
-
},
|
|
277
|
-
"version()": {
|
|
278
|
-
"details": "Get the version of the contract.",
|
|
279
|
-
"returns": {
|
|
280
|
-
"_0": "The version of the the contract."
|
|
281
|
-
}
|
|
282
296
|
}
|
|
283
297
|
},
|
|
284
298
|
"version": 1
|
|
@@ -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
|
|
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
|
|
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 (`1` = Token, `2` = NFT, `3` = 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."
|
|
@@ -319,12 +340,6 @@
|
|
|
319
340
|
},
|
|
320
341
|
"transferOwnership(address)": {
|
|
321
342
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
322
|
-
},
|
|
323
|
-
"version()": {
|
|
324
|
-
"details": "Get the version of the contract.",
|
|
325
|
-
"returns": {
|
|
326
|
-
"_0": "The version of the the contract."
|
|
327
|
-
}
|
|
328
343
|
}
|
|
329
344
|
},
|
|
330
345
|
"version": 1
|
|
@@ -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
|
|
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
|
|
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": {
|
|
@@ -312,12 +332,6 @@
|
|
|
312
332
|
},
|
|
313
333
|
"transferOwnership(address)": {
|
|
314
334
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
315
|
-
},
|
|
316
|
-
"version()": {
|
|
317
|
-
"details": "Get the version of the contract.",
|
|
318
|
-
"returns": {
|
|
319
|
-
"_0": "The version of the the contract."
|
|
320
|
-
}
|
|
321
335
|
}
|
|
322
336
|
},
|
|
323
337
|
"version": 1
|
|
@@ -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
|
|
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
|
|
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 (`1` = Token, `2` = NFT, `3` = 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."
|
|
@@ -321,12 +342,6 @@
|
|
|
321
342
|
},
|
|
322
343
|
"transferOwnership(address)": {
|
|
323
344
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
324
|
-
},
|
|
325
|
-
"version()": {
|
|
326
|
-
"details": "Get the version of the contract.",
|
|
327
|
-
"returns": {
|
|
328
|
-
"_0": "The version of the the contract."
|
|
329
|
-
}
|
|
330
345
|
}
|
|
331
346
|
},
|
|
332
347
|
"title": "LSP7CompatibleERC20 deployable preset contract with a public {mint} function callable only by the contract {owner}.",
|
|
@@ -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
|
|
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
|
|
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 (`1` = Token, `2` = NFT, `3` = 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."
|
|
@@ -324,12 +345,6 @@
|
|
|
324
345
|
},
|
|
325
346
|
"transferOwnership(address)": {
|
|
326
347
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
327
|
-
},
|
|
328
|
-
"version()": {
|
|
329
|
-
"details": "Get the version of the contract.",
|
|
330
|
-
"returns": {
|
|
331
|
-
"_0": "The version of the the contract."
|
|
332
|
-
}
|
|
333
348
|
}
|
|
334
349
|
},
|
|
335
350
|
"title": "LSP7 deployable preset contract (proxy version) with a public mint function callable only by the contract {owner}",
|
|
@@ -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
|
|
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
|
|
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
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
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 (`1` = Token, `2` = NFT, `3` = 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()": {
|
|
@@ -266,12 +287,6 @@
|
|
|
266
287
|
},
|
|
267
288
|
"transferOwnership(address)": {
|
|
268
289
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
269
|
-
},
|
|
270
|
-
"version()": {
|
|
271
|
-
"details": "Get the version of the contract.",
|
|
272
|
-
"returns": {
|
|
273
|
-
"_0": "The version of the the contract."
|
|
274
|
-
}
|
|
275
290
|
}
|
|
276
291
|
},
|
|
277
292
|
"title": "Implementation of a LSP7 Digital Asset, a contract that represents a fungible token.",
|