BNC token security audit report performed by Callisto Security Audit Department
No critical issue. This contract can be considered safe to be deployed. However, as highlighted users can accidentally send their tokens to 0x0 address.
Bionic Token do not require the to
address to be non null before transfer
. Accidental token loss to address 0x0 can be applicable.
The version of ERC20 used in this contract, use a basic burn mechanism where anyone can send tokens to 0x0 address. However, this mechanism leads to the above mentioned issue.
Refer to ERC20 Standard implemented by OpenZepplin, to avoid this issue.
ERC20 Tokens have some well-known issues (listed bellow), This is just a reminder for the contract developers.
- Approve + transferFrom mechanism allows double Withdrawal attack (as commented on the contract).
- Lack of transaction handling.
The above mentioned issues are well documented, a basic search can help to get more information.