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.
22 lines
647 B
22 lines
647 B
5 years ago
|
# Check ERC20
|
||
|
|
||
|
## Check functions
|
||
|
[✓] totalSupply() is present
|
||
|
[✓] totalSupply() -> () (correct return value)
|
||
|
[✓] 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
|