The Blue Earth Protocol is a crypto project that builds a cross-chain NFT platform. As a result, users could swap their BEP-generated nonfungible tokens across four different blockchains. Such other blockchains are Ethereum, Binance Smart Chain, Polygon, and Avalanche. Also, the team aims to create a global community for boosting green energy projects. With these purposes in mind, the developers issued the $BEP cryptocurrency.
BEP is the BEP20 (BSC) token with a 12% fee rate. So, the smart contract takes twelve percent from every transaction and automatically reallocates it as follows. 5% goes to the burning wallet. Also, 4% goes to all existing holders. The rest, 3%, goes to fund development and marketing. Such a hyper-deflationary model helps attract new members into the Blue Earth Protocol community.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CoinToken.swapETHForTokens(uint256) (#733-748) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
CoinToken.addLiquidity(uint256,uint256) (#750-763) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#755-762)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CoinToken._transfer(address,address,uint256) (#653-691):
External calls:
- swapTokens(contractTokenBalance) (#671)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
External calls sending eth:
- swapTokens(contractTokenBalance) (#671)
- recipient.transfer(amount) (#974)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _liquidityFee = _previousLiquidityFee (#902)
- _liquidityFee = 0 (#895)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#869)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#785)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#805)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#815)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#806)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#796)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#817)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _rTotal = _rTotal.sub(rFee) (#824)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#871)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#814)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#804)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#795)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#816)
- buyBackTokens(balance.div(100)) (#679)
- inSwapAndLiquify = true (#481)
- inSwapAndLiquify = false (#483)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- marketingFee = previousMarketingFee (#904)
- marketingFee = 0 (#897)
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.
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in CoinToken.swapETHForTokens(uint256) (#733-748):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#747)
Reentrancy in CoinToken.swapTokensForEth(uint256) (#713-731):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#730)
Reentrancy in CoinToken.transferFrom(address,address,uint256) (#563-567):
External calls:
- _transfer(sender,recipient,amount) (#564)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- _transfer(sender,recipient,amount) (#564)
- recipient.transfer(amount) (#974)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#650)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#565)
Reentrancy in CoinToken._transfer(address,address,uint256) (#653-691):
External calls:
- swapTokens(contractTokenBalance) (#671)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
External calls sending eth:
- swapTokens(contractTokenBalance) (#671)
- recipient.transfer(amount) (#974)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#747)
- buyBackTokens(balance.div(100)) (#679)
- Transfer(sender,recipient,tTransferAmount) (#789)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- Transfer(sender,recipient,tTransferAmount) (#799)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- Transfer(sender,recipient,tTransferAmount) (#809)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- Transfer(sender,recipient,tTransferAmount) (#820)
- _tokenTransfer(from,to,amount,takeFee) (#690)
Apply the check-effects-interactions pattern.
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
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
CoinToken.addLiquidity(uint256,uint256) (#750-763) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#755-762)
Ensure that all the return values of the function calls are used.
Additional information: link
CoinToken.swapTokens(uint256) (#693-704) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingFee.sub(25))) (#702)
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address) (#486-526) performs a multiplication on the result of a division:
-minimumTokensBeforeSwap = _tTotal.div(10000).mul(2) (#508)
CoinToken.swapTokens(uint256) (#693-704) performs a multiplication on the result of a division:
-transferToAddressETH(lp_poolAddress,transferredBalance.div(_liquidityFee).mul(25)) (#701)
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address) (#486-526) performs a multiplication on the result of a division:
-_maxTxAmount = _tTotal.div(1000).mul(3) (#506)
Consider ordering multiplication before division.
Additional information: link
CoinToken.allowance(address,address).owner (#554) shadows:
- Ownable.owner() (#155-157) (function)
CoinToken._approve(address,address,uint256).owner (#645) shadows:
- Ownable.owner() (#155-157) (function)
Rename the local variables that shadow another component.
Additional information: link
CoinToken.setMarketingFee(uint256) (#932-935) should emit an event for:
- marketingFee = _marketingFee (#933)
- _liquidityFee = buybackFee.add(marketingFee) (#934)
CoinToken.setBuybackUpperLimit(uint256) (#941-943) should emit an event for:
- buyBackUpperLimit = buyBackLimit (#942)
CoinToken.setBuybackFee(uint256) (#923-926) should emit an event for:
- buybackFee = _buybackFee (#924)
- _liquidityFee = buybackFee.add(marketingFee) (#925)
CoinToken.setNumTokensSellToAddToLiquidity(uint256) (#937-939) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#938)
CoinToken.setTaxFee(uint256) (#919-921) should emit an event for:
- _taxFee = taxFee (#920)
CoinToken.setMaxTxAmount(uint256) (#928-930) should emit an event for:
- _maxTxAmount = maxTxAmount (#929)
Emit an event for critical parameter changes.
Additional information: link
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address)._ma (#486) lacks a zero-check on :
- marketingAddress = address(_ma) (#495)
CoinToken.setMarketingAddress(address)._marketingAddress (#945) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#946)
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address)._lp (#486) lacks a zero-check on :
- lp_poolAddress = address(_lp) (#496)
- address(_lp).transfer(msg.value) (#523)
Check that the address is not zero.
Additional information: link
Reentrancy in CoinToken._transfer(address,address,uint256) (#653-691):
External calls:
- swapTokens(contractTokenBalance) (#671)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
External calls sending eth:
- swapTokens(contractTokenBalance) (#671)
- recipient.transfer(amount) (#974)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _previousLiquidityFee = _liquidityFee (#890)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _previousTaxFee = _taxFee (#889)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _tFeeTotal = _tFeeTotal.add(tFee) (#825)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _taxFee = _previousTaxFee (#901)
- _taxFee = 0 (#894)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- buybackFee = previousBuybackFee (#903)
- buybackFee = 0 (#896)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- previousBuybackFee = buybackFee (#891)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- previousMarketingFee = marketingFee (#892)
Reentrancy in CoinToken.transferFrom(address,address,uint256) (#563-567):
External calls:
- _transfer(sender,recipient,amount) (#564)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#722-728)
External calls sending eth:
- _transfer(sender,recipient,amount) (#564)
- recipient.transfer(amount) (#974)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#565)
- _allowances[owner][spender] = amount (#649)
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
CoinToken.addLiquidity(uint256,uint256) (#750-763) 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() (#8-11) is never used and should be removed
SafeMath.mod(uint256,uint256) (#73-75) 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
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
Parameter CoinToken.presale(bool)._presale (#959) is not in mixedCase
Parameter CoinToken.setMarketingAddress(address)._marketingAddress (#945) is not in mixedCase
Parameter CoinToken.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#937) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#235) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#251) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#234) is not in mixedCase
Parameter CoinToken.setSwapAndLiquifyEnabled(bool)._enabled (#949) is not in mixedCase
Variable CoinToken._maxTxAmount (#448) is not in mixedCase
Parameter CoinToken.calculateLiquidityFee(uint256)._amount (#880) is not in mixedCase
Variable CoinToken._taxFee (#435) is not in mixedCase
Parameter CoinToken.setMarketingFee(uint256)._marketingFee (#932) is not in mixedCase
Parameter CoinToken.setBuyBackEnabled(bool)._enabled (#954) is not in mixedCase
Parameter CoinToken.setBuybackFee(uint256)._buybackFee (#923) is not in mixedCase
Function IUniswapV2Router01.WETH() (#272) is not in mixedCase
Variable CoinToken.lp_poolAddress (#413) is not in mixedCase
Parameter CoinToken.calculateTaxFee(uint256)._amount (#874) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#9)" inContext (#3-12)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CoinToken._transfer(address,address,uint256) (#653-691):
External calls:
- swapTokens(contractTokenBalance) (#671)
- recipient.transfer(amount) (#974)
External calls sending eth:
- swapTokens(contractTokenBalance) (#671)
- recipient.transfer(amount) (#974)
- buyBackTokens(balance.div(100)) (#679)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _liquidityFee = _previousLiquidityFee (#902)
- _liquidityFee = 0 (#895)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _previousLiquidityFee = _liquidityFee (#890)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _previousTaxFee = _taxFee (#889)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#869)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#785)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#805)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#815)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#806)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#796)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#817)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _rTotal = _rTotal.sub(rFee) (#824)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _tFeeTotal = _tFeeTotal.add(tFee) (#825)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#871)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#814)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#804)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#795)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#816)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- _taxFee = _previousTaxFee (#901)
- _taxFee = 0 (#894)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- buybackFee = previousBuybackFee (#903)
- buybackFee = 0 (#896)
- buyBackTokens(balance.div(100)) (#679)
- inSwapAndLiquify = true (#481)
- inSwapAndLiquify = false (#483)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- marketingFee = previousMarketingFee (#904)
- marketingFee = 0 (#897)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- previousBuybackFee = buybackFee (#891)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- previousMarketingFee = marketingFee (#892)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#747)
- buyBackTokens(balance.div(100)) (#679)
- Transfer(sender,recipient,tTransferAmount) (#789)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- Transfer(sender,recipient,tTransferAmount) (#809)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- Transfer(sender,recipient,tTransferAmount) (#799)
- _tokenTransfer(from,to,amount,takeFee) (#690)
- Transfer(sender,recipient,tTransferAmount) (#820)
- _tokenTransfer(from,to,amount,takeFee) (#690)
Reentrancy in CoinToken.transferFrom(address,address,uint256) (#563-567):
External calls:
- _transfer(sender,recipient,amount) (#564)
- recipient.transfer(amount) (#974)
External calls sending eth:
- _transfer(sender,recipient,amount) (#564)
- recipient.transfer(amount) (#974)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#740-745)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#565)
- _allowances[owner][spender] = amount (#649)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#650)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#565)
Apply the check-effects-interactions pattern.
Additional information: link
Variable CoinToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#845) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken._transferStandard(address,address,uint256).rTransferAmount (#784) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken._getValues(uint256).rTransferAmount (#830) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Variable CoinToken._getValues(uint256).rTransferAmount (#830) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#845) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Variable CoinToken._transferToExcluded(address,address,uint256).rTransferAmount (#793) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken.reflectionFromToken(uint256,bool).rTransferAmount (#611) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken._getValues(uint256).rTransferAmount (#830) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken.reflectionFromToken(uint256,bool).rTransferAmount (#611) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._getValues(uint256).rTransferAmount (#830) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._transferStandard(address,address,uint256).rTransferAmount (#784) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable CoinToken._transferStandard(address,address,uint256).rTransferAmount (#784) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Variable CoinToken.reflectionFromToken(uint256,bool).rTransferAmount (#611) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken._transferFromExcluded(address,address,uint256).rTransferAmount (#803) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._transferBothExcluded(address,address,uint256).rTransferAmount (#813) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._transferToExcluded(address,address,uint256).rTransferAmount (#793) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Variable CoinToken._transferStandard(address,address,uint256).rTransferAmount (#784) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken._transferToExcluded(address,address,uint256).rTransferAmount (#793) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._transferStandard(address,address,uint256).rTransferAmount (#784) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._getValues(uint256).rTransferAmount (#830) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable CoinToken._getValues(uint256).rTransferAmount (#830) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken.reflectionFromToken(uint256,bool).rTransferAmount (#611) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable CoinToken._transferStandard(address,address,uint256).rTransferAmount (#784) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._transferToExcluded(address,address,uint256).rTransferAmount (#793) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._transferBothExcluded(address,address,uint256).rTransferAmount (#813) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable CoinToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#845) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#277) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#278)
Variable CoinToken.reflectionFromToken(uint256,bool).rTransferAmount (#611) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Variable CoinToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#845) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._transferFromExcluded(address,address,uint256).rTransferAmount (#803) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._transferBothExcluded(address,address,uint256).rTransferAmount (#813) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#837)
Variable CoinToken._transferFromExcluded(address,address,uint256).rTransferAmount (#803) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken._transferFromExcluded(address,address,uint256).rTransferAmount (#803) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable CoinToken._transferBothExcluded(address,address,uint256).rTransferAmount (#813) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#845) is too similar to CoinToken._getValues(uint256).tTransferAmount (#829)
Variable CoinToken._transferBothExcluded(address,address,uint256).rTransferAmount (#813) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken._transferToExcluded(address,address,uint256).rTransferAmount (#793) is too similar to CoinToken._transferFromExcluded(address,address,uint256).tTransferAmount (#803)
Variable CoinToken._transferToExcluded(address,address,uint256).rTransferAmount (#793) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken._transferBothExcluded(address,address,uint256).rTransferAmount (#813) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Variable CoinToken.reflectionFromToken(uint256,bool).rTransferAmount (#611) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#845) is too similar to CoinToken._transferBothExcluded(address,address,uint256).tTransferAmount (#813)
Variable CoinToken._transferFromExcluded(address,address,uint256).rTransferAmount (#803) is too similar to CoinToken._transferToExcluded(address,address,uint256).tTransferAmount (#793)
Variable CoinToken._transferFromExcluded(address,address,uint256).rTransferAmount (#803) is too similar to CoinToken._transferStandard(address,address,uint256).tTransferAmount (#784)
Prevent variables from having similar names.
Additional information: link
CoinToken.slitherConstructorVariables() (#409-980) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#415)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
totalFees() should be declared external:
- CoinToken.totalFees() (#583-585)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#164-167)
includeInFee(address) should be declared external:
- CoinToken.includeInFee(address) (#915-917)
isExcludedFromReward(address) should be declared external:
- CoinToken.isExcludedFromReward(address) (#579-581)
approve(address,uint256) should be declared external:
- CoinToken.approve(address,uint256) (#558-561)
reflectionFromToken(uint256,bool) should be declared external:
- CoinToken.reflectionFromToken(uint256,bool) (#605-614)
buyBackUpperLimitAmount() should be declared external:
- CoinToken.buyBackUpperLimitAmount() (#591-593)
excludeFromReward(address) should be declared external:
- CoinToken.excludeFromReward(address) (#622-630)
deliver(uint256) should be declared external:
- CoinToken.deliver(uint256) (#595-602)
decreaseAllowance(address,uint256) should be declared external:
- CoinToken.decreaseAllowance(address,uint256) (#574-577)
excludeFromFee(address) should be declared external:
- CoinToken.excludeFromFee(address) (#911-913)
getTime() should be declared external:
- Ownable.getTime() (#179-181)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#169-173)
isExcludedFromFee(address) should be declared external:
- CoinToken.isExcludedFromFee(address) (#907-909)
transfer(address,uint256) should be declared external:
- CoinToken.transfer(address,uint256) (#549-552)
minimumTokensBeforeSwapAmount() should be declared external:
- CoinToken.minimumTokensBeforeSwapAmount() (#587-589)
transferFrom(address,address,uint256) should be declared external:
- CoinToken.transferFrom(address,address,uint256) (#563-567)
decimals() should be declared external:
- CoinToken.decimals() (#536-538)
symbol() should be declared external:
- CoinToken.symbol() (#532-534)
unlock() should be declared external:
- Ownable.unlock() (#190-195)
increaseAllowance(address,uint256) should be declared external:
- CoinToken.increaseAllowance(address,uint256) (#569-572)
name() should be declared external:
- CoinToken.name() (#528-530)
setBuyBackEnabled(bool) should be declared external:
- CoinToken.setBuyBackEnabled(bool) (#954-957)
allowance(address,address) should be declared external:
- CoinToken.allowance(address,address) (#554-556)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#183-188)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#175-177)
Use the external attribute for functions never called from the contract.
Additional information: link
CoinToken.includeInReward(address) (#632-643) has costly operations inside a loop:
- _excluded.pop() (#639)
Use a local variable to hold the loop computation result.
Additional information: link
Contract has 12% buy tax and 6% 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 PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find token on CoinMarketCap
Additional information: link
Unable to crawl data from the website
Unable to find token contract audit
Unable to find audit 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
Token has a considerable age, but we're still unable to find its website
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 180 days ago
Unable to find Discord account
Unable to find Youtube account