Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
IslandBoyToken.addLiquidity(uint256,uint256) (#1823-1838) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1829-1836)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1172-1188):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1177)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1180)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Redundant expression "this (#131)" inContext (#125-134)
Remove redundant statements if they congest code but offer no value.
Additional information: link
IslandBoyToken._transfer(address,address,uint256) (#1612-1726) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (#1699)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1703)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in IslandBoyToken.updateDividendTracker(address) (#1438-1450):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1442)
- newDividendTracker.excludeFromDividends(address(this)) (#1443)
- newDividendTracker.excludeFromDividends(owner()) (#1444)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1445)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1449)
Apply the check-effects-interactions pattern.
Additional information: link
IslandBoyToken._transfer(address,address,uint256).lastProcessedIndex (#1719) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
IslandBoyToken.addLiquidity(uint256,uint256) (#1823-1838) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1829-1836)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#1129) shadows:
- ERC20._symbol (#825) (state variable)
Rename the local variables that shadow another component.
Additional information: link
IslandBoyToken.setSellDelayTime(uint256) (#1749-1752) should emit an event for:
- SellDelay = delay (#1750)
Emit an event for critical parameter changes.
Additional information: link
Variable 'IslandBoyToken._transfer(address,address,uint256).iterations (#1719)' in IslandBoyToken._transfer(address,address,uint256) (#1612-1726) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1720)
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
Reentrancy in IslandBoyToken.swapBurnAndLiquify(uint256,uint256) (#1754-1778):
External calls:
- swapTokensForEth(EthPortion) (#1766)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (#1813-1819)
- swapETHForTokens(burnAmountEth) (#1774)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1787-1792)
- addLiquidity(liqPortion,liqBalance) (#1775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1829-1836)
External calls sending eth:
- swapETHForTokens(burnAmountEth) (#1774)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1787-1792)
- addLiquidity(liqPortion,liqBalance) (#1775)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1829-1836)
State variables written after the call(s):
- addLiquidity(liqPortion,liqBalance) (#1775)
- _allowances[owner][spender] = amount (#1068)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in IslandBoyToken.updateDividendTracker(address) (#1438-1450):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1442)
- newDividendTracker.excludeFromDividends(address(this)) (#1443)
- newDividendTracker.excludeFromDividends(owner()) (#1444)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1445)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1447)
Apply the check-effects-interactions pattern.
Additional information: link
ISLBDividendTracker.canAutoClaim(uint256) (#1976-1982) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1977)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1981)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#453-460) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in IslandBoyToken.swapAndSendDividends(uint256) (#1840-1848):
- (success) = address(dividendTracker).call{value: dividends}() (#1843)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter ISLBDividendTracker.getAccount(address)._account (#1912) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1173) is too similar to ISLBDividendTracker.getAccount(address).withdrawableDividends (#1917)
Prevent variables from having similar names.
Additional information: link
ISLBDividendTracker.getAccountAtIndex(uint256) (#1957-1974) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1968)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#448) is never used in SafeMathInt (#446-504)
Remove unused state variables.
Additional information: link
IslandBoyToken.sellFeeIncreaseFactor (#1311) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- ISLBDividendTracker.process(uint256) (#2001-2046)
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts