TWITTERDAO is a token that is completely autonomous by the community. It has a charity mechanism to help more people in need. We are calling for Peace and yearning for freedom.
TwitterDAO.addLiquidity(uint256,uint256) (#1024-1037) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in TwitterDAO._transfer(address,address,uint256) (#904-956):
External calls:
- swapAndLiquify(contractTokenBalance) (#935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#935)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#938-941)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#951)
- finalAmount = takeFee(sender,recipient,amount) (#943-946)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#1048)
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.
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in TwitterDAO._transfer(address,address,uint256) (#904-956):
External calls:
- swapAndLiquify(contractTokenBalance) (#935)
- recipient.transfer(amount) (#848)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#935)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#938-941)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#951)
- finalAmount = takeFee(sender,recipient,amount) (#943-946)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#1048)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#1049)
- finalAmount = takeFee(sender,recipient,amount) (#943-946)
- Transfer(sender,recipient,finalAmount) (#953)
Reentrancy in TwitterDAO.swapAndLiquify(uint256) (#976-1002):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#999)
- recipient.transfer(amount) (#848)
- transferToAddressETH(buyBackWalletAddress,amountBNBBuyBack) (#1000)
- recipient.transfer(amount) (#848)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#999)
- recipient.transfer(amount) (#848)
- transferToAddressETH(buyBackWalletAddress,amountBNBBuyBack) (#1000)
- recipient.transfer(amount) (#848)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- _allowances[owner][spender] = amount (#759)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#760)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
Reentrancy in TwitterDAO.transferFrom(address,address,uint256) (#887-902):
External calls:
- _transfer(sender,recipient,amount) (#892)
- recipient.transfer(amount) (#848)
External calls sending eth:
- _transfer(sender,recipient,amount) (#892)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#893-900)
- _allowances[owner][spender] = amount (#759)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#760)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#893-900)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#388) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#389)
Prevent variables from having similar names.
Additional information: link
TwitterDAO.slitherConstructorVariables() (#586-1054) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#599-600)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#207) is never used in TwitterDAO (#586-1054)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#207) should be constant
TwitterDAO._decimals (#592) should be constant
TwitterDAO._name (#590) should be constant
TwitterDAO._symbol (#591) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#229-232)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#234-241)
addBurner(address) should be declared external:
- TwitterDAO.addBurner(address) (#671-674)
removeBurner(address) should be declared external:
- TwitterDAO.removeBurner(address) (#676-678)
name() should be declared external:
- TwitterDAO.name() (#680-682)
symbol() should be declared external:
- TwitterDAO.symbol() (#684-686)
decimals() should be declared external:
- TwitterDAO.decimals() (#688-690)
totalSupply() should be declared external:
- TwitterDAO.totalSupply() (#692-694)
allowance(address,address) should be declared external:
- TwitterDAO.allowance(address,address) (#700-707)
increaseAllowance(address,uint256) should be declared external:
- TwitterDAO.increaseAllowance(address,uint256) (#709-720)
decreaseAllowance(address,uint256) should be declared external:
- TwitterDAO.decreaseAllowance(address,uint256) (#722-736)
minimumTokensBeforeSwapAmount() should be declared external:
- TwitterDAO.minimumTokensBeforeSwapAmount() (#738-740)
approve(address,uint256) should be declared external:
- TwitterDAO.approve(address,uint256) (#742-749)
setIsExcludedFromFee(address,bool) should be declared external:
- TwitterDAO.setIsExcludedFromFee(address,bool) (#763-768)
setSwapAndLiquifyEnabled(bool) should be declared external:
- TwitterDAO.setSwapAndLiquifyEnabled(bool) (#832-835)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- TwitterDAO.setSwapAndLiquifyByLimitOnly(bool) (#837-839)
getCirculatingSupply() should be declared external:
- TwitterDAO.getCirculatingSupply() (#841-843)
changeRouterVersion(address) should be declared external:
- TwitterDAO.changeRouterVersion(address) (#851-873)
transfer(address,uint256) should be declared external:
- TwitterDAO.transfer(address,uint256) (#878-885)
transferFrom(address,address,uint256) should be declared external:
- TwitterDAO.transferFrom(address,address,uint256) (#887-902)
burn(address,uint256) should be declared external:
- TwitterDAO.burn(address,uint256) (#958-960)
Use the external attribute for functions never called from the contract.
Additional information: link
TwitterDAO.swapAndLiquify(uint256) (#976-1002) performs a multiplication on the result of a division:
-tokensForLP = tAmount.div(_totalTaxIfBuying).mul(_liquidityFee).div(2) (#977-980)
Consider ordering multiplication before division.
Additional information: link
TwitterDAO.addLiquidity(uint256,uint256) (#1024-1037) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
Ensure that all the return values of the function calls are used.
Additional information: link
TwitterDAO.allowance(address,address).owner (#700) shadows:
- Ownable.owner() (#220-222) (function)
TwitterDAO._approve(address,address,uint256).owner (#752) shadows:
- Ownable.owner() (#220-222) (function)
Rename the local variables that shadow another component.
Additional information: link
TwitterDAO.setTaxes(uint256,uint256,uint256,uint256) (#770-783) should emit an event for:
- _liquidityFee = newLiquidityTax (#776)
- _buyBackFee = newBuyBackTax (#778)
- _totalTaxIfBuying = _liquidityFee.add(_marketingFee).add(_buyBackFee) (#781)
- _totalTaxIfSelling = _totalTaxIfBuying.add(_extraFeeOnSell) (#782)
TwitterDAO.setMaxTxAmount(uint256) (#785-787) should emit an event for:
- _maxTxAmount = maxTxAmount (#786)
TwitterDAO.setWalletLimit(uint256) (#816-818) should emit an event for:
- _walletMax = newLimit (#817)
TwitterDAO.setNumTokensBeforeSwap(uint256) (#820-822) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#821)
Emit an event for critical parameter changes.
Additional information: link
TwitterDAO.setMarketingWalletAddress(address).newAddress (#824) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#825)
TwitterDAO.setbuyBackWalletAddress(address).newAddress (#828) lacks a zero-check on :
- buyBackWalletAddress = address(newAddress) (#829)
Check that the address is not zero.
Additional information: link
Reentrancy in TwitterDAO.changeRouterVersion(address) (#851-873):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#867-868)
State variables written after the call(s):
- uniswapV2Pair = newPairAddress (#871)
- uniswapV2Router = _uniswapV2Router (#872)
Reentrancy in TwitterDAO.constructor() (#648-669):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#653-654)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#657)
- _balances[_msgSender()] = _totalSupply (#667)
- _totalTaxIfBuying = _liquidityFee.add(_marketingFee).add(_buyBackFee) (#664)
- _totalTaxIfSelling = _totalTaxIfBuying.add(_extraFeeOnSell) (#665)
- isExcludedFromFee[owner()] = true (#659)
- isExcludedFromFee[address(this)] = true (#660)
- isWalletLimitExempt[owner()] = true (#661)
- isWalletLimitExempt[address(uniswapV2Pair)] = true (#662)
- uniswapV2Router = _uniswapV2Router (#656)
Reentrancy in TwitterDAO.swapAndLiquify(uint256) (#976-1002):
External calls:
- swapTokensForEth(tokensForSwap) (#983)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#999)
- recipient.transfer(amount) (#848)
- transferToAddressETH(buyBackWalletAddress,amountBNBBuyBack) (#1000)
- recipient.transfer(amount) (#848)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- _allowances[owner][spender] = amount (#759)
Reentrancy in TwitterDAO.transferFrom(address,address,uint256) (#887-902):
External calls:
- _transfer(sender,recipient,amount) (#892)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
External calls sending eth:
- _transfer(sender,recipient,amount) (#892)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#893-900)
- _allowances[owner][spender] = amount (#759)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TwitterDAO._transfer(address,address,uint256) (#904-956):
External calls:
- swapAndLiquify(contractTokenBalance) (#935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#935)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#1049)
- finalAmount = takeFee(sender,recipient,amount) (#943-946)
- Transfer(sender,recipient,finalAmount) (#953)
Reentrancy in TwitterDAO.constructor() (#648-669):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#653-654)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#668)
Reentrancy in TwitterDAO.swapAndLiquify(uint256) (#976-1002):
External calls:
- swapTokensForEth(tokensForSwap) (#983)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#999)
- recipient.transfer(amount) (#848)
- transferToAddressETH(buyBackWalletAddress,amountBNBBuyBack) (#1000)
- recipient.transfer(amount) (#848)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#760)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#1001)
Reentrancy in TwitterDAO.swapTokensForEth(uint256) (#1004-1022):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#1021)
Reentrancy in TwitterDAO.transferFrom(address,address,uint256) (#887-902):
External calls:
- _transfer(sender,recipient,amount) (#892)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1013-1019)
External calls sending eth:
- _transfer(sender,recipient,amount) (#892)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1029-1036)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#760)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#893-900)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#110-121) uses assembly
- INLINE ASM (#117-119)
Address._functionCallWithValue(address,bytes,uint256,string) (#179-202) uses assembly
- INLINE ASM (#194-197)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#179-202) is never used and should be removed
Address.functionCall(address,bytes) (#137-142) is never used and should be removed
Address.functionCall(address,bytes,string) (#144-150) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#152-164) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#166-177) is never used and should be removed
Address.isContract(address) (#110-121) is never used and should be removed
Address.sendValue(address,uint256) (#123-135) is never used and should be removed
Context._msgData() (#9-12) is never used and should be removed
SafeMath.mod(uint256,uint256) (#95-97) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#99-106) is never used and should be removed
Remove unused functions.
Additional information: link
TwitterDAO._totalSupply (#615) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** 8 * 10 ** 8 * 10 ** _decimals
TwitterDAO._maxTxAmount (#616) is set pre-construction with a non-constant function or state variable:
- _totalSupply
TwitterDAO._walletMax (#617) is set pre-construction with a non-constant function or state variable:
- _totalSupply
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
Low level call in Address.sendValue(address,uint256) (#123-135):
- (success) = recipient.call{value: amount}() (#130)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#179-202):
- (success,returndata) = target.call{value: weiValue}(data) (#187-189)
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() (#307) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#309) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#339) is not in mixedCase
Function IUniswapV2Router01.WETH() (#383) is not in mixedCase
Event TwitterDAOde(address,uint256) (#636) is not in CapWords
Parameter TwitterDAO.setSwapAndLiquifyEnabled(bool)._enabled (#832) is not in mixedCase
Variable TwitterDAO._balances (#602) is not in mixedCase
Variable TwitterDAO._liquidityFee (#608) is not in mixedCase
Variable TwitterDAO._marketingFee (#609) is not in mixedCase
Variable TwitterDAO._buyBackFee (#610) is not in mixedCase
Variable TwitterDAO._extraFeeOnSell (#611) is not in mixedCase
Variable TwitterDAO._totalTaxIfBuying (#612) is not in mixedCase
Variable TwitterDAO._totalTaxIfSelling (#613) is not in mixedCase
Variable TwitterDAO._maxTxAmount (#616) is not in mixedCase
Variable TwitterDAO._walletMax (#617) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Contract has 3% buy tax and 4% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
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/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
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
Young tokens have high risks of scam / price dump / death
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
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account