We have designed a cryptocurrency called the Mello Token for the purpose of integration into our VR Casino concept.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in MelloToken._transfer(address,address,uint256) (#1008-1052):
External calls:
- swapAndLiquify(contractTokenBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1086-1092)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#964)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1142)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1133)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1134)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1153)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#880)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1144)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1154)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#882)
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- _rTotal = _rTotal.sub(rFee) (#919)
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#966)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1152)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#879)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1143)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#881)
Apply the check-effects-interactions pattern.
Additional information: link
MelloToken.addLiquidity(uint256,uint256) (#1095-1108) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
Ensure that all the return values of the function calls are used.
Additional information: link
MelloToken._approve(address,address,uint256).owner (#1000) shadows:
- Ownable.owner() (#432-434) (function)
Rename the local variables that shadow another component.
Additional information: link
MelloToken.setMaxTxPercent(uint256) (#904-908) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(3 ** 2) (#905-907)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in MelloToken.transferFrom(address,address,uint256) (#805-809):
External calls:
- _transfer(sender,recipient,amount) (#806)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1086-1092)
External calls sending eth:
- _transfer(sender,recipient,amount) (#806)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#807)
- _allowances[owner][spender] = amount (#1004)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MelloToken.transferFrom(address,address,uint256) (#805-809):
External calls:
- _transfer(sender,recipient,amount) (#806)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1086-1092)
External calls sending eth:
- _transfer(sender,recipient,amount) (#806)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1100-1107)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1005)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#807)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#479-484) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#481)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#377-398) uses assembly
- INLINE ASM (#390-393)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#245-248) is never used and should be removed
Remove unused functions.
Additional information: link
MelloToken._previousLiquidityFee (#727) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#377-398):
- (success,returndata) = target.call{value: weiValue}(data) (#381)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable MelloToken._maxTxAmount (#735) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#257)" inContext (#251-260)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable MelloToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to MelloToken._transferToExcluded(address,address,uint256).tTransferAmount (#1141)
Prevent variables from having similar names.
Additional information: link
MelloToken.slitherConstructorVariables() (#701-1164) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#736)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MelloToken.numTokensSellToAddToLiquidity (#736) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- MelloToken.isExcludedFromFee(address) (#996-998)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid