Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Twoleafed.setLiquidityHelper(address).liquidity (#91) lacks a zero-check on :
- liquidityHelper = liquidity (#93)
Check that the address is not zero.
Additional information: link
SafeMath.add(uint256,uint256) (#23-27) is never used and should be removed
SafeMath.div(uint256,uint256) (#13-16) is never used and should be removed
SafeMath.mul(uint256,uint256) (#4-11) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.4.25 (#1) allows old versions
solc-0.4.25 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
Twoleafed.constructor() (#61-65) uses literals with too many digits:
- totalSupply = 1000000 * 10 ** 9 (#63)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Twoleafed.name (#53) should be constant
Twoleafed.symbol (#54) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
balanceOf(address) should be declared external:
- BEP20.balanceOf(address) (#31)
- Twoleafed.balanceOf(address) (#83-85)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#32)
- Twoleafed.transfer(address,uint256) (#102-105)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#33)
- Twoleafed.allowance(address,address) (#87-89)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#34)
- Twoleafed.transferFrom(address,address,uint256) (#107-111)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#35)
- Twoleafed.approve(address,uint256) (#113-117)
totalSupply() should be declared external:
- BEP20.totalSupply() (#36)
- Twoleafed.totalSupply() (#71-73)
decimals() should be declared external:
- BEP20.decimals() (#37)
- Twoleafed.decimals() (#75-77)
transfer(address,address,uint256) should be declared external:
- LiquidityHelper.transfer(address,address,uint256) (#45)
balanceOf(address) should be declared external:
- LiquidityHelper.balanceOf(address) (#46)
setLiquidityHelper(address) should be declared external:
- Twoleafed.setLiquidityHelper(address) (#91-94)
renounceOwnership() should be declared external:
- Twoleafed.renounceOwnership() (#96-100)
Use the external attribute for functions never called from the contract.
Additional information: link
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