Bike4you is the Next-gen Web 3 Fitness and Lifestyle app with Game-Fi elements built in. Users equip themselves with NFTs in the form of Bikes. By 🚴🏼♂️ Cycling, 🚶🏼♀️Walking or🏃🏻 Running outdoors, users will earn game currency. 💎Audited& KYC'ed and SAFU Badge by PinkSale Partner. 💎200 NFT bikes will be distributed to 200 top contributors.💎NFT Marketplace 💎CMC + CG Fast Track 💎Huge Marketing
Bike4You.contractSwap(uint256) (#524-571) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#569)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Bike4You._transfer(address,address,uint256) (#475-522):
External calls:
- contractSwap(contractTokenBalance) (#516)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#541-547)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#569)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- antiSnipe.checkUser(from,to,amount) (#622-623)
External calls sending eth:
- contractSwap(contractTokenBalance) (#516)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#569)
State variables written after the call(s):
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- _liquidityHolders[from] = true (#576)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- _tOwned[DEAD] += burnAmount (#657)
- _tOwned[address(this)] += swpAmt (#660)
- _tOwned[from] -= amount (#632)
- _tOwned[to] += amountReceived (#634)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- antiSnipe = AntiSnipe(address(this)) (#580)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- contractSwapEnabled = true (#582)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool) (#613-638) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#622-623)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#622)' in Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool) (#613-638) potentially used before declaration: checked = check (#623)
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 Bike4You.constructor() (#198-230):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#220)
State variables written after the call(s):
- _approve(_owner,address(dexRouter),type()(uint256).max) (#223)
- _allowances[sender][spender] = amount (#289)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#224)
- _allowances[sender][spender] = amount (#289)
- _isExcludedFromFees[_owner] = true (#226)
- _isExcludedFromFees[address(this)] = true (#227)
- _isExcludedFromFees[DEAD] = true (#228)
- _liquidityHolders[_owner] = true (#229)
- lpPairs[lpPair] = true (#221)
Reentrancy in Bike4You.enableTrading() (#587-598):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#593)
State variables written after the call(s):
- allowedPresaleExclusion = false (#595)
- swapAmount = (balanceOf(lpPair) * 30) / 10000 (#597)
- swapThreshold = (balanceOf(lpPair) * 10) / 10000 (#596)
Reentrancy in Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool) (#613-638):
External calls:
- antiSnipe.checkUser(from,to,amount) (#622-623)
State variables written after the call(s):
- _tOwned[from] -= amount (#632)
- _tOwned[to] += amountReceived (#634)
- amountReceived = takeTaxes(from,buy,sell,amount) (#633)
- _tOwned[DEAD] += burnAmount (#657)
- _tOwned[address(this)] += swpAmt (#660)
Reentrancy in Bike4You.setNewRouter(address) (#306-318):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#311)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#317)
- _allowances[sender][spender] = amount (#289)
- dexRouter = _newRouter (#316)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Bike4You._transfer(address,address,uint256) (#475-522):
External calls:
- contractSwap(contractTokenBalance) (#516)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#541-547)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#569)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- antiSnipe.checkUser(from,to,amount) (#622-623)
External calls sending eth:
- contractSwap(contractTokenBalance) (#516)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#569)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#583)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- Transfer(from,DEAD,burnAmount) (#658)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- Transfer(from,address(this),swpAmt) (#661)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
- Transfer(from,to,amountReceived) (#636)
- finalizeTransfer(from,to,amount,buy,sell,other) (#521)
Reentrancy in Bike4You.constructor() (#198-230):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#220)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#290)
- _approve(_owner,address(dexRouter),type()(uint256).max) (#223)
- Approval(sender,spender,amount) (#290)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#224)
Reentrancy in Bike4You.contractSwap(uint256) (#524-571):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#541-547)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
External calls sending eth:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
Event emitted after the call(s):
- AutoLiquify(liquidityBalance,toLiquify) (#561)
Reentrancy in Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool) (#613-638):
External calls:
- antiSnipe.checkUser(from,to,amount) (#622-623)
Event emitted after the call(s):
- Transfer(from,DEAD,burnAmount) (#658)
- amountReceived = takeTaxes(from,buy,sell,amount) (#633)
- Transfer(from,address(this),swpAmt) (#661)
- amountReceived = takeTaxes(from,buy,sell,amount) (#633)
- Transfer(from,to,amountReceived) (#636)
Reentrancy in Bike4You.setNewRouter(address) (#306-318):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#311)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#290)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#317)
Reentrancy in Bike4You.transferOwner(address) (#239-253):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#246)
- antiSnipe.checkUser(from,to,amount) (#622-623)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#251)
Apply the check-effects-interactions pattern.
Additional information: link
Bike4You.setLpPair(address,bool) (#320-332) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#325)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,3 Day cooldown.!) (#326)
Avoid relying on block.timestamp.
Additional information: link
Bike4You._checkLiquidityAdd(address,address) (#573-585) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#578)
Bike4You._checkLiquidityAdd(address,address) (#573-585) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#580)
Bike4You._checkLiquidityAdd(address,address) (#573-585) has costly operations inside a loop:
- contractSwapEnabled = true (#582)
Use a local variable to hold the loop computation result.
Additional information: link
Pragma version>=0.6.0<0.9.0 (#2) is too complex
solc-0.8.15 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 Bike4You.contractSwap(uint256) (#524-571):
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#569)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IRouter01.WETH() (#33) is not in mixedCase
Parameter Bike4You.setProtectionSettings(bool,bool)._antiSnipe (#377) is not in mixedCase
Parameter Bike4You.setProtectionSettings(bool,bool)._antiBlock (#377) is not in mixedCase
Constant Bike4You.startingSupply (#117) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You._name (#118) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You._symbol (#119) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You._decimals (#120) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You._tTotal (#121) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Bike4You._taxRates (#137-141) is not in mixedCase
Variable Bike4You._ratios (#143-148) is not in mixedCase
Constant Bike4You.maxBuyTaxes (#150) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You.maxSellTaxes (#151) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You.maxTransferTaxes (#152) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You.maxRoundtripTax (#153) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Bike4You.masterTaxDivisor (#154) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Bike4You._taxWallets (#165-167) is not in mixedCase
Variable Bike4You._hasLiqBeenAdded (#180) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#45) is too similar to IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#46)
Prevent variables from having similar names.
Additional information: link
Bike4You.slitherConstructorConstantVariables() (#101-666) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#159)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
transfer(address,uint256) should be declared external:
- Bike4You.transfer(address,uint256) (#275-278)
enableTrading() should be declared external:
- Bike4You.enableTrading() (#587-598)
Use the external attribute for functions never called from the contract.
Additional information: link
Bike4You.contractSwap(uint256) (#524-571) performs a multiplication on the result of a division:
-toLiquify = ((contractTokenBalance * ratios.liquidity) / ratios.totalSwap) / 2 (#534)
-liquidityBalance = (amtBalance * toLiquify) / swapAmt (#550)
Bike4You.takeTaxes(address,bool,bool,uint256) (#640-664) performs a multiplication on the result of a division:
-feeAmount = amount * currentFee / masterTaxDivisor (#653)
-burnAmount = (feeAmount * ratios.burn) / (ratios.burn + ratios.totalSwap) (#654)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Bike4You.enableTrading() (#587-598):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#593)
State variables written after the call(s):
- tradingEnabled = true (#594)
Reentrancy in Bike4You.transferOwner(address) (#239-253):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#246)
- antiSnipe.checkUser(from,to,amount) (#622-623)
State variables written after the call(s):
- _owner = newOwner (#250)
Apply the check-effects-interactions pattern.
Additional information: link
Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool).checked (#621) is a local variable never initialized
Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#622) 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
Bike4You.contractSwap(uint256) (#524-571) ignores return value by dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#553-560)
Bike4You.finalizeTransfer(address,address,uint256,bool,bool,bool) (#613-638) ignores return value by antiSnipe.checkUser(from,to,amount) (#622-623)
Ensure that all the return values of the function calls are used.
Additional information: link
Bike4You.setMaxTxPercent(uint256,uint256) (#405-408) should emit an event for:
- _maxTxAmount = (_tTotal * percent) / divisor (#407)
Bike4You.setMaxWalletSize(uint256,uint256) (#410-413) should emit an event for:
- _maxWalletSize = (_tTotal * percent) / divisor (#412)
Bike4You.setSwapSettings(uint256,uint256,uint256,uint256) (#427-432) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#428)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#429)
Bike4You.setPriceImpactSwapAmount(uint256) (#434-437) should emit an event for:
- piSwapPercent = priceImpactSwapPercent (#436)
Emit an event for critical parameter changes.
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
Token is relatively young, but twitter if very old (probably it's fake).
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts