Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MintChocolate.biggest(address,address,uint256) (#295-324) performs a multiplication on the result of a division:
-fee = (amount / 100) * _fee (#317)
Consider ordering multiplication before division.
Additional information: link
MintChocolate.allowance(address,address).owner (#291) shadows:
- Ownable.owner() (#49-51) (function)
MintChocolate._approve(address,address,uint256).owner (#352) shadows:
- Ownable.owner() (#49-51) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in MintChocolate.constructor(string,string,address,address) (#229-250):
External calls:
- uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this),router.WETH()) (#247)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_tTotal) (#249)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#27-29) is never used and should be removed
Remove unused functions.
Additional information: link
Function IUniswapV2Router01.WETH() (#95) is not in mixedCase
Variable MintChocolate._fee (#252) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#100) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#101)
Prevent variables from having similar names.
Additional information: link
MintChocolate.constructor(string,string,address,address) (#229-250) uses literals with too many digits:
- _tTotal = 1000000 * 10 ** _decimals (#239)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MintChocolate._rTotal (#269) is never used in MintChocolate (#228-362)
Remove unused state variables.
Additional information: link
MintChocolate._rTotal (#269) should be constant
MintChocolate.like (#272) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#61-63)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#65-68)
name() should be declared external:
- MintChocolate.name() (#257-259)
symbol() should be declared external:
- MintChocolate.symbol() (#264-266)
decimals() should be declared external:
- MintChocolate.decimals() (#274-276)
totalSupply() should be declared external:
- MintChocolate.totalSupply() (#281-283)
balanceOf(address) should be declared external:
- MintChocolate.balanceOf(address) (#287-289)
allowance(address,address) should be declared external:
- MintChocolate.allowance(address,address) (#291-293)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 1% buy tax and 1% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts