@lukso/lsp-smart-contracts 0.10.1 → 0.10.2
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 +17 -16
- 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.2",
|
|
4
4
|
"description": "The reference implementation for universal profiles smart contracts",
|
|
5
5
|
"directories": {
|
|
6
6
|
"test": "test"
|
|
@@ -68,16 +68,14 @@
|
|
|
68
68
|
"test:reentrancyinit": "hardhat test --no-compile tests/Reentrancy/ReentrancyInit.test.ts",
|
|
69
69
|
"test:foundry": "forge test --no-match-test Skip -vvv --gas-report > gasreport.ansi",
|
|
70
70
|
"clean": "hardhat clean && rm -rf module common",
|
|
71
|
-
"build": "hardhat
|
|
71
|
+
"build": "hardhat dodoc && ts-node scripts/interfaceIds.ts && prettier -w ./docs ",
|
|
72
72
|
"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
73
|
"package": "hardhat prepare-package",
|
|
76
74
|
"release": "run-s clean build package && standard-version",
|
|
77
75
|
"remixd": "remixd -s . --remix-ide",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"format
|
|
76
|
+
"lint": "eslint . --ext .ts,.js",
|
|
77
|
+
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
|
|
78
|
+
"format": "prettier --write ."
|
|
81
79
|
},
|
|
82
80
|
"repository": {
|
|
83
81
|
"type": "git",
|
|
@@ -98,48 +96,51 @@
|
|
|
98
96
|
},
|
|
99
97
|
"homepage": "https://github.com/lukso-network/lsp-smart-contracts#readme",
|
|
100
98
|
"dependencies": {
|
|
101
|
-
"@erc725/smart-contracts": "^5.
|
|
102
|
-
"@openzeppelin/contracts": "^4.
|
|
103
|
-
"@openzeppelin/contracts-upgradeable": "^4.
|
|
99
|
+
"@erc725/smart-contracts": "^5.1.0",
|
|
100
|
+
"@openzeppelin/contracts": "^4.9.2",
|
|
101
|
+
"@openzeppelin/contracts-upgradeable": "^4.9.2",
|
|
104
102
|
"solidity-bytes-utils": "0.8.0"
|
|
105
103
|
},
|
|
106
104
|
"devDependencies": {
|
|
105
|
+
"@b00ste/hardhat-dodoc": "^0.3.1",
|
|
107
106
|
"@defi-wonderland/smock": "^2.3.4",
|
|
108
107
|
"@erc725/erc725.js": "0.17.2",
|
|
109
108
|
"@lukso/eip191-signer.js": "^0.2.2",
|
|
110
109
|
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
|
|
111
110
|
"@nomiclabs/hardhat-web3": "^2.0.0",
|
|
112
|
-
"@primitivefi/hardhat-dodoc": "^0.2.3",
|
|
113
111
|
"@remix-project/remixd": "^0.6.12",
|
|
114
112
|
"@typechain/ethers-v5": "^10.2.0",
|
|
113
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
115
114
|
"all-contributors-cli": "^6.24.0",
|
|
116
115
|
"dotenv": "^16.0.3",
|
|
117
116
|
"dts-bundle-generator": "^8.0.0",
|
|
118
117
|
"esbuild": "^0.17.15",
|
|
118
|
+
"eslint-config-prettier": "^8.8.0",
|
|
119
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
119
120
|
"eth-create2-calculator": "^1.1.5",
|
|
120
121
|
"ethers": "^5.7.2",
|
|
122
|
+
"hardhat": "^2.13.0",
|
|
121
123
|
"hardhat-contract-sizer": "^2.8.0",
|
|
122
|
-
"hardhat-deploy-ethers": "^0.3.0-beta.13",
|
|
123
124
|
"hardhat-deploy": "^0.11.25",
|
|
125
|
+
"hardhat-deploy-ethers": "^0.3.0-beta.13",
|
|
124
126
|
"hardhat-gas-reporter": "^1.0.9",
|
|
125
127
|
"hardhat-packager": "^1.4.2",
|
|
126
|
-
"hardhat": "^2.13.0",
|
|
127
128
|
"keccak256": "1.0.6",
|
|
128
129
|
"markdown-table-ts": "^1.0.3",
|
|
129
130
|
"merkletreejs": "0.2.32",
|
|
130
131
|
"npm-run-all": "^4.1.5",
|
|
131
132
|
"pluralize": "^8.0.0",
|
|
132
|
-
"prettier
|
|
133
|
-
"prettier": "
|
|
133
|
+
"prettier": "^2.8.8",
|
|
134
|
+
"prettier-plugin-solidity": "^1.1.3",
|
|
134
135
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
135
136
|
"solhint": "^3.3.6",
|
|
136
137
|
"standard-version": "^9.3.1",
|
|
137
138
|
"ts-node": "^10.2.0",
|
|
138
139
|
"typechain": "^8.0.0",
|
|
139
140
|
"typescript": "^4.9.5",
|
|
141
|
+
"vite": "^4.2.1",
|
|
140
142
|
"vite-plugin-checker": "^0.5.6",
|
|
141
143
|
"vite-tsconfig-paths": "^4.0.7",
|
|
142
|
-
"vite": "^4.2.1",
|
|
143
144
|
"web3": "^1.5.2"
|
|
144
145
|
}
|
|
145
146
|
}
|
|
@@ -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
|
-
}
|