@lukso/lsp-smart-contracts 0.10.0 → 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 +14 -1
- package/artifacts/Create2Factory.json +2 -2
- package/artifacts/LSP0ERC725Account.json +4 -4
- package/artifacts/LSP0ERC725AccountInit.json +4 -4
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP16UniversalFactory.json +27 -21
- 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 +4 -4
- package/artifacts/UniversalProfileInit.json +4 -4
- 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 +11 -6
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +256 -186
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +20 -6
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +23 -9
- 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 +333 -128
- 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 +14 -5
- package/contracts/UniversalProfileInit.sol +17 -5
- package/contracts/UniversalProfileInitAbstract.sol +17 -9
- package/devdocs/LSP0ERC725Account.json +33 -19
- package/devdocs/LSP0ERC725AccountInit.json +33 -20
- package/devdocs/LSP16UniversalFactory.json +87 -22
- package/devdocs/LSP9Vault.json +3 -3
- package/devdocs/LSP9VaultInit.json +3 -3
- package/devdocs/UniversalProfile.json +32 -18
- package/devdocs/UniversalProfileInit.json +33 -19
- package/dist/constants.cjs.js +310 -182
- package/dist/constants.d.ts +178 -48
- package/dist/constants.es.js +310 -182
- package/package.json +19 -17
- package/userdocs/LSP0ERC725Account.json +5 -2
- package/userdocs/LSP0ERC725AccountInit.json +8 -2
- package/userdocs/UniversalProfile.json +3 -3
- package/userdocs/UniversalProfileInit.json +6 -3
- 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"
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"./userdocs/*": "./userdocs",
|
|
39
39
|
"./devdocs/*": "./devdocs/*",
|
|
40
|
-
"./artifacts/*": "./artifacts/*"
|
|
40
|
+
"./artifacts/*": "./artifacts/*",
|
|
41
|
+
"./dist/*": "./dist/*"
|
|
41
42
|
},
|
|
42
43
|
"scripts": {
|
|
43
44
|
"test": "hardhat test",
|
|
@@ -67,16 +68,14 @@
|
|
|
67
68
|
"test:reentrancyinit": "hardhat test --no-compile tests/Reentrancy/ReentrancyInit.test.ts",
|
|
68
69
|
"test:foundry": "forge test --no-match-test Skip -vvv --gas-report > gasreport.ansi",
|
|
69
70
|
"clean": "hardhat clean && rm -rf module common",
|
|
70
|
-
"build": "hardhat
|
|
71
|
+
"build": "hardhat dodoc && ts-node scripts/interfaceIds.ts && prettier -w ./docs ",
|
|
71
72
|
"build:js": "vite build && dts-bundle-generator --config dtsconfig.json",
|
|
72
|
-
"build:android": "ts-node ./scripts/ci/android-artifacts.ts && ./scripts/ci/generate-java-wrapper.sh",
|
|
73
|
-
"build:ios": "mkdir ios && ts-node ./scripts/ci/ios-artifacts.ts",
|
|
74
73
|
"package": "hardhat prepare-package",
|
|
75
74
|
"release": "run-s clean build package && standard-version",
|
|
76
75
|
"remixd": "remixd -s . --remix-ide",
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"format
|
|
76
|
+
"lint": "eslint . --ext .ts,.js",
|
|
77
|
+
"lint:solidity": "solhint 'contracts/**/*.sol' && prettier --check 'contracts/**/*.sol'",
|
|
78
|
+
"format": "prettier --write ."
|
|
80
79
|
},
|
|
81
80
|
"repository": {
|
|
82
81
|
"type": "git",
|
|
@@ -97,48 +96,51 @@
|
|
|
97
96
|
},
|
|
98
97
|
"homepage": "https://github.com/lukso-network/lsp-smart-contracts#readme",
|
|
99
98
|
"dependencies": {
|
|
100
|
-
"@erc725/smart-contracts": "^5.
|
|
101
|
-
"@openzeppelin/contracts": "^4.
|
|
102
|
-
"@openzeppelin/contracts-upgradeable": "^4.
|
|
99
|
+
"@erc725/smart-contracts": "^5.1.0",
|
|
100
|
+
"@openzeppelin/contracts": "^4.9.2",
|
|
101
|
+
"@openzeppelin/contracts-upgradeable": "^4.9.2",
|
|
103
102
|
"solidity-bytes-utils": "0.8.0"
|
|
104
103
|
},
|
|
105
104
|
"devDependencies": {
|
|
105
|
+
"@b00ste/hardhat-dodoc": "^0.3.1",
|
|
106
106
|
"@defi-wonderland/smock": "^2.3.4",
|
|
107
107
|
"@erc725/erc725.js": "0.17.2",
|
|
108
108
|
"@lukso/eip191-signer.js": "^0.2.2",
|
|
109
109
|
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
|
|
110
110
|
"@nomiclabs/hardhat-web3": "^2.0.0",
|
|
111
|
-
"@primitivefi/hardhat-dodoc": "^0.2.3",
|
|
112
111
|
"@remix-project/remixd": "^0.6.12",
|
|
113
112
|
"@typechain/ethers-v5": "^10.2.0",
|
|
113
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
114
114
|
"all-contributors-cli": "^6.24.0",
|
|
115
115
|
"dotenv": "^16.0.3",
|
|
116
116
|
"dts-bundle-generator": "^8.0.0",
|
|
117
117
|
"esbuild": "^0.17.15",
|
|
118
|
+
"eslint-config-prettier": "^8.8.0",
|
|
119
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
118
120
|
"eth-create2-calculator": "^1.1.5",
|
|
119
121
|
"ethers": "^5.7.2",
|
|
122
|
+
"hardhat": "^2.13.0",
|
|
120
123
|
"hardhat-contract-sizer": "^2.8.0",
|
|
121
|
-
"hardhat-deploy-ethers": "^0.3.0-beta.13",
|
|
122
124
|
"hardhat-deploy": "^0.11.25",
|
|
125
|
+
"hardhat-deploy-ethers": "^0.3.0-beta.13",
|
|
123
126
|
"hardhat-gas-reporter": "^1.0.9",
|
|
124
127
|
"hardhat-packager": "^1.4.2",
|
|
125
|
-
"hardhat": "^2.13.0",
|
|
126
128
|
"keccak256": "1.0.6",
|
|
127
129
|
"markdown-table-ts": "^1.0.3",
|
|
128
130
|
"merkletreejs": "0.2.32",
|
|
129
131
|
"npm-run-all": "^4.1.5",
|
|
130
132
|
"pluralize": "^8.0.0",
|
|
131
|
-
"prettier
|
|
132
|
-
"prettier": "
|
|
133
|
+
"prettier": "^2.8.8",
|
|
134
|
+
"prettier-plugin-solidity": "^1.1.3",
|
|
133
135
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
134
136
|
"solhint": "^3.3.6",
|
|
135
137
|
"standard-version": "^9.3.1",
|
|
136
138
|
"ts-node": "^10.2.0",
|
|
137
139
|
"typechain": "^8.0.0",
|
|
138
140
|
"typescript": "^4.9.5",
|
|
141
|
+
"vite": "^4.2.1",
|
|
139
142
|
"vite-plugin-checker": "^0.5.6",
|
|
140
143
|
"vite-tsconfig-paths": "^4.0.7",
|
|
141
|
-
"vite": "^4.2.1",
|
|
142
144
|
"web3": "^1.5.2"
|
|
143
145
|
}
|
|
144
146
|
}
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"acceptOwnership()": {
|
|
22
22
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
23
23
|
},
|
|
24
|
+
"constructor": {
|
|
25
|
+
"notice": "Deploying the contract with owner set to: `initialOwner`"
|
|
26
|
+
},
|
|
24
27
|
"getData(bytes32)": {
|
|
25
28
|
"notice": "Gets singular data at a given `dataKey`"
|
|
26
29
|
},
|
|
@@ -28,7 +31,7 @@
|
|
|
28
31
|
"notice": "Gets array of data for multiple given keys"
|
|
29
32
|
},
|
|
30
33
|
"isValidSignature(bytes32,bytes)": {
|
|
31
|
-
"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."
|
|
32
35
|
},
|
|
33
36
|
"renounceOwnership()": {
|
|
34
37
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -40,7 +43,7 @@
|
|
|
40
43
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
41
44
|
},
|
|
42
45
|
"universalReceiver(bytes32,bytes)": {
|
|
43
|
-
"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."
|
|
44
47
|
}
|
|
45
48
|
},
|
|
46
49
|
"version": 1
|
|
@@ -21,14 +21,20 @@
|
|
|
21
21
|
"acceptOwnership()": {
|
|
22
22
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
23
23
|
},
|
|
24
|
+
"constructor": {
|
|
25
|
+
"notice": "deploying a `LSP0ERC725AccountInit` base contract to be used behind proxy"
|
|
26
|
+
},
|
|
24
27
|
"getData(bytes32)": {
|
|
25
28
|
"notice": "Gets singular data at a given `dataKey`"
|
|
26
29
|
},
|
|
27
30
|
"getDataBatch(bytes32[])": {
|
|
28
31
|
"notice": "Gets array of data for multiple given keys"
|
|
29
32
|
},
|
|
33
|
+
"initialize(address)": {
|
|
34
|
+
"notice": "Initializing the contract owner to: `initialOwner`"
|
|
35
|
+
},
|
|
30
36
|
"isValidSignature(bytes32,bytes)": {
|
|
31
|
-
"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."
|
|
32
38
|
},
|
|
33
39
|
"renounceOwnership()": {
|
|
34
40
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -40,7 +46,7 @@
|
|
|
40
46
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
41
47
|
},
|
|
42
48
|
"universalReceiver(bytes32,bytes)": {
|
|
43
|
-
"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."
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
52
|
"version": 1
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
23
23
|
},
|
|
24
24
|
"constructor": {
|
|
25
|
-
"notice": "
|
|
25
|
+
"notice": "Deploying the contract with owner set to: `initialOwner`"
|
|
26
26
|
},
|
|
27
27
|
"getData(bytes32)": {
|
|
28
28
|
"notice": "Gets singular data at a given `dataKey`"
|
|
@@ -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
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"acceptOwnership()": {
|
|
22
22
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
23
23
|
},
|
|
24
|
+
"constructor": {
|
|
25
|
+
"notice": "deploying a `UniversalProfileInit` base contract to be used behind proxy"
|
|
26
|
+
},
|
|
24
27
|
"getData(bytes32)": {
|
|
25
28
|
"notice": "Gets singular data at a given `dataKey`"
|
|
26
29
|
},
|
|
@@ -28,10 +31,10 @@
|
|
|
28
31
|
"notice": "Gets array of data for multiple given keys"
|
|
29
32
|
},
|
|
30
33
|
"initialize(address)": {
|
|
31
|
-
"notice": "
|
|
34
|
+
"notice": "Initializing the contract owner to: `initialOwner`"
|
|
32
35
|
},
|
|
33
36
|
"isValidSignature(bytes32,bytes)": {
|
|
34
|
-
"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."
|
|
35
38
|
},
|
|
36
39
|
"renounceOwnership()": {
|
|
37
40
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership renouncing process."
|
|
@@ -43,7 +46,7 @@
|
|
|
43
46
|
"notice": "Achieves the goal of LSP14Ownable2Step by implementing a 2-step ownership transfer process."
|
|
44
47
|
},
|
|
45
48
|
"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."
|
|
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."
|
|
47
50
|
}
|
|
48
51
|
},
|
|
49
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
|
-
}
|