Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Batcoin._transfer(address,address,uint256) (#819-852):
External calls:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
- swapAndSendToFee(sellTokens) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
External calls sending eth:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- swapAndSendToFee(sellTokens) (#838)
- address(_marketingWallet).transfer(ethToSend) (#859)
State variables written after the call(s):
- _tOwned[from] -= amount (#842)
- transferAmount = _getValues(amount,from) (#847)
- _tOwned[address(this)] += marketingFee + liquidityFee (#801)
- _tOwned[to] += transferAmount (#850)
- swapping = false (#839)
Apply the check-effects-interactions pattern.
Additional information: link
Batcoin.allowance(address,address).owner (#744) shadows:
- Ownable.owner() (#417-419) (function)
Batcoin._approve(address,address,uint256).owner (#811) shadows:
- Ownable.owner() (#417-419) (function)
Rename the local variables that shadow another component.
Additional information: link
Batcoin.setMarketingFeePercent(uint256) (#782-784) should emit an event for:
- _marketingFee = marketingFee (#783)
Batcoin.setLiquidityFeePercent(uint256) (#786-788) should emit an event for:
- _liquidityFee = liquidityFee (#787)
Batcoin.setMaxBuySellPercent(uint256) (#790-792) should emit an event for:
- _maxTxAmount = _tTotal * maxTxPercent / 10 ** 2 (#791)
Emit an event for critical parameter changes.
Additional information: link
Batcoin.setMarketingWallet(address).marketingWallet (#778) lacks a zero-check on :
- _marketingWallet = marketingWallet (#779)
Check that the address is not zero.
Additional information: link
Reentrancy in Batcoin._transfer(address,address,uint256) (#819-852):
External calls:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
- swapAndSendToFee(sellTokens) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
External calls sending eth:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- swapAndSendToFee(sellTokens) (#838)
- address(_marketingWallet).transfer(ethToSend) (#859)
State variables written after the call(s):
- swapAndSendToFee(sellTokens) (#838)
- _allowances[owner][spender] = amount (#815)
Reentrancy in Batcoin.constructor() (#701-717):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#706)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#712)
- _isExcludedFromFee[address(this)] = true (#713)
- _isExcludedFromFee[_marketingWallet] = true (#714)
- uniswapV2Pair = _uniswapV2Pair (#709)
- uniswapV2Router = _uniswapV2Router (#708)
Reentrancy in Batcoin.swapAndLiquify() (#862-874):
External calls:
- newBalance = swapTokensForEth(half) (#867)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
- addLiquidity(otherHalf,newBalance) (#871)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#871)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#871)
- _allowances[owner][spender] = amount (#815)
Reentrancy in Batcoin.transferFrom(address,address,uint256) (#753-757):
External calls:
- _transfer(sender,recipient,amount) (#754)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
External calls sending eth:
- _transfer(sender,recipient,amount) (#754)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- address(_marketingWallet).transfer(ethToSend) (#859)
- (success) = recipient.call{value: amount}() (#302)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#755)
- _allowances[owner][spender] = amount (#815)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Batcoin._transfer(address,address,uint256) (#819-852):
External calls:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
- swapAndSendToFee(sellTokens) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
External calls sending eth:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- swapAndSendToFee(sellTokens) (#838)
- address(_marketingWallet).transfer(ethToSend) (#859)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#816)
- swapAndSendToFee(sellTokens) (#838)
- Transfer(from,address(this),marketingFee + liquidityFee) (#802)
- transferAmount = _getValues(amount,from) (#847)
- Transfer(from,to,transferAmount) (#851)
Reentrancy in Batcoin.constructor() (#701-717):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#706)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#716)
Reentrancy in Batcoin.swapAndLiquify() (#862-874):
External calls:
- newBalance = swapTokensForEth(half) (#867)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
- addLiquidity(otherHalf,newBalance) (#871)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#871)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#816)
- addLiquidity(otherHalf,newBalance) (#871)
- SwapAndLiquify(half,newBalance,otherHalf) (#872)
Reentrancy in Batcoin.transferFrom(address,address,uint256) (#753-757):
External calls:
- _transfer(sender,recipient,amount) (#754)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#911)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#886-892)
External calls sending eth:
- _transfer(sender,recipient,amount) (#754)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- address(_marketingWallet).transfer(ethToSend) (#859)
- (success) = recipient.call{value: amount}() (#302)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#816)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#755)
Apply the check-effects-interactions pattern.
Additional information: link
Batcoin.addLiquidity(uint256,uint256) (#896-912) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#910)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#271-280) uses assembly
- INLINE ASM (#278)
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) uses assembly
- INLINE ASM (#377-380)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) is never used and should be removed
Address.functionCall(address,bytes) (#324-326) is never used and should be removed
Address.functionCall(address,bytes,string) (#334-336) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#349-351) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#359-362) is never used and should be removed
Address.isContract(address) (#271-280) is never used and should be removed
Context._msgData() (#243-246) is never used and should be removed
SafeMath.add(uint256,uint256) (#106-111) is never used and should be removed
SafeMath.div(uint256,uint256) (#180-182) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#196-202) is never used and should be removed
SafeMath.mod(uint256,uint256) (#216-218) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#232-235) is never used and should be removed
SafeMath.mul(uint256,uint256) (#154-166) is never used and should be removed
SafeMath.sub(uint256,uint256) (#123-125) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#137-142) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#298-304):
- (success) = recipient.call{value: amount}() (#302)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#364-385):
- (success,returndata) = target.call{value: weiValue}(data) (#368)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#488) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#489) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#506) is not in mixedCase
Function IUniswapV2Router01.WETH() (#528) is not in mixedCase
Variable Batcoin._maxTxAmount (#680) is not in mixedCase
Constant Batcoin._name (#686) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Batcoin._symbol (#688) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Batcoin._decimals (#690) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Batcoin._marketingFee (#693) is not in mixedCase
Variable Batcoin._liquidityFee (#694) is not in mixedCase
Variable Batcoin._marketingWallet (#695) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#244)" inContext (#238-247)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Batcoin._transfer(address,address,uint256) (#819-852):
External calls:
- swapAndSendToFee(sellTokens) (#838)
- address(_marketingWallet).transfer(ethToSend) (#859)
External calls sending eth:
- swapAndLiquify() (#836)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- (success) = recipient.call{value: amount}() (#302)
- swapAndSendToFee(sellTokens) (#838)
- address(_marketingWallet).transfer(ethToSend) (#859)
State variables written after the call(s):
- _tOwned[from] -= amount (#842)
- transferAmount = _getValues(amount,from) (#847)
- _tOwned[address(this)] += marketingFee + liquidityFee (#801)
- _tOwned[to] += transferAmount (#850)
- swapping = false (#839)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#802)
- transferAmount = _getValues(amount,from) (#847)
- Transfer(from,to,transferAmount) (#851)
Reentrancy in Batcoin.transferFrom(address,address,uint256) (#753-757):
External calls:
- _transfer(sender,recipient,amount) (#754)
- address(_marketingWallet).transfer(ethToSend) (#859)
External calls sending eth:
- _transfer(sender,recipient,amount) (#754)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#901-908)
- address(_marketingWallet).transfer(ethToSend) (#859)
- (success) = recipient.call{value: amount}() (#302)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#755)
- _allowances[owner][spender] = amount (#815)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#816)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#755)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#533) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#534)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#298-304) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#300)
Batcoin.slitherConstructorVariables() (#665-914) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 9 (#677)
Batcoin.slitherConstructorVariables() (#665-914) uses literals with too many digits:
- _maxTxAmount = 1000000000000 * 10 ** 9 (#680)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Batcoin._tTotal (#677) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#436-439)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#445-449)
name() should be declared external:
- Batcoin.name() (#719-721)
symbol() should be declared external:
- Batcoin.symbol() (#723-725)
decimals() should be declared external:
- Batcoin.decimals() (#727-729)
totalSupply() should be declared external:
- Batcoin.totalSupply() (#731-733)
transfer(address,uint256) should be declared external:
- Batcoin.transfer(address,uint256) (#739-742)
allowance(address,address) should be declared external:
- Batcoin.allowance(address,address) (#744-746)
approve(address,uint256) should be declared external:
- Batcoin.approve(address,uint256) (#748-751)
transferFrom(address,address,uint256) should be declared external:
- Batcoin.transferFrom(address,address,uint256) (#753-757)
increaseAllowance(address,uint256) should be declared external:
- Batcoin.increaseAllowance(address,uint256) (#759-762)
decreaseAllowance(address,uint256) should be declared external:
- Batcoin.decreaseAllowance(address,uint256) (#764-767)
excludeFromFee(address) should be declared external:
- Batcoin.excludeFromFee(address) (#769-771)
includeInFee(address) should be declared external:
- Batcoin.includeInFee(address) (#773-775)
isExcludedFromFee(address) should be declared external:
- Batcoin.isExcludedFromFee(address) (#807-809)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 14% buy tax and 14% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Token is deployed only at one blockchain
Token has only one trading pair
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
Unable to find Telegram and Twitter accounts