mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
653 B
21 lines
653 B
# Check ERC20
|
|
|
|
## Check functions
|
|
[✓] totalSupply() is present
|
|
[✓] totalSupply() -> (uint256) (correct return type)
|
|
[✓] totalSupply() is view
|
|
[ ] balanceOf(address) is missing
|
|
[ ] transfer(address,uint256) is missing
|
|
[ ] transferFrom(address,address,uint256) is missing
|
|
[ ] approve(address,uint256) is missing
|
|
[ ] allowance(address,address) is missing
|
|
[ ] name() is missing (optional)
|
|
[ ] symbol() is missing (optional)
|
|
[ ] decimals() is missing (optional)
|
|
|
|
## Check events
|
|
[ ] Transfer(address,address,uint256) is missing
|
|
[ ] Approval(address,address,uint256) is missing
|
|
|
|
|
|
[ ] ERC20 is not protected for the ERC20 approval race condition
|
|
|