Fishing Town ($FHTN) is a BEP20 governance token in Fishing Town gamefi - a block-chain game inspired by fishing life and passion in aquatic animals with old-school art pixel. $FHTN is a game currency, players use for NFT purchasing and transactions, stake, vote or purchase tickets for in-game events.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
FishingTown._cap (#1522) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
ERC20Permit.constructor(string).name (#1413) shadows:
- ERC20.name() (#1081-1083) (function)
- IERC20Metadata.name() (#1006) (function)
Rename the local variables that shadow another component.
Additional information: link
Variable 'ECDSA.tryRecover(bytes32,bytes).r (#297)' in ECDSA.tryRecover(bytes32,bytes) (#292-321) potentially used before declaration: r = mload(uint256)(signature + 0x20) (#314)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1418-1437) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,ERC20Permit: expired deadline) (#1427)
Avoid relying on block.timestamp.
Additional information: link
ECDSA.tryRecover(bytes32,bytes) (#292-321) uses assembly
- INLINE ASM (#302-306)
- INLINE ASM (#313-316)
ECDSA.tryRecover(bytes32,bytes32,bytes32) (#350-362) uses assembly
- INLINE ASM (#357-360)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.8.10', '^0.8.0']
- ^0.8.0 (#5)
- ^0.8.0 (#51)
- ^0.8.0 (#113)
- ^0.8.0 (#140)
- ^0.8.0 (#170)
- ^0.8.0 (#240)
- ^0.8.0 (#476)
- ^0.8.0 (#581)
- ^0.8.0 (#671)
- ^0.8.0 (#697)
- ^0.8.0 (#909)
- ^0.8.0 (#994)
- ^0.8.0 (#1024)
- ^0.8.0 (#1382)
- ^0.8.0 (#1471)
- 0.8.10 (#1514)
Use one Solidity version.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#884-888) is never used and should be removed
Context._msgData() (#688-690) is never used and should be removed
Counters.decrement(Counters.Counter) (#33-39) is never used and should be removed
Counters.reset(Counters.Counter) (#41-43) is never used and should be removed
ECDSA.recover(bytes32,bytes) (#337-341) is never used and should be removed
ECDSA.recover(bytes32,bytes32,bytes32) (#369-377) is never used and should be removed
ECDSA.toEthSignedMessageHash(bytes) (#453-455) is never used and should be removed
ECDSA.toEthSignedMessageHash(bytes32) (#439-443) is never used and should be removed
ECDSA.tryRecover(bytes32,bytes) (#292-321) is never used and should be removed
ECDSA.tryRecover(bytes32,bytes32,bytes32) (#350-362) is never used and should be removed
Strings.toHexString(uint256) (#206-217) is never used and should be removed
Strings.toString(uint256) (#181-201) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#5) allows old versions
Pragma version^0.8.0 (#51) allows old versions
Pragma version^0.8.0 (#113) allows old versions
Pragma version^0.8.0 (#140) allows old versions
Pragma version^0.8.0 (#170) allows old versions
Pragma version^0.8.0 (#240) allows old versions
Pragma version^0.8.0 (#476) allows old versions
Pragma version^0.8.0 (#581) allows old versions
Pragma version^0.8.0 (#671) allows old versions
Pragma version^0.8.0 (#697) allows old versions
Pragma version^0.8.0 (#909) allows old versions
Pragma version^0.8.0 (#994) allows old versions
Pragma version^0.8.0 (#1024) allows old versions
Pragma version^0.8.0 (#1382) allows old versions
Pragma version^0.8.0 (#1471) allows old versions
Pragma version0.8.10 (#1514) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 is not recommended for deployment
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 IERC20Permit.DOMAIN_SEPARATOR() (#106) is not in mixedCase
Variable EIP712._CACHED_DOMAIN_SEPARATOR (#502) is not in mixedCase
Variable EIP712._CACHED_CHAIN_ID (#503) is not in mixedCase
Variable EIP712._CACHED_THIS (#504) is not in mixedCase
Variable EIP712._HASHED_NAME (#506) is not in mixedCase
Variable EIP712._HASHED_VERSION (#507) is not in mixedCase
Variable EIP712._TYPE_HASH (#508) is not in mixedCase
Function ERC20Permit.DOMAIN_SEPARATOR() (#1450-1452) is not in mixedCase
Variable ERC20Permit._PERMIT_TYPEHASH (#1405-1406) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
FishingTown.slitherConstructorVariables() (#1520-1542) uses literals with too many digits:
- _cap = 100000000000000000000000000 (#1522)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
grantRole(bytes32,address) should be declared external:
- AccessControl.grantRole(bytes32,address) (#822-824)
revokeRole(bytes32,address) should be declared external:
- AccessControl.revokeRole(bytes32,address) (#835-837)
renounceRole(bytes32,address) should be declared external:
- AccessControl.renounceRole(bytes32,address) (#853-857)
name() should be declared external:
- ERC20.name() (#1081-1083)
symbol() should be declared external:
- ERC20.symbol() (#1089-1091)
decimals() should be declared external:
- ERC20.decimals() (#1106-1108)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#1120-1122)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#1132-1135)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#1151-1154)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#1169-1183)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#1197-1200)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#1216-1224)
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) should be declared external:
- ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1418-1437)
nonces(address) should be declared external:
- ERC20Permit.nonces(address) (#1442-1444)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#1486-1488)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#1501-1508)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account