@lukso/lsp-smart-contracts 0.11.1 → 0.12.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 +10 -2
- package/artifacts/Create2Factory.json +2 -2
- package/artifacts/LSP0ERC725Account.json +68 -47
- package/artifacts/LSP0ERC725AccountInit.json +68 -47
- package/artifacts/LSP11BasicSocialRecovery.json +18 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +18 -2
- package/artifacts/LSP16UniversalFactory.json +3 -3
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +27 -46
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +27 -46
- package/artifacts/LSP23LinkedContractsFactory.json +3 -3
- package/artifacts/LSP4DigitalAssetMetadata.json +16 -0
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +16 -0
- package/artifacts/LSP6KeyManager.json +34 -6
- package/artifacts/LSP6KeyManagerInit.json +34 -6
- package/artifacts/LSP7CappedSupply.json +64 -4
- package/artifacts/LSP7CappedSupplyInitAbstract.json +64 -4
- package/artifacts/LSP7CompatibleERC20.json +83 -23
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +83 -23
- package/artifacts/LSP7CompatibleERC20Mintable.json +86 -26
- package/artifacts/LSP7CompatibleERC20MintableInit.json +86 -26
- package/artifacts/LSP7DigitalAsset.json +64 -4
- package/artifacts/LSP7DigitalAssetInitAbstract.json +64 -4
- package/artifacts/LSP7Mintable.json +67 -7
- package/artifacts/LSP7MintableInit.json +67 -7
- package/artifacts/LSP8CappedSupply.json +57 -3
- package/artifacts/LSP8CappedSupplyInitAbstract.json +57 -3
- package/artifacts/LSP8CompatibleERC721.json +79 -25
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +79 -25
- package/artifacts/LSP8CompatibleERC721Mintable.json +87 -28
- package/artifacts/LSP8CompatibleERC721MintableInit.json +87 -28
- package/artifacts/LSP8IdentifiableDigitalAsset.json +57 -3
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -3
- package/artifacts/LSP8Mintable.json +65 -6
- package/artifacts/LSP8MintableInit.json +65 -6
- package/artifacts/LSP9Vault.json +51 -35
- package/artifacts/LSP9VaultInit.json +51 -35
- package/artifacts/UniversalProfile.json +68 -47
- package/artifacts/UniversalProfileInit.json +68 -47
- package/contracts/Factories/Create2Factory.sol +1 -1
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +0 -22
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +6 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +12 -2
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +196 -123
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +11 -2
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +5 -3
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +54 -14
- package/contracts/LSP11BasicSocialRecovery/LSP11Constants.sol +1 -1
- package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +1 -1
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +2 -2
- package/contracts/LSP14Ownable2Step/LSP14Constants.sol +1 -1
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +9 -3
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +16 -12
- package/contracts/LSP16UniversalFactory/LSP16UniversalFactory.sol +65 -96
- package/contracts/LSP17ContractExtension/LSP17Errors.sol +1 -1
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +22 -15
- package/contracts/LSP17ContractExtension/LSP17Extension.sol +6 -5
- package/contracts/LSP17Extensions/Extension4337.sol +101 -0
- package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +15 -0
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +1 -2
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiverDelegate.sol +24 -0
- package/contracts/LSP1UniversalReceiver/LSP1Constants.sol +1 -0
- package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +0 -6
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +49 -33
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +33 -27
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +5 -48
- package/contracts/LSP20CallVerification/ILSP20CallVerifier.sol +13 -9
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +64 -45
- package/contracts/LSP20CallVerification/LSP20Constants.sol +6 -6
- package/contracts/LSP20CallVerification/LSP20Errors.sol +10 -4
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/ILSP23LinkedContractsFactory.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/IPostDeploymentModule.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/LSP23Errors.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/LSP23LinkedContractsFactory.sol +5 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/modules/UniversalProfileInitPostDeploymentModule.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/modules/UniversalProfilePostDeploymentModule.sol +1 -1
- package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +1 -1
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +8 -3
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +1 -97
- package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +1 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +8 -3
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +8 -3
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +4 -3
- package/contracts/LSP6KeyManager/LSP6Constants.sol +4 -3
- package/contracts/LSP6KeyManager/LSP6Errors.sol +2 -23
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +0 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +176 -101
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +0 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +1 -2
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteRelayCallModule.sol +27 -0
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +34 -28
- package/contracts/LSP6KeyManager/LSP6Utils.sol +29 -2
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +70 -10
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +2 -2
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +29 -13
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +273 -265
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +28 -12
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +17 -3
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +5 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +4 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +7 -7
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +3 -3
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +128 -54
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +129 -54
- package/contracts/LSP7DigitalAsset/presets/ILSP7Mintable.sol +3 -3
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +2 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +4 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +4 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +16 -11
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +20 -6
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +32 -16
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +67 -16
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +143 -137
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +69 -15
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +7 -7
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +3 -3
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +172 -80
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +178 -91
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +7 -7
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +7 -7
- package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +3 -3
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +8 -7
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +5 -3
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -7
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +9 -8
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +9 -3
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +10 -8
- package/contracts/LSP9Vault/ILSP9Vault.sol +0 -21
- package/contracts/LSP9Vault/LSP9Constants.sol +6 -1
- package/contracts/LSP9Vault/LSP9Errors.sol +1 -1
- package/contracts/LSP9Vault/LSP9Vault.sol +11 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +119 -66
- package/contracts/LSP9Vault/LSP9VaultInit.sol +1 -1
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -2
- package/contracts/UniversalProfile.sol +1 -1
- package/contracts/UniversalProfileInit.sol +1 -1
- package/contracts/UniversalProfileInitAbstract.sol +1 -1
- package/contracts/Version.sol +16 -0
- package/devdocs/LSP0ERC725Account.json +86 -52
- package/devdocs/LSP0ERC725AccountInit.json +86 -52
- package/devdocs/LSP11BasicSocialRecovery.json +13 -0
- package/devdocs/LSP11BasicSocialRecoveryInit.json +13 -0
- package/devdocs/LSP16UniversalFactory.json +9 -9
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +7 -6
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +7 -6
- package/devdocs/LSP4DigitalAssetMetadata.json +32 -10
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +32 -10
- package/devdocs/LSP6KeyManager.json +27 -13
- package/devdocs/LSP6KeyManagerInit.json +27 -13
- package/devdocs/LSP7CappedSupply.json +61 -28
- package/devdocs/LSP7CappedSupplyInitAbstract.json +61 -28
- package/devdocs/LSP7CompatibleERC20.json +102 -32
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +102 -32
- package/devdocs/LSP7CompatibleERC20Mintable.json +102 -32
- package/devdocs/LSP7CompatibleERC20MintableInit.json +102 -32
- package/devdocs/LSP7DigitalAsset.json +61 -28
- package/devdocs/LSP7DigitalAssetInitAbstract.json +61 -28
- package/devdocs/LSP7Mintable.json +61 -28
- package/devdocs/LSP7MintableInit.json +61 -28
- package/devdocs/LSP8CappedSupply.json +66 -27
- package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -27
- package/devdocs/LSP8CompatibleERC721.json +93 -33
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +93 -33
- package/devdocs/LSP8CompatibleERC721Mintable.json +95 -35
- package/devdocs/LSP8CompatibleERC721MintableInit.json +96 -36
- package/devdocs/LSP8IdentifiableDigitalAsset.json +70 -28
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -27
- package/devdocs/LSP8Mintable.json +68 -29
- package/devdocs/LSP8MintableInit.json +69 -30
- package/devdocs/LSP9Vault.json +69 -41
- package/devdocs/LSP9VaultInit.json +69 -41
- package/devdocs/UniversalProfile.json +86 -52
- package/devdocs/UniversalProfileInit.json +86 -52
- package/dist/constants.cjs.js +5565 -2846
- package/dist/constants.d.ts +3996 -1182
- package/dist/constants.es.js +5564 -2846
- package/package.json +8 -8
- package/userdocs/LSP0ERC725Account.json +20 -11
- package/userdocs/LSP0ERC725AccountInit.json +20 -11
- package/userdocs/LSP16UniversalFactory.json +26 -1
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +4 -11
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +4 -11
- package/userdocs/LSP4DigitalAssetMetadata.json +7 -4
- package/userdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -4
- package/userdocs/LSP6KeyManager.json +3 -5
- package/userdocs/LSP6KeyManagerInit.json +3 -5
- package/userdocs/LSP7CappedSupply.json +17 -6
- package/userdocs/LSP7CappedSupplyInitAbstract.json +16 -5
- package/userdocs/LSP7CompatibleERC20.json +18 -5
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +18 -5
- package/userdocs/LSP7CompatibleERC20Mintable.json +18 -5
- package/userdocs/LSP7CompatibleERC20MintableInit.json +18 -5
- package/userdocs/LSP7DigitalAsset.json +18 -5
- package/userdocs/LSP7DigitalAssetInitAbstract.json +18 -5
- package/userdocs/LSP7Mintable.json +18 -5
- package/userdocs/LSP7MintableInit.json +18 -5
- package/userdocs/LSP8CappedSupply.json +16 -5
- package/userdocs/LSP8CappedSupplyInitAbstract.json +15 -4
- package/userdocs/LSP8CompatibleERC721.json +30 -17
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +30 -17
- package/userdocs/LSP8CompatibleERC721Mintable.json +31 -18
- package/userdocs/LSP8CompatibleERC721MintableInit.json +32 -19
- package/userdocs/LSP8IdentifiableDigitalAsset.json +18 -5
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +17 -4
- package/userdocs/LSP8Mintable.json +18 -5
- package/userdocs/LSP8MintableInit.json +19 -6
- package/userdocs/LSP9Vault.json +23 -14
- package/userdocs/LSP9VaultInit.json +23 -14
- package/userdocs/UniversalProfile.json +20 -11
- package/userdocs/UniversalProfileInit.json +20 -11
- package/CONTRIBUTING.md +0 -184
- package/artifacts/LSP4Compatibility.json +0 -216
- package/contracts/LSP4DigitalAssetMetadata/ILSP4Compatibility.sol +0 -25
- package/contracts/LSP4DigitalAssetMetadata/LSP4Compatibility.sol +0 -38
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +0 -83
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +0 -175
- package/devdocs/LSP4Compatibility.json +0 -79
- package/userdocs/LSP4Compatibility.json +0 -20
|
@@ -1,52 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"LSP8TokenContractCannotHoldValue()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "LSP8 contract cannot receive native tokens."
|
|
6
|
+
}
|
|
7
|
+
]
|
|
8
|
+
},
|
|
2
9
|
"events": {
|
|
3
|
-
"Approval(address,address,uint256)": {
|
|
4
|
-
"notice": "ERC721 `Approval` compatible event emitted. Successfully approved operator `operator` to operate on tokenId `tokenId` on behalf of token owner `owner`."
|
|
5
|
-
},
|
|
6
|
-
"ApprovalForAll(address,address,bool)": {
|
|
7
|
-
"notice": "ERC721 `ApprovalForAll` compatible event emitted. Successfully set \"approved for all\" status to `approved` for operator `operator` for token owner `owner`."
|
|
8
|
-
},
|
|
9
10
|
"DataChanged(bytes32,bytes)": {
|
|
10
|
-
"notice": "
|
|
11
|
-
},
|
|
12
|
-
"Transfer(address,address,uint256)": {
|
|
13
|
-
"notice": "ERC721 `Transfer` compatible event emitted. Successfully transferred tokenId `tokenId` from `from` to `to`."
|
|
11
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
14
12
|
}
|
|
15
13
|
},
|
|
16
14
|
"kind": "user",
|
|
17
15
|
"methods": {
|
|
18
16
|
"approve(address,uint256)": {
|
|
19
|
-
"notice": "Calling `approve` function
|
|
17
|
+
"notice": "Calling `approve` function to approve operator at address `operator` to transfer tokenId `tokenId` on behalf of its owner."
|
|
20
18
|
},
|
|
21
19
|
"getApproved(uint256)": {
|
|
22
20
|
"notice": "Retrieving the address other than the token owner that is approved to transfer tokenId `tokenId` on behalf of its owner."
|
|
23
21
|
},
|
|
24
22
|
"getData(bytes32)": {
|
|
25
|
-
"notice": "
|
|
23
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
26
24
|
},
|
|
27
25
|
"getDataBatch(bytes32[])": {
|
|
28
|
-
"notice": "
|
|
26
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
29
27
|
},
|
|
30
|
-
"initialize(string,string,address)": {
|
|
28
|
+
"initialize(string,string,address,uint256)": {
|
|
31
29
|
"notice": "Initializing a `LSP8CompatibleERC721MintableInit` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
|
|
32
30
|
},
|
|
31
|
+
"isApprovedForAll(address,address)": {
|
|
32
|
+
"notice": "Checking if address `operator` is approved to transfer any tokenId owned by address `owner`."
|
|
33
|
+
},
|
|
33
34
|
"mint(address,bytes32,bool,bytes)": {
|
|
34
|
-
"notice": "Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `
|
|
35
|
+
"notice": "Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `force`)."
|
|
35
36
|
},
|
|
36
37
|
"ownerOf(uint256)": {
|
|
37
38
|
"notice": "Retrieving the address that own tokenId `tokenId`."
|
|
38
39
|
},
|
|
39
40
|
"safeTransferFrom(address,address,uint256)": {
|
|
40
|
-
"notice": "Calling `safeTransferFrom` function
|
|
41
|
+
"notice": "Calling `safeTransferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
|
|
41
42
|
},
|
|
42
43
|
"safeTransferFrom(address,address,uint256,bytes)": {
|
|
43
|
-
"notice": "Calling `safeTransferFrom` function with `data`
|
|
44
|
+
"notice": "Calling `safeTransferFrom` function with `data` to transfer tokenId `tokenId` from address `from` to address `to`."
|
|
45
|
+
},
|
|
46
|
+
"setApprovalForAll(address,bool)": {
|
|
47
|
+
"notice": "Setting the \"approval for all\" status of operator `_operator` to `_approved` to allow it to transfer any tokenIds on behalf of `msg.sender`."
|
|
44
48
|
},
|
|
45
49
|
"setData(bytes32,bytes)": {
|
|
46
|
-
"notice": "
|
|
50
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
51
|
+
},
|
|
52
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
53
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
54
|
+
},
|
|
55
|
+
"tokenURI(uint256)": {
|
|
56
|
+
"notice": "Retrieving the token URI of tokenId `tokenId`."
|
|
47
57
|
},
|
|
48
58
|
"transferFrom(address,address,uint256)": {
|
|
49
|
-
"notice": "Calling `transferFrom` function
|
|
59
|
+
"notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
|
|
60
|
+
},
|
|
61
|
+
"version()": {
|
|
62
|
+
"notice": "Contract version."
|
|
50
63
|
}
|
|
51
64
|
},
|
|
52
65
|
"version": 1
|
|
@@ -1,22 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"LSP8TokenContractCannotHoldValue()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "LSP8 contract cannot receive native tokens."
|
|
6
|
+
}
|
|
7
|
+
]
|
|
8
|
+
},
|
|
2
9
|
"events": {
|
|
3
10
|
"DataChanged(bytes32,bytes)": {
|
|
4
|
-
"notice": "
|
|
11
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
5
12
|
}
|
|
6
13
|
},
|
|
7
14
|
"kind": "user",
|
|
8
15
|
"methods": {
|
|
9
16
|
"constructor": {
|
|
10
|
-
"notice": "
|
|
17
|
+
"notice": "Deploying a LSP8IdentifiableDigitalAsset with name `name_`, symbol `symbol_`, owned by address `newOwner_` with tokenId type `tokenIdType_`."
|
|
11
18
|
},
|
|
12
19
|
"getData(bytes32)": {
|
|
13
|
-
"notice": "
|
|
20
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
14
21
|
},
|
|
15
22
|
"getDataBatch(bytes32[])": {
|
|
16
|
-
"notice": "
|
|
23
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
17
24
|
},
|
|
18
25
|
"setData(bytes32,bytes)": {
|
|
19
|
-
"notice": "
|
|
26
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
27
|
+
},
|
|
28
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
29
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
30
|
+
},
|
|
31
|
+
"version()": {
|
|
32
|
+
"notice": "Contract version."
|
|
20
33
|
}
|
|
21
34
|
},
|
|
22
35
|
"version": 1
|
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"LSP8TokenContractCannotHoldValue()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "LSP8 contract cannot receive native tokens."
|
|
6
|
+
}
|
|
7
|
+
]
|
|
8
|
+
},
|
|
2
9
|
"events": {
|
|
3
10
|
"DataChanged(bytes32,bytes)": {
|
|
4
|
-
"notice": "
|
|
11
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
5
12
|
}
|
|
6
13
|
},
|
|
7
14
|
"kind": "user",
|
|
8
15
|
"methods": {
|
|
9
16
|
"getData(bytes32)": {
|
|
10
|
-
"notice": "
|
|
17
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
11
18
|
},
|
|
12
19
|
"getDataBatch(bytes32[])": {
|
|
13
|
-
"notice": "
|
|
20
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
14
21
|
},
|
|
15
22
|
"setData(bytes32,bytes)": {
|
|
16
|
-
"notice": "
|
|
23
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
24
|
+
},
|
|
25
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
26
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
27
|
+
},
|
|
28
|
+
"version()": {
|
|
29
|
+
"notice": "Contract version."
|
|
17
30
|
}
|
|
18
31
|
},
|
|
19
32
|
"version": 1
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"LSP8TokenContractCannotHoldValue()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "LSP8 contract cannot receive native tokens."
|
|
6
|
+
}
|
|
7
|
+
]
|
|
8
|
+
},
|
|
2
9
|
"events": {
|
|
3
10
|
"DataChanged(bytes32,bytes)": {
|
|
4
|
-
"notice": "
|
|
11
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
5
12
|
}
|
|
6
13
|
},
|
|
7
14
|
"kind": "user",
|
|
@@ -10,16 +17,22 @@
|
|
|
10
17
|
"notice": "Deploying a `LSP8Mintable` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
|
|
11
18
|
},
|
|
12
19
|
"getData(bytes32)": {
|
|
13
|
-
"notice": "
|
|
20
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
14
21
|
},
|
|
15
22
|
"getDataBatch(bytes32[])": {
|
|
16
|
-
"notice": "
|
|
23
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
17
24
|
},
|
|
18
25
|
"mint(address,bytes32,bool,bytes)": {
|
|
19
|
-
"notice": "Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `
|
|
26
|
+
"notice": "Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `force`)."
|
|
20
27
|
},
|
|
21
28
|
"setData(bytes32,bytes)": {
|
|
22
|
-
"notice": "
|
|
29
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
30
|
+
},
|
|
31
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
32
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
33
|
+
},
|
|
34
|
+
"version()": {
|
|
35
|
+
"notice": "Contract version."
|
|
23
36
|
}
|
|
24
37
|
},
|
|
25
38
|
"version": 1
|
|
@@ -1,25 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"LSP8TokenContractCannotHoldValue()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "LSP8 contract cannot receive native tokens."
|
|
6
|
+
}
|
|
7
|
+
]
|
|
8
|
+
},
|
|
2
9
|
"events": {
|
|
3
10
|
"DataChanged(bytes32,bytes)": {
|
|
4
|
-
"notice": "
|
|
11
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
5
12
|
}
|
|
6
13
|
},
|
|
7
14
|
"kind": "user",
|
|
8
15
|
"methods": {
|
|
9
16
|
"getData(bytes32)": {
|
|
10
|
-
"notice": "
|
|
17
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
11
18
|
},
|
|
12
19
|
"getDataBatch(bytes32[])": {
|
|
13
|
-
"notice": "
|
|
20
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
14
21
|
},
|
|
15
|
-
"initialize(string,string,address)": {
|
|
22
|
+
"initialize(string,string,address,uint256)": {
|
|
16
23
|
"notice": "Initializing a `LSP8MintableInit` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
|
|
17
24
|
},
|
|
18
25
|
"mint(address,bytes32,bool,bytes)": {
|
|
19
|
-
"notice": "Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `
|
|
26
|
+
"notice": "Minting tokenId `tokenId` for address `to` with the additional data `data` (Note: allow non-LSP1 recipient is set to `force`)."
|
|
20
27
|
},
|
|
21
28
|
"setData(bytes32,bytes)": {
|
|
22
|
-
"notice": "
|
|
29
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
30
|
+
},
|
|
31
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
32
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
33
|
+
},
|
|
34
|
+
"version()": {
|
|
35
|
+
"notice": "Contract version."
|
|
23
36
|
}
|
|
24
37
|
},
|
|
25
38
|
"version": 1
|
package/userdocs/LSP9Vault.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"errors": {
|
|
3
|
-
"
|
|
3
|
+
"LSP14CannotTransferOwnershipToSelf()": [
|
|
4
4
|
{
|
|
5
5
|
"notice": "Cannot transfer ownership to the address of the contract itself."
|
|
6
6
|
}
|
|
@@ -10,26 +10,26 @@
|
|
|
10
10
|
"notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
|
-
"
|
|
13
|
+
"LSP14NotInRenounceOwnershipInterval(uint256,uint256)": [
|
|
14
14
|
{
|
|
15
|
-
"notice": "
|
|
15
|
+
"notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"
|
|
18
|
+
"LSP1DelegateNotAllowedToSetDataKey(bytes32)": [
|
|
19
19
|
{
|
|
20
|
-
"notice": "
|
|
20
|
+
"notice": "The `LSP1UniversalReceiverDelegate` is not allowed to set the following data key: `dataKey`."
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
24
|
"events": {
|
|
25
25
|
"ContractCreated(uint256,address,uint256,bytes32)": {
|
|
26
|
-
"notice": "
|
|
26
|
+
"notice": "Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`)."
|
|
27
27
|
},
|
|
28
28
|
"DataChanged(bytes32,bytes)": {
|
|
29
|
-
"notice": "
|
|
29
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
30
30
|
},
|
|
31
31
|
"Executed(uint256,address,uint256,bytes4)": {
|
|
32
|
-
"notice": "
|
|
32
|
+
"notice": "Called address `target` using `operationType` with `value` wei and `data`."
|
|
33
33
|
},
|
|
34
34
|
"OwnershipRenounced()": {
|
|
35
35
|
"notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
|
|
@@ -42,9 +42,6 @@
|
|
|
42
42
|
},
|
|
43
43
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
44
44
|
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
45
|
-
},
|
|
46
|
-
"ValueReceived(address,uint256)": {
|
|
47
|
-
"notice": "`value` native tokens received from `sender`."
|
|
48
45
|
}
|
|
49
46
|
},
|
|
50
47
|
"kind": "user",
|
|
@@ -58,17 +55,26 @@
|
|
|
58
55
|
"constructor": {
|
|
59
56
|
"notice": "Deploying a LSP9Vault contract with owner set to address `initialOwner`."
|
|
60
57
|
},
|
|
58
|
+
"execute(uint256,address,uint256,bytes)": {
|
|
59
|
+
"notice": "Calling address `target` using `operationType`, transferring `value` wei and data: `data`."
|
|
60
|
+
},
|
|
61
|
+
"executeBatch(uint256[],address[],uint256[],bytes[])": {
|
|
62
|
+
"notice": "Calling multiple addresses `targets` using `operationsType`, transferring `values` wei and data: `datas`."
|
|
63
|
+
},
|
|
61
64
|
"getData(bytes32)": {
|
|
62
|
-
"notice": "
|
|
65
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
63
66
|
},
|
|
64
67
|
"getDataBatch(bytes32[])": {
|
|
65
|
-
"notice": "
|
|
68
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
66
69
|
},
|
|
67
70
|
"renounceOwnership()": {
|
|
68
71
|
"notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
|
|
69
72
|
},
|
|
70
73
|
"setData(bytes32,bytes)": {
|
|
71
|
-
"notice": "
|
|
74
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
75
|
+
},
|
|
76
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
77
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
72
78
|
},
|
|
73
79
|
"supportsInterface(bytes4)": {
|
|
74
80
|
"notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
|
|
@@ -78,6 +84,9 @@
|
|
|
78
84
|
},
|
|
79
85
|
"universalReceiver(bytes32,bytes)": {
|
|
80
86
|
"notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
87
|
+
},
|
|
88
|
+
"version()": {
|
|
89
|
+
"notice": "Contract version."
|
|
81
90
|
}
|
|
82
91
|
},
|
|
83
92
|
"version": 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"errors": {
|
|
3
|
-
"
|
|
3
|
+
"LSP14CannotTransferOwnershipToSelf()": [
|
|
4
4
|
{
|
|
5
5
|
"notice": "Cannot transfer ownership to the address of the contract itself."
|
|
6
6
|
}
|
|
@@ -10,26 +10,26 @@
|
|
|
10
10
|
"notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
|
-
"
|
|
13
|
+
"LSP14NotInRenounceOwnershipInterval(uint256,uint256)": [
|
|
14
14
|
{
|
|
15
|
-
"notice": "
|
|
15
|
+
"notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"
|
|
18
|
+
"LSP1DelegateNotAllowedToSetDataKey(bytes32)": [
|
|
19
19
|
{
|
|
20
|
-
"notice": "
|
|
20
|
+
"notice": "The `LSP1UniversalReceiverDelegate` is not allowed to set the following data key: `dataKey`."
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
24
|
"events": {
|
|
25
25
|
"ContractCreated(uint256,address,uint256,bytes32)": {
|
|
26
|
-
"notice": "
|
|
26
|
+
"notice": "Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`)."
|
|
27
27
|
},
|
|
28
28
|
"DataChanged(bytes32,bytes)": {
|
|
29
|
-
"notice": "
|
|
29
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
30
30
|
},
|
|
31
31
|
"Executed(uint256,address,uint256,bytes4)": {
|
|
32
|
-
"notice": "
|
|
32
|
+
"notice": "Called address `target` using `operationType` with `value` wei and `data`."
|
|
33
33
|
},
|
|
34
34
|
"OwnershipRenounced()": {
|
|
35
35
|
"notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
|
|
@@ -42,9 +42,6 @@
|
|
|
42
42
|
},
|
|
43
43
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
44
44
|
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
45
|
-
},
|
|
46
|
-
"ValueReceived(address,uint256)": {
|
|
47
|
-
"notice": "`value` native tokens received from `sender`."
|
|
48
45
|
}
|
|
49
46
|
},
|
|
50
47
|
"kind": "user",
|
|
@@ -55,11 +52,17 @@
|
|
|
55
52
|
"batchCalls(bytes[])": {
|
|
56
53
|
"notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
|
|
57
54
|
},
|
|
55
|
+
"execute(uint256,address,uint256,bytes)": {
|
|
56
|
+
"notice": "Calling address `target` using `operationType`, transferring `value` wei and data: `data`."
|
|
57
|
+
},
|
|
58
|
+
"executeBatch(uint256[],address[],uint256[],bytes[])": {
|
|
59
|
+
"notice": "Calling multiple addresses `targets` using `operationsType`, transferring `values` wei and data: `datas`."
|
|
60
|
+
},
|
|
58
61
|
"getData(bytes32)": {
|
|
59
|
-
"notice": "
|
|
62
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
60
63
|
},
|
|
61
64
|
"getDataBatch(bytes32[])": {
|
|
62
|
-
"notice": "
|
|
65
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
63
66
|
},
|
|
64
67
|
"initialize(address)": {
|
|
65
68
|
"notice": "Initializing a LSP9Vault contract with owner set to address `initialOwner`."
|
|
@@ -68,7 +71,10 @@
|
|
|
68
71
|
"notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
|
|
69
72
|
},
|
|
70
73
|
"setData(bytes32,bytes)": {
|
|
71
|
-
"notice": "
|
|
74
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
75
|
+
},
|
|
76
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
77
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
72
78
|
},
|
|
73
79
|
"supportsInterface(bytes4)": {
|
|
74
80
|
"notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
|
|
@@ -78,6 +84,9 @@
|
|
|
78
84
|
},
|
|
79
85
|
"universalReceiver(bytes32,bytes)": {
|
|
80
86
|
"notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
87
|
+
},
|
|
88
|
+
"version()": {
|
|
89
|
+
"notice": "Contract version."
|
|
81
90
|
}
|
|
82
91
|
},
|
|
83
92
|
"version": 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"errors": {
|
|
3
|
-
"
|
|
3
|
+
"LSP14CannotTransferOwnershipToSelf()": [
|
|
4
4
|
{
|
|
5
5
|
"notice": "Cannot transfer ownership to the address of the contract itself."
|
|
6
6
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
|
-
"
|
|
13
|
+
"LSP14NotInRenounceOwnershipInterval(uint256,uint256)": [
|
|
14
14
|
{
|
|
15
15
|
"notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
|
|
16
16
|
}
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"events": {
|
|
20
20
|
"ContractCreated(uint256,address,uint256,bytes32)": {
|
|
21
|
-
"notice": "
|
|
21
|
+
"notice": "Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`)."
|
|
22
22
|
},
|
|
23
23
|
"DataChanged(bytes32,bytes)": {
|
|
24
|
-
"notice": "
|
|
24
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
25
25
|
},
|
|
26
26
|
"Executed(uint256,address,uint256,bytes4)": {
|
|
27
|
-
"notice": "
|
|
27
|
+
"notice": "Called address `target` using `operationType` with `value` wei and `data`."
|
|
28
28
|
},
|
|
29
29
|
"OwnershipRenounced()": {
|
|
30
30
|
"notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
|
|
@@ -37,9 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
39
39
|
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
40
|
-
},
|
|
41
|
-
"ValueReceived(address,uint256)": {
|
|
42
|
-
"notice": "`value` native tokens received from `sender`."
|
|
43
40
|
}
|
|
44
41
|
},
|
|
45
42
|
"kind": "user",
|
|
@@ -53,11 +50,17 @@
|
|
|
53
50
|
"constructor": {
|
|
54
51
|
"notice": "Deploying a UniversalProfile contract with owner set to address `initialOwner`."
|
|
55
52
|
},
|
|
53
|
+
"execute(uint256,address,uint256,bytes)": {
|
|
54
|
+
"notice": "Calling address `target` using `operationType`, transferring `value` wei and data: `data`."
|
|
55
|
+
},
|
|
56
|
+
"executeBatch(uint256[],address[],uint256[],bytes[])": {
|
|
57
|
+
"notice": "Calling multiple addresses `targets` using `operationsType`, transferring `values` wei and data: `datas`."
|
|
58
|
+
},
|
|
56
59
|
"getData(bytes32)": {
|
|
57
|
-
"notice": "
|
|
60
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
58
61
|
},
|
|
59
62
|
"getDataBatch(bytes32[])": {
|
|
60
|
-
"notice": "
|
|
63
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
61
64
|
},
|
|
62
65
|
"isValidSignature(bytes32,bytes)": {
|
|
63
66
|
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
@@ -66,7 +69,10 @@
|
|
|
66
69
|
"notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
|
|
67
70
|
},
|
|
68
71
|
"setData(bytes32,bytes)": {
|
|
69
|
-
"notice": "
|
|
72
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
73
|
+
},
|
|
74
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
75
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
70
76
|
},
|
|
71
77
|
"supportsInterface(bytes4)": {
|
|
72
78
|
"notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
|
|
@@ -76,6 +82,9 @@
|
|
|
76
82
|
},
|
|
77
83
|
"universalReceiver(bytes32,bytes)": {
|
|
78
84
|
"notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
85
|
+
},
|
|
86
|
+
"version()": {
|
|
87
|
+
"notice": "Contract version."
|
|
79
88
|
}
|
|
80
89
|
},
|
|
81
90
|
"version": 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"errors": {
|
|
3
|
-
"
|
|
3
|
+
"LSP14CannotTransferOwnershipToSelf()": [
|
|
4
4
|
{
|
|
5
5
|
"notice": "Cannot transfer ownership to the address of the contract itself."
|
|
6
6
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
|
-
"
|
|
13
|
+
"LSP14NotInRenounceOwnershipInterval(uint256,uint256)": [
|
|
14
14
|
{
|
|
15
15
|
"notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
|
|
16
16
|
}
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"events": {
|
|
20
20
|
"ContractCreated(uint256,address,uint256,bytes32)": {
|
|
21
|
-
"notice": "
|
|
21
|
+
"notice": "Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`)."
|
|
22
22
|
},
|
|
23
23
|
"DataChanged(bytes32,bytes)": {
|
|
24
|
-
"notice": "
|
|
24
|
+
"notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
|
|
25
25
|
},
|
|
26
26
|
"Executed(uint256,address,uint256,bytes4)": {
|
|
27
|
-
"notice": "
|
|
27
|
+
"notice": "Called address `target` using `operationType` with `value` wei and `data`."
|
|
28
28
|
},
|
|
29
29
|
"OwnershipRenounced()": {
|
|
30
30
|
"notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
|
|
@@ -37,9 +37,6 @@
|
|
|
37
37
|
},
|
|
38
38
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
39
39
|
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
40
|
-
},
|
|
41
|
-
"ValueReceived(address,uint256)": {
|
|
42
|
-
"notice": "`value` native tokens received from `sender`."
|
|
43
40
|
}
|
|
44
41
|
},
|
|
45
42
|
"kind": "user",
|
|
@@ -53,11 +50,17 @@
|
|
|
53
50
|
"constructor": {
|
|
54
51
|
"notice": "deploying a `UniversalProfileInit` base contract to be used behind proxy"
|
|
55
52
|
},
|
|
53
|
+
"execute(uint256,address,uint256,bytes)": {
|
|
54
|
+
"notice": "Calling address `target` using `operationType`, transferring `value` wei and data: `data`."
|
|
55
|
+
},
|
|
56
|
+
"executeBatch(uint256[],address[],uint256[],bytes[])": {
|
|
57
|
+
"notice": "Calling multiple addresses `targets` using `operationsType`, transferring `values` wei and data: `datas`."
|
|
58
|
+
},
|
|
56
59
|
"getData(bytes32)": {
|
|
57
|
-
"notice": "
|
|
60
|
+
"notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
|
|
58
61
|
},
|
|
59
62
|
"getDataBatch(bytes32[])": {
|
|
60
|
-
"notice": "
|
|
63
|
+
"notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
|
|
61
64
|
},
|
|
62
65
|
"initialize(address)": {
|
|
63
66
|
"notice": "Initializing a UniversalProfile contract with owner set to address `initialOwner`."
|
|
@@ -69,7 +72,10 @@
|
|
|
69
72
|
"notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
|
|
70
73
|
},
|
|
71
74
|
"setData(bytes32,bytes)": {
|
|
72
|
-
"notice": "
|
|
75
|
+
"notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
|
|
76
|
+
},
|
|
77
|
+
"setDataBatch(bytes32[],bytes[])": {
|
|
78
|
+
"notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
|
|
73
79
|
},
|
|
74
80
|
"supportsInterface(bytes4)": {
|
|
75
81
|
"notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
|
|
@@ -79,6 +85,9 @@
|
|
|
79
85
|
},
|
|
80
86
|
"universalReceiver(bytes32,bytes)": {
|
|
81
87
|
"notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
88
|
+
},
|
|
89
|
+
"version()": {
|
|
90
|
+
"notice": "Contract version."
|
|
82
91
|
}
|
|
83
92
|
},
|
|
84
93
|
"version": 1
|