A PLAY-TO-EARN GAME ON BINANCE SMART CHAIN
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract GON (#1305-1413) has payable functions:
- GON.receive() (#1409-1411)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
GON._getBalanceUnlocked(address) (#1371-1381) uses timestamp for comparisons
Dangerous comparisons:
- info.locked && daysPassed < LOCK_BOT_DAYS (#1375)
GON._beforeTokenTransfer(address,address,uint256) (#1387-1400) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(! _listBot[from].hardLock && (balanceOf(from) - amount) >= lockedBalance,GON: bot cannot transfer locked balance) (#1395-1398)
Avoid relying on block.timestamp.
Additional information: link
GON._getBalanceUnlocked(address) (#1371-1381) performs a multiplication on the result of a division:
-daysPassed = (block.timestamp - info.lockedFrom) / 86400 (#1373)
-unlockedBalance = (daysPassed * info.initLockedBalance) / LOCK_BOT_DAYS (#1376)
Consider ordering multiplication before division.
Additional information: link
AccessControlEnumerable.grantRole(bytes32,address) (#284-287) ignores return value by _roleMembers[role].add(account) (#286)
AccessControlEnumerable.revokeRole(bytes32,address) (#292-295) ignores return value by _roleMembers[role].remove(account) (#294)
AccessControlEnumerable.renounceRole(bytes32,address) (#300-303) ignores return value by _roleMembers[role].remove(account) (#302)
AccessControlEnumerable._setupRole(bytes32,address) (#308-311) ignores return value by _roleMembers[role].add(account) (#310)
Ensure that all the return values of the function calls are used.
Additional information: link
ERC20PresetMinterPauser.constructor(string,string).name (#920) shadows:
- ERC20.name() (#564-566) (function)
- IERC20Metadata.name() (#524) (function)
ERC20PresetMinterPauser.constructor(string,string).symbol (#920) shadows:
- ERC20.symbol() (#572-574) (function)
- IERC20Metadata.symbol() (#529) (function)
Rename the local variables that shadow another component.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#218-221) is never used and should be removed
Context._msgData() (#10-12) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#1154-1156) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#1262-1264) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#1192-1194) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#1300-1302) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#1225-1227) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#1171-1173) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#1279-1281) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#1178-1180) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#1286-1288) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#1164-1166) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#1272-1274) is never used and should be removed
Strings.toHexString(uint256) (#1009-1020) is never used and should be removed
Strings.toString(uint256) (#984-1004) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#3) allows old versions
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
getRoleMember(bytes32,uint256) should be declared external:
- AccessControlEnumerable.getRoleMember(bytes32,uint256) (#269-271)
getRoleMemberCount(bytes32) should be declared external:
- AccessControlEnumerable.getRoleMemberCount(bytes32) (#277-279)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#349-351)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#357-360)
name() should be declared external:
- ERC20.name() (#564-566)
symbol() should be declared external:
- ERC20.symbol() (#572-574)
decimals() should be declared external:
- ERC20.decimals() (#589-591)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#615-618)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#634-637)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#652-666)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#680-683)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#699-707)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#866-868)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#881-888)
mint(address,uint256) should be declared external:
- ERC20PresetMinterPauser.mint(address,uint256) (#936-939)
- GON.mint(address,uint256) (#1345-1348)
pause() should be declared external:
- ERC20PresetMinterPauser.pause() (#950-953)
unpause() should be declared external:
- ERC20PresetMinterPauser.unpause() (#964-967)
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.
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.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
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 no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account