-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from bizzyvinci/docs
Docs
- Loading branch information
Showing
4 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
| ||
## 👍 Identified QA | ||
Below are the currently identified QA that solstat identifies. If you would like to check out a list of patterns that are ready to be implemented and you would like to add them to the repo, you can check out the [Contribution.md](https://github.com/0xKitsune/solstat/blob/main/Contributing.md#potential-optimizations-vulnerability-and-qa-additions)! | ||
Below are the currently identified QA that solstat identifies. If you would like to check out a list of patterns that are ready to be implemented and you would like to add them to the repo, you can check out the [Contribution.md](https://github.com/0xKitsune/solstat/blob/main/docs/Contributing.md#potential-optimizations-vulnerability-and-qa-additions)! | ||
|
||
<!-- | Quality Assurance | Description | | ||
| ------------------------- | ------------------------------------------------------- | --> | ||
| Quality Assurance | Description | | ||
| ------------------------- | ------------------------------------------------------- | | ||
| constructor_order | Constructor must be placed before any other function | | ||
| private_func_leading_underscore | Use leading underscore for private functions | | ||
| private_vars_leading_underscore | Use leading underscore for private variables | |
5 changes: 4 additions & 1 deletion
5
docs/indentified-vulnerabilities.md → docs/identified-vulnerabilities.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
| ||
## 🪲 Identified Vulnerabilities | ||
Below are the currently identified vulnerabilities that solstat identifies. If you would like to check out a list of patterns that are ready to be implemented and you would like to add them to the repo, you can check out the [Contribution.md](https://github.com/0xKitsune/solstat/blob/main/Contributing.md#potential-optimizations-vulnerability-and-qa-additions)! | ||
Below are the currently identified vulnerabilities that solstat identifies. If you would like to check out a list of patterns that are ready to be implemented and you would like to add them to the repo, you can check out the [Contribution.md](https://github.com/0xKitsune/solstat/blob/main/docs/Contributing.md#potential-optimizations-vulnerability-and-qa-additions)! | ||
|
||
| Vulnerability | Description | | ||
| ------------------------- | ------------------------------------------------------- | | ||
| divide_before_multiply | Use multiplication symbol before division symbol | | ||
| floating_pragma | Use locked pragma rather than floating pragma | | ||
| unprotected_selfdestruct | Add sufficient access control to methods that call `selfdestruct` | | ||
| unsafe_erc20_operation | Use `safeTransfer()`, `safeTransferFrom()`, `safeApprove()` instead of ERC20 `transfer()`, `transferFrom()`, `approve()`. | |