Closed carlossampol closed 5 years ago
Auditing time is 1 day
@MrCrambo assigned.
My report is finished
Auditing time: 1 day.
My report is finished.
@danbogd assigned.
audit time 1 day
@RideSolo assigned
Blume Token smart contract security audit report performed by Callisto Security Audit Department
Symbol : BLM
Name : Blume Token
Capped supply: 100,000,000
Decimals : 8
Standard : ERC20
In total, 2 issues were reported including:
No critical security issues were found.
It is possible to double withdrawal attack. More details here.
Lack of transaction handling mechanism issue. WARNING! This is a very common issue and it already caused millions of dollars losses for lots of token users! More details here.
Add the following code to the transfer(_to address, ...)
function:
require( _to != address(this) );
Transfers to address 0 is used as a basic burn mechanism, however transfer to address zero can also be a result of a mistake by a user or a dapp, devs should take this issue into consideration
function transfer(address to, uint tokens) public returns (bool success) {
balances[msg.sender] = safeSub(balances[msg.sender], tokens);
balances[to] = safeAdd(balances[to], tokens);
Transfer(msg.sender, to, tokens);
return true;
}
function transferFrom(address from, address to, uint tokens) public returns (bool success) {
balances[from] = safeSub(balances[from], tokens);
allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);
balances[to] = safeAdd(balances[to], tokens);
Transfer(from, to, tokens);
return true;
}
function totalSupply() public constant returns (uint) {
return _totalSupply - balances[address(0)];
}
The audited smart contract can be deployed. Only low severity issues were found during the audit.
https://gist.github.com/yuriy77k/323b5d7a78524afb5b06f0a688b1faf4
https://gist.github.com/yuriy77k/3b1899e479d14e1271a49deb68940a0e
https://gist.github.com/yuriy77k/e22a93e1c5929c25cf8714f1a8894925
Audit request
Blume Token is ERC-20 token, which is fast, low-fee and going to support charity and education in cryptocurrency, blockchain.
Source code
https://etherscan.io/address/0x2722690a68f97e3361b958eb0b1dedf39190f6ad#code
Disclosure policy
info@blumetoken.com
Platform
Ethereum
Number of lines:
108