@lukso/lsp-smart-contracts 0.12.0 → 0.13.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 (160) hide show
  1. package/README.md +2 -2
  2. package/artifacts/LSP0ERC725Account.json +19 -19
  3. package/artifacts/LSP0ERC725AccountInit.json +19 -19
  4. package/artifacts/LSP11BasicSocialRecovery.json +2 -2
  5. package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
  6. package/artifacts/LSP1UniversalReceiverDelegateUP.json +15 -15
  7. package/artifacts/LSP1UniversalReceiverDelegateVault.json +15 -15
  8. package/artifacts/LSP4DigitalAssetMetadata.json +5 -0
  9. package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +5 -0
  10. package/artifacts/LSP6KeyManager.json +15 -15
  11. package/artifacts/LSP6KeyManagerInit.json +15 -15
  12. package/artifacts/LSP7CappedSupply.json +71 -49
  13. package/artifacts/LSP7CappedSupplyInitAbstract.json +71 -49
  14. package/artifacts/LSP7CompatibleERC20.json +71 -49
  15. package/artifacts/LSP7CompatibleERC20InitAbstract.json +71 -49
  16. package/artifacts/LSP7CompatibleERC20Mintable.json +78 -51
  17. package/artifacts/LSP7CompatibleERC20MintableInit.json +78 -51
  18. package/artifacts/LSP7DigitalAsset.json +71 -49
  19. package/artifacts/LSP7DigitalAssetInitAbstract.json +71 -49
  20. package/artifacts/LSP7Mintable.json +78 -51
  21. package/artifacts/LSP7MintableInit.json +78 -51
  22. package/artifacts/LSP8CappedSupply.json +187 -36
  23. package/artifacts/LSP8CappedSupplyInitAbstract.json +200 -49
  24. package/artifacts/LSP8CompatibleERC721.json +187 -36
  25. package/artifacts/LSP8CompatibleERC721InitAbstract.json +200 -49
  26. package/artifacts/LSP8CompatibleERC721Mintable.json +195 -39
  27. package/artifacts/LSP8CompatibleERC721MintableInit.json +208 -52
  28. package/artifacts/LSP8IdentifiableDigitalAsset.json +187 -36
  29. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +200 -49
  30. package/artifacts/LSP8Mintable.json +195 -39
  31. package/artifacts/LSP8MintableInit.json +208 -52
  32. package/artifacts/LSP9Vault.json +19 -19
  33. package/artifacts/LSP9VaultInit.json +19 -19
  34. package/artifacts/UniversalProfile.json +19 -19
  35. package/artifacts/UniversalProfileInit.json +19 -19
  36. package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
  37. package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +7 -3
  38. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +62 -62
  39. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +2 -1
  40. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +3 -1
  41. package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +11 -10
  42. package/contracts/LSP17Extensions/Extension4337.sol +26 -1
  43. package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +2 -1
  44. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +31 -33
  45. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +24 -17
  46. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +1 -1
  47. package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +1 -5
  48. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +9 -0
  49. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +20 -34
  50. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataCore.sol +47 -0
  51. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +19 -31
  52. package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +13 -6
  53. package/contracts/LSP6KeyManager/LSP6KeyManager.sol +2 -1
  54. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +16 -10
  55. package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +2 -1
  56. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +14 -16
  57. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +6 -2
  58. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +20 -9
  59. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  60. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
  61. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +129 -36
  62. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +5 -2
  63. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +6 -0
  64. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +4 -2
  65. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -4
  66. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -2
  67. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +5 -2
  68. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +8 -2
  69. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +12 -1
  70. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +4 -0
  71. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -0
  72. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +77 -4
  73. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +15 -12
  74. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +19 -3
  75. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +25 -16
  76. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +222 -28
  77. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +28 -15
  78. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +16 -8
  79. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +9 -8
  80. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +13 -2
  81. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +6 -2
  82. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +4 -2
  83. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +13 -2
  84. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +6 -2
  85. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +6 -2
  86. package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
  87. package/contracts/LSP9Vault/LSP9Vault.sol +3 -2
  88. package/contracts/LSP9Vault/LSP9VaultCore.sol +22 -37
  89. package/contracts/LSP9Vault/LSP9VaultInit.sol +2 -1
  90. package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +1 -1
  91. package/contracts/UniversalProfile.sol +4 -2
  92. package/contracts/UniversalProfileInit.sol +8 -5
  93. package/contracts/UniversalProfileInitAbstract.sol +4 -2
  94. package/contracts/Version.sol +6 -5
  95. package/devdocs/LSP0ERC725Account.json +3 -8
  96. package/devdocs/LSP0ERC725AccountInit.json +2 -7
  97. package/devdocs/LSP1UniversalReceiverDelegateUP.json +0 -6
  98. package/devdocs/LSP1UniversalReceiverDelegateVault.json +0 -6
  99. package/devdocs/LSP4DigitalAssetMetadata.json +11 -5
  100. package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -2
  101. package/devdocs/LSP6KeyManager.json +2 -7
  102. package/devdocs/LSP6KeyManagerInit.json +2 -7
  103. package/devdocs/LSP7CappedSupply.json +22 -8
  104. package/devdocs/LSP7CappedSupplyInitAbstract.json +22 -8
  105. package/devdocs/LSP7CompatibleERC20.json +23 -8
  106. package/devdocs/LSP7CompatibleERC20InitAbstract.json +22 -8
  107. package/devdocs/LSP7CompatibleERC20Mintable.json +23 -8
  108. package/devdocs/LSP7CompatibleERC20MintableInit.json +24 -9
  109. package/devdocs/LSP7DigitalAsset.json +27 -12
  110. package/devdocs/LSP7DigitalAssetInitAbstract.json +22 -8
  111. package/devdocs/LSP7Mintable.json +24 -8
  112. package/devdocs/LSP7MintableInit.json +25 -9
  113. package/devdocs/LSP8CappedSupply.json +66 -10
  114. package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -10
  115. package/devdocs/LSP8CompatibleERC721.json +69 -11
  116. package/devdocs/LSP8CompatibleERC721InitAbstract.json +67 -11
  117. package/devdocs/LSP8CompatibleERC721Mintable.json +69 -11
  118. package/devdocs/LSP8CompatibleERC721MintableInit.json +70 -12
  119. package/devdocs/LSP8IdentifiableDigitalAsset.json +71 -14
  120. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -10
  121. package/devdocs/LSP8Mintable.json +68 -10
  122. package/devdocs/LSP8MintableInit.json +69 -11
  123. package/devdocs/LSP9Vault.json +0 -6
  124. package/devdocs/LSP9VaultInit.json +0 -6
  125. package/devdocs/UniversalProfile.json +3 -8
  126. package/devdocs/UniversalProfileInit.json +4 -9
  127. package/dist/constants.cjs.js +4552 -1859
  128. package/dist/constants.d.ts +4143 -1371
  129. package/dist/constants.es.js +4551 -1859
  130. package/package.json +2 -2
  131. package/userdocs/LSP0ERC725Account.json +3 -3
  132. package/userdocs/LSP0ERC725AccountInit.json +3 -3
  133. package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -3
  134. package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -3
  135. package/userdocs/LSP6KeyManager.json +3 -3
  136. package/userdocs/LSP6KeyManagerInit.json +3 -3
  137. package/userdocs/LSP7CappedSupply.json +8 -3
  138. package/userdocs/LSP7CappedSupplyInitAbstract.json +8 -3
  139. package/userdocs/LSP7CompatibleERC20.json +8 -3
  140. package/userdocs/LSP7CompatibleERC20InitAbstract.json +8 -3
  141. package/userdocs/LSP7CompatibleERC20Mintable.json +8 -3
  142. package/userdocs/LSP7CompatibleERC20MintableInit.json +9 -4
  143. package/userdocs/LSP7DigitalAsset.json +8 -3
  144. package/userdocs/LSP7DigitalAssetInitAbstract.json +8 -3
  145. package/userdocs/LSP7Mintable.json +8 -3
  146. package/userdocs/LSP7MintableInit.json +9 -4
  147. package/userdocs/LSP8CappedSupply.json +20 -3
  148. package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -3
  149. package/userdocs/LSP8CompatibleERC721.json +20 -3
  150. package/userdocs/LSP8CompatibleERC721InitAbstract.json +20 -3
  151. package/userdocs/LSP8CompatibleERC721Mintable.json +20 -3
  152. package/userdocs/LSP8CompatibleERC721MintableInit.json +21 -4
  153. package/userdocs/LSP8IdentifiableDigitalAsset.json +20 -3
  154. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +19 -2
  155. package/userdocs/LSP8Mintable.json +19 -2
  156. package/userdocs/LSP8MintableInit.json +20 -3
  157. package/userdocs/LSP9Vault.json +3 -3
  158. package/userdocs/LSP9VaultInit.json +3 -3
  159. package/userdocs/UniversalProfile.json +3 -3
  160. package/userdocs/UniversalProfileInit.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukso/lsp-smart-contracts",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "The reference implementation for universal profiles smart contracts",
5
5
  "directories": {
6
6
  "test": "test"
@@ -102,7 +102,7 @@
102
102
  "homepage": "https://github.com/lukso-network/lsp-smart-contracts#readme",
103
103
  "dependencies": {
104
104
  "@account-abstraction/contracts": "^0.6.0",
105
- "@erc725/smart-contracts": "^6.0.0",
105
+ "@erc725/smart-contracts": "^7.0.0",
106
106
  "@openzeppelin/contracts": "^4.9.2",
107
107
  "@openzeppelin/contracts-upgradeable": "^4.9.2",
108
108
  "solidity-bytes-utils": "0.8.0"
@@ -41,6 +41,9 @@
41
41
  },
42
42
  "kind": "user",
43
43
  "methods": {
44
+ "VERSION()": {
45
+ "notice": "Contract version."
46
+ },
44
47
  "acceptOwnership()": {
45
48
  "notice": "`msg.sender` is accepting ownership of contract: `address(this)`."
46
49
  },
@@ -82,9 +85,6 @@
82
85
  },
83
86
  "universalReceiver(bytes32,bytes)": {
84
87
  "notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
85
- },
86
- "version()": {
87
- "notice": "Contract version."
88
88
  }
89
89
  },
90
90
  "version": 1
@@ -41,6 +41,9 @@
41
41
  },
42
42
  "kind": "user",
43
43
  "methods": {
44
+ "VERSION()": {
45
+ "notice": "Contract version."
46
+ },
44
47
  "acceptOwnership()": {
45
48
  "notice": "`msg.sender` is accepting ownership of contract: `address(this)`."
46
49
  },
@@ -85,9 +88,6 @@
85
88
  },
86
89
  "universalReceiver(bytes32,bytes)": {
87
90
  "notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
88
- },
89
- "version()": {
90
- "notice": "Contract version."
91
91
  }
92
92
  },
93
93
  "version": 1
@@ -8,11 +8,11 @@
8
8
  },
9
9
  "kind": "user",
10
10
  "methods": {
11
+ "VERSION()": {
12
+ "notice": "Contract version."
13
+ },
11
14
  "universalReceiverDelegate(address,uint256,bytes32,bytes)": {
12
15
  "notice": "Reacted on received notification with `typeId`."
13
- },
14
- "version()": {
15
- "notice": "Contract version."
16
16
  }
17
17
  },
18
18
  "version": 1
@@ -8,11 +8,11 @@
8
8
  },
9
9
  "kind": "user",
10
10
  "methods": {
11
+ "VERSION()": {
12
+ "notice": "Contract version."
13
+ },
11
14
  "universalReceiverDelegate(address,uint256,bytes32,bytes)": {
12
15
  "notice": "Reacted on received notification with `typeId`."
13
- },
14
- "version()": {
15
- "notice": "Contract version."
16
16
  }
17
17
  },
18
18
  "version": 1
@@ -128,6 +128,9 @@
128
128
  },
129
129
  "kind": "user",
130
130
  "methods": {
131
+ "VERSION()": {
132
+ "notice": "Contract version."
133
+ },
131
134
  "constructor": {
132
135
  "notice": "Deploying a LSP6KeyManager linked to the contract at address `target_`."
133
136
  },
@@ -145,9 +148,6 @@
145
148
  },
146
149
  "getNonce(address,uint128)": {
147
150
  "notice": "Reading the latest nonce of address `from` in the channel ID `channelId`."
148
- },
149
- "version()": {
150
- "notice": "Contract version."
151
151
  }
152
152
  },
153
153
  "version": 1
@@ -128,6 +128,9 @@
128
128
  },
129
129
  "kind": "user",
130
130
  "methods": {
131
+ "VERSION()": {
132
+ "notice": "Contract version."
133
+ },
131
134
  "constructor": {
132
135
  "notice": "Deploying a LSP6KeyManagerInit to be used as base contract behind proxy."
133
136
  },
@@ -148,9 +151,6 @@
148
151
  },
149
152
  "initialize(address)": {
150
153
  "notice": "Initializing a LSP6KeyManagerInit linked to contract at address `target_`."
151
- },
152
- "version()": {
153
- "notice": "Contract version."
154
154
  }
155
155
  },
156
156
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7CappedSupplyCannotMintOverCap()": [
4
9
  {
5
10
  "notice": "Cannot mint anymore as total supply reached the maximum cap."
@@ -23,6 +28,9 @@
23
28
  },
24
29
  "kind": "user",
25
30
  "methods": {
31
+ "batchCalls(bytes[])": {
32
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
33
+ },
26
34
  "constructor": {
27
35
  "notice": "Deploying a `LSP7CappedSupply` token contract with max token supply cap set to `tokenSupplyCap_`."
28
36
  },
@@ -46,9 +54,6 @@
46
54
  },
47
55
  "tokenSupplyCap()": {
48
56
  "notice": "The maximum supply amount of tokens allowed to exist is `_TOKEN_SUPPLY_CAP`."
49
- },
50
- "version()": {
51
- "notice": "Contract version."
52
57
  }
53
58
  },
54
59
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7CappedSupplyCannotMintOverCap()": [
4
9
  {
5
10
  "notice": "Cannot mint anymore as total supply reached the maximum cap."
@@ -23,6 +28,9 @@
23
28
  },
24
29
  "kind": "user",
25
30
  "methods": {
31
+ "batchCalls(bytes[])": {
32
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
33
+ },
26
34
  "decreaseAllowance(address,uint256,bytes)": {
27
35
  "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
28
36
  },
@@ -43,9 +51,6 @@
43
51
  },
44
52
  "tokenSupplyCap()": {
45
53
  "notice": "The maximum supply amount of tokens allowed to exist is `_tokenSupplyCap`."
46
- },
47
- "version()": {
48
- "notice": "Contract version."
49
54
  }
50
55
  },
51
56
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "constructor": {
17
25
  "notice": "Deploying a `LSP7CompatibleERC20` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
18
26
  },
@@ -33,9 +41,6 @@
33
41
  },
34
42
  "setDataBatch(bytes32[],bytes[])": {
35
43
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
36
- },
37
- "version()": {
38
- "notice": "Contract version."
39
44
  }
40
45
  },
41
46
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "decreaseAllowance(address,uint256,bytes)": {
17
25
  "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
18
26
  },
@@ -30,9 +38,6 @@
30
38
  },
31
39
  "setDataBatch(bytes32[],bytes[])": {
32
40
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
33
- },
34
- "version()": {
35
- "notice": "Contract version."
36
41
  }
37
42
  },
38
43
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "constructor": {
17
25
  "notice": "Deploying a `LSP7CompatibleERC20Mintable` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
18
26
  },
@@ -33,9 +41,6 @@
33
41
  },
34
42
  "setDataBatch(bytes32[],bytes[])": {
35
43
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
36
- },
37
- "version()": {
38
- "notice": "Contract version."
39
44
  }
40
45
  },
41
46
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "decreaseAllowance(address,uint256,bytes)": {
17
25
  "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
18
26
  },
@@ -25,7 +33,7 @@
25
33
  "increaseAllowance(address,uint256,bytes)": {
26
34
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
27
35
  },
28
- "initialize(string,string,address)": {
36
+ "initialize(string,string,address,uint256)": {
29
37
  "notice": "Initializing a `LSP7CompatibleERC20MintableInit` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
30
38
  },
31
39
  "setData(bytes32,bytes)": {
@@ -33,9 +41,6 @@
33
41
  },
34
42
  "setDataBatch(bytes32[],bytes[])": {
35
43
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
36
- },
37
- "version()": {
38
- "notice": "Contract version."
39
44
  }
40
45
  },
41
46
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "constructor": {
17
25
  "notice": "Sets the token-Metadata"
18
26
  },
@@ -33,9 +41,6 @@
33
41
  },
34
42
  "setDataBatch(bytes32[],bytes[])": {
35
43
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
36
- },
37
- "version()": {
38
- "notice": "Contract version."
39
44
  }
40
45
  },
41
46
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "decreaseAllowance(address,uint256,bytes)": {
17
25
  "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
18
26
  },
@@ -30,9 +38,6 @@
30
38
  },
31
39
  "setDataBatch(bytes32[],bytes[])": {
32
40
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
33
- },
34
- "version()": {
35
- "notice": "Contract version."
36
41
  }
37
42
  },
38
43
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "constructor": {
17
25
  "notice": "Deploying a `LSP7Mintable` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
18
26
  },
@@ -33,9 +41,6 @@
33
41
  },
34
42
  "setDataBatch(bytes32[],bytes[])": {
35
43
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
36
- },
37
- "version()": {
38
- "notice": "Contract version."
39
44
  }
40
45
  },
41
46
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP7BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP7TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP7 contract cannot receive native tokens."
@@ -13,6 +18,9 @@
13
18
  },
14
19
  "kind": "user",
15
20
  "methods": {
21
+ "batchCalls(bytes[])": {
22
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
23
+ },
16
24
  "decreaseAllowance(address,uint256,bytes)": {
17
25
  "notice": "Decrease the allowance of `operator` by -`subtractedAmount`"
18
26
  },
@@ -25,7 +33,7 @@
25
33
  "increaseAllowance(address,uint256,bytes)": {
26
34
  "notice": "Increase the allowance of `operator` by +`addedAmount`"
27
35
  },
28
- "initialize(string,string,address,bool)": {
36
+ "initialize(string,string,address,uint256,bool)": {
29
37
  "notice": "Initializing a `LSP7MintableInit` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
30
38
  },
31
39
  "setData(bytes32,bytes)": {
@@ -33,9 +41,6 @@
33
41
  },
34
42
  "setDataBatch(bytes32[],bytes[])": {
35
43
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
36
- },
37
- "version()": {
38
- "notice": "Contract version."
39
44
  }
40
45
  },
41
46
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP8BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP8CappedSupplyCannotMintOverCap()": [
4
9
  {
5
10
  "notice": "Cannot mint anymore as total supply reached the maximum cap."
@@ -23,6 +28,9 @@
23
28
  },
24
29
  "kind": "user",
25
30
  "methods": {
31
+ "batchCalls(bytes[])": {
32
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
33
+ },
26
34
  "constructor": {
27
35
  "notice": "Deploying a `LSP8CappedSupply` token contract with max token supply cap set to `tokenSupplyCap_`."
28
36
  },
@@ -32,17 +40,26 @@
32
40
  "getDataBatch(bytes32[])": {
33
41
  "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
34
42
  },
43
+ "getTokenIdData(bytes32,bytes32)": {
44
+ "notice": "Retrieves data for a specific `tokenId` and `dataKey`."
45
+ },
46
+ "getTokenIdDataBatch(bytes32[],bytes32[])": {
47
+ "notice": "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
48
+ },
35
49
  "setData(bytes32,bytes)": {
36
50
  "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
37
51
  },
38
52
  "setDataBatch(bytes32[],bytes[])": {
39
53
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
40
54
  },
55
+ "setTokenIdData(bytes32,bytes32,bytes)": {
56
+ "notice": "Sets data for a specific `tokenId` and `dataKey`."
57
+ },
58
+ "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
59
+ "notice": "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
60
+ },
41
61
  "tokenSupplyCap()": {
42
62
  "notice": "The maximum supply amount of tokens allowed to exist is `_TOKEN_SUPPLY_CAP`."
43
- },
44
- "version()": {
45
- "notice": "Contract version."
46
63
  }
47
64
  },
48
65
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP8BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP8CappedSupplyCannotMintOverCap()": [
4
9
  {
5
10
  "notice": "Cannot mint anymore as total supply reached the maximum cap."
@@ -23,23 +28,35 @@
23
28
  },
24
29
  "kind": "user",
25
30
  "methods": {
31
+ "batchCalls(bytes[])": {
32
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
33
+ },
26
34
  "getData(bytes32)": {
27
35
  "notice": "Reading the ERC725Y storage for data key `dataKey` returned the following value: `dataValue`."
28
36
  },
29
37
  "getDataBatch(bytes32[])": {
30
38
  "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
31
39
  },
40
+ "getTokenIdData(bytes32,bytes32)": {
41
+ "notice": "Retrieves data for a specific `tokenId` and `dataKey`."
42
+ },
43
+ "getTokenIdDataBatch(bytes32[],bytes32[])": {
44
+ "notice": "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
45
+ },
32
46
  "setData(bytes32,bytes)": {
33
47
  "notice": "Setting the following data key value pair in the ERC725Y storage. Data key: `dataKey`, data value: `dataValue`."
34
48
  },
35
49
  "setDataBatch(bytes32[],bytes[])": {
36
50
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
37
51
  },
52
+ "setTokenIdData(bytes32,bytes32,bytes)": {
53
+ "notice": "Sets data for a specific `tokenId` and `dataKey`."
54
+ },
55
+ "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
56
+ "notice": "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
57
+ },
38
58
  "tokenSupplyCap()": {
39
59
  "notice": "The maximum supply amount of tokens allowed to exist is `_tokenSupplyCap`."
40
- },
41
- "version()": {
42
- "notice": "Contract version."
43
60
  }
44
61
  },
45
62
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP8BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP8TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP8 contract cannot receive native tokens."
@@ -16,6 +21,9 @@
16
21
  "approve(address,uint256)": {
17
22
  "notice": "Calling `approve` function to approve operator at address `operator` to transfer tokenId `tokenId` on behalf of its owner."
18
23
  },
24
+ "batchCalls(bytes[])": {
25
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
26
+ },
19
27
  "constructor": {
20
28
  "notice": "Deploying a `LSP8CompatibleERC721` token contract with: token name = `name_`, token symbol = `symbol_`, and address `newOwner_` as the token contract owner."
21
29
  },
@@ -28,6 +36,12 @@
28
36
  "getDataBatch(bytes32[])": {
29
37
  "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
30
38
  },
39
+ "getTokenIdData(bytes32,bytes32)": {
40
+ "notice": "Retrieves data for a specific `tokenId` and `dataKey`."
41
+ },
42
+ "getTokenIdDataBatch(bytes32[],bytes32[])": {
43
+ "notice": "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
44
+ },
31
45
  "isApprovedForAll(address,address)": {
32
46
  "notice": "Checking if address `operator` is approved to transfer any tokenId owned by address `owner`."
33
47
  },
@@ -49,14 +63,17 @@
49
63
  "setDataBatch(bytes32[],bytes[])": {
50
64
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
51
65
  },
66
+ "setTokenIdData(bytes32,bytes32,bytes)": {
67
+ "notice": "Sets data for a specific `tokenId` and `dataKey`."
68
+ },
69
+ "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
70
+ "notice": "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
71
+ },
52
72
  "tokenURI(uint256)": {
53
73
  "notice": "Retrieving the token URI of tokenId `tokenId`."
54
74
  },
55
75
  "transferFrom(address,address,uint256)": {
56
76
  "notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
57
- },
58
- "version()": {
59
- "notice": "Contract version."
60
77
  }
61
78
  },
62
79
  "version": 1
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "errors": {
3
+ "LSP8BatchCallFailed(uint256)": [
4
+ {
5
+ "notice": "Batch call failed."
6
+ }
7
+ ],
3
8
  "LSP8TokenContractCannotHoldValue()": [
4
9
  {
5
10
  "notice": "LSP8 contract cannot receive native tokens."
@@ -16,6 +21,9 @@
16
21
  "approve(address,uint256)": {
17
22
  "notice": "Calling `approve` function to approve operator at address `operator` to transfer tokenId `tokenId` on behalf of its owner."
18
23
  },
24
+ "batchCalls(bytes[])": {
25
+ "notice": "Executing the following batch of abi-encoded function calls on the contract: `data`."
26
+ },
19
27
  "getApproved(uint256)": {
20
28
  "notice": "Retrieving the address other than the token owner that is approved to transfer tokenId `tokenId` on behalf of its owner."
21
29
  },
@@ -25,6 +33,12 @@
25
33
  "getDataBatch(bytes32[])": {
26
34
  "notice": "Reading the ERC725Y storage for data keys `dataKeys` returned the following values: `dataValues`."
27
35
  },
36
+ "getTokenIdData(bytes32,bytes32)": {
37
+ "notice": "Retrieves data for a specific `tokenId` and `dataKey`."
38
+ },
39
+ "getTokenIdDataBatch(bytes32[],bytes32[])": {
40
+ "notice": "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
41
+ },
28
42
  "isApprovedForAll(address,address)": {
29
43
  "notice": "Checking if address `operator` is approved to transfer any tokenId owned by address `owner`."
30
44
  },
@@ -46,14 +60,17 @@
46
60
  "setDataBatch(bytes32[],bytes[])": {
47
61
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
48
62
  },
63
+ "setTokenIdData(bytes32,bytes32,bytes)": {
64
+ "notice": "Sets data for a specific `tokenId` and `dataKey`."
65
+ },
66
+ "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])": {
67
+ "notice": "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
68
+ },
49
69
  "tokenURI(uint256)": {
50
70
  "notice": "Retrieving the token URI of tokenId `tokenId`."
51
71
  },
52
72
  "transferFrom(address,address,uint256)": {
53
73
  "notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
54
- },
55
- "version()": {
56
- "notice": "Contract version."
57
74
  }
58
75
  },
59
76
  "version": 1