Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SkaterGirl.swapBack() (#669-711) sends eth to arbitrary user
Dangerous calls:
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#697)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SkaterGirl._transferFrom(address,address,uint256) (#598-624):
External calls:
- swapBack() (#607)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#680-686)
- distributor.deposit{value: amountBNBReflection}() (#696)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#697)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#701-708)
- triggerAutoBuyback() (#608)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#745-750)
External calls sending eth:
- swapBack() (#607)
- distributor.deposit{value: amountBNBReflection}() (#696)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#697)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#701-708)
- triggerAutoBuyback() (#608)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#745-750)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#612)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#615)
- amountReceived = takeFee(sender,recipient,amount) (#614)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#656)
- triggerAutoBuyback() (#608)
- inSwap = true (#543)
- inSwap = false (#543)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#437-448) ignores return value by FLOKI.transfer(shareholder,amount) (#443)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
SkaterGirl._totalSupply (#495) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#247-251)
Use the external attribute for functions never called from the contract.
Additional information: link
SkaterGirl.Ada (#486) is never used in SkaterGirl (#482-859)
Remove unused state variables.
Additional information: link
Reentrancy in DividendDistributor.setShare(address,uint256) (#369-383):
External calls:
- distributeDividend(shareholder) (#371)
- FLOKI.transfer(shareholder,amount) (#443)
State variables written after the call(s):
- shares[shareholder].amount = amount (#381)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#382)
Apply the check-effects-interactions pattern.
Additional information: link
SkaterGirl.swapBack() (#669-711) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#701-708)
Ensure that all the return values of the function calls are used.
Additional information: link
SkaterGirl.setTargetLiquidity(uint256,uint256) (#830-833) should emit an event for:
- targetLiquidity = _target (#831)
- targetLiquidityDenominator = _denominator (#832)
Emit an event for critical parameter changes.
Additional information: link
SkaterGirl.setFeeReceivers(address,address)._devFeeReceiver (#820) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#822)
Check that the address is not zero.
Additional information: link
Reentrancy in SkaterGirl.triggerManualBuyback(uint256,bool) (#721-727):
External calls:
- buyTokens(amount,DEAD) (#722)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#745-750)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#724)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SkaterGirl.triggerManualBuyback(uint256,bool) (#721-727):
External calls:
- buyTokens(amount,DEAD) (#722)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#745-750)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#725)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#432-435) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#433-434)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#58-79) uses assembly
- INLINE ASM (#71-74)
Do not use evm assembly.
Additional information: link
DividendDistributor.process(uint256) (#406-430) has costly operations inside a loop:
- currentIndex ++ (#427)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#87-90) is never used and should be removed
Remove unused functions.
Additional information: link
SkaterGirl.swapThreshold (#541) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 300
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
solc-0.7.4 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
Low level call in SkaterGirl.swapBack() (#669-711):
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#697)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable SkaterGirl._sellMultiplier (#512) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#88)" inContext (#82-91)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#265) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#266)
Prevent variables from having similar names.
Additional information: link
SkaterGirl.slitherConstructorVariables() (#482-859) uses literals with too many digits:
- distributorGas = 500000 (#538)
Use: Ether suffix, Time suffix, or The scientific notation
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