@lukso/lsp-smart-contracts 0.10.1 → 0.10.3
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 +0 -1
- package/artifacts/Create2Factory.json +2 -2
- package/artifacts/LSP0ERC725Account.json +3 -3
- package/artifacts/LSP0ERC725AccountInit.json +3 -3
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP16UniversalFactory.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
- package/artifacts/LSP6KeyManager.json +2 -2
- package/artifacts/LSP6KeyManagerInit.json +2 -2
- package/artifacts/LSP7CompatibleERC20Mintable.json +2 -2
- package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -2
- package/artifacts/LSP7Mintable.json +2 -2
- package/artifacts/LSP7MintableInit.json +2 -2
- package/artifacts/LSP8CompatibleERC721Mintable.json +2 -2
- package/artifacts/LSP8CompatibleERC721MintableInit.json +2 -2
- package/artifacts/LSP8Mintable.json +2 -2
- package/artifacts/LSP8MintableInit.json +2 -2
- package/artifacts/LSP9Vault.json +2 -2
- package/artifacts/LSP9VaultInit.json +2 -2
- package/artifacts/UniversalProfile.json +3 -3
- package/artifacts/UniversalProfileInit.json +3 -3
- package/artifacts/UniversalReceiverAddressStore.json +2 -2
- package/contracts/Factories/Create2Factory.sol +11 -3
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +13 -5
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +5 -5
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +256 -186
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +6 -2
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +13 -4
- package/contracts/LSP0ERC725Account/LSP0Utils.sol +3 -5
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +25 -10
- package/contracts/LSP11BasicSocialRecovery/ILSP11BasicSocialRecovery.sol +4 -2
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.sol +3 -1
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +65 -23
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.sol +7 -2
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInitAbstract.sol +14 -4
- package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +4 -1
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +17 -16
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +4 -1
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +22 -11
- package/contracts/LSP16UniversalFactory/LSP16UniversalFactory.sol +85 -27
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +38 -16
- package/contracts/LSP17ContractExtension/LSP17Extension.sol +20 -8
- package/contracts/LSP17ContractExtension/LSP17Utils.sol +4 -5
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +5 -5
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +38 -14
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +31 -11
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +34 -9
- package/contracts/LSP20CallVerification/{ILSP20CallVerification.sol → ILSP20CallVerifier.sol} +7 -2
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +24 -9
- package/contracts/LSP20CallVerification/LSP20Errors.sol +1 -1
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +62 -36
- package/contracts/LSP4DigitalAssetMetadata/ILSP4Compatibility.sol +3 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +15 -4
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +18 -5
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +32 -12
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +17 -8
- package/contracts/LSP6KeyManager/LSP6Constants.sol +3 -9
- package/contracts/LSP6KeyManager/LSP6Errors.sol +4 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +114 -72
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +7 -2
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +96 -46
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6OwnershipModule.sol +10 -5
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +98 -32
- package/contracts/LSP6KeyManager/LSP6Utils.sol +42 -34
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +8 -6
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +13 -10
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +96 -26
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +11 -9
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +8 -2
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +9 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +1 -5
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +4 -6
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +6 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +32 -12
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +28 -7
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +8 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +6 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +6 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +13 -3
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +14 -5
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +12 -10
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +95 -28
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +14 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +23 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +72 -30
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +77 -27
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +8 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +5 -1
- package/contracts/LSP9Vault/ILSP9Vault.sol +13 -5
- package/contracts/LSP9Vault/LSP9Vault.sol +7 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +108 -51
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +10 -3
- package/contracts/Legacy/Registries/AddressRegistry.sol +13 -4
- package/contracts/Legacy/Registries/AddressRegistryRequiresERC725.sol +6 -2
- package/contracts/Legacy/UniversalReceiverAddressStore.sol +17 -6
- package/contracts/UniversalProfile.sol +4 -1
- package/contracts/UniversalProfileInit.sol +3 -1
- package/contracts/UniversalProfileInitAbstract.sol +13 -4
- package/devdocs/LSP0ERC725Account.json +33 -19
- package/devdocs/LSP0ERC725AccountInit.json +30 -17
- package/devdocs/LSP9Vault.json +3 -3
- package/devdocs/LSP9VaultInit.json +3 -3
- package/devdocs/UniversalProfile.json +30 -17
- package/devdocs/UniversalProfileInit.json +30 -17
- package/dist/constants.cjs.js +142 -102
- package/dist/constants.d.ts +62 -10
- package/dist/constants.es.js +142 -102
- package/package.json +26 -23
- package/userdocs/LSP0ERC725Account.json +2 -2
- package/userdocs/LSP0ERC725AccountInit.json +2 -2
- package/userdocs/UniversalProfile.json +2 -2
- package/userdocs/UniversalProfileInit.json +2 -2
- package/contracts/Custom/EIP191Signer.sol +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukso/lsp-smart-contracts",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "The reference implementation for universal profiles smart contracts",
|
|
5
5
|
"directories": {
|
|
6
6
|
"test": "test"
|
|
@@ -21,24 +21,25 @@
|
|
|
21
21
|
"typings": "./dist/constants.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"require": "./dist/constants.cjs.js",
|
|
25
|
+
"import": "./dist/constants.es.js",
|
|
26
26
|
"types": "./dist/constants.d.ts"
|
|
27
27
|
},
|
|
28
28
|
"./constants.js": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
29
|
+
"require": "./dist/constants.cjs.js",
|
|
30
|
+
"import": "./dist/constants.es.js",
|
|
31
31
|
"types": "./dist/constants.d.ts"
|
|
32
32
|
},
|
|
33
33
|
"./constants": {
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"require": "./dist/constants.cjs.js",
|
|
35
|
+
"import": "./dist/constants.es.js",
|
|
36
36
|
"types": "./dist/constants.d.ts"
|
|
37
37
|
},
|
|
38
38
|
"./userdocs/*": "./userdocs",
|
|
39
39
|
"./devdocs/*": "./devdocs/*",
|
|
40
40
|
"./artifacts/*": "./artifacts/*",
|
|
41
|
-
"./dist/*": "./dist/*"
|
|
41
|
+
"./dist/*": "./dist/*",
|
|
42
|
+
"./package.json": "./package.json"
|
|
42
43
|
},
|
|
43
44
|
"scripts": {
|
|
44
45
|
"test": "hardhat test",
|
|
@@ -67,17 +68,16 @@
|
|
|
67
68
|
"test:reentrancy": "hardhat test --no-compile tests/Reentrancy/Reentrancy.test.ts",
|
|
68
69
|
"test:reentrancyinit": "hardhat test --no-compile tests/Reentrancy/ReentrancyInit.test.ts",
|
|
69
70
|
"test:foundry": "forge test --no-match-test Skip -vvv --gas-report > gasreport.ansi",
|
|
71
|
+
"test:importRequire": "npm run build:js && ./tests/importRequire.sh",
|
|
70
72
|
"clean": "hardhat clean && rm -rf module common",
|
|
71
|
-
"build": "hardhat
|
|
73
|
+
"build": "hardhat dodoc && ts-node scripts/interfaceIds.ts && prettier -w ./docs ",
|
|
72
74
|
"build:js": "vite build && dts-bundle-generator --config dtsconfig.json",
|
|
73
|
-
"build:android": "ts-node ./scripts/ci/android-artifacts.ts && ./scripts/ci/generate-java-wrapper.sh",
|
|
74
|
-
"build:ios": "mkdir ios && ts-node ./scripts/ci/ios-artifacts.ts",
|
|
75
75
|
"package": "hardhat prepare-package",
|
|
76
76
|
"release": "run-s clean build package && standard-version",
|
|
77
77
|
"remixd": "remixd -s . --remix-ide",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"format
|
|
78
|
+
"lint": "eslint . --ext .ts,.js",
|
|
79
|
+
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
|
|
80
|
+
"format": "prettier --write ."
|
|
81
81
|
},
|
|
82
82
|
"repository": {
|
|
83
83
|
"type": "git",
|
|
@@ -98,48 +98,51 @@
|
|
|
98
98
|
},
|
|
99
99
|
"homepage": "https://github.com/lukso-network/lsp-smart-contracts#readme",
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@erc725/smart-contracts": "^5.
|
|
102
|
-
"@openzeppelin/contracts": "^4.
|
|
103
|
-
"@openzeppelin/contracts-upgradeable": "^4.
|
|
101
|
+
"@erc725/smart-contracts": "^5.1.0",
|
|
102
|
+
"@openzeppelin/contracts": "^4.9.2",
|
|
103
|
+
"@openzeppelin/contracts-upgradeable": "^4.9.2",
|
|
104
104
|
"solidity-bytes-utils": "0.8.0"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
|
+
"@b00ste/hardhat-dodoc": "^0.3.1",
|
|
107
108
|
"@defi-wonderland/smock": "^2.3.4",
|
|
108
109
|
"@erc725/erc725.js": "0.17.2",
|
|
109
110
|
"@lukso/eip191-signer.js": "^0.2.2",
|
|
110
111
|
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
|
|
111
112
|
"@nomiclabs/hardhat-web3": "^2.0.0",
|
|
112
|
-
"@primitivefi/hardhat-dodoc": "^0.2.3",
|
|
113
113
|
"@remix-project/remixd": "^0.6.12",
|
|
114
114
|
"@typechain/ethers-v5": "^10.2.0",
|
|
115
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
115
116
|
"all-contributors-cli": "^6.24.0",
|
|
116
117
|
"dotenv": "^16.0.3",
|
|
117
118
|
"dts-bundle-generator": "^8.0.0",
|
|
118
119
|
"esbuild": "^0.17.15",
|
|
120
|
+
"eslint-config-prettier": "^8.8.0",
|
|
121
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
119
122
|
"eth-create2-calculator": "^1.1.5",
|
|
120
123
|
"ethers": "^5.7.2",
|
|
124
|
+
"hardhat": "^2.13.0",
|
|
121
125
|
"hardhat-contract-sizer": "^2.8.0",
|
|
122
|
-
"hardhat-deploy-ethers": "^0.3.0-beta.13",
|
|
123
126
|
"hardhat-deploy": "^0.11.25",
|
|
127
|
+
"hardhat-deploy-ethers": "^0.3.0-beta.13",
|
|
124
128
|
"hardhat-gas-reporter": "^1.0.9",
|
|
125
129
|
"hardhat-packager": "^1.4.2",
|
|
126
|
-
"hardhat": "^2.13.0",
|
|
127
130
|
"keccak256": "1.0.6",
|
|
128
131
|
"markdown-table-ts": "^1.0.3",
|
|
129
132
|
"merkletreejs": "0.2.32",
|
|
130
133
|
"npm-run-all": "^4.1.5",
|
|
131
134
|
"pluralize": "^8.0.0",
|
|
132
|
-
"prettier
|
|
133
|
-
"prettier": "
|
|
135
|
+
"prettier": "^2.8.8",
|
|
136
|
+
"prettier-plugin-solidity": "^1.1.3",
|
|
134
137
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
135
138
|
"solhint": "^3.3.6",
|
|
136
139
|
"standard-version": "^9.3.1",
|
|
137
140
|
"ts-node": "^10.2.0",
|
|
138
141
|
"typechain": "^8.0.0",
|
|
139
142
|
"typescript": "^4.9.5",
|
|
143
|
+
"vite": "^4.2.1",
|
|
140
144
|
"vite-plugin-checker": "^0.5.6",
|
|
141
145
|
"vite-tsconfig-paths": "^4.0.7",
|
|
142
|
-
"vite": "^4.2.1",
|
|
143
146
|
"web3": "^1.5.2"
|
|
144
147
|
}
|
|
145
148
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"notice": "Gets array of data for multiple given keys"
|
|
32
32
|
},
|
|
33
33
|
"isValidSignature(bytes32,bytes)": {
|
|
34
|
-
"notice": "Achieves the goal of EIP-1271 by validating signatures of smart contracts according to their own logic."
|
|
34
|
+
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
35
35
|
},
|
|
36
36
|
"renounceOwnership()": {
|
|
37
37
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
44
44
|
},
|
|
45
45
|
"universalReceiver(bytes32,bytes)": {
|
|
46
|
-
"notice": "Achieves the goal of LSP1-UniversalReceiver by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
46
|
+
"notice": "Achieves the goal of [LSP1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"version": 1
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"notice": "Initializing the contract owner to: `initialOwner`"
|
|
35
35
|
},
|
|
36
36
|
"isValidSignature(bytes32,bytes)": {
|
|
37
|
-
"notice": "Achieves the goal of EIP-1271 by validating signatures of smart contracts according to their own logic."
|
|
37
|
+
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
38
38
|
},
|
|
39
39
|
"renounceOwnership()": {
|
|
40
40
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
47
47
|
},
|
|
48
48
|
"universalReceiver(bytes32,bytes)": {
|
|
49
|
-
"notice": "Achieves the goal of LSP1-UniversalReceiver by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
49
|
+
"notice": "Achieves the goal of [LSP1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"version": 1
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"notice": "Gets array of data for multiple given keys"
|
|
32
32
|
},
|
|
33
33
|
"isValidSignature(bytes32,bytes)": {
|
|
34
|
-
"notice": "Achieves the goal of EIP-1271 by validating signatures of smart contracts according to their own logic."
|
|
34
|
+
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
35
35
|
},
|
|
36
36
|
"renounceOwnership()": {
|
|
37
37
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
44
44
|
},
|
|
45
45
|
"universalReceiver(bytes32,bytes)": {
|
|
46
|
-
"notice": "Achieves the goal of LSP1-UniversalReceiver by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
46
|
+
"notice": "Achieves the goal of [LSP1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"version": 1
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"notice": "Initializing the contract owner to: `initialOwner`"
|
|
35
35
|
},
|
|
36
36
|
"isValidSignature(bytes32,bytes)": {
|
|
37
|
-
"notice": "Achieves the goal of EIP-1271 by validating signatures of smart contracts according to their own logic."
|
|
37
|
+
"notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
|
|
38
38
|
},
|
|
39
39
|
"renounceOwnership()": {
|
|
40
40
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
47
47
|
},
|
|
48
48
|
"universalReceiver(bytes32,bytes)": {
|
|
49
|
-
"notice": "Achieves the goal of LSP1-UniversalReceiver by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
49
|
+
"notice": "Achieves the goal of [LSP1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts (UniversalReceiverDelegates) that react on the whole transaction and on the specific typeId, respectively. The notification is achieved by emitting a {UniversalReceiver} event on the call with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract."
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"version": 1
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
-
pragma solidity ^0.8.5;
|
|
3
|
-
|
|
4
|
-
library EIP191Signer {
|
|
5
|
-
function toDataWithIntendedValidator(address validator, bytes memory dataToSign)
|
|
6
|
-
internal
|
|
7
|
-
pure
|
|
8
|
-
returns (bytes32)
|
|
9
|
-
{
|
|
10
|
-
return keccak256(abi.encodePacked("\x19\x00", validator, dataToSign));
|
|
11
|
-
}
|
|
12
|
-
}
|