Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract locking ether found:
Contract EggSwap (#1234-1242) has payable functions:
- ERC20DividendToken.receive() (#1123)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
EggSwap.constructor(string,string,uint256,uint8,uint256,uint256)._name (#1237) shadows:
- ERC20._name (#269) (state variable)
EggSwap.constructor(string,string,uint256,uint8,uint256,uint256)._symbol (#1237) shadows:
- ERC20._symbol (#270) (state variable)
EggSwap.constructor(string,string,uint256,uint8,uint256,uint256)._decimals (#1237) shadows:
- ERC20DividendToken._decimals (#1093) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in ERC20DividendToken._updateUniswapV2Router(address) (#1129-1138):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1131-1132)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1135)
- automatedMarketMakerPairs[pair] = value (#1191)
- uniswapV2Pair = _uniswapV2Pair (#1134)
Reentrancy in ERC20DividendToken.constructor(address,string,string,uint256,uint8,uint256,uint256) (#1109-1121):
External calls:
- _updateUniswapV2Router(routerV2_) (#1115)
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1131-1132)
State variables written after the call(s):
- _mint(owner(),totalSupply_ * (10 ** _decimals)) (#1120)
- _balances[account] += amount (#485)
- excludeFromFees(owner(),true) (#1117)
- _isExcludedFromFees[account] = excluded (#1141)
- excludeFromFees(address(this),true) (#1118)
- _isExcludedFromFees[account] = excluded (#1141)
- _mint(owner(),totalSupply_ * (10 ** _decimals)) (#1120)
- _totalSupply += amount (#484)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ERC20DividendToken._updateUniswapV2Router(address) (#1129-1138):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1131-1132)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1193)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1135)
- UpdateUniswapV2Router(newAddress) (#1137)
Reentrancy in ERC20DividendToken.constructor(address,string,string,uint256,uint8,uint256,uint256) (#1109-1121):
External calls:
- _updateUniswapV2Router(routerV2_) (#1115)
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1131-1132)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1143)
- excludeFromFees(address(this),true) (#1118)
- ExcludeFromFees(account,excluded) (#1143)
- excludeFromFees(owner(),true) (#1117)
- Transfer(address(0),account,amount) (#486)
- _mint(owner(),totalSupply_ * (10 ** _decimals)) (#1120)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['=0.8.7', '>=0.5.0', '>=0.6.2', '^0.8.0']
- ^0.8.0 (#19)
- ^0.8.0 (#45)
- ^0.8.0 (#121)
- ^0.8.0 (#205)
- ^0.8.0 (#233)
- ^0.8.0 (#589)
- ^0.8.0 (#632)
- >=0.5.0 (#860)
- >=0.5.0 (#881)
- >=0.6.2 (#937)
- >=0.6.2 (#1036)
- =0.8.7 (#1082)
Use one Solidity version.
Additional information: link
Context._msgData() (#36-38) is never used and should be removed
SafeMath.add(uint256,uint256) (#721-723) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#819-828) is never used and should be removed
SafeMath.mod(uint256,uint256) (#779-781) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#845-854) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#796-805) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#650-656) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#692-697) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#704-709) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#675-685) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#663-668) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#19) allows old versions
Pragma version^0.8.0 (#45) allows old versions
Pragma version^0.8.0 (#121) allows old versions
Pragma version^0.8.0 (#205) allows old versions
Pragma version^0.8.0 (#233) allows old versions
Pragma version^0.8.0 (#589) allows old versions
Pragma version^0.8.0 (#632) allows old versions
Pragma version>=0.5.0 (#860) allows old versions
Pragma version>=0.5.0 (#881) allows old versions
Pragma version>=0.6.2 (#937) allows old versions
Pragma version>=0.6.2 (#1036) 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
Variable ERC20._balances (#263) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#898) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#899) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#916) is not in mixedCase
Function IUniswapV2Router01.WETH() (#941) is not in mixedCase
Function ERC20DividendToken.SwapforBnb(address,uint256) (#1157-1167) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#946) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#947)
Variable ERC20._totalSupply (#267) is too similar to ERC20DividendToken.constructor(address,string,string,uint256,uint8,uint256,uint256).totalSupply_ (#1109)
Prevent variables from having similar names.
Additional information: link
EggSwap._routerAddress (#1235) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#93-95)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#101-104)
name() should be declared external:
- ERC20.name() (#289-291)
symbol() should be declared external:
- ERC20.symbol() (#297-299)
decimals() should be declared external:
- ERC20.decimals() (#314-316)
- ERC20DividendToken.decimals() (#1125-1127)
totalSupply() should be declared external:
- ERC20.totalSupply() (#321-323)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#340-343)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#359-362)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#377-391)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#405-408)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#424-432)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#603-605)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#618-625)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ERC20DividendToken.excludeMultipleAccountsFromFees(address[],bool) (#1146-1155)
SwapforBnb(address,uint256) should be declared external:
- ERC20DividendToken.SwapforBnb(address,uint256) (#1157-1167)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ERC20DividendToken.setAutomatedMarketMakerPair(address,bool) (#1174-1184)
isExcludedFromFees(address) should be declared external:
- ERC20DividendToken.isExcludedFromFees(address) (#1196-1198)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 3% buy tax and 3% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
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