Binemon is a virtual pet NFT game combined with elements of an Idle RPG game. In addition to collecting and trading eggs, ambrosia (fusion), characters, items, land, and players are also connected to fight in PVE, PVP modes and receive cryptocurrency rewards.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract Binemon (#1145-1255) has payable functions:
- Binemon.receive() (#1222)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
BineERC20.constructor(string,string).name (#1121) shadows:
- ERC20.name() (#866-868) (function)
BineERC20.constructor(string,string).symbol (#1121) shadows:
- ERC20.symbol() (#874-876) (function)
Binemon.constructor(string,string).name (#1159) shadows:
- ERC20.name() (#866-868) (function)
Binemon.constructor(string,string).symbol (#1159) shadows:
- ERC20.symbol() (#874-876) (function)
Rename the local variables that shadow another component.
Additional information: link
BineERC20.setTransferFeeRate(uint256,uint256) (#1125-1131) should emit an event for:
- sellFeeRate = _sellFeeRate (#1129)
- buyFeeRate = _buyFeeRate (#1130)
BineERC20.setMinTokensBeforeSwap(uint256) (#1133-1139) should emit an event for:
- tokenForMarketing = _tokenForMarketing (#1138)
Binemon.antiWhale(uint256) (#1246-1253) should emit an event for:
- antiWhaleAmount = amount (#1250)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Binemon.constructor(string,string) (#1159-1172):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1167-1168)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1171)
- _allowances[owner][spender] = amount (#1078)
- uniswapV2Router = _uniswapV2Router (#1170)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Binemon.constructor(string,string) (#1159-1172):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1167-1168)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1079)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1171)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.8.0', '^0.7.6']
- >=0.6.0<0.8.0 (#25)
- ^0.7.6 (#49)
- >=0.6.0<0.8.0 (#393)
- >=0.6.0<0.8.0 (#606)
- >=0.6.0<0.8.0 (#667)
- >=0.6.0<0.8.0 (#733)
- >=0.6.0<0.8.0 (#809)
- ^0.7.6 (#1110)
- ^0.7.6 (#1142)
Use one Solidity version.
Additional information: link
Context._msgData() (#42-45) is never used and should be removed
ERC20._setupDecimals(uint8) (#1089-1091) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#580-583) is never used and should be removed
SafeMath.mod(uint256,uint256) (#542-545) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#600-603) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#414-418) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#450-453) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#460-463) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#435-443) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#425-428) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#25) is too complex
Pragma version>=0.6.0<0.8.0 (#393) is too complex
Pragma version>=0.6.0<0.8.0 (#606) is too complex
Pragma version>=0.6.0<0.8.0 (#667) is too complex
Pragma version>=0.6.0<0.8.0 (#733) is too complex
Pragma version>=0.6.0<0.8.0 (#809) is too complex
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#114) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#116) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#146) is not in mixedCase
Function IUniswapV2Router01.WETH() (#190) is not in mixedCase
Parameter BineERC20.setTransferFeeRate(uint256,uint256)._sellFeeRate (#1125) is not in mixedCase
Parameter BineERC20.setTransferFeeRate(uint256,uint256)._buyFeeRate (#1125) is not in mixedCase
Parameter BineERC20.setMinTokensBeforeSwap(uint256)._tokenForMarketing (#1133) is not in mixedCase
Parameter Binemon.setWhales(address)._bots (#1178) is not in mixedCase
Parameter Binemon.setAddressForMarketing(address)._addressForMarketing (#1240) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#195) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#196)
Prevent variables from having similar names.
Additional information: link
Binemon.slitherConstructorVariables() (#1145-1255) uses literals with too many digits:
- tokenForMarketing = 800000 * 10 ** 18 (#1115)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Binemon.antiWhaleDuration (#1155) should be constant
Binemon.maxSupply (#1149) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#717-720)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#726-730)
name() should be declared external:
- ERC20.name() (#866-868)
symbol() should be declared external:
- ERC20.symbol() (#874-876)
decimals() should be declared external:
- ERC20.decimals() (#891-893)
totalSupply() should be declared external:
- ERC20.totalSupply() (#898-900)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#917-920)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#925-927)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#936-939)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#954-958)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#972-975)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#991-994)
setTransferFeeRate(uint256,uint256) should be declared external:
- BineERC20.setTransferFeeRate(uint256,uint256) (#1125-1131)
setMinTokensBeforeSwap(uint256) should be declared external:
- BineERC20.setMinTokensBeforeSwap(uint256) (#1133-1139)
burn(uint256) should be declared external:
- Binemon.burn(uint256) (#1174-1176)
sweepTokenForMarketing() should be declared external:
- Binemon.sweepTokenForMarketing() (#1214-1219)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Binemon._transfer(address,address,uint256) (#1184-1212) uses timestamp for comparisons
Dangerous comparisons:
- antiWhaleTime > block.timestamp && amount > antiWhaleAmount && bots[sender] (#1190-1192)
Avoid relying on block.timestamp.
Additional information: link
Redundant expression "this (#43)" inContext (#37-46)
Remove redundant statements if they congest code but offer no value.
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
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token has relatively low CoinGecko rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account