@lukso/lsp-smart-contracts 0.11.1 → 0.12.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/CONTRIBUTING.md +4 -0
  2. package/README.md +10 -2
  3. package/artifacts/Create2Factory.json +2 -2
  4. package/artifacts/LSP0ERC725Account.json +52 -25
  5. package/artifacts/LSP0ERC725AccountInit.json +52 -25
  6. package/artifacts/LSP11BasicSocialRecovery.json +18 -2
  7. package/artifacts/LSP11BasicSocialRecoveryInit.json +18 -2
  8. package/artifacts/LSP16UniversalFactory.json +3 -3
  9. package/artifacts/LSP1UniversalReceiverDelegateUP.json +14 -46
  10. package/artifacts/LSP1UniversalReceiverDelegateVault.json +14 -46
  11. package/artifacts/LSP23LinkedContractsFactory.json +3 -3
  12. package/artifacts/LSP4DigitalAssetMetadata.json +16 -0
  13. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +16 -0
  14. package/artifacts/LSP6KeyManager.json +14 -9
  15. package/artifacts/LSP6KeyManagerInit.json +14 -9
  16. package/artifacts/LSP7CappedSupply.json +29 -4
  17. package/artifacts/LSP7CappedSupplyInitAbstract.json +29 -4
  18. package/artifacts/LSP7CompatibleERC20.json +48 -23
  19. package/artifacts/LSP7CompatibleERC20InitAbstract.json +48 -23
  20. package/artifacts/LSP7CompatibleERC20Mintable.json +51 -26
  21. package/artifacts/LSP7CompatibleERC20MintableInit.json +51 -26
  22. package/artifacts/LSP7DigitalAsset.json +29 -4
  23. package/artifacts/LSP7DigitalAssetInitAbstract.json +29 -4
  24. package/artifacts/LSP7Mintable.json +32 -7
  25. package/artifacts/LSP7MintableInit.json +32 -7
  26. package/artifacts/LSP8CappedSupply.json +33 -3
  27. package/artifacts/LSP8CappedSupplyInitAbstract.json +33 -3
  28. package/artifacts/LSP8CompatibleERC721.json +55 -25
  29. package/artifacts/LSP8CompatibleERC721InitAbstract.json +55 -25
  30. package/artifacts/LSP8CompatibleERC721Mintable.json +63 -28
  31. package/artifacts/LSP8CompatibleERC721MintableInit.json +63 -28
  32. package/artifacts/LSP8IdentifiableDigitalAsset.json +33 -3
  33. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +33 -3
  34. package/artifacts/LSP8Mintable.json +41 -6
  35. package/artifacts/LSP8MintableInit.json +41 -6
  36. package/artifacts/LSP9Vault.json +38 -16
  37. package/artifacts/LSP9VaultInit.json +38 -16
  38. package/artifacts/UniversalProfile.json +52 -25
  39. package/artifacts/UniversalProfileInit.json +52 -25
  40. package/contracts/Factories/Create2Factory.sol +1 -1
  41. package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +0 -14
  42. package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
  43. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +122 -94
  44. package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +5 -3
  45. package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +54 -14
  46. package/contracts/LSP11BasicSocialRecovery/LSP11Constants.sol +1 -1
  47. package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +1 -1
  48. package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +2 -2
  49. package/contracts/LSP14Ownable2Step/LSP14Constants.sol +1 -1
  50. package/contracts/LSP14Ownable2Step/LSP14Errors.sol +9 -3
  51. package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +16 -12
  52. package/contracts/LSP16UniversalFactory/LSP16UniversalFactory.sol +65 -96
  53. package/contracts/LSP17ContractExtension/LSP17Errors.sol +1 -1
  54. package/contracts/LSP17ContractExtension/LSP17Extendable.sol +10 -7
  55. package/contracts/LSP17ContractExtension/LSP17Extension.sol +4 -4
  56. package/contracts/LSP17Extensions/Extension4337.sol +101 -0
  57. package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +15 -0
  58. package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +1 -2
  59. package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiverDelegate.sol +24 -0
  60. package/contracts/LSP1UniversalReceiver/LSP1Constants.sol +1 -0
  61. package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +0 -6
  62. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +20 -27
  63. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +18 -21
  64. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +2 -46
  65. package/contracts/LSP20CallVerification/ILSP20CallVerifier.sol +13 -9
  66. package/contracts/LSP20CallVerification/LSP20CallVerification.sol +39 -14
  67. package/contracts/LSP20CallVerification/LSP20Constants.sol +6 -6
  68. package/contracts/LSP20CallVerification/LSP20Errors.sol +9 -3
  69. package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/ILSP23LinkedContractsFactory.sol +1 -1
  70. package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/IPostDeploymentModule.sol +1 -1
  71. package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/LSP23Errors.sol +1 -1
  72. package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/LSP23LinkedContractsFactory.sol +5 -1
  73. package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/modules/UniversalProfileInitPostDeploymentModule.sol +1 -1
  74. package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/modules/UniversalProfilePostDeploymentModule.sol +1 -1
  75. package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +1 -1
  76. package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +8 -3
  77. package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +1 -97
  78. package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
  79. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +1 -1
  80. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +8 -3
  81. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +8 -3
  82. package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +4 -3
  83. package/contracts/LSP6KeyManager/LSP6Constants.sol +4 -3
  84. package/contracts/LSP6KeyManager/LSP6Errors.sol +2 -23
  85. package/contracts/LSP6KeyManager/LSP6KeyManager.sol +0 -1
  86. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +134 -99
  87. package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +0 -1
  88. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +1 -2
  89. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteRelayCallModule.sol +27 -0
  90. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +31 -25
  91. package/contracts/LSP6KeyManager/LSP6Utils.sol +29 -2
  92. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +10 -10
  93. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  94. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +22 -8
  95. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +180 -118
  96. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +21 -7
  97. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +12 -3
  98. package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +5 -1
  99. package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +4 -1
  100. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +7 -7
  101. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +3 -3
  102. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +120 -53
  103. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +122 -53
  104. package/contracts/LSP7DigitalAsset/presets/ILSP7Mintable.sol +3 -3
  105. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -4
  106. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +2 -2
  107. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +4 -4
  108. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +4 -4
  109. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
  110. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -4
  111. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +11 -11
  112. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +12 -1
  113. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +32 -16
  114. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +61 -11
  115. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +113 -74
  116. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +63 -10
  117. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
  118. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
  119. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +7 -7
  120. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +3 -3
  121. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +162 -73
  122. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +168 -84
  123. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +7 -7
  124. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +7 -7
  125. package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +3 -3
  126. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +8 -7
  127. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +5 -3
  128. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -7
  129. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +9 -8
  130. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +9 -3
  131. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +10 -8
  132. package/contracts/LSP9Vault/ILSP9Vault.sol +0 -13
  133. package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
  134. package/contracts/LSP9Vault/LSP9Errors.sol +1 -1
  135. package/contracts/LSP9Vault/LSP9VaultCore.sol +58 -41
  136. package/devdocs/LSP0ERC725Account.json +73 -45
  137. package/devdocs/LSP0ERC725AccountInit.json +73 -45
  138. package/devdocs/LSP11BasicSocialRecovery.json +13 -0
  139. package/devdocs/LSP11BasicSocialRecoveryInit.json +13 -0
  140. package/devdocs/LSP16UniversalFactory.json +9 -9
  141. package/devdocs/LSP1UniversalReceiverDelegateUP.json +1 -6
  142. package/devdocs/LSP1UniversalReceiverDelegateVault.json +1 -6
  143. package/devdocs/LSP4DigitalAssetMetadata.json +32 -10
  144. package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +32 -10
  145. package/devdocs/LSP6KeyManager.json +12 -14
  146. package/devdocs/LSP6KeyManagerInit.json +12 -14
  147. package/devdocs/LSP7CappedSupply.json +47 -20
  148. package/devdocs/LSP7CappedSupplyInitAbstract.json +47 -20
  149. package/devdocs/LSP7CompatibleERC20.json +88 -24
  150. package/devdocs/LSP7CompatibleERC20InitAbstract.json +88 -24
  151. package/devdocs/LSP7CompatibleERC20Mintable.json +88 -24
  152. package/devdocs/LSP7CompatibleERC20MintableInit.json +88 -24
  153. package/devdocs/LSP7DigitalAsset.json +47 -20
  154. package/devdocs/LSP7DigitalAssetInitAbstract.json +47 -20
  155. package/devdocs/LSP7Mintable.json +47 -20
  156. package/devdocs/LSP7MintableInit.json +47 -20
  157. package/devdocs/LSP8CappedSupply.json +57 -25
  158. package/devdocs/LSP8CappedSupplyInitAbstract.json +57 -25
  159. package/devdocs/LSP8CompatibleERC721.json +84 -31
  160. package/devdocs/LSP8CompatibleERC721InitAbstract.json +84 -31
  161. package/devdocs/LSP8CompatibleERC721Mintable.json +86 -33
  162. package/devdocs/LSP8CompatibleERC721MintableInit.json +87 -34
  163. package/devdocs/LSP8IdentifiableDigitalAsset.json +61 -26
  164. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -25
  165. package/devdocs/LSP8Mintable.json +59 -27
  166. package/devdocs/LSP8MintableInit.json +60 -28
  167. package/devdocs/LSP9Vault.json +57 -35
  168. package/devdocs/LSP9VaultInit.json +57 -35
  169. package/devdocs/UniversalProfile.json +73 -45
  170. package/devdocs/UniversalProfileInit.json +73 -45
  171. package/dist/constants.cjs.js +4323 -2361
  172. package/dist/constants.d.ts +2933 -1022
  173. package/dist/constants.es.js +4322 -2361
  174. package/package.json +8 -6
  175. package/userdocs/LSP0ERC725Account.json +17 -8
  176. package/userdocs/LSP0ERC725AccountInit.json +17 -8
  177. package/userdocs/LSP16UniversalFactory.json +26 -1
  178. package/userdocs/LSP1UniversalReceiverDelegateUP.json +1 -11
  179. package/userdocs/LSP1UniversalReceiverDelegateVault.json +1 -11
  180. package/userdocs/LSP4DigitalAssetMetadata.json +7 -4
  181. package/userdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -4
  182. package/userdocs/LSP6KeyManager.json +0 -5
  183. package/userdocs/LSP6KeyManagerInit.json +0 -5
  184. package/userdocs/LSP7CappedSupply.json +14 -6
  185. package/userdocs/LSP7CappedSupplyInitAbstract.json +13 -5
  186. package/userdocs/LSP7CompatibleERC20.json +15 -5
  187. package/userdocs/LSP7CompatibleERC20InitAbstract.json +15 -5
  188. package/userdocs/LSP7CompatibleERC20Mintable.json +15 -5
  189. package/userdocs/LSP7CompatibleERC20MintableInit.json +15 -5
  190. package/userdocs/LSP7DigitalAsset.json +15 -5
  191. package/userdocs/LSP7DigitalAssetInitAbstract.json +15 -5
  192. package/userdocs/LSP7Mintable.json +15 -5
  193. package/userdocs/LSP7MintableInit.json +15 -5
  194. package/userdocs/LSP8CappedSupply.json +13 -5
  195. package/userdocs/LSP8CappedSupplyInitAbstract.json +12 -4
  196. package/userdocs/LSP8CompatibleERC721.json +27 -17
  197. package/userdocs/LSP8CompatibleERC721InitAbstract.json +27 -17
  198. package/userdocs/LSP8CompatibleERC721Mintable.json +28 -18
  199. package/userdocs/LSP8CompatibleERC721MintableInit.json +29 -19
  200. package/userdocs/LSP8IdentifiableDigitalAsset.json +15 -5
  201. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +14 -4
  202. package/userdocs/LSP8Mintable.json +15 -5
  203. package/userdocs/LSP8MintableInit.json +16 -6
  204. package/userdocs/LSP9Vault.json +20 -11
  205. package/userdocs/LSP9VaultInit.json +20 -11
  206. package/userdocs/UniversalProfile.json +17 -8
  207. package/userdocs/UniversalProfileInit.json +17 -8
  208. package/artifacts/LSP4Compatibility.json +0 -216
  209. package/contracts/LSP4DigitalAssetMetadata/ILSP4Compatibility.sol +0 -25
  210. package/contracts/LSP4DigitalAssetMetadata/LSP4Compatibility.sol +0 -38
  211. package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +0 -83
  212. package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +0 -175
  213. package/devdocs/LSP4Compatibility.json +0 -79
  214. package/userdocs/LSP4Compatibility.json +0 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukso/lsp-smart-contracts",
3
- "version": "0.11.1",
3
+ "version": "0.12.0-rc.0",
4
4
  "description": "The reference implementation for universal profiles smart contracts",
5
5
  "directories": {
6
6
  "test": "test"
@@ -51,7 +51,6 @@
51
51
  "test:upinit": "hardhat test --no-compile tests/UniversalProfileInit.test.ts",
52
52
  "test:lsp1": "hardhat test --no-compile tests/LSP1UniversalReceiver/*.test.ts",
53
53
  "test:lsp2": "hardhat test --no-compile tests/LSP2ERC725YJSONSchema/LSP2UtilsLibrary.test.ts",
54
- "test:lsp4": "hardhat test --no-compile tests/LSP4DigitalAssetMetadata/LSP4Compatibility.test.ts",
55
54
  "test:lsp6": "hardhat test --no-compile tests/LSP6KeyManager/LSP6KeyManager.test.ts",
56
55
  "test:lsp6init": "hardhat test --no-compile tests/LSP6KeyManager/LSP6KeyManagerInit.test.ts",
57
56
  "test:lsp7": "hardhat test --no-compile tests/LSP7DigitalAsset/standard/*.test.ts",
@@ -63,6 +62,7 @@
63
62
  "test:lsp11": "hardhat test --no-compile tests/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.test.ts",
64
63
  "test:lsp11init": "hardhat test --no-compile tests/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.test.ts",
65
64
  "test:lsp17": "hardhat test --no-compile tests/LSP17ContractExtension/LSP17Extendable.test.ts",
65
+ "test:lsp17extensions": "hardhat test --no-compile tests/LSP17Extensions/**/*.test.ts",
66
66
  "test:lsp20": "hardhat test --no-compile tests/LSP20CallVerification/LSP6/LSP20WithLSP6.test.ts",
67
67
  "test:lsp20init": "hardhat test --no-compile tests/LSP20CallVerification/LSP6/LSP20WithLSP6Init.test.ts",
68
68
  "test:lsp23": "hardhat test --no-compile tests/LSP23LinkedContractsDeployment/LSP23LinkedContractsDeployment.test.ts",
@@ -73,7 +73,8 @@
73
73
  "test:foundry": "forge test --no-match-test Skip -vvv --gas-report > gasreport.ansi",
74
74
  "test:importRequire": "npm run build:js && ./tests/importRequire.sh",
75
75
  "clean": "hardhat clean && rm -rf module common",
76
- "build": "hardhat dodoc && ts-node scripts/interfaceIds.ts && prettier -w ./docs ",
76
+ "build": "hardhat compile",
77
+ "build:docs": "hardhat dodoc && ts-node scripts/interfaceIds.ts && prettier -w ./docs",
77
78
  "build:js": "vite build && dts-bundle-generator --config dtsconfig.json",
78
79
  "package": "hardhat prepare-package",
79
80
  "release": "run-s clean build package && standard-version",
@@ -101,13 +102,14 @@
101
102
  },
102
103
  "homepage": "https://github.com/lukso-network/lsp-smart-contracts#readme",
103
104
  "dependencies": {
104
- "@erc725/smart-contracts": "^5.2.0",
105
+ "@account-abstraction/contracts": "^0.6.0",
106
+ "@erc725/smart-contracts": "^6.0.0",
105
107
  "@openzeppelin/contracts": "^4.9.2",
106
108
  "@openzeppelin/contracts-upgradeable": "^4.9.2",
107
109
  "solidity-bytes-utils": "0.8.0"
108
110
  },
109
111
  "devDependencies": {
110
- "@b00ste/hardhat-dodoc": "^0.3.11",
112
+ "@b00ste/hardhat-dodoc": "^0.3.15",
111
113
  "@defi-wonderland/smock": "^2.3.4",
112
114
  "@erc725/erc725.js": "0.17.2",
113
115
  "@lukso/eip191-signer.js": "^0.2.2",
@@ -138,7 +140,7 @@
138
140
  "prettier": "^2.8.8",
139
141
  "prettier-plugin-solidity": "^1.1.3",
140
142
  "rollup-plugin-esbuild": "^5.0.0",
141
- "solhint": "^3.3.6",
143
+ "solhint": "^3.6.2",
142
144
  "standard-version": "^9.3.1",
143
145
  "ts-node": "^10.2.0",
144
146
  "typechain": "^8.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "errors": {
3
- "CannotTransferOwnershipToSelf()": [
3
+ "LSP14CannotTransferOwnershipToSelf()": [
4
4
  {
5
5
  "notice": "Cannot transfer ownership to the address of the contract itself."
6
6
  }
@@ -10,7 +10,7 @@
10
10
  "notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
11
11
  }
12
12
  ],
13
- "NotInRenounceOwnershipInterval(uint256,uint256)": [
13
+ "LSP14NotInRenounceOwnershipInterval(uint256,uint256)": [
14
14
  {
15
15
  "notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
16
16
  }
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "events": {
20
20
  "ContractCreated(uint256,address,uint256,bytes32)": {
21
- "notice": "Emitted when deploying a contract"
21
+ "notice": "Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`)."
22
22
  },
23
23
  "DataChanged(bytes32,bytes)": {
24
- "notice": "Emitted when data at a key is changed"
24
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
25
25
  },
26
26
  "Executed(uint256,address,uint256,bytes4)": {
27
- "notice": "Emitted when calling an address (EOA or contract)"
27
+ "notice": "Called address `target` using `operationType` with `value` wei and `data`."
28
28
  },
29
29
  "OwnershipRenounced()": {
30
30
  "notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
@@ -53,11 +53,17 @@
53
53
  "constructor": {
54
54
  "notice": "Deploying a LSP0ERC725Account contract with owner set to address `initialOwner`."
55
55
  },
56
+ "execute(uint256,address,uint256,bytes)": {
57
+ "notice": "Calling address `target` using `operationType`, transferring `value` wei and data: `data`."
58
+ },
59
+ "executeBatch(uint256[],address[],uint256[],bytes[])": {
60
+ "notice": "Calling multiple addresses `targets` using `operationsType`, transferring `values` wei and data: `datas`."
61
+ },
56
62
  "getData(bytes32)": {
57
- "notice": "Gets singular data at a given `dataKey`"
63
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
58
64
  },
59
65
  "getDataBatch(bytes32[])": {
60
- "notice": "Gets array of data for multiple given keys"
66
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
61
67
  },
62
68
  "isValidSignature(bytes32,bytes)": {
63
69
  "notice": "Achieves the goal of [EIP-1271] by validating signatures of smart contracts according to their own logic."
@@ -66,7 +72,10 @@
66
72
  "notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
67
73
  },
68
74
  "setData(bytes32,bytes)": {
69
- "notice": "Sets singular data for a given `dataKey`"
75
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
76
+ },
77
+ "setDataBatch(bytes32[],bytes[])": {
78
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
70
79
  },
71
80
  "supportsInterface(bytes4)": {
72
81
  "notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "errors": {
3
- "CannotTransferOwnershipToSelf()": [
3
+ "LSP14CannotTransferOwnershipToSelf()": [
4
4
  {
5
5
  "notice": "Cannot transfer ownership to the address of the contract itself."
6
6
  }
@@ -10,7 +10,7 @@
10
10
  "notice": "Cannot accept ownership in the same transaction with {transferOwnership(...)}."
11
11
  }
12
12
  ],
13
- "NotInRenounceOwnershipInterval(uint256,uint256)": [
13
+ "LSP14NotInRenounceOwnershipInterval(uint256,uint256)": [
14
14
  {
15
15
  "notice": "Cannot confirm ownership renouncement yet. The ownership renouncement is allowed from: `renounceOwnershipStart` until: `renounceOwnershipEnd`."
16
16
  }
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "events": {
20
20
  "ContractCreated(uint256,address,uint256,bytes32)": {
21
- "notice": "Emitted when deploying a contract"
21
+ "notice": "Deployed new contract at address `contractAddress` and funded with `value` wei (deployed using opcode: `operationType`)."
22
22
  },
23
23
  "DataChanged(bytes32,bytes)": {
24
- "notice": "Emitted when data at a key is changed"
24
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
25
25
  },
26
26
  "Executed(uint256,address,uint256,bytes4)": {
27
- "notice": "Emitted when calling an address (EOA or contract)"
27
+ "notice": "Called address `target` using `operationType` with `value` wei and `data`."
28
28
  },
29
29
  "OwnershipRenounced()": {
30
30
  "notice": "Successfully renounced ownership of the contract. This contract is now owned by anyone, it's owner is `address(0)`."
@@ -53,11 +53,17 @@
53
53
  "constructor": {
54
54
  "notice": "deploying a `LSP0ERC725AccountInit` base contract to be used behind proxy"
55
55
  },
56
+ "execute(uint256,address,uint256,bytes)": {
57
+ "notice": "Calling address `target` using `operationType`, transferring `value` wei and data: `data`."
58
+ },
59
+ "executeBatch(uint256[],address[],uint256[],bytes[])": {
60
+ "notice": "Calling multiple addresses `targets` using `operationsType`, transferring `values` wei and data: `datas`."
61
+ },
56
62
  "getData(bytes32)": {
57
- "notice": "Gets singular data at a given `dataKey`"
63
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
58
64
  },
59
65
  "getDataBatch(bytes32[])": {
60
- "notice": "Gets array of data for multiple given keys"
66
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
61
67
  },
62
68
  "initialize(address)": {
63
69
  "notice": "Initializing a LSP0ERC725Account contract with owner set to address `initialOwner`."
@@ -69,7 +75,10 @@
69
75
  "notice": "`msg.sender` is renouncing ownership of contract `address(this)`."
70
76
  },
71
77
  "setData(bytes32,bytes)": {
72
- "notice": "Sets singular data for a given `dataKey`"
78
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
79
+ },
80
+ "setDataBatch(bytes32[],bytes[])": {
81
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
73
82
  },
74
83
  "supportsInterface(bytes4)": {
75
84
  "notice": "Checking if this contract supports the interface defined by the `bytes4` interface ID `interfaceId`."
@@ -1,5 +1,30 @@
1
1
  {
2
+ "errors": {
3
+ "ContractInitializationFailed()": [
4
+ {
5
+ "notice": "Couldn't initialize the contract."
6
+ }
7
+ ]
8
+ },
9
+ "events": {
10
+ "ContractCreated(address,bytes32,bytes32,bool,bytes)": {
11
+ "notice": "Contract created. Contract address: `createdContract`."
12
+ }
13
+ },
2
14
  "kind": "user",
3
- "methods": {},
15
+ "methods": {
16
+ "deployCreate2(bytes,bytes32)": {
17
+ "notice": "Contract deployed. Salt, `providedSalt`, used."
18
+ },
19
+ "deployCreate2AndInitialize(bytes,bytes32,bytes,uint256,uint256)": {
20
+ "notice": "Contract deployed. Salt, `providedSalt`, used."
21
+ },
22
+ "deployERC1167Proxy(address,bytes32)": {
23
+ "notice": "Proxy deployed. Salt, `providedSalt`, used."
24
+ },
25
+ "deployERC1167ProxyAndInitialize(address,bytes32,bytes)": {
26
+ "notice": "Proxy deployed & initialized. Salt, `providedSalt`, used."
27
+ }
28
+ },
4
29
  "version": 1
5
30
  }
@@ -4,21 +4,11 @@
4
4
  {
5
5
  "notice": "EOA: `caller` cannot be registered as an asset."
6
6
  }
7
- ],
8
- "NativeTokensNotAccepted()": [
9
- {
10
- "notice": "Cannot send native tokens to {universalReceiver(...)} function of the delegated contract."
11
- }
12
7
  ]
13
8
  },
14
- "events": {
15
- "UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
16
- "notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
17
- }
18
- },
19
9
  "kind": "user",
20
10
  "methods": {
21
- "universalReceiver(bytes32,bytes)": {
11
+ "universalReceiverDelegate(address,uint256,bytes32,bytes)": {
22
12
  "notice": "Reacted on received notification with `typeId`."
23
13
  }
24
14
  },
@@ -4,21 +4,11 @@
4
4
  {
5
5
  "notice": "EOA: `caller` cannot be registered as an asset."
6
6
  }
7
- ],
8
- "NativeTokensNotAccepted()": [
9
- {
10
- "notice": "Cannot send native tokens to {universalReceiver(...)} function of the delegated contract."
11
- }
12
7
  ]
13
8
  },
14
- "events": {
15
- "UniversalReceiver(address,uint256,bytes32,bytes,bytes)": {
16
- "notice": "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
17
- }
18
- },
19
9
  "kind": "user",
20
10
  "methods": {
21
- "universalReceiver(bytes32,bytes)": {
11
+ "universalReceiverDelegate(address,uint256,bytes32,bytes)": {
22
12
  "notice": "Reacted on received notification with `typeId`."
23
13
  }
24
14
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "events": {
3
3
  "DataChanged(bytes32,bytes)": {
4
- "notice": "Emitted when data at a key is changed"
4
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
5
5
  }
6
6
  },
7
7
  "kind": "user",
@@ -10,13 +10,16 @@
10
10
  "notice": "Deploying a digital asset `name_` with the `symbol_` symbol."
11
11
  },
12
12
  "getData(bytes32)": {
13
- "notice": "Gets singular data at a given `dataKey`"
13
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
14
14
  },
15
15
  "getDataBatch(bytes32[])": {
16
- "notice": "Gets array of data for multiple given keys"
16
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
17
17
  },
18
18
  "setData(bytes32,bytes)": {
19
- "notice": "Sets singular data for a given `dataKey`"
19
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
20
+ },
21
+ "setDataBatch(bytes32[],bytes[])": {
22
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
20
23
  }
21
24
  },
22
25
  "version": 1
@@ -1,19 +1,22 @@
1
1
  {
2
2
  "events": {
3
3
  "DataChanged(bytes32,bytes)": {
4
- "notice": "Emitted when data at a key is changed"
4
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
5
5
  }
6
6
  },
7
7
  "kind": "user",
8
8
  "methods": {
9
9
  "getData(bytes32)": {
10
- "notice": "Gets singular data at a given `dataKey`"
10
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
11
11
  },
12
12
  "getDataBatch(bytes32[])": {
13
- "notice": "Gets array of data for multiple given keys"
13
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
14
14
  },
15
15
  "setData(bytes32,bytes)": {
16
- "notice": "Sets singular data for a given `dataKey`"
16
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
17
+ },
18
+ "setDataBatch(bytes32[],bytes[])": {
19
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
17
20
  }
18
21
  },
19
22
  "version": 1
@@ -15,11 +15,6 @@
15
15
  "notice": "Calling the Key Manager address for this transaction is disallowed."
16
16
  }
17
17
  ],
18
- "CannotSendValueToSetData()": [
19
- {
20
- "notice": "Cannot sent native tokens while setting data."
21
- }
22
- ],
23
18
  "DelegateCallDisallowedViaKeyManager()": [
24
19
  {
25
20
  "notice": "Performing DELEGATE CALLS via the Key Manager is currently disallowed."
@@ -15,11 +15,6 @@
15
15
  "notice": "Calling the Key Manager address for this transaction is disallowed."
16
16
  }
17
17
  ],
18
- "CannotSendValueToSetData()": [
19
- {
20
- "notice": "Cannot sent native tokens while setting data."
21
- }
22
- ],
23
18
  "DelegateCallDisallowedViaKeyManager()": [
24
19
  {
25
20
  "notice": "Performing DELEGATE CALLS via the Key Manager is currently disallowed."
@@ -9,11 +9,16 @@
9
9
  {
10
10
  "notice": "The `tokenSupplyCap` must be set and cannot be `0`."
11
11
  }
12
+ ],
13
+ "LSP7TokenContractCannotHoldValue()": [
14
+ {
15
+ "notice": "LSP7 contract cannot receive native tokens."
16
+ }
12
17
  ]
13
18
  },
14
19
  "events": {
15
20
  "DataChanged(bytes32,bytes)": {
16
- "notice": "Emitted when data at a key is changed"
21
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
17
22
  }
18
23
  },
19
24
  "kind": "user",
@@ -22,22 +27,25 @@
22
27
  "notice": "Deploying a `LSP7CappedSupply` token contract with max token supply cap set to `tokenSupplyCap_`."
23
28
  },
24
29
  "decreaseAllowance(address,uint256,bytes)": {
25
- "notice": "Decrease the allowance of `operator` by -`substractedAmount`"
30
+ "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
26
31
  },
27
32
  "getData(bytes32)": {
28
- "notice": "Gets singular data at a given `dataKey`"
33
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
29
34
  },
30
35
  "getDataBatch(bytes32[])": {
31
- "notice": "Gets array of data for multiple given keys"
36
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
32
37
  },
33
38
  "increaseAllowance(address,uint256,bytes)": {
34
39
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
35
40
  },
36
41
  "setData(bytes32,bytes)": {
37
- "notice": "Sets singular data for a given `dataKey`"
42
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
43
+ },
44
+ "setDataBatch(bytes32[],bytes[])": {
45
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
38
46
  },
39
47
  "tokenSupplyCap()": {
40
- "notice": "The maximum supply amount of tokens allowed to exist is `_tokenSupplyCap`."
48
+ "notice": "The maximum supply amount of tokens allowed to exist is `_TOKEN_SUPPLY_CAP`."
41
49
  }
42
50
  },
43
51
  "version": 1
@@ -9,29 +9,37 @@
9
9
  {
10
10
  "notice": "The `tokenSupplyCap` must be set and cannot be `0`."
11
11
  }
12
+ ],
13
+ "LSP7TokenContractCannotHoldValue()": [
14
+ {
15
+ "notice": "LSP7 contract cannot receive native tokens."
16
+ }
12
17
  ]
13
18
  },
14
19
  "events": {
15
20
  "DataChanged(bytes32,bytes)": {
16
- "notice": "Emitted when data at a key is changed"
21
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
17
22
  }
18
23
  },
19
24
  "kind": "user",
20
25
  "methods": {
21
26
  "decreaseAllowance(address,uint256,bytes)": {
22
- "notice": "Decrease the allowance of `operator` by -`substractedAmount`"
27
+ "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
23
28
  },
24
29
  "getData(bytes32)": {
25
- "notice": "Gets singular data at a given `dataKey`"
30
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
26
31
  },
27
32
  "getDataBatch(bytes32[])": {
28
- "notice": "Gets array of data for multiple given keys"
33
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
29
34
  },
30
35
  "increaseAllowance(address,uint256,bytes)": {
31
36
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
32
37
  },
33
38
  "setData(bytes32,bytes)": {
34
- "notice": "Sets singular data for a given `dataKey`"
39
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
40
+ },
41
+ "setDataBatch(bytes32[],bytes[])": {
42
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
35
43
  },
36
44
  "tokenSupplyCap()": {
37
45
  "notice": "The maximum supply amount of tokens allowed to exist is `_tokenSupplyCap`."
@@ -1,7 +1,14 @@
1
1
  {
2
+ "errors": {
3
+ "LSP7TokenContractCannotHoldValue()": [
4
+ {
5
+ "notice": "LSP7 contract cannot receive native tokens."
6
+ }
7
+ ]
8
+ },
2
9
  "events": {
3
10
  "DataChanged(bytes32,bytes)": {
4
- "notice": "Emitted when data at a key is changed"
11
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
5
12
  }
6
13
  },
7
14
  "kind": "user",
@@ -10,19 +17,22 @@
10
17
  "notice": "Deploying a `LSP7CompatibleERC20` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
11
18
  },
12
19
  "decreaseAllowance(address,uint256,bytes)": {
13
- "notice": "Decrease the allowance of `operator` by -`substractedAmount`"
20
+ "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
14
21
  },
15
22
  "getData(bytes32)": {
16
- "notice": "Gets singular data at a given `dataKey`"
23
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
17
24
  },
18
25
  "getDataBatch(bytes32[])": {
19
- "notice": "Gets array of data for multiple given keys"
26
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
20
27
  },
21
28
  "increaseAllowance(address,uint256,bytes)": {
22
29
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
23
30
  },
24
31
  "setData(bytes32,bytes)": {
25
- "notice": "Sets singular data for a given `dataKey`"
32
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
33
+ },
34
+ "setDataBatch(bytes32[],bytes[])": {
35
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
26
36
  }
27
37
  },
28
38
  "version": 1
@@ -1,25 +1,35 @@
1
1
  {
2
+ "errors": {
3
+ "LSP7TokenContractCannotHoldValue()": [
4
+ {
5
+ "notice": "LSP7 contract cannot receive native tokens."
6
+ }
7
+ ]
8
+ },
2
9
  "events": {
3
10
  "DataChanged(bytes32,bytes)": {
4
- "notice": "Emitted when data at a key is changed"
11
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
5
12
  }
6
13
  },
7
14
  "kind": "user",
8
15
  "methods": {
9
16
  "decreaseAllowance(address,uint256,bytes)": {
10
- "notice": "Decrease the allowance of `operator` by -`substractedAmount`"
17
+ "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
11
18
  },
12
19
  "getData(bytes32)": {
13
- "notice": "Gets singular data at a given `dataKey`"
20
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
14
21
  },
15
22
  "getDataBatch(bytes32[])": {
16
- "notice": "Gets array of data for multiple given keys"
23
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
17
24
  },
18
25
  "increaseAllowance(address,uint256,bytes)": {
19
26
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
20
27
  },
21
28
  "setData(bytes32,bytes)": {
22
- "notice": "Sets singular data for a given `dataKey`"
29
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
30
+ },
31
+ "setDataBatch(bytes32[],bytes[])": {
32
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
23
33
  }
24
34
  },
25
35
  "version": 1
@@ -1,7 +1,14 @@
1
1
  {
2
+ "errors": {
3
+ "LSP7TokenContractCannotHoldValue()": [
4
+ {
5
+ "notice": "LSP7 contract cannot receive native tokens."
6
+ }
7
+ ]
8
+ },
2
9
  "events": {
3
10
  "DataChanged(bytes32,bytes)": {
4
- "notice": "Emitted when data at a key is changed"
11
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
5
12
  }
6
13
  },
7
14
  "kind": "user",
@@ -10,19 +17,22 @@
10
17
  "notice": "Deploying a `LSP7CompatibleERC20Mintable` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
11
18
  },
12
19
  "decreaseAllowance(address,uint256,bytes)": {
13
- "notice": "Decrease the allowance of `operator` by -`substractedAmount`"
20
+ "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
14
21
  },
15
22
  "getData(bytes32)": {
16
- "notice": "Gets singular data at a given `dataKey`"
23
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
17
24
  },
18
25
  "getDataBatch(bytes32[])": {
19
- "notice": "Gets array of data for multiple given keys"
26
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
20
27
  },
21
28
  "increaseAllowance(address,uint256,bytes)": {
22
29
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
23
30
  },
24
31
  "setData(bytes32,bytes)": {
25
- "notice": "Sets singular data for a given `dataKey`"
32
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
33
+ },
34
+ "setDataBatch(bytes32[],bytes[])": {
35
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
26
36
  }
27
37
  },
28
38
  "version": 1
@@ -1,19 +1,26 @@
1
1
  {
2
+ "errors": {
3
+ "LSP7TokenContractCannotHoldValue()": [
4
+ {
5
+ "notice": "LSP7 contract cannot receive native tokens."
6
+ }
7
+ ]
8
+ },
2
9
  "events": {
3
10
  "DataChanged(bytes32,bytes)": {
4
- "notice": "Emitted when data at a key is changed"
11
+ "notice": "The following data key/value pair has been changed in the ERC725Y storage: Data key: `dataKey`, data value: `dataValue`."
5
12
  }
6
13
  },
7
14
  "kind": "user",
8
15
  "methods": {
9
16
  "decreaseAllowance(address,uint256,bytes)": {
10
- "notice": "Decrease the allowance of `operator` by -`substractedAmount`"
17
+ "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
11
18
  },
12
19
  "getData(bytes32)": {
13
- "notice": "Gets singular data at a given `dataKey`"
20
+ "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
14
21
  },
15
22
  "getDataBatch(bytes32[])": {
16
- "notice": "Gets array of data for multiple given keys"
23
+ "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
17
24
  },
18
25
  "increaseAllowance(address,uint256,bytes)": {
19
26
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
@@ -22,7 +29,10 @@
22
29
  "notice": "Initializing a `LSP7CompatibleERC20MintableInit` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
23
30
  },
24
31
  "setData(bytes32,bytes)": {
25
- "notice": "Sets singular data for a given `dataKey`"
32
+ "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
33
+ },
34
+ "setDataBatch(bytes32[],bytes[])": {
35
+ "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
26
36
  }
27
37
  },
28
38
  "version": 1