CRYPTOTWITTER Token Logo

CTWITTER [CRYPTOTWITTER] Token

ALERT: dead

About CTWITTER

Listings

Not Found
Token 19 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 5 May 2022

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).

CryptoTwitter.swapBack() (#401-446) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CryptoTwitter._transferFrom(address,address,uint256) (#289-326):
External calls:
- swapBack() (#316)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#412-418)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
External calls sending eth:
- swapBack() (#316)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#319)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#322)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#321)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#355)
- _balances[burnFeeReceiver] = _balances[burnFeeReceiver].add(burnTokens) (#356)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

CryptoTwitter.swapBack().tmpSuccess (#429) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
(tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
CryptoTwitter.swapBack().tmpSuccess (#429) is written in both
(tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
CryptoTwitter.swapBack().tmpSuccess (#429) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
tmpSuccess = false (#433)
Fix or remove the writes.

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)

CryptoTwitter.takeFee(address,uint256,bool) (#343-364) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#346)
-burnTokens = feeAmount.mul(burnFee).div(totalFee) (#352)
CryptoTwitter.takeFee(address,uint256,bool) (#343-364) performs a multiplication on the result of a division:
-feeAmount = amount.div(100).mul(99) (#349)
Consider ordering multiplication before division.

Additional information: link

CryptoTwitter.manage_blacklist(address[],bool).i (#453) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

CryptoTwitter.swapBack() (#401-446) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
Ensure that all the return values of the function calls are used.

Additional information: link

CryptoTwitter.setMaxTxPercent_base1000(uint256) (#281-283) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#282)
CryptoTwitter.setTxLimit(uint256) (#285-287) should emit an event for:
- _maxTxAmount = amount (#286)
CryptoTwitter.set_sell_multiplier(uint256) (#378-380) should emit an event for:
- sellMultiplier = Multiplier (#379)
CryptoTwitter.tradingStatus(bool,uint256) (#383-389) should emit an event for:
- deadBlocks = _deadBlocks (#387)
CryptoTwitter.launchStatus(uint256) (#391-393) should emit an event for:
- launchedAt = _launchblock (#392)
CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#470-479) should emit an event for:
- liquidityFee = _liquidityFee (#471)
- devFee = _devFee (#472)
- marketingFee = _marketingFee (#473)
- treasuryFee = _treasuryFee (#474)
- burnFee = _burnFee (#475)
- totalFee = _liquidityFee.add(_devFee).add(_marketingFee).add(_treasuryFee).add(_burnFee) (#476)
- feeDenominator = _feeDenominator (#477)
CryptoTwitter.setSwapBackSettings(bool,uint256) (#489-492) should emit an event for:
- swapThreshold = _amount (#491)
CryptoTwitter.setTargetLiquidity(uint256,uint256) (#494-497) should emit an event for:
- targetLiquidity = _target (#495)
- targetLiquidityDenominator = _denominator (#496)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#90) lacks a zero-check on :
- owner = adr (#91)
CryptoTwitter.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#481) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#482)
CryptoTwitter.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#481) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#483)
CryptoTwitter.setFeeReceivers(address,address,address,address,address)._treasuryFeeReceiver (#481) lacks a zero-check on :
- treasuryFeeReceiver = _treasuryFeeReceiver (#484)
CryptoTwitter.setFeeReceivers(address,address,address,address,address)._burnFeeReceiver (#481) lacks a zero-check on :
- burnFeeReceiver = _burnFeeReceiver (#485)
CryptoTwitter.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#481) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#486)
Check that the address is not zero.

Additional information: link

Reentrancy in CryptoTwitter.constructor() (#218-244):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#220)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#223)
- _balances[msg.sender] = _totalSupply (#242)
- autoLiquidityReceiver = msg.sender (#236)
- burnFeeReceiver = DEAD (#240)
- devFeeReceiver = 0x46Cb561Ab8A037745e50d51211b3C458963B5231 (#239)
- isDividendExempt[pair] = true (#232)
- isDividendExempt[address(this)] = true (#233)
- isDividendExempt[DEAD] = true (#234)
- isFeeExempt[msg.sender] = true (#225)
- isTimelockExempt[msg.sender] = true (#228)
- isTimelockExempt[DEAD] = true (#229)
- isTimelockExempt[address(this)] = true (#230)
- isTxLimitExempt[msg.sender] = true (#226)
- marketingFeeReceiver = 0x46Cb561Ab8A037745e50d51211b3C458963B5231 (#237)
- pairContract = InterfaceLP(pair) (#221)
- treasuryFeeReceiver = 0x46Cb561Ab8A037745e50d51211b3C458963B5231 (#238)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CryptoTwitter._transferFrom(address,address,uint256) (#289-326):
External calls:
- swapBack() (#316)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#412-418)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
External calls sending eth:
- swapBack() (#316)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
Event emitted after the call(s):
- Transfer(sender,address(this),contractTokens) (#357)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#321)
- Transfer(sender,burnFeeReceiver,burnTokens) (#360)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#321)
- Transfer(sender,recipient,amountReceived) (#324)
Reentrancy in CryptoTwitter.constructor() (#218-244):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#220)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#243)
Reentrancy in CryptoTwitter.swapBack() (#401-446):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#412-418)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
External calls sending eth:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#436-443)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#444)
Apply the check-effects-interactions pattern.

Additional information: link

CryptoTwitter._transferFrom(address,address,uint256) (#289-326) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#309)
Avoid relying on block.timestamp.

Additional information: link

CryptoTwitter._maxTxAmount (#168) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
CryptoTwitter._maxWalletToken (#169) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
CryptoTwitter.totalFee (#187) is set pre-construction with a non-constant function or state variable:
- devFee + marketingFee + liquidityFee + treasuryFee + burnFee
CryptoTwitter.swapThreshold (#214) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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

solc-0.8.13 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 CryptoTwitter.swapBack() (#401-446):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#429)
- (tmpSuccess,None) = address(treasuryFeeReceiver).call{gas: 30000,value: amountBNBTreasury}() (#430)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#431)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#105) is not in mixedCase
Function CryptoTwitter.setMaxWalletPercent_base1000(uint256) (#278-280) is not in mixedCase
Parameter CryptoTwitter.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#278) is not in mixedCase
Function CryptoTwitter.setMaxTxPercent_base1000(uint256) (#281-283) is not in mixedCase
Parameter CryptoTwitter.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#281) is not in mixedCase
Function CryptoTwitter.set_sell_multiplier(uint256) (#378-380) is not in mixedCase
Parameter CryptoTwitter.set_sell_multiplier(uint256).Multiplier (#378) is not in mixedCase
Parameter CryptoTwitter.tradingStatus(bool,uint256)._status (#383) is not in mixedCase
Parameter CryptoTwitter.tradingStatus(bool,uint256)._deadBlocks (#383) is not in mixedCase
Parameter CryptoTwitter.launchStatus(uint256)._launchblock (#391) is not in mixedCase
Parameter CryptoTwitter.cooldownEnabled(bool,uint8)._status (#396) is not in mixedCase
Parameter CryptoTwitter.cooldownEnabled(bool,uint8)._interval (#396) is not in mixedCase
Function CryptoTwitter.enable_blacklist(bool) (#448-450) is not in mixedCase
Parameter CryptoTwitter.enable_blacklist(bool)._status (#448) is not in mixedCase
Function CryptoTwitter.manage_blacklist(address[],bool) (#452-456) is not in mixedCase
Parameter CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#470) is not in mixedCase
Parameter CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#470) is not in mixedCase
Parameter CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#470) is not in mixedCase
Parameter CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._treasuryFee (#470) is not in mixedCase
Parameter CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._burnFee (#470) is not in mixedCase
Parameter CryptoTwitter.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#470) is not in mixedCase
Parameter CryptoTwitter.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#481) is not in mixedCase
Parameter CryptoTwitter.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#481) is not in mixedCase
Parameter CryptoTwitter.setFeeReceivers(address,address,address,address,address)._treasuryFeeReceiver (#481) is not in mixedCase
Parameter CryptoTwitter.setFeeReceivers(address,address,address,address,address)._burnFeeReceiver (#481) is not in mixedCase
Parameter CryptoTwitter.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#481) is not in mixedCase
Parameter CryptoTwitter.setSwapBackSettings(bool,uint256)._enabled (#489) is not in mixedCase
Parameter CryptoTwitter.setSwapBackSettings(bool,uint256)._amount (#489) is not in mixedCase
Parameter CryptoTwitter.setTargetLiquidity(uint256,uint256)._target (#494) is not in mixedCase
Parameter CryptoTwitter.setTargetLiquidity(uint256,uint256)._denominator (#494) is not in mixedCase
Variable CryptoTwitter.WBNB (#158) is not in mixedCase
Variable CryptoTwitter.DEAD (#159) is not in mixedCase
Variable CryptoTwitter.ZERO (#160) is not in mixedCase
Constant CryptoTwitter._name (#162) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CryptoTwitter._symbol (#163) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CryptoTwitter._decimals (#164) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CryptoTwitter._totalSupply (#166) is not in mixedCase
Variable CryptoTwitter._maxTxAmount (#168) is not in mixedCase
Variable CryptoTwitter._maxWalletToken (#169) is not in mixedCase
Variable CryptoTwitter._balances (#171) is not in mixedCase
Variable CryptoTwitter._allowances (#172) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#110) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#111)
Prevent variables from having similar names.

Additional information: link

CryptoTwitter.slitherConstructorVariables() (#155-535) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#159)
CryptoTwitter.slitherConstructorVariables() (#155-535) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#160)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CryptoTwitter.DEAD (#159) should be constant
CryptoTwitter.WBNB (#158) should be constant
CryptoTwitter.ZERO (#160) should be constant
CryptoTwitter._totalSupply (#166) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#74-76)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#78-80)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#90-94)
tradingStatus(bool,uint256) should be declared external:
- CryptoTwitter.tradingStatus(bool,uint256) (#383-389)
launchStatus(uint256) should be declared external:
- CryptoTwitter.launchStatus(uint256) (#391-393)
cooldownEnabled(bool,uint8) should be declared external:
- CryptoTwitter.cooldownEnabled(bool,uint8) (#396-399)
enable_blacklist(bool) should be declared external:
- CryptoTwitter.enable_blacklist(bool) (#448-450)
manage_blacklist(address[],bool) should be declared external:
- CryptoTwitter.manage_blacklist(address[],bool) (#452-456)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 10% buy tax and 9% 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


Unable to find Telegram and Twitter accounts


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

Price for CTWITTER