@lukso/lsp7-contracts 0.16.4 → 0.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Package for the LSP7 Digital Asset standard.
4
4
 
5
+ > The contracts [`LSP7Votes`](contracts/extensions/LSP7Votes.sol) and [`LSP7VotesInitiAbstract`](contracts/extensions/LSP7VotesInitAbstract.sol) have not been formally audited by an external third party and are not recommended to be used in production without undergoing an independent security audit.
6
+
5
7
  ## Installation
6
8
 
7
9
  ```console
@@ -24,6 +24,10 @@ import {Counters} from "@openzeppelin/contracts/utils/Counters.sol";
24
24
  *
25
25
  * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
26
26
  * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
27
+ *
28
+ * @custom:warning This extension contract is not formally audited.
29
+ * For any contract intended to be deployed in production that inherits from this extension, it is recommended to conduct
30
+ * an independent security audit, including this extension in the audit scope.
27
31
  */
28
32
  abstract contract LSP7Votes is LSP7DigitalAsset, EIP712, IERC5805 {
29
33
  using Counters for Counters.Counter;
@@ -29,6 +29,10 @@ import {Counters} from "@openzeppelin/contracts/utils/Counters.sol";
29
29
  *
30
30
  * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
31
31
  * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
32
+ *
33
+ * @custom:warning This extension contract is not formally audited.
34
+ * For any contract intended to be deployed in production that inherits from this extension, it is recommended to conduct
35
+ * an independent security audit, including this extension in the audit scope.
32
36
  */
33
37
  abstract contract LSP7VotesInitAbstract is
34
38
  LSP7DigitalAssetInitAbstract,
@@ -10,7 +10,6 @@ import {LSP7DigitalAsset} from "../LSP7DigitalAsset.sol";
10
10
 
11
11
  /**
12
12
  * @title LSP7DigitalAsset deployable preset contract with a public {mint} function callable only by the contract {owner}.
13
- * @author Jean Cavallera, Yamen Merhi
14
13
  */
15
14
  contract LSP7Mintable is LSP7DigitalAsset, ILSP7Mintable {
16
15
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukso/lsp7-contracts",
3
- "version": "0.16.4",
3
+ "version": "0.16.5",
4
4
  "description": "Package for the LSP7 Digital Asset standard",
5
5
  "license": "Apache-2.0",
6
6
  "author": "",
@@ -47,7 +47,7 @@
47
47
  "scripts": {
48
48
  "build": "hardhat compile --show-stack-traces",
49
49
  "build:js": "unbuild",
50
- "build:types": "npx wagmi generate",
50
+ "build:types": "wagmi generate",
51
51
  "clean": "hardhat clean && rm -Rf dist/ cache/ node_modules/ .turbo/ types/ typechain/ build/ artifacts/",
52
52
  "format": "prettier --write .",
53
53
  "lint": "eslint . --ext .ts,.js",