@lukso/lsp-smart-contracts 0.12.0 → 0.12.1

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 (123) hide show
  1. package/artifacts/LSP0ERC725Account.json +15 -15
  2. package/artifacts/LSP0ERC725AccountInit.json +15 -15
  3. package/artifacts/LSP1UniversalReceiverDelegateUP.json +15 -15
  4. package/artifacts/LSP1UniversalReceiverDelegateVault.json +15 -15
  5. package/artifacts/LSP6KeyManager.json +15 -15
  6. package/artifacts/LSP6KeyManagerInit.json +15 -15
  7. package/artifacts/LSP7CappedSupply.json +0 -13
  8. package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -13
  9. package/artifacts/LSP7CompatibleERC20.json +0 -13
  10. package/artifacts/LSP7CompatibleERC20InitAbstract.json +0 -13
  11. package/artifacts/LSP7CompatibleERC20Mintable.json +2 -15
  12. package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -15
  13. package/artifacts/LSP7DigitalAsset.json +0 -13
  14. package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -13
  15. package/artifacts/LSP7Mintable.json +2 -15
  16. package/artifacts/LSP7MintableInit.json +2 -15
  17. package/artifacts/LSP8CappedSupply.json +0 -13
  18. package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -13
  19. package/artifacts/LSP8CompatibleERC721.json +0 -13
  20. package/artifacts/LSP8CompatibleERC721InitAbstract.json +0 -13
  21. package/artifacts/LSP8CompatibleERC721Mintable.json +2 -15
  22. package/artifacts/LSP8CompatibleERC721MintableInit.json +2 -15
  23. package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -13
  24. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -13
  25. package/artifacts/LSP8Mintable.json +2 -15
  26. package/artifacts/LSP8MintableInit.json +2 -15
  27. package/artifacts/LSP9Vault.json +15 -15
  28. package/artifacts/LSP9VaultInit.json +15 -15
  29. package/artifacts/UniversalProfile.json +15 -15
  30. package/artifacts/UniversalProfileInit.json +15 -15
  31. package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
  32. package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +7 -3
  33. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +62 -41
  34. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +2 -1
  35. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +3 -1
  36. package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +11 -10
  37. package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +2 -1
  38. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +31 -33
  39. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +24 -17
  40. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +1 -1
  41. package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +1 -5
  42. package/contracts/LSP6KeyManager/LSP6KeyManager.sol +2 -1
  43. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +15 -9
  44. package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +2 -1
  45. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +14 -16
  46. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +6 -2
  47. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +7 -17
  48. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +5 -15
  49. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +1 -4
  50. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +1 -4
  51. package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
  52. package/contracts/LSP9Vault/LSP9Vault.sol +3 -2
  53. package/contracts/LSP9Vault/LSP9VaultCore.sol +22 -15
  54. package/contracts/LSP9Vault/LSP9VaultInit.sol +2 -1
  55. package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +1 -1
  56. package/contracts/UniversalProfile.sol +4 -2
  57. package/contracts/UniversalProfileInit.sol +8 -5
  58. package/contracts/UniversalProfileInitAbstract.sol +4 -2
  59. package/contracts/Version.sol +6 -5
  60. package/devdocs/LSP0ERC725Account.json +3 -8
  61. package/devdocs/LSP0ERC725AccountInit.json +2 -7
  62. package/devdocs/LSP1UniversalReceiverDelegateUP.json +0 -6
  63. package/devdocs/LSP1UniversalReceiverDelegateVault.json +0 -6
  64. package/devdocs/LSP6KeyManager.json +1 -6
  65. package/devdocs/LSP6KeyManagerInit.json +1 -6
  66. package/devdocs/LSP7CappedSupply.json +0 -6
  67. package/devdocs/LSP7CappedSupplyInitAbstract.json +0 -6
  68. package/devdocs/LSP7CompatibleERC20.json +0 -6
  69. package/devdocs/LSP7CompatibleERC20InitAbstract.json +0 -6
  70. package/devdocs/LSP7CompatibleERC20Mintable.json +0 -6
  71. package/devdocs/LSP7CompatibleERC20MintableInit.json +0 -6
  72. package/devdocs/LSP7DigitalAsset.json +0 -6
  73. package/devdocs/LSP7DigitalAssetInitAbstract.json +0 -6
  74. package/devdocs/LSP7Mintable.json +0 -6
  75. package/devdocs/LSP7MintableInit.json +0 -6
  76. package/devdocs/LSP8CappedSupply.json +0 -6
  77. package/devdocs/LSP8CappedSupplyInitAbstract.json +0 -6
  78. package/devdocs/LSP8CompatibleERC721.json +0 -6
  79. package/devdocs/LSP8CompatibleERC721InitAbstract.json +0 -6
  80. package/devdocs/LSP8CompatibleERC721Mintable.json +0 -6
  81. package/devdocs/LSP8CompatibleERC721MintableInit.json +0 -6
  82. package/devdocs/LSP8IdentifiableDigitalAsset.json +0 -6
  83. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -6
  84. package/devdocs/LSP8Mintable.json +0 -6
  85. package/devdocs/LSP8MintableInit.json +0 -6
  86. package/devdocs/LSP9Vault.json +0 -6
  87. package/devdocs/LSP9VaultInit.json +0 -6
  88. package/devdocs/UniversalProfile.json +3 -8
  89. package/devdocs/UniversalProfileInit.json +4 -9
  90. package/dist/constants.cjs.js +142 -536
  91. package/dist/constants.d.ts +166 -734
  92. package/dist/constants.es.js +142 -536
  93. package/package.json +1 -1
  94. package/userdocs/LSP0ERC725Account.json +3 -3
  95. package/userdocs/LSP0ERC725AccountInit.json +3 -3
  96. package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -3
  97. package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -3
  98. package/userdocs/LSP6KeyManager.json +3 -3
  99. package/userdocs/LSP6KeyManagerInit.json +3 -3
  100. package/userdocs/LSP7CappedSupply.json +0 -3
  101. package/userdocs/LSP7CappedSupplyInitAbstract.json +0 -3
  102. package/userdocs/LSP7CompatibleERC20.json +0 -3
  103. package/userdocs/LSP7CompatibleERC20InitAbstract.json +0 -3
  104. package/userdocs/LSP7CompatibleERC20Mintable.json +0 -3
  105. package/userdocs/LSP7CompatibleERC20MintableInit.json +0 -3
  106. package/userdocs/LSP7DigitalAsset.json +0 -3
  107. package/userdocs/LSP7DigitalAssetInitAbstract.json +0 -3
  108. package/userdocs/LSP7Mintable.json +0 -3
  109. package/userdocs/LSP7MintableInit.json +0 -3
  110. package/userdocs/LSP8CappedSupply.json +0 -3
  111. package/userdocs/LSP8CappedSupplyInitAbstract.json +0 -3
  112. package/userdocs/LSP8CompatibleERC721.json +0 -3
  113. package/userdocs/LSP8CompatibleERC721InitAbstract.json +0 -3
  114. package/userdocs/LSP8CompatibleERC721Mintable.json +0 -3
  115. package/userdocs/LSP8CompatibleERC721MintableInit.json +0 -3
  116. package/userdocs/LSP8IdentifiableDigitalAsset.json +0 -3
  117. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -3
  118. package/userdocs/LSP8Mintable.json +0 -3
  119. package/userdocs/LSP8MintableInit.json +0 -3
  120. package/userdocs/LSP9Vault.json +3 -3
  121. package/userdocs/LSP9VaultInit.json +3 -3
  122. package/userdocs/UniversalProfile.json +3 -3
  123. 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.12.1",
4
4
  "description": "The reference implementation for universal profiles smart contracts",
5
5
  "directories": {
6
6
  "test": "test"
@@ -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
@@ -46,9 +46,6 @@
46
46
  },
47
47
  "tokenSupplyCap()": {
48
48
  "notice": "The maximum supply amount of tokens allowed to exist is `_TOKEN_SUPPLY_CAP`."
49
- },
50
- "version()": {
51
- "notice": "Contract version."
52
49
  }
53
50
  },
54
51
  "version": 1
@@ -43,9 +43,6 @@
43
43
  },
44
44
  "tokenSupplyCap()": {
45
45
  "notice": "The maximum supply amount of tokens allowed to exist is `_tokenSupplyCap`."
46
- },
47
- "version()": {
48
- "notice": "Contract version."
49
46
  }
50
47
  },
51
48
  "version": 1
@@ -33,9 +33,6 @@
33
33
  },
34
34
  "setDataBatch(bytes32[],bytes[])": {
35
35
  "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
36
  }
40
37
  },
41
38
  "version": 1
@@ -30,9 +30,6 @@
30
30
  },
31
31
  "setDataBatch(bytes32[],bytes[])": {
32
32
  "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
33
  }
37
34
  },
38
35
  "version": 1
@@ -33,9 +33,6 @@
33
33
  },
34
34
  "setDataBatch(bytes32[],bytes[])": {
35
35
  "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
36
  }
40
37
  },
41
38
  "version": 1
@@ -33,9 +33,6 @@
33
33
  },
34
34
  "setDataBatch(bytes32[],bytes[])": {
35
35
  "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
36
  }
40
37
  },
41
38
  "version": 1
@@ -33,9 +33,6 @@
33
33
  },
34
34
  "setDataBatch(bytes32[],bytes[])": {
35
35
  "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
36
  }
40
37
  },
41
38
  "version": 1
@@ -30,9 +30,6 @@
30
30
  },
31
31
  "setDataBatch(bytes32[],bytes[])": {
32
32
  "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
33
  }
37
34
  },
38
35
  "version": 1
@@ -33,9 +33,6 @@
33
33
  },
34
34
  "setDataBatch(bytes32[],bytes[])": {
35
35
  "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
36
  }
40
37
  },
41
38
  "version": 1
@@ -33,9 +33,6 @@
33
33
  },
34
34
  "setDataBatch(bytes32[],bytes[])": {
35
35
  "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
36
  }
40
37
  },
41
38
  "version": 1
@@ -40,9 +40,6 @@
40
40
  },
41
41
  "tokenSupplyCap()": {
42
42
  "notice": "The maximum supply amount of tokens allowed to exist is `_TOKEN_SUPPLY_CAP`."
43
- },
44
- "version()": {
45
- "notice": "Contract version."
46
43
  }
47
44
  },
48
45
  "version": 1
@@ -37,9 +37,6 @@
37
37
  },
38
38
  "tokenSupplyCap()": {
39
39
  "notice": "The maximum supply amount of tokens allowed to exist is `_tokenSupplyCap`."
40
- },
41
- "version()": {
42
- "notice": "Contract version."
43
40
  }
44
41
  },
45
42
  "version": 1
@@ -54,9 +54,6 @@
54
54
  },
55
55
  "transferFrom(address,address,uint256)": {
56
56
  "notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
57
- },
58
- "version()": {
59
- "notice": "Contract version."
60
57
  }
61
58
  },
62
59
  "version": 1
@@ -51,9 +51,6 @@
51
51
  },
52
52
  "transferFrom(address,address,uint256)": {
53
53
  "notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
54
- },
55
- "version()": {
56
- "notice": "Contract version."
57
54
  }
58
55
  },
59
56
  "version": 1
@@ -57,9 +57,6 @@
57
57
  },
58
58
  "transferFrom(address,address,uint256)": {
59
59
  "notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
60
- },
61
- "version()": {
62
- "notice": "Contract version."
63
60
  }
64
61
  },
65
62
  "version": 1
@@ -57,9 +57,6 @@
57
57
  },
58
58
  "transferFrom(address,address,uint256)": {
59
59
  "notice": "Calling `transferFrom` function to transfer tokenId `tokenId` from address `from` to address `to`."
60
- },
61
- "version()": {
62
- "notice": "Contract version."
63
60
  }
64
61
  },
65
62
  "version": 1
@@ -27,9 +27,6 @@
27
27
  },
28
28
  "setDataBatch(bytes32[],bytes[])": {
29
29
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
30
- },
31
- "version()": {
32
- "notice": "Contract version."
33
30
  }
34
31
  },
35
32
  "version": 1
@@ -24,9 +24,6 @@
24
24
  },
25
25
  "setDataBatch(bytes32[],bytes[])": {
26
26
  "notice": "Setting the following data key value pairs in the ERC725Y storage. Data keys: `dataKeys`, data values: `dataValues`."
27
- },
28
- "version()": {
29
- "notice": "Contract version."
30
27
  }
31
28
  },
32
29
  "version": 1
@@ -30,9 +30,6 @@
30
30
  },
31
31
  "setDataBatch(bytes32[],bytes[])": {
32
32
  "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
33
  }
37
34
  },
38
35
  "version": 1
@@ -30,9 +30,6 @@
30
30
  },
31
31
  "setDataBatch(bytes32[],bytes[])": {
32
32
  "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
33
  }
37
34
  },
38
35
  "version": 1
@@ -46,6 +46,9 @@
46
46
  },
47
47
  "kind": "user",
48
48
  "methods": {
49
+ "VERSION()": {
50
+ "notice": "Contract version."
51
+ },
49
52
  "acceptOwnership()": {
50
53
  "notice": "`msg.sender` is accepting ownership of contract: `address(this)`."
51
54
  },
@@ -84,9 +87,6 @@
84
87
  },
85
88
  "universalReceiver(bytes32,bytes)": {
86
89
  "notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
87
- },
88
- "version()": {
89
- "notice": "Contract version."
90
90
  }
91
91
  },
92
92
  "version": 1
@@ -46,6 +46,9 @@
46
46
  },
47
47
  "kind": "user",
48
48
  "methods": {
49
+ "VERSION()": {
50
+ "notice": "Contract version."
51
+ },
49
52
  "acceptOwnership()": {
50
53
  "notice": "`msg.sender` is accepting ownership of contract: `address(this)`."
51
54
  },
@@ -84,9 +87,6 @@
84
87
  },
85
88
  "universalReceiver(bytes32,bytes)": {
86
89
  "notice": "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
87
- },
88
- "version()": {
89
- "notice": "Contract version."
90
90
  }
91
91
  },
92
92
  "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
  },
@@ -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