BikeN is a Web3 bike-to-earn lifestyle app with Social-Fi and Game-Fi elements including metaverse integration focused on fitness.
BikeN is built on the Binance blockchain. It combines aspects of a play-to-earn game with a fitness app that expands on the category coined “move-to-earn”. People can exercise, earn, compete, and interact while they bike in indoor and outdoor modes.
Reentrancy in BikeN._transfer(address,address,uint256) (#644-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#609)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#671)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#679)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#762)
Apply the check-effects-interactions pattern.
Additional information: link
BikeN.addLiquidity(uint256,uint256) (#736-749) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
BikeN.withdrawStuckTokens(address,uint256) (#596-598) ignores return value by IERC20(tokenAddress).transfer(msg.sender,amount) (#597)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
Contract ownership is not renounced (belongs to a wallet)
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.
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#116-132):
- (success,returndata) = target.call{value: weiValue}(data) (#119)
Low level call in Address.sendValue(address,uint256) (#91-97):
- (success) = recipient.call{value: amount}() (#95)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Redundant expression "this (#11)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#243) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#244)
Prevent variables from having similar names.
Additional information: link
BikeN._name (#375) should be constant
BikeN._symbol (#376) should be constant
BikeN._decimals (#377) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
BikeN._approve(address,address,uint256).owner (#505) shadows:
- Ownable.owner() (#146-148) (function)
BikeN.allowance(address,address).owner (#482) shadows:
- Ownable.owner() (#146-148) (function)
Rename the local variables that shadow another component.
Additional information: link
BikeN.setSellTaxes(uint256,uint256,uint256) (#539-547) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#544)
BikeN.setDistributionSettings(uint256,uint256,uint256) (#549-555) should emit an event for:
- _liquidityShare = newLiquidityShare (#550)
- _teamShare = newTeamShare (#552)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#554)
BikeN.setBuyTaxes(uint256,uint256,uint256) (#529-537) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#534)
BikeN.setWalletLimit(uint256) (#569-571) should emit an event for:
- _walletMax = newLimit (#570)
BikeN.setNumTokensBeforeSwap(uint256) (#573-575) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#574)
BikeN.setMaxTxAmount(uint256) (#557-559) should emit an event for:
- _maxTxAmount = maxTxAmount (#558)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in BikeN.swapAndLiquify(uint256) (#693-714):
External calls:
- swapTokensForEth(tokensForSwap) (#697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#707)
- recipient.transfer(amount) (#609)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#710)
- recipient.transfer(amount) (#609)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- _allowances[owner][spender] = amount (#509)
Reentrancy in BikeN.transferFrom(address,address,uint256) (#638-642):
External calls:
- _transfer(sender,recipient,amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
External calls sending eth:
- _transfer(sender,recipient,amount) (#639)
- recipient.transfer(amount) (#609)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#640)
- _allowances[owner][spender] = amount (#509)
Reentrancy in BikeN.changeRouterVersion(address) (#612-628):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#619-620)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#627)
- isWalletLimitExempt[address(uniswapPair)] = true (#626)
- uniswapPair = newPairAddress (#623)
- uniswapV2Router = _uniswapV2Router (#624)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BikeN.swapTokensForEth(uint256) (#716-734):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#733)
Reentrancy in BikeN.swapAndLiquify(uint256) (#693-714):
External calls:
- swapTokensForEth(tokensForSwap) (#697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#707)
- recipient.transfer(amount) (#609)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#710)
- recipient.transfer(amount) (#609)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#510)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
Reentrancy in BikeN.transferFrom(address,address,uint256) (#638-642):
External calls:
- _transfer(sender,recipient,amount) (#639)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
External calls sending eth:
- _transfer(sender,recipient,amount) (#639)
- recipient.transfer(amount) (#609)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#510)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#640)
Reentrancy in BikeN._transfer(address,address,uint256) (#644-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#725-731)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#609)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#763)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,recipient,finalAmount) (#681)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#116-132) uses assembly
- INLINE ASM (#124-127)
Address.isContract(address) (#80-89) uses assembly
- INLINE ASM (#87)
Do not use evm assembly.
Additional information: link
Address.sendValue(address,uint256) (#91-97) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#107-109) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#73-76) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#111-114) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#69-71) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#116-132) is never used and should be removed
Address.isContract(address) (#80-89) is never used and should be removed
Address.functionCall(address,bytes,string) (#103-105) is never used and should be removed
Address.functionCall(address,bytes) (#99-101) is never used and should be removed
Remove unused functions.
Additional information: link
BikeN._walletMax (#410) is set pre-construction with a non-constant function or state variable:
- 8000000000000 * 10 ** _decimals
BikeN._totalSupply (#408) is set pre-construction with a non-constant function or state variable:
- 8000000000000 * 10 ** _decimals
BikeN._maxTxAmount (#409) is set pre-construction with a non-constant function or state variable:
- 8000000000000 * 10 ** _decimals
BikeN.minimumTokensBeforeSwap (#411) is set pre-construction with a non-constant function or state variable:
- 100 * 10 ** _decimals
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
Variable BikeN._sellMarketingFee (#397) is not in mixedCase
Variable BikeN._totalTaxIfSelling (#405) is not in mixedCase
Variable BikeN._walletMax (#410) is not in mixedCase
Variable BikeN._balances (#383) is not in mixedCase
Variable BikeN._buyTeamFee (#394) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#203) is not in mixedCase
Variable BikeN._buyMarketingFee (#393) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#219) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#202) is not in mixedCase
Variable BikeN._totalDistributionShares (#406) is not in mixedCase
Variable BikeN._marketingShare (#401) is not in mixedCase
Parameter BikeN.setSwapAndLiquifyEnabled(bool)._enabled (#587) is not in mixedCase
Variable BikeN._teamShare (#402) is not in mixedCase
Variable BikeN._sellTeamFee (#398) is not in mixedCase
Variable BikeN._buyLiquidityFee (#392) is not in mixedCase
Variable BikeN._liquidityShare (#400) is not in mixedCase
Variable BikeN._maxTxAmount (#409) is not in mixedCase
Function IUniswapV2Router01.WETH() (#238) is not in mixedCase
Variable BikeN._sellLiquidityFee (#396) is not in mixedCase
Variable BikeN._totalTaxIfBuying (#404) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in BikeN._transfer(address,address,uint256) (#644-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#609)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#609)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#671)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#679)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#762)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#763)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,recipient,finalAmount) (#681)
Reentrancy in BikeN.swapAndLiquify(uint256) (#693-714):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#707)
- recipient.transfer(amount) (#609)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#710)
- recipient.transfer(amount) (#609)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#707)
- recipient.transfer(amount) (#609)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#710)
- recipient.transfer(amount) (#609)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
- _allowances[owner][spender] = amount (#509)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#510)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#713)
Reentrancy in BikeN.transferFrom(address,address,uint256) (#638-642):
External calls:
- _transfer(sender,recipient,amount) (#639)
- recipient.transfer(amount) (#609)
External calls sending eth:
- _transfer(sender,recipient,amount) (#639)
- recipient.transfer(amount) (#609)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#640)
- _allowances[owner][spender] = amount (#509)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#510)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#640)
Apply the check-effects-interactions pattern.
Additional information: link
BikeN.slitherConstructorVariables() (#371-769) uses literals with too many digits:
- _walletMax = 8000000000000 * 10 ** _decimals (#410)
Ownable.waiveOwnership() (#155-158) uses literals with too many digits:
- _owner = address(0x000000000000000000000000000000000000dEaD) (#157)
Ownable.waiveOwnership() (#155-158) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#156)
BikeN.slitherConstructorVariables() (#371-769) uses literals with too many digits:
- _maxTxAmount = 8000000000000 * 10 ** _decimals (#409)
BikeN.slitherConstructorVariables() (#371-769) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#381)
BikeN.slitherConstructorVariables() (#371-769) uses literals with too many digits:
- _totalSupply = 8000000000000 * 10 ** _decimals (#408)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
setIsExcludedFromFee(address,bool) should be declared external:
- BikeN.setIsExcludedFromFee(address,bool) (#521-523)
transfer(address,uint256) should be declared external:
- BikeN.transfer(address,uint256) (#633-636)
symbol() should be declared external:
- BikeN.symbol() (#466-468)
allowance(address,address) should be declared external:
- BikeN.allowance(address,address) (#482-484)
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#155-158)
transferFrom(address,address,uint256) should be declared external:
- BikeN.transferFrom(address,address,uint256) (#638-642)
changeRouterVersion(address) should be declared external:
- BikeN.changeRouterVersion(address) (#612-628)
totalSupply() should be declared external:
- BikeN.totalSupply() (#474-476)
getCirculatingSupply() should be declared external:
- BikeN.getCirculatingSupply() (#604-606)
decimals() should be declared external:
- BikeN.decimals() (#470-472)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- BikeN.setSwapAndLiquifyByLimitOnly(bool) (#592-594)
decreaseAllowance(address,uint256) should be declared external:
- BikeN.decreaseAllowance(address,uint256) (#491-494)
getTime() should be declared external:
- Ownable.getTime() (#166-168)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#160-164)
approve(address,uint256) should be declared external:
- BikeN.approve(address,uint256) (#500-503)
name() should be declared external:
- BikeN.name() (#462-464)
setMarketPairStatus(address,bool) should be declared external:
- BikeN.setMarketPairStatus(address,bool) (#513-515)
minimumTokensBeforeSwapAmount() should be declared external:
- BikeN.minimumTokensBeforeSwapAmount() (#496-498)
setIsTxLimitExempt(address,bool) should be declared external:
- BikeN.setIsTxLimitExempt(address,bool) (#517-519)
increaseAllowance(address,uint256) should be declared external:
- BikeN.increaseAllowance(address,uint256) (#486-489)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BikeN.setSwapAndLiquifyEnabled(bool) (#587-590)
setBotStatus(address,bool) should be declared external:
- BikeN.setBotStatus(address,bool) (#525-527)
Use the external attribute for functions never called from the contract.
Additional information: link
BikeN.addLiquidity(uint256,uint256) (#736-749) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#741-748)
Ensure that all the return values of the function calls are used.
Additional information: link
Contract has 9% buy tax and 9% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Discord account