BoredApes Token is a community-driven NFT platform empowering users by rewarding them for their engagement and enjoyment. By using innovative tokenomics ($APES allocation), utilizing auctions and bids. Whilst also combining the best of DeFi and NFTs to create a truly unique and everlasting NFT on BSC.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BoredApe.airdrop(address) (#1075-1088) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1084)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
BoredApe.swapTokenForTokens(address,address,uint256) (#709-712) ignores return value by tokenC.transfer(account,amount) (#711)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in BoredApe._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#840)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#765)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#776)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#767)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#777)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#788)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#755)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#756)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rTotal = _rTotal.sub(rFee) (#795)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#842)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#775)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#785)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#766)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#787)
Apply the check-effects-interactions pattern.
Additional information: link
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.
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.
Redundant expression "this (#19)" inContext (#12-22)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Address.isContract(address) (#85-94) uses assembly
- INLINE ASM (#92)
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) uses assembly
- INLINE ASM (#131-134)
Do not use evm assembly.
Additional information: link
BoredApe.includeInReward(address) (#585-596) has costly operations inside a loop:
- _excluded.pop() (#592)
Use a local variable to hold the loop computation result.
Additional information: link
BoredApe._transferStandard(address,address,uint256) (#747-761) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#750)
Consider ordering multiplication before division.
Additional information: link
BoredApe.addLiquidity(uint256,uint256) (#714-727) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#719-726)
Ensure that all the return values of the function calls are used.
Additional information: link
Ownable.unlock() (#190-195) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#192)
Avoid relying on block.timestamp.
Additional information: link
BoredApe._transfer(address,address,uint256) (#606-658) compares to a boolean constant:
-_isOperator[from] == false (#617)
BoredApe._transfer(address,address,uint256) (#606-658) compares to a boolean constant:
-require(bool,string)(_isBlocked[to] == false,Transfer can not be done for blocked users) (#615)
BoredApe._transfer(address,address,uint256) (#606-658) compares to a boolean constant:
-require(bool,string)(_isBlocked[from] == false,Transfer can not be done for blocked users) (#614)
Remove the equality to the boolean constant.
Additional information: link
Variable BoredApe._sellTaxFee (#433) is not in mixedCase
Variable BoredApe._buyLiquidityFee (#431) is not in mixedCase
Parameter BoredApe.calculateTaxFee(uint256)._amount (#852) is not in mixedCase
Variable BoredApe._liquidityFee (#427) is not in mixedCase
Parameter BoredApe.calculateLiquidityFee(uint256)._amount (#858) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#229) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#238) is not in mixedCase
Variable BoredApe._burnFee (#436) is not in mixedCase
Parameter BoredApe.setCharityAddress(address)._newaddress (#971) is not in mixedCase
Variable BoredApe._maxTxAmount (#443) is not in mixedCase
Parameter BoredApe.setSwapAndLiquifyEnabled(bool)._enabled (#975) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#228) is not in mixedCase
Parameter BoredApe.setMarketingAddress(address)._marketingAddress (#966) is not in mixedCase
Modifier BoredApe.OnlyOwner() (#454-457) is not in mixedCase
Variable Ownable._owner (#143) is not in mixedCase
Parameter BoredApe.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#950) is not in mixedCase
Parameter BoredApe.airdrop(address)._refer (#1075) is not in mixedCase
Variable BoredApe._sellLiquidityFee (#434) is not in mixedCase
Function IUniswapV2Router01.WETH() (#258) is not in mixedCase
Parameter BoredApe.buy(address)._refer (#1090) is not in mixedCase
Variable BoredApe._taxFee (#424) is not in mixedCase
Variable BoredApe._buyTaxFee (#430) is not in mixedCase
Variable BoredApe._swAuth (#1022) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
decreaseAllowance(address,uint256) should be declared external:
- BoredApe.decreaseAllowance(address,uint256) (#522-525)
excludeOperator(address) should be declared external:
- BoredApe.excludeOperator(address) (#893-895)
minimumTokensBeforeSwapAmount() should be declared external:
- BoredApe.minimumTokensBeforeSwapAmount() (#543-545)
symbol() should be declared external:
- BoredApe.symbol() (#480-482)
isExcludedFromFee(address) should be declared external:
- BoredApe.isExcludedFromFee(address) (#882-884)
transfer(address,uint256) should be declared external:
- BoredApe.transfer(address,uint256) (#497-500)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#164-167)
recoverBalance(uint256) should be declared external:
- BoredApe.recoverBalance(uint256) (#1003-1005)
airdrop(address) should be declared external:
- BoredApe.airdrop(address) (#1075-1088)
isExcludedFromReward(address) should be declared external:
- BoredApe.isExcludedFromReward(address) (#527-529)
transferFrom(address,address,uint256) should be declared external:
- BoredApe.transferFrom(address,address,uint256) (#511-515)
increaseSpenderAllowance(address,address,uint256) should be declared external:
- BoredApe.increaseSpenderAllowance(address,address,uint256) (#845-850)
deliver(uint256) should be declared external:
- BoredApe.deliver(uint256) (#548-555)
isBlocked(address) should be declared external:
- BoredApe.isBlocked(address) (#535-537)
reflectionFromToken(uint256,bool) should be declared external:
- BoredApe.reflectionFromToken(uint256,bool) (#558-567)
approve(address,uint256) should be declared external:
- BoredApe.approve(address,uint256) (#506-509)
excludeFromFee(address) should be declared external:
- BoredApe.excludeFromFee(address) (#886-888)
includeInFee(address) should be declared external:
- BoredApe.includeInFee(address) (#906-908)
getTime() should be declared external:
- Ownable.getTime() (#179-181)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#169-173)
includeBlocked(address) should be declared external:
- BoredApe.includeBlocked(address) (#897-899)
doManualSwapTokens(uint256) should be declared external:
- BoredApe.doManualSwapTokens(uint256) (#1008-1011)
clearAllETH() should be declared external:
- BoredApe.clearAllETH() (#1038-1041)
decimals() should be declared external:
- BoredApe.decimals() (#484-486)
buy(address) should be declared external:
- BoredApe.buy(address) (#1090-1106)
includeOperator(address) should be declared external:
- BoredApe.includeOperator(address) (#890-892)
allowance(address,address) should be declared external:
- BoredApe.allowance(address,address) (#502-504)
excludeBlocked(address) should be declared external:
- BoredApe.excludeBlocked(address) (#900-902)
unlock() should be declared external:
- Ownable.unlock() (#190-195)
isOperator(address) should be declared external:
- BoredApe.isOperator(address) (#531-533)
set(uint8,uint256) should be declared external:
- BoredApe.set(uint8,uint256) (#1045-1073)
increaseAllowance(address,uint256) should be declared external:
- BoredApe.increaseAllowance(address,uint256) (#517-520)
totalFees() should be declared external:
- BoredApe.totalFees() (#539-541)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#183-188)
excludeFromReward(address) should be declared external:
- BoredApe.excludeFromReward(address) (#575-583)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#175-177)
name() should be declared external:
- BoredApe.name() (#476-478)
totalSupply() should be declared external:
- BoredApe.totalSupply() (#488-490)
swapTokenForTokens(address,address,uint256) should be declared external:
- BoredApe.swapTokenForTokens(address,address,uint256) (#709-712)
Use the external attribute for functions never called from the contract.
Additional information: link
BoredApe.setMarketingAddress(address)._marketingAddress (#966) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#967)
BoredApe.setCharityAddress(address)._newaddress (#971) lacks a zero-check on :
- charityAddress = address(_newaddress) (#972)
Check that the address is not zero.
Additional information: link
BoredApe.increaseSpenderAllowance(address,address,uint256).owner (#845) shadows:
- Ownable.owner() (#155-157) (function)
BoredApe._approve(address,address,uint256).owner (#598) shadows:
- Ownable.owner() (#155-157) (function)
BoredApe.allowance(address,address).owner (#502) shadows:
- Ownable.owner() (#155-157) (function)
Rename the local variables that shadow another component.
Additional information: link
BoredApe.setBuyLiquidityFeePercent(uint256) (#922-924) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#923)
BoredApe.set(uint8,uint256) (#1045-1073) should emit an event for:
- _referEth = value (#1053)
- _referToken = value (#1055)
- _airdropEth = value (#1057)
- _airdropToken = value (#1059)
- salePrice = value (#1063)
- _airdorpBnb = value (#1066)
- _buyBnb = value (#1068)
BoredApe.setCharityFeePercent(uint256) (#946-948) should emit an event for:
- charityDivisor = divisor (#947)
BoredApe.setMaxTxAmount(uint256) (#938-940) should emit an event for:
- _maxTxAmount = maxTxAmount (#939)
BoredApe.setSellTaxFeePercent(uint256) (#926-928) should emit an event for:
- _sellTaxFee = sellTaxFee (#927)
BoredApe.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#954-964) should emit an event for:
- charityDivisor = charity (#955)
- marketingDivisor = marketting (#956)
- _burnFee = burnTaxFee (#957)
- _sellLiquidityFee = sellLiquidityFee (#958)
- _sellTaxFee = sellTaxFee (#959)
- _buyLiquidityFee = buyLiquidityFee (#960)
- _buyTaxFee = buyTaxFee (#961)
- _liquidityFee = liquidityFee (#962)
- _taxFee = taxFee (#963)
BoredApe.setNumTokensSellToAddToLiquidity(uint256) (#950-952) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#951)
BoredApe.setLiquidityFeePercent(uint256) (#914-916) should emit an event for:
- _liquidityFee = liquidityFee (#915)
BoredApe.setTaxFeePercent(uint256) (#910-912) should emit an event for:
- _taxFee = taxFee (#911)
BoredApe.setSellLiquidityFeePercent(uint256) (#930-932) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#931)
BoredApe.setBuyTaxFeePercent(uint256) (#918-920) should emit an event for:
- _buyTaxFee = buyTaxFee (#919)
BoredApe.setMarketingFeePercent(uint256) (#942-944) should emit an event for:
- marketingDivisor = divisor (#943)
BoredApe.setBurnFeePercent(uint256) (#934-936) should emit an event for:
- _burnFee = burnTaxFee (#935)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in BoredApe._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- removeAllFee() (#640)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#643)
- removeAllFee() (#647)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#650)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _burnFee = _previousBurnFee (#879)
- _burnFee = 0 (#873)
- removeAllFee() (#640)
- _liquidityFee = 0 (#872)
- _liquidityFee = _buyLiquidityFee (#642)
- removeAllFee() (#647)
- _liquidityFee = 0 (#872)
- _liquidityFee = _sellLiquidityFee (#649)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _liquidityFee = _previousLiquidityFee (#878)
- _liquidityFee = 0 (#872)
- removeAllFee() (#640)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#647)
- _previousBurnFee = _burnFee (#870)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#640)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#647)
- _previousLiquidityFee = _liquidityFee (#869)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#640)
- _previousTaxFee = _taxFee (#868)
- removeAllFee() (#647)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tFeeTotal = _tFeeTotal.add(tFee) (#796)
- removeAllFee() (#640)
- _taxFee = 0 (#871)
- _taxFee = _buyTaxFee (#641)
- removeAllFee() (#647)
- _taxFee = 0 (#871)
- _taxFee = _sellTaxFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _taxFee = _previousTaxFee (#877)
- _taxFee = 0 (#871)
Reentrancy in BoredApe.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- _transfer(sender,recipient,amount) (#512)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
- _allowances[owner][spender] = amount (#602)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BoredApe.swapETHForTokens(uint256) (#692-707):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#699-704)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#706)
Reentrancy in BoredApe._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#770)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#780)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#791)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#759)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,deadAddress,tBurnAmount) (#760)
- _tokenTransfer(from,to,amount,takeFee) (#657)
Reentrancy in BoredApe.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
External calls sending eth:
- _transfer(sender,recipient,amount) (#512)
- recipient.transfer(amount) (#1000)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#603)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
Reentrancy in BoredApe.swapTokensForEth(uint256) (#672-690):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#681-687)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#689)
Apply the check-effects-interactions pattern.
Additional information: link
Address.sendValue(address,uint256) (#96-102) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#113-115) is never used and should be removed
BoredApe.addLiquidity(uint256,uint256) (#714-727) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#77-80) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#117-120) is never used and should be removed
Context._msgData() (#18-21) is never used and should be removed
SafeMath.mod(uint256,uint256) (#73-75) is never used and should be removed
BoredApe.swapETHForTokens(uint256) (#692-707) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) is never used and should be removed
Address.isContract(address) (#85-94) is never used and should be removed
Address.functionCall(address,bytes,string) (#109-111) is never used and should be removed
Address.functionCall(address,bytes) (#105-107) is never used and should be removed
Remove unused functions.
Additional information: link
BoredApe._rTotal (#416) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
BoredApe._previousBurnFee (#437) is set pre-construction with a non-constant function or state variable:
- _burnFee
BoredApe._buyTaxFee (#430) is set pre-construction with a non-constant function or state variable:
- _taxFee
BoredApe._previousLiquidityFee (#428) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
BoredApe._buyLiquidityFee (#431) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
BoredApe._sellLiquidityFee (#434) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
BoredApe._sellTaxFee (#433) is set pre-construction with a non-constant function or state variable:
- _taxFee
BoredApe._previousTaxFee (#425) is set pre-construction with a non-constant function or state variable:
- _taxFee
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
Pragma version^0.8.11 (#10) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 Address._functionCallWithValue(address,bytes,uint256,string) (#122-139):
- (success,returndata) = target.call{value: weiValue}(data) (#125)
Low level call in Address.sendValue(address,uint256) (#96-102):
- (success) = recipient.call{value: amount}() (#100)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Reentrancy in BoredApe._transfer(address,address,uint256) (#606-658):
External calls:
- swapTokens(contractTokenBalance) (#629)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- removeAllFee() (#640)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#643)
- removeAllFee() (#647)
- _burnFee = 0 (#873)
- _burnFee = _previousBurnFee (#650)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _burnFee = _previousBurnFee (#879)
- _burnFee = 0 (#873)
- removeAllFee() (#640)
- _liquidityFee = 0 (#872)
- _liquidityFee = _buyLiquidityFee (#642)
- removeAllFee() (#647)
- _liquidityFee = 0 (#872)
- _liquidityFee = _sellLiquidityFee (#649)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _liquidityFee = _previousLiquidityFee (#878)
- _liquidityFee = 0 (#872)
- removeAllFee() (#640)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#647)
- _previousBurnFee = _burnFee (#870)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousBurnFee = _burnFee (#870)
- removeAllFee() (#640)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#647)
- _previousLiquidityFee = _liquidityFee (#869)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousLiquidityFee = _liquidityFee (#869)
- removeAllFee() (#640)
- _previousTaxFee = _taxFee (#868)
- removeAllFee() (#647)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _previousTaxFee = _taxFee (#868)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#840)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#765)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#776)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#767)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#777)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#788)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#755)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#756)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _rTotal = _rTotal.sub(rFee) (#795)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tFeeTotal = _tFeeTotal.add(tFee) (#796)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#842)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#775)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#785)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#766)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#787)
- removeAllFee() (#640)
- _taxFee = 0 (#871)
- _taxFee = _buyTaxFee (#641)
- removeAllFee() (#647)
- _taxFee = 0 (#871)
- _taxFee = _sellTaxFee (#648)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- _taxFee = _previousTaxFee (#877)
- _taxFee = 0 (#871)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#780)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#770)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#791)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,recipient,tTransferAmount) (#759)
- _tokenTransfer(from,to,amount,takeFee) (#657)
- Transfer(sender,deadAddress,tBurnAmount) (#760)
- _tokenTransfer(from,to,amount,takeFee) (#657)
Reentrancy in BoredApe.transferFrom(address,address,uint256) (#511-515):
External calls:
- _transfer(sender,recipient,amount) (#512)
- recipient.transfer(amount) (#1000)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
- _allowances[owner][spender] = amount (#602)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#603)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#513)
Apply the check-effects-interactions pattern.
Additional information: link
Variable BoredApe._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable BoredApe._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._getValues(uint256).rTransferAmount (#801) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe._transferStandard(address,address,uint256).rBurnAmount (#751) is too similar to BoredApe._transferStandard(address,address,uint256).tBurnAmount (#750)
Variable BoredApe.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable BoredApe._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Variable BoredApe._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Variable BoredApe._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable BoredApe._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable BoredApe._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe._getValues(uint256).rTransferAmount (#801) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe.reflectionFromToken(uint256,bool).rTransferAmount (#564) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Variable BoredApe._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#263) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#264)
Variable BoredApe._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#816) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Variable BoredApe._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Variable BoredApe._transferFromExcluded(address,address,uint256).rTransferAmount (#774) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._getValues(uint256).rTransferAmount (#801) is too similar to BoredApe._getValues(uint256).tTransferAmount (#800)
Variable BoredApe._getValues(uint256).rTransferAmount (#801) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Variable BoredApe._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable BoredApe._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to BoredApe._transferFromExcluded(address,address,uint256).tTransferAmount (#774)
Variable BoredApe._getValues(uint256).rTransferAmount (#801) is too similar to BoredApe._transferStandard(address,address,uint256).tTransferAmount (#749)
Variable BoredApe._getValues(uint256).rTransferAmount (#801) is too similar to BoredApe._transferToExcluded(address,address,uint256).tTransferAmount (#764)
Variable BoredApe._transferBothExcluded(address,address,uint256).rTransferAmount (#784) is too similar to BoredApe._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Variable BoredApe._transferStandard(address,address,uint256).rTransferAmount (#749) is too similar to BoredApe._getTValues(uint256).tTransferAmount (#808)
Prevent variables from having similar names.
Additional information: link
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _airdropEth = 2000000000000000 (#1025)
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#415)
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#402)
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _airdropToken = 500000000000000000000000000 (#1026)
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- salePrice = 1000000000000 (#1034)
BoredApe.afterPreSale() (#989-995) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#994)
BoredApe.prepareForPreSale() (#981-987) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#986)
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000000 * 10 ** 18 (#444)
BoredApe.slitherConstructorVariables() (#395-1109) uses literals with too many digits:
- _maxTxAmount = 1000000000000000 * 10 ** 18 (#443)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BoredApe._auth (#1027) is never used in BoredApe (#395-1109)
BoredApe._auth2 (#1028) is never used in BoredApe (#395-1109)
BoredApe._authNum (#1029) is never used in BoredApe (#395-1109)
Remove unused state variables.
Additional information: link
BoredApe._name (#419) should be constant
BoredApe._symbol (#420) should be constant
BoredApe._authNum (#1029) should be constant
BoredApe._tTotal (#415) should be constant
BoredApe._decimals (#421) should be constant
BoredApe._auth (#1027) should be constant
BoredApe._auth2 (#1028) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Contract has 11% buy tax and 0% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
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
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token is not listed at Mobula.Finance
Additional information: link
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinMarketCap listing / rank
Token has no active CoinGecko listing / rank
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account