@lukso/lsp-smart-contracts 0.11.0-rc.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/artifacts/LSP0ERC725Account.json +7 -2
- package/artifacts/LSP0ERC725AccountInit.json +7 -2
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +3 -79
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +3 -41
- package/artifacts/LSP23LinkedContractsFactory.json +544 -0
- package/artifacts/LSP6KeyManager.json +24 -19
- package/artifacts/LSP6KeyManagerInit.json +24 -19
- package/artifacts/LSP7CappedSupply.json +88 -0
- package/artifacts/LSP7CappedSupplyInitAbstract.json +88 -0
- package/artifacts/LSP7CompatibleERC20.json +88 -0
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +88 -0
- package/artifacts/LSP7CompatibleERC20Mintable.json +90 -2
- package/artifacts/LSP7CompatibleERC20MintableInit.json +90 -2
- package/artifacts/LSP7DigitalAsset.json +88 -0
- package/artifacts/LSP7DigitalAssetInitAbstract.json +88 -0
- package/artifacts/LSP7Mintable.json +90 -2
- package/artifacts/LSP7MintableInit.json +90 -2
- package/artifacts/LSP8CappedSupply.json +59 -0
- package/artifacts/LSP8CappedSupplyInitAbstract.json +59 -0
- package/artifacts/LSP8CompatibleERC721.json +60 -1
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +60 -1
- package/artifacts/LSP8CompatibleERC721Mintable.json +62 -3
- package/artifacts/LSP8CompatibleERC721MintableInit.json +62 -3
- package/artifacts/LSP8IdentifiableDigitalAsset.json +59 -0
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +59 -0
- package/artifacts/LSP8Mintable.json +61 -2
- package/artifacts/LSP8MintableInit.json +61 -2
- package/artifacts/LSP9Vault.json +7 -2
- package/artifacts/LSP9VaultInit.json +7 -2
- package/artifacts/UniversalProfile.json +7 -2
- package/artifacts/UniversalProfileInit.json +7 -2
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +8 -36
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +15 -30
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +122 -206
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +18 -36
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +8 -34
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +148 -177
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +21 -20
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +13 -2
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +50 -20
- package/contracts/LSP17ContractExtension/LSP17Errors.sol +10 -0
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +16 -34
- package/contracts/LSP17ContractExtension/LSP17Utils.sol +1 -1
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +16 -11
- package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +5 -10
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +192 -177
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +150 -88
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +66 -48
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +1 -1
- package/contracts/LSP23LinkedContractsDeployment/ILSP23LinkedContractsFactory.sol +192 -0
- package/contracts/LSP23LinkedContractsDeployment/IPostDeploymentModule.sol +18 -0
- package/contracts/LSP23LinkedContractsDeployment/LSP23Errors.sol +24 -0
- package/contracts/LSP23LinkedContractsDeployment/LSP23LinkedContractsFactory.sol +392 -0
- package/contracts/{LSP23MultiChainDeployment → LSP23LinkedContractsDeployment}/modules/UniversalProfileInitPostDeploymentModule.sol +5 -1
- package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfilePostDeploymentModule.sol +61 -0
- package/contracts/LSP25ExecuteRelayCall/ILSP25ExecuteRelayCall.sol +68 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +8 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25Errors.sol +17 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +143 -0
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +256 -61
- package/contracts/{LSP3UniversalProfile → LSP3ProfileMetadata}/LSP3Constants.sol +3 -3
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +9 -8
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +13 -6
- package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +4 -4
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +148 -189
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +26 -54
- package/contracts/LSP6KeyManager/LSP6Constants.sol +1 -3
- package/contracts/LSP6KeyManager/LSP6Errors.sol +142 -63
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +7 -4
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +125 -80
- package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +8 -4
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +52 -84
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +59 -10
- package/contracts/LSP6KeyManager/LSP6Utils.sol +67 -46
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +116 -78
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +4 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +128 -6
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +212 -80
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +126 -3
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +7 -5
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +27 -14
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +2 -4
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +2 -4
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +29 -11
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +30 -9
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +46 -14
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +43 -12
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +14 -0
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +9 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +7 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +8 -8
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +7 -6
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +10 -2
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +120 -92
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +4 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +135 -6
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +128 -38
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +134 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +83 -41
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +13 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +24 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +30 -12
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +31 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +96 -31
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +98 -23
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +21 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +12 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +21 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +9 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +15 -6
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +7 -5
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +17 -2
- package/contracts/LSP9Vault/ILSP9Vault.sol +10 -5
- package/contracts/LSP9Vault/LSP9Errors.sol +3 -2
- package/contracts/LSP9Vault/LSP9Vault.sol +12 -4
- package/contracts/LSP9Vault/LSP9VaultCore.sol +245 -182
- package/contracts/LSP9Vault/LSP9VaultInit.sol +10 -3
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -6
- package/contracts/UniversalProfile.sol +8 -6
- package/contracts/UniversalProfileInit.sol +6 -6
- package/contracts/UniversalProfileInitAbstract.sol +10 -3
- package/devdocs/LSP0ERC725Account.json +54 -37
- package/devdocs/LSP0ERC725AccountInit.json +56 -38
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +14 -55
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +9 -33
- package/devdocs/LSP23LinkedContractsFactory.json +81 -0
- package/devdocs/LSP4DigitalAssetMetadata.json +5 -5
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +4 -4
- package/devdocs/LSP6KeyManager.json +109 -70
- package/devdocs/LSP6KeyManagerInit.json +109 -70
- package/devdocs/LSP7CappedSupply.json +90 -42
- package/devdocs/LSP7CappedSupplyInitAbstract.json +86 -40
- package/devdocs/LSP7CompatibleERC20.json +79 -43
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +75 -39
- package/devdocs/LSP7CompatibleERC20Mintable.json +87 -40
- package/devdocs/LSP7CompatibleERC20MintableInit.json +82 -42
- package/devdocs/LSP7DigitalAsset.json +76 -40
- package/devdocs/LSP7DigitalAssetInitAbstract.json +73 -37
- package/devdocs/LSP7Mintable.json +79 -51
- package/devdocs/LSP7MintableInit.json +78 -49
- package/devdocs/LSP8CappedSupply.json +72 -43
- package/devdocs/LSP8CappedSupplyInitAbstract.json +68 -41
- package/devdocs/LSP8CompatibleERC721.json +85 -64
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +81 -60
- package/devdocs/LSP8CompatibleERC721Mintable.json +98 -60
- package/devdocs/LSP8CompatibleERC721MintableInit.json +93 -62
- package/devdocs/LSP8IdentifiableDigitalAsset.json +58 -41
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -40
- package/devdocs/LSP8Mintable.json +65 -48
- package/devdocs/LSP8MintableInit.json +64 -47
- package/devdocs/LSP9Vault.json +61 -18
- package/devdocs/LSP9VaultInit.json +59 -17
- package/devdocs/UniversalProfile.json +53 -35
- package/devdocs/UniversalProfileInit.json +53 -35
- package/dist/constants.cjs.js +6236 -2587
- package/dist/constants.d.ts +3851 -1129
- package/dist/constants.es.js +6236 -2587
- package/package.json +6 -4
- package/userdocs/LSP0ERC725Account.json +40 -8
- package/userdocs/LSP0ERC725AccountInit.json +40 -8
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +18 -2
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +18 -2
- package/userdocs/LSP23LinkedContractsFactory.json +29 -0
- package/userdocs/LSP4DigitalAssetMetadata.json +1 -1
- package/userdocs/LSP6KeyManager.json +144 -6
- package/userdocs/LSP6KeyManagerInit.json +147 -6
- package/userdocs/LSP7CappedSupply.json +18 -3
- package/userdocs/LSP7CappedSupplyInitAbstract.json +17 -2
- package/userdocs/LSP7CompatibleERC20.json +3 -9
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +2 -8
- package/userdocs/LSP7CompatibleERC20Mintable.json +5 -8
- package/userdocs/LSP7CompatibleERC20MintableInit.json +3 -9
- package/userdocs/LSP7DigitalAsset.json +2 -2
- package/userdocs/LSP7DigitalAssetInitAbstract.json +2 -2
- package/userdocs/LSP7Mintable.json +3 -3
- package/userdocs/LSP7MintableInit.json +3 -3
- package/userdocs/LSP8CappedSupply.json +16 -1
- package/userdocs/LSP8CappedSupplyInitAbstract.json +15 -0
- package/userdocs/LSP8CompatibleERC721.json +24 -3
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +23 -2
- package/userdocs/LSP8CompatibleERC721Mintable.json +29 -2
- package/userdocs/LSP8CompatibleERC721MintableInit.json +27 -3
- package/userdocs/LSP8Mintable.json +4 -1
- package/userdocs/LSP8MintableInit.json +4 -1
- package/userdocs/LSP9Vault.json +50 -4
- package/userdocs/LSP9VaultInit.json +50 -4
- package/userdocs/UniversalProfile.json +40 -8
- package/userdocs/UniversalProfileInit.json +40 -8
- package/contracts/LSP0ERC725Account/LSP0Utils.sol +0 -47
- package/contracts/LSP23MultiChainDeployment/IOwnerControlledContractDeployer.sol +0 -174
- package/contracts/LSP23MultiChainDeployment/IPostDeploymentModule.sol +0 -10
- package/contracts/LSP23MultiChainDeployment/LSP23Errors.sol +0 -24
- package/contracts/LSP23MultiChainDeployment/OwnerControlledContractDeployer.sol +0 -388
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukso/lsp-smart-contracts",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "The reference implementation for universal profiles smart contracts",
|
|
5
5
|
"directories": {
|
|
6
6
|
"test": "test"
|
|
@@ -62,9 +62,11 @@
|
|
|
62
62
|
"test:lsp9init": "hardhat test --no-compile tests/LSP9Vault/LSP9VaultInit.test.ts",
|
|
63
63
|
"test:lsp11": "hardhat test --no-compile tests/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.test.ts",
|
|
64
64
|
"test:lsp11init": "hardhat test --no-compile tests/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.test.ts",
|
|
65
|
+
"test:lsp17": "hardhat test --no-compile tests/LSP17ContractExtension/LSP17Extendable.test.ts",
|
|
65
66
|
"test:lsp20": "hardhat test --no-compile tests/LSP20CallVerification/LSP6/LSP20WithLSP6.test.ts",
|
|
66
67
|
"test:lsp20init": "hardhat test --no-compile tests/LSP20CallVerification/LSP6/LSP20WithLSP6Init.test.ts",
|
|
67
|
-
"test:lsp23": "hardhat test --no-compile tests/
|
|
68
|
+
"test:lsp23": "hardhat test --no-compile tests/LSP23LinkedContractsDeployment/LSP23LinkedContractsDeployment.test.ts",
|
|
69
|
+
"test:lsp25": "hardhat test --no-compile tests/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.test.ts",
|
|
68
70
|
"test:universalfactory": "hardhat test --no-compile tests/LSP16UniversalFactory/LSP16UniversalFactory.test.ts",
|
|
69
71
|
"test:reentrancy": "hardhat test --no-compile tests/Reentrancy/Reentrancy.test.ts",
|
|
70
72
|
"test:reentrancyinit": "hardhat test --no-compile tests/Reentrancy/ReentrancyInit.test.ts",
|
|
@@ -99,13 +101,13 @@
|
|
|
99
101
|
},
|
|
100
102
|
"homepage": "https://github.com/lukso-network/lsp-smart-contracts#readme",
|
|
101
103
|
"dependencies": {
|
|
102
|
-
"@erc725/smart-contracts": "^5.
|
|
104
|
+
"@erc725/smart-contracts": "^5.2.0",
|
|
103
105
|
"@openzeppelin/contracts": "^4.9.2",
|
|
104
106
|
"@openzeppelin/contracts-upgradeable": "^4.9.2",
|
|
105
107
|
"solidity-bytes-utils": "0.8.0"
|
|
106
108
|
},
|
|
107
109
|
"devDependencies": {
|
|
108
|
-
"@b00ste/hardhat-dodoc": "^0.3.
|
|
110
|
+
"@b00ste/hardhat-dodoc": "^0.3.11",
|
|
109
111
|
"@defi-wonderland/smock": "^2.3.4",
|
|
110
112
|
"@erc725/erc725.js": "0.17.2",
|
|
111
113
|
"@lukso/eip191-signer.js": "^0.2.2",
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"CannotTransferOwnershipToSelf()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "Cannot transfer ownership to the address of the contract itself."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"LSP14MustAcceptOwnershipInSeparateTransaction()": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"NotInRenounceOwnershipInterval(uint256,uint256)": [
|
|
14
|
+
{
|
|
15
|
+
"notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
2
19
|
"events": {
|
|
3
20
|
"ContractCreated(uint256,address,uint256,bytes32)": {
|
|
4
21
|
"notice": "Emitted when deploying a contract"
|
|
@@ -9,20 +26,32 @@
|
|
|
9
26
|
"Executed(uint256,address,uint256,bytes4)": {
|
|
10
27
|
"notice": "Emitted when calling an address (EOA or contract)"
|
|
11
28
|
},
|
|
29
|
+
"OwnershipRenounced()": {
|
|
30
|
+
"notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
|
|
31
|
+
},
|
|
32
|
+
"OwnershipTransferStarted(address,address)": {
|
|
33
|
+
"notice": "The transfer of ownership of the contract was initiated. Pending new owner set to: `newOwner`."
|
|
34
|
+
},
|
|
35
|
+
"RenounceOwnershipStarted()": {
|
|
36
|
+
"notice": "Ownership renouncement initiated."
|
|
37
|
+
},
|
|
12
38
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
13
|
-
"notice": "
|
|
39
|
+
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
14
40
|
},
|
|
15
41
|
"ValueReceived(address,uint256)": {
|
|
16
|
-
"notice": "
|
|
42
|
+
"notice": "`value` native tokens received from `sender`."
|
|
17
43
|
}
|
|
18
44
|
},
|
|
19
45
|
"kind": "user",
|
|
20
46
|
"methods": {
|
|
21
47
|
"acceptOwnership()": {
|
|
22
|
-
"notice": "
|
|
48
|
+
"notice": "`msg.sender` is accepting ownership of contract: `address(this)`."
|
|
49
|
+
},
|
|
50
|
+
"batchCalls(bytes[])": {
|
|
51
|
+
"notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
|
|
23
52
|
},
|
|
24
53
|
"constructor": {
|
|
25
|
-
"notice": "Deploying
|
|
54
|
+
"notice": "Deploying a LSP0ERC725Account contract with owner set to address `initialOwner`."
|
|
26
55
|
},
|
|
27
56
|
"getData(bytes32)": {
|
|
28
57
|
"notice": "Gets singular data at a given `dataKey`"
|
|
@@ -34,16 +63,19 @@
|
|
|
34
63
|
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
35
64
|
},
|
|
36
65
|
"renounceOwnership()": {
|
|
37
|
-
"notice": "
|
|
66
|
+
"notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
|
|
67
|
+
},
|
|
68
|
+
"setData(bytes32,bytes)": {
|
|
69
|
+
"notice": "Sets singular data for a given `dataKey`"
|
|
38
70
|
},
|
|
39
71
|
"supportsInterface(bytes4)": {
|
|
40
|
-
"notice": "
|
|
72
|
+
"notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
|
|
41
73
|
},
|
|
42
74
|
"transferOwnership(address)": {
|
|
43
|
-
"notice": "
|
|
75
|
+
"notice": "Transfer ownership initiated by `newOwner`."
|
|
44
76
|
},
|
|
45
77
|
"universalReceiver(bytes32,bytes)": {
|
|
46
|
-
"notice": "
|
|
78
|
+
"notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
47
79
|
}
|
|
48
80
|
},
|
|
49
81
|
"version": 1
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"CannotTransferOwnershipToSelf()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "Cannot transfer ownership to the address of the contract itself."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"LSP14MustAcceptOwnershipInSeparateTransaction()": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"NotInRenounceOwnershipInterval(uint256,uint256)": [
|
|
14
|
+
{
|
|
15
|
+
"notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
2
19
|
"events": {
|
|
3
20
|
"ContractCreated(uint256,address,uint256,bytes32)": {
|
|
4
21
|
"notice": "Emitted when deploying a contract"
|
|
@@ -9,17 +26,29 @@
|
|
|
9
26
|
"Executed(uint256,address,uint256,bytes4)": {
|
|
10
27
|
"notice": "Emitted when calling an address (EOA or contract)"
|
|
11
28
|
},
|
|
29
|
+
"OwnershipRenounced()": {
|
|
30
|
+
"notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
|
|
31
|
+
},
|
|
32
|
+
"OwnershipTransferStarted(address,address)": {
|
|
33
|
+
"notice": "The transfer of ownership of the contract was initiated. Pending new owner set to: `newOwner`."
|
|
34
|
+
},
|
|
35
|
+
"RenounceOwnershipStarted()": {
|
|
36
|
+
"notice": "Ownership renouncement initiated."
|
|
37
|
+
},
|
|
12
38
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
13
|
-
"notice": "
|
|
39
|
+
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
14
40
|
},
|
|
15
41
|
"ValueReceived(address,uint256)": {
|
|
16
|
-
"notice": "
|
|
42
|
+
"notice": "`value` native tokens received from `sender`."
|
|
17
43
|
}
|
|
18
44
|
},
|
|
19
45
|
"kind": "user",
|
|
20
46
|
"methods": {
|
|
21
47
|
"acceptOwnership()": {
|
|
22
|
-
"notice": "
|
|
48
|
+
"notice": "`msg.sender` is accepting ownership of contract: `address(this)`."
|
|
49
|
+
},
|
|
50
|
+
"batchCalls(bytes[])": {
|
|
51
|
+
"notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
|
|
23
52
|
},
|
|
24
53
|
"constructor": {
|
|
25
54
|
"notice": "deploying a `LSP0ERC725AccountInit` base contract to be used behind proxy"
|
|
@@ -31,22 +60,25 @@
|
|
|
31
60
|
"notice": "Gets array of data for multiple given keys"
|
|
32
61
|
},
|
|
33
62
|
"initialize(address)": {
|
|
34
|
-
"notice": "Initializing
|
|
63
|
+
"notice": "Initializing a LSP0ERC725Account contract with owner set to address `initialOwner`."
|
|
35
64
|
},
|
|
36
65
|
"isValidSignature(bytes32,bytes)": {
|
|
37
66
|
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
38
67
|
},
|
|
39
68
|
"renounceOwnership()": {
|
|
40
|
-
"notice": "
|
|
69
|
+
"notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
|
|
70
|
+
},
|
|
71
|
+
"setData(bytes32,bytes)": {
|
|
72
|
+
"notice": "Sets singular data for a given `dataKey`"
|
|
41
73
|
},
|
|
42
74
|
"supportsInterface(bytes4)": {
|
|
43
|
-
"notice": "
|
|
75
|
+
"notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
|
|
44
76
|
},
|
|
45
77
|
"transferOwnership(address)": {
|
|
46
|
-
"notice": "
|
|
78
|
+
"notice": "Transfer ownership initiated by `newOwner`."
|
|
47
79
|
},
|
|
48
80
|
"universalReceiver(bytes32,bytes)": {
|
|
49
|
-
"notice": "
|
|
81
|
+
"notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
50
82
|
}
|
|
51
83
|
},
|
|
52
84
|
"version": 1
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"CannotRegisterEOAsAsAssets(address)": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "EOA: `caller` cannot be registered as an asset."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"NativeTokensNotAccepted()": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "Cannot send native tokens to {universalReceiver(...)} function of the delegated contract."
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
2
14
|
"events": {
|
|
3
15
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
4
|
-
"notice": "
|
|
16
|
+
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
5
17
|
}
|
|
6
18
|
},
|
|
7
19
|
"kind": "user",
|
|
8
|
-
"methods": {
|
|
20
|
+
"methods": {
|
|
21
|
+
"universalReceiver(bytes32,bytes)": {
|
|
22
|
+
"notice": "Reacted on received notification with `typeId`."
|
|
23
|
+
}
|
|
24
|
+
},
|
|
9
25
|
"version": 1
|
|
10
26
|
}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"CannotRegisterEOAsAsAssets(address)": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "EOA: `caller` cannot be registered as an asset."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"NativeTokensNotAccepted()": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "Cannot send native tokens to {universalReceiver(...)} function of the delegated contract."
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
2
14
|
"events": {
|
|
3
15
|
"UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
|
|
4
|
-
"notice": "
|
|
16
|
+
"notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
|
|
5
17
|
}
|
|
6
18
|
},
|
|
7
19
|
"kind": "user",
|
|
8
|
-
"methods": {
|
|
20
|
+
"methods": {
|
|
21
|
+
"universalReceiver(bytes32,bytes)": {
|
|
22
|
+
"notice": "Reacted on received notification with `typeId`."
|
|
23
|
+
}
|
|
24
|
+
},
|
|
9
25
|
"version": 1
|
|
10
26
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"InvalidValueSum()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "Invalid value sent."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"PrimaryContractProxyInitFailureError(bytes)": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "Failed to deploy & initialize the Primary Contract Proxy. Error: `errorData`."
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"SecondaryContractProxyInitFailureError(bytes)": [
|
|
14
|
+
{
|
|
15
|
+
"notice": "Failed to deploy & initialize the Secondary Contract Proxy. Error: `errorData`."
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"kind": "user",
|
|
20
|
+
"methods": {
|
|
21
|
+
"deployContracts((bytes32,uint256,bytes),(uint256,bytes,bool,bytes),address,bytes)": {
|
|
22
|
+
"notice": "Contracts deployed. Contract Address: `primaryContractAddress`. Primary Contract Address: `primaryContractAddress`"
|
|
23
|
+
},
|
|
24
|
+
"deployERC1167Proxies((bytes32,uint256,address,bytes),(uint256,address,bytes,bool,bytes),address,bytes)": {
|
|
25
|
+
"notice": "Contract proxies deployed. Primary Proxy Address: `primaryContractAddress`. Secondary Contract Proxy Address: `secondaryContractAddress`"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"version": 1
|
|
29
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"kind": "user",
|
|
8
8
|
"methods": {
|
|
9
9
|
"constructor": {
|
|
10
|
-
"notice": "
|
|
10
|
+
"notice": "Deploying a digital asset `name_` with the `symbol_` symbol."
|
|
11
11
|
},
|
|
12
12
|
"getData(bytes32)": {
|
|
13
13
|
"notice": "Gets singular data at a given `dataKey`"
|
|
@@ -1,17 +1,155 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"BatchExecuteParamsLengthMismatch()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "The array parameters provided to the function `executeBatch(...)` do not have the same number of elements. (Different array param's length)."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"BatchExecuteRelayCallParamsLengthMismatch()": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "The array parameters provided to the function `executeRelayCallBatch(...)` do not have the same number of elements. (Different array param's length)."
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"CallingKeyManagerNotAllowed()": [
|
|
14
|
+
{
|
|
15
|
+
"notice": "Calling the Key Manager address for this transaction is disallowed."
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"CannotSendValueToSetData()": [
|
|
19
|
+
{
|
|
20
|
+
"notice": "Cannot sent native tokens while setting data."
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"DelegateCallDisallowedViaKeyManager()": [
|
|
24
|
+
{
|
|
25
|
+
"notice": "Performing DELEGATE CALLS via the Key Manager is currently disallowed."
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"InvalidDataValuesForDataKeys(bytes32,bytes)": [
|
|
29
|
+
{
|
|
30
|
+
"notice": "Data value: `dataValue` length is different from the required length for the data key which is set."
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"InvalidERC725Function(bytes4)": [
|
|
34
|
+
{
|
|
35
|
+
"notice": "The Key Manager could not verify the calldata of the transaction because it could not recognise the function being called. Invalid function selector: `invalidFunction`."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"InvalidEncodedAllowedCalls(bytes)": [
|
|
39
|
+
{
|
|
40
|
+
"notice": "Could not decode the Allowed Calls. Value = `allowedCallsValue`."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"InvalidEncodedAllowedERC725YDataKeys(bytes,string)": [
|
|
44
|
+
{
|
|
45
|
+
"notice": "Error when reading the Allowed ERC725Y Data Keys. Reason: `context`, Allowed ERC725Y Data Keys value read: `value`."
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"InvalidLSP6Target()": [
|
|
49
|
+
{
|
|
50
|
+
"notice": "Invalid address supplied to link this Key Manager to (`address(0)`)."
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"InvalidPayload(bytes)": [
|
|
54
|
+
{
|
|
55
|
+
"notice": "Invalid calldata payload sent."
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"InvalidRelayNonce(address,uint256,bytes)": [
|
|
59
|
+
{
|
|
60
|
+
"notice": "The relay call failed because an invalid nonce was provided for the address `signer` that signed the execute relay call. Invalid nonce: `invalidNonce`, signature of signer: `signature`."
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"InvalidWhitelistedCall(address)": [
|
|
64
|
+
{
|
|
65
|
+
"notice": "Invalid allowed calls (`0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff`) set for address `from`. Could not perform external call."
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"KeyManagerCannotBeSetAsExtensionForLSP20Functions()": [
|
|
69
|
+
{
|
|
70
|
+
"notice": "Key Manager cannot be used as an LSP17 extension for LSP20 functions."
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"LSP6BatchExcessiveValueSent(uint256,uint256)": [
|
|
74
|
+
{
|
|
75
|
+
"notice": "Too much funds sent to forward each amount in the batch. No amount of native tokens should stay in the Key Manager."
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"LSP6BatchInsufficientValueSent(uint256,uint256)": [
|
|
79
|
+
{
|
|
80
|
+
"notice": "Not enough funds sent to forward each amount in the batch."
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"NoCallsAllowed(address)": [
|
|
84
|
+
{
|
|
85
|
+
"notice": "The address `from` is not authorised to use the linked account contract to make external calls, because it has no Allowed Calls set."
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"NoERC725YDataKeysAllowed(address)": [
|
|
89
|
+
{
|
|
90
|
+
"notice": "The address `from` is not authorised to set data, because it has no ERC725Y Data Key allowed."
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"NoPermissionsSet(address)": [
|
|
94
|
+
{
|
|
95
|
+
"notice": "The address `from` does not have any permission set on the contract linked to the Key Manager."
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"NotAllowedCall(address,address,bytes4)": [
|
|
99
|
+
{
|
|
100
|
+
"notice": "The address `from` is not authorised to call the function `selector` on the `to` address."
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"NotAllowedERC725YDataKey(address,bytes32)": [
|
|
104
|
+
{
|
|
105
|
+
"notice": "The address `from` is not authorised to set the data key `disallowedKey` on the contract linked to the Key Manager."
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"NotAuthorised(address,string)": [
|
|
109
|
+
{
|
|
110
|
+
"notice": "The address `from` is not authorised to `permission` on the contract linked to the Key Manager."
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"NotRecognisedPermissionKey(bytes32)": [
|
|
114
|
+
{
|
|
115
|
+
"notice": "The data key `dataKey` starts with `AddressPermissions` prefix but is none of the permission data keys defined in LSP6."
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"RelayCallBeforeStartTime()": [
|
|
119
|
+
{
|
|
120
|
+
"notice": "Relay call not valid yet."
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"RelayCallExpired()": [
|
|
124
|
+
{
|
|
125
|
+
"notice": "Relay call expired (deadline passed)."
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"events": {
|
|
130
|
+
"PermissionsVerified(address,uint256,bytes4)": {
|
|
131
|
+
"notice": "Verified the permissions of `signer` for calling function `selector` on the linked account and sending `value` of native token."
|
|
132
|
+
}
|
|
133
|
+
},
|
|
2
134
|
"kind": "user",
|
|
3
135
|
"methods": {
|
|
4
136
|
"constructor": {
|
|
5
|
-
"notice": "
|
|
137
|
+
"notice": "Deploying a LSP6KeyManager linked to the contract at address `target_`."
|
|
6
138
|
},
|
|
7
139
|
"execute(bytes)": {
|
|
8
|
-
"notice": "
|
|
140
|
+
"notice": "Executing the following payload on the linked contract: `payload`"
|
|
9
141
|
},
|
|
10
|
-
"
|
|
11
|
-
"notice": "
|
|
142
|
+
"executeBatch(uint256[],bytes[])": {
|
|
143
|
+
"notice": "Executing the following batch of payloads and sensind on the linked contract. - payloads: `payloads` - values transferred for each payload: `values`"
|
|
12
144
|
},
|
|
13
|
-
"
|
|
14
|
-
"notice": "
|
|
145
|
+
"executeRelayCall(bytes,uint256,uint256,bytes)": {
|
|
146
|
+
"notice": "Executing the following payload given the nonce `nonce` and signature `signature`. Payload: `payload`"
|
|
147
|
+
},
|
|
148
|
+
"executeRelayCallBatch(bytes[],uint256[],uint256[],uint256[],bytes[])": {
|
|
149
|
+
"notice": "Executing a batch of relay calls (= meta-transactions)."
|
|
150
|
+
},
|
|
151
|
+
"getNonce(address,uint128)": {
|
|
152
|
+
"notice": "Reading the latest nonce of address `from` in the channel ID `channelId`."
|
|
15
153
|
}
|
|
16
154
|
},
|
|
17
155
|
"version": 1
|
|
@@ -1,17 +1,158 @@
|
|
|
1
1
|
{
|
|
2
|
+
"errors": {
|
|
3
|
+
"BatchExecuteParamsLengthMismatch()": [
|
|
4
|
+
{
|
|
5
|
+
"notice": "The array parameters provided to the function `executeBatch(...)` do not have the same number of elements. (Different array param's length)."
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"BatchExecuteRelayCallParamsLengthMismatch()": [
|
|
9
|
+
{
|
|
10
|
+
"notice": "The array parameters provided to the function `executeRelayCallBatch(...)` do not have the same number of elements. (Different array param's length)."
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"CallingKeyManagerNotAllowed()": [
|
|
14
|
+
{
|
|
15
|
+
"notice": "Calling the Key Manager address for this transaction is disallowed."
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"CannotSendValueToSetData()": [
|
|
19
|
+
{
|
|
20
|
+
"notice": "Cannot sent native tokens while setting data."
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"DelegateCallDisallowedViaKeyManager()": [
|
|
24
|
+
{
|
|
25
|
+
"notice": "Performing DELEGATE CALLS via the Key Manager is currently disallowed."
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"InvalidDataValuesForDataKeys(bytes32,bytes)": [
|
|
29
|
+
{
|
|
30
|
+
"notice": "Data value: `dataValue` length is different from the required length for the data key which is set."
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"InvalidERC725Function(bytes4)": [
|
|
34
|
+
{
|
|
35
|
+
"notice": "The Key Manager could not verify the calldata of the transaction because it could not recognise the function being called. Invalid function selector: `invalidFunction`."
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"InvalidEncodedAllowedCalls(bytes)": [
|
|
39
|
+
{
|
|
40
|
+
"notice": "Could not decode the Allowed Calls. Value = `allowedCallsValue`."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"InvalidEncodedAllowedERC725YDataKeys(bytes,string)": [
|
|
44
|
+
{
|
|
45
|
+
"notice": "Error when reading the Allowed ERC725Y Data Keys. Reason: `context`, Allowed ERC725Y Data Keys value read: `value`."
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"InvalidLSP6Target()": [
|
|
49
|
+
{
|
|
50
|
+
"notice": "Invalid address supplied to link this Key Manager to (`address(0)`)."
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"InvalidPayload(bytes)": [
|
|
54
|
+
{
|
|
55
|
+
"notice": "Invalid calldata payload sent."
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"InvalidRelayNonce(address,uint256,bytes)": [
|
|
59
|
+
{
|
|
60
|
+
"notice": "The relay call failed because an invalid nonce was provided for the address `signer` that signed the execute relay call. Invalid nonce: `invalidNonce`, signature of signer: `signature`."
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"InvalidWhitelistedCall(address)": [
|
|
64
|
+
{
|
|
65
|
+
"notice": "Invalid allowed calls (`0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff`) set for address `from`. Could not perform external call."
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"KeyManagerCannotBeSetAsExtensionForLSP20Functions()": [
|
|
69
|
+
{
|
|
70
|
+
"notice": "Key Manager cannot be used as an LSP17 extension for LSP20 functions."
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"LSP6BatchExcessiveValueSent(uint256,uint256)": [
|
|
74
|
+
{
|
|
75
|
+
"notice": "Too much funds sent to forward each amount in the batch. No amount of native tokens should stay in the Key Manager."
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"LSP6BatchInsufficientValueSent(uint256,uint256)": [
|
|
79
|
+
{
|
|
80
|
+
"notice": "Not enough funds sent to forward each amount in the batch."
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"NoCallsAllowed(address)": [
|
|
84
|
+
{
|
|
85
|
+
"notice": "The address `from` is not authorised to use the linked account contract to make external calls, because it has no Allowed Calls set."
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"NoERC725YDataKeysAllowed(address)": [
|
|
89
|
+
{
|
|
90
|
+
"notice": "The address `from` is not authorised to set data, because it has no ERC725Y Data Key allowed."
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"NoPermissionsSet(address)": [
|
|
94
|
+
{
|
|
95
|
+
"notice": "The address `from` does not have any permission set on the contract linked to the Key Manager."
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"NotAllowedCall(address,address,bytes4)": [
|
|
99
|
+
{
|
|
100
|
+
"notice": "The address `from` is not authorised to call the function `selector` on the `to` address."
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"NotAllowedERC725YDataKey(address,bytes32)": [
|
|
104
|
+
{
|
|
105
|
+
"notice": "The address `from` is not authorised to set the data key `disallowedKey` on the contract linked to the Key Manager."
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"NotAuthorised(address,string)": [
|
|
109
|
+
{
|
|
110
|
+
"notice": "The address `from` is not authorised to `permission` on the contract linked to the Key Manager."
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"NotRecognisedPermissionKey(bytes32)": [
|
|
114
|
+
{
|
|
115
|
+
"notice": "The data key `dataKey` starts with `AddressPermissions` prefix but is none of the permission data keys defined in LSP6."
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"RelayCallBeforeStartTime()": [
|
|
119
|
+
{
|
|
120
|
+
"notice": "Relay call not valid yet."
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"RelayCallExpired()": [
|
|
124
|
+
{
|
|
125
|
+
"notice": "Relay call expired (deadline passed)."
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"events": {
|
|
130
|
+
"PermissionsVerified(address,uint256,bytes4)": {
|
|
131
|
+
"notice": "Verified the permissions of `signer` for calling function `selector` on the linked account and sending `value` of native token."
|
|
132
|
+
}
|
|
133
|
+
},
|
|
2
134
|
"kind": "user",
|
|
3
135
|
"methods": {
|
|
136
|
+
"constructor": {
|
|
137
|
+
"notice": "Deploying a LSP6KeyManagerInit to be used as base contract behind proxy."
|
|
138
|
+
},
|
|
4
139
|
"execute(bytes)": {
|
|
5
|
-
"notice": "
|
|
140
|
+
"notice": "Executing the following payload on the linked contract: `payload`"
|
|
141
|
+
},
|
|
142
|
+
"executeBatch(uint256[],bytes[])": {
|
|
143
|
+
"notice": "Executing the following batch of payloads and sensind on the linked contract. - payloads: `payloads` - values transferred for each payload: `values`"
|
|
144
|
+
},
|
|
145
|
+
"executeRelayCall(bytes,uint256,uint256,bytes)": {
|
|
146
|
+
"notice": "Executing the following payload given the nonce `nonce` and signature `signature`. Payload: `payload`"
|
|
147
|
+
},
|
|
148
|
+
"executeRelayCallBatch(bytes[],uint256[],uint256[],uint256[],bytes[])": {
|
|
149
|
+
"notice": "Executing a batch of relay calls (= meta-transactions)."
|
|
6
150
|
},
|
|
7
151
|
"getNonce(address,uint128)": {
|
|
8
|
-
"notice": "
|
|
152
|
+
"notice": "Reading the latest nonce of address `from` in the channel ID `channelId`."
|
|
9
153
|
},
|
|
10
154
|
"initialize(address)": {
|
|
11
|
-
"notice": "
|
|
12
|
-
},
|
|
13
|
-
"target()": {
|
|
14
|
-
"notice": "returns the address of the account linked to this KeyManager"
|
|
155
|
+
"notice": "Initializing a LSP6KeyManagerInit linked to contract at address `target_`."
|
|
15
156
|
}
|
|
16
157
|
},
|
|
17
158
|
"version": 1
|