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.
pragma solidity ^0.4.20; | |
library SafeMath { | |
function mul(uint256 a, uint256 b) internal pure returns (uint256) { | |
if (a == 0) { | |
return 0; | |
} | |
uint256 c = a * b; | |
require(c / a == b); |
No critical issue. This contract can be considered safe to be deployed. However, as highlighted users can accidentally send their tokens to 0x0 address.
No critical issue, bug fixing is necessary. It is highly recommended to complete a bug bounty before use.
transferFromAndCall
or transferAndCall
implemented in OpenZeppelin ERC827Token
to transfer token without fee collection and possible manipulation of the reward since it the reward won't be updated.FeeableToken
contract overload transfer
and transferFrom
methods, if a user directly call these functions to transfer tokens, it can lead to lost tokens issue.No critical issue, bug fixing is necessary. It is highly recommended to complete a bug bounty before use.
pragma solidity ^0.4.16; | |
/* | |
* Abstract Token Smart Contract. Copyright © 2017 by ABDK Consulting. | |
* Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com> | |
*/ | |
pragma solidity ^0.4.20; | |
/* | |
* EIP-20 Standard Token Smart Contract Interface. |
The contracts reviewed can be considered safe to be deployed. However a lot of optimization has to be done to minimize gas consumption.
No critical issue, bug fixing is necessary. It is highly recommended to complete a bug bounty before use.
pragma solidity ^0.4.8; | |
/** | |
* Math operations with safety checks | |
*/ | |
contract SafeMath { | |
function safeMul(uint256 a, uint256 b) internal returns (uint256) { | |
uint256 c = a * b; | |
assert(a == 0 || c / a == b); | |
return c; |
The audit, conducted on P3C contract, concluded that the contract is safe to be used. Graphical analysis and the definition domains of the functions used for conversion (tokens to ether and ether to tokens) showed positive results. However, for better analysis the contract developers should provide the community with a white paper describing every aspect of the contract especial the conversion algorithms.