Citrus Sinensis Osbeck Token Logo

CSO [Citrus Sinensis Osbeck] Token

About CSO

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 11 January 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

CSO.swapETHForTokens(uint256) (#828-843) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
CSO.addLiquidity(uint256,uint256) (#845-858) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#850-857)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

CSO._transfer(address,address,uint256) (#671-788) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#732)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in CSO._transfer(address,address,uint256) (#671-788):
External calls:
- swapTokens(contractTokenBalance) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
External calls sending eth:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
State variables written after the call(s):
- _removeOldSellHistories() (#727)
- _sellHistories[i].time = _sellHistories[j].time (#1028)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1029)
- _sellHistories.pop() (#1039)
Reentrancy in CSO._transfer(address,address,uint256) (#671-788):
External calls:
- swapTokens(contractTokenBalance) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
External calls sending eth:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#964)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#880)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#889)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#881)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#900)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#910)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#891)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#901)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#912)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _rTotal = _rTotal.sub(rFee) (#919)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#966)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#899)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#909)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#890)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#911)
- buyBackTokens(_bBSLimit) (#735)
- inSwapAndLiquify = true (#517)
- inSwapAndLiquify = false (#519)
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.

CSO.includeInReward(address) (#650-661) has costly operations inside a loop:
- _excluded.pop() (#657)
Use a local variable to hold the loop computation result.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#103-109):
- (success) = recipient.call{value: amount}() (#107)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#129-146):
- (success,returndata) = target.call{value: weiValue}(data) (#132)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

CSO._transfer(address,address,uint256).sellHistory (#687) 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

CSO.addLiquidity(uint256,uint256) (#845-858) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#850-857)
Ensure that all the return values of the function calls are used.

Additional information: link

CSO.allowance(address,address).owner (#572) shadows:
- Ownable.owner() (#162-164) (function)
CSO._approve(address,address,uint256).owner (#663) shadows:
- Ownable.owner() (#162-164) (function)
Rename the local variables that shadow another component.

Additional information: link

CSO.SetBuyBackMaxTimeForHistories(uint256) (#1044-1046) should emit an event for:
- _buyBackMaxTimeForHistories = newMinutes * 60 (#1045)
CSO.SetBuyBackDivisor(uint256) (#1048-1050) should emit an event for:
- _buyBackDivisor = newDivisor (#1049)
CSO.SetBuyBackTimeInterval(uint256) (#1056-1058) should emit an event for:
- _buyBackTimeInterval = newMinutes * 60 (#1057)
CSO.SetBuyBackRangeRate(uint256) (#1060-1063) should emit an event for:
- _buyBackRangeRate = newPercent (#1062)
CSO.SetSwapMinutes(uint256) (#1069-1071) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (#1070)
CSO.setTaxFeePercent(uint256) (#1073-1075) should emit an event for:
- _taxFee = taxFee (#1074)
CSO.setBuyFee(uint256,uint256) (#1077-1080) should emit an event for:
- _buyTaxFee = buyTaxFee (#1078)
- _buyLiquidityFee = buyLiquidityFee (#1079)
CSO.setSellFee(uint256,uint256) (#1082-1085) should emit an event for:
- _sellTaxFee = sellTaxFee (#1083)
- _sellLiquidityFee = sellLiquidityFee (#1084)
CSO.setLiquidityFeePercent(uint256) (#1087-1089) should emit an event for:
- _liquidityFee = liquidityFee (#1088)
CSO.setBuyBackSellLimit(uint256) (#1091-1093) should emit an event for:
- buyBackSellLimit = buyBackSellSetLimit (#1092)
CSO.setMaxTxAmount(uint256) (#1095-1097) should emit an event for:
- _maxTxAmount = maxTxAmount (#1096)
CSO.setMarketingDivisor(uint256) (#1099-1101) should emit an event for:
- marketingDivisor = divisor (#1100)
CSO.setNumTokensSellToAddToBuyBack(uint256) (#1103-1105) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#1104)
Emit an event for critical parameter changes.

Additional information: link

CSO.setMarketingAddress(address)._marketingAddress (#1107) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1108)
Check that the address is not zero.

Additional information: link

Reentrancy in CSO._transfer(address,address,uint256) (#671-788):
External calls:
- swapTokens(contractTokenBalance) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
External calls sending eth:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
State variables written after the call(s):
- removeAllFee() (#751)
- _liquidityFee = 0 (#988)
- _liquidityFee = _buyLiquidityFee (#753)
- removeAllFee() (#757)
- _liquidityFee = 0 (#988)
- _liquidityFee = _sellLiquidityFee (#759)
- removeAllFee() (#764)
- _liquidityFee = 0 (#988)
- _liquidityFee = _addressFees[from]._liquidityFee (#766)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#771)
- removeAllFee() (#778)
- _liquidityFee = 0 (#988)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#781)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _liquidityFee = _previousLiquidityFee (#993)
- _liquidityFee = 0 (#988)
- removeAllFee() (#751)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#757)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#764)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#778)
- _previousLiquidityFee = _liquidityFee (#985)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#751)
- _previousTaxFee = _taxFee (#984)
- removeAllFee() (#757)
- _previousTaxFee = _taxFee (#984)
- removeAllFee() (#764)
- _previousTaxFee = _taxFee (#984)
- removeAllFee() (#778)
- _previousTaxFee = _taxFee (#984)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _previousTaxFee = _taxFee (#984)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _tFeeTotal = _tFeeTotal.add(tFee) (#920)
- removeAllFee() (#751)
- _taxFee = 0 (#987)
- _taxFee = _buyTaxFee (#752)
- removeAllFee() (#757)
- _taxFee = 0 (#987)
- _taxFee = _sellTaxFee (#758)
- removeAllFee() (#764)
- _taxFee = 0 (#987)
- _taxFee = _addressFees[from]._taxFee (#765)
- _taxFee = _addressFees[from]._sellTaxFee (#770)
- removeAllFee() (#778)
- _taxFee = 0 (#987)
- _taxFee = _addressFees[to]._buyTaxFee (#780)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _taxFee = _previousTaxFee (#992)
- _taxFee = 0 (#987)
Reentrancy in CSO.changeRouterVersion(address) (#1144-1157):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1150-1151)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1153)
- uniswapV2Router = _uniswapV2Router (#1156)
Reentrancy in CSO.constructor() (#522-544):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#532-533)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#538)
- _isExcludedFromFee[address(this)] = true (#539)
- _startTimeForSwap = block.timestamp (#541)
- uniswapV2Router = _uniswapV2Router (#535)
Reentrancy in CSO.transferFrom(address,address,uint256) (#581-585):
External calls:
- _transfer(sender,recipient,amount) (#582)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
External calls sending eth:
- _transfer(sender,recipient,amount) (#582)
- recipient.transfer(amount) (#1141)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#583)
- _allowances[owner][spender] = amount (#667)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CSO._transfer(address,address,uint256) (#671-788):
External calls:
- swapTokens(contractTokenBalance) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
External calls sending eth:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#842)
- buyBackTokens(_bBSLimit) (#735)
- Transfer(sender,recipient,tTransferAmount) (#884)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- Transfer(sender,recipient,tTransferAmount) (#904)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- Transfer(sender,recipient,tTransferAmount) (#894)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- Transfer(sender,recipient,tTransferAmount) (#915)
- _tokenTransfer(from,to,amount,takeFee) (#787)
Reentrancy in CSO.constructor() (#522-544):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#532-533)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#543)
Reentrancy in CSO.swapETHForTokens(uint256) (#828-843):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#842)
Reentrancy in CSO.swapTokensForEth(uint256) (#808-826):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#825)
Reentrancy in CSO.transferFrom(address,address,uint256) (#581-585):
External calls:
- _transfer(sender,recipient,amount) (#582)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#817-823)
External calls sending eth:
- _transfer(sender,recipient,amount) (#582)
- recipient.transfer(amount) (#1141)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#668)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#583)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#197-202) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#199)
CSO._transfer(address,address,uint256) (#671-788) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (#697)
- _sellHistories[i].time >= startTime (#717)
- balance > _bBSLimit (#734)
CSO.buyBackTokens(uint256) (#802-806) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#803)
CSO._removeOldSellHistories() (#1020-1042) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1026)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#92-101) uses assembly
- INLINE ASM (#99)
Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) uses assembly
- INLINE ASM (#138-141)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#129-146) is never used and should be removed
Address.functionCall(address,bytes) (#112-114) is never used and should be removed
Address.functionCall(address,bytes,string) (#116-118) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#120-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#124-127) is never used and should be removed
Address.isContract(address) (#92-101) is never used and should be removed
Address.sendValue(address,uint256) (#103-109) is never used and should be removed
CSO.addLiquidity(uint256,uint256) (#845-858) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#80-82) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#84-87) is never used and should be removed
Remove unused functions.

Additional information: link

CSO._rTotal (#432) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
CSO._previousTaxFee (#455) is set pre-construction with a non-constant function or state variable:
- _taxFee
CSO._previousLiquidityFee (#458) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#242) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#243) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#259) is not in mixedCase
Function IUniswapV2Router01.WETH() (#280) is not in mixedCase
Parameter CSO.calculateTaxFee(uint256)._amount (#969) is not in mixedCase
Parameter CSO.calculateLiquidityFee(uint256)._amount (#975) is not in mixedCase
Function CSO.SetBuyBackMaxTimeForHistories(uint256) (#1044-1046) is not in mixedCase
Function CSO.SetBuyBackDivisor(uint256) (#1048-1050) is not in mixedCase
Function CSO.GetBuyBackTimeInterval() (#1052-1054) is not in mixedCase
Function CSO.SetBuyBackTimeInterval(uint256) (#1056-1058) is not in mixedCase
Function CSO.SetBuyBackRangeRate(uint256) (#1060-1063) is not in mixedCase
Function CSO.GetSwapMinutes() (#1065-1067) is not in mixedCase
Function CSO.SetSwapMinutes(uint256) (#1069-1071) is not in mixedCase
Parameter CSO.setNumTokensSellToAddToBuyBack(uint256)._minimumTokensBeforeSwap (#1103) is not in mixedCase
Parameter CSO.setMarketingAddress(address)._marketingAddress (#1107) is not in mixedCase
Parameter CSO.setSwapAndLiquifyEnabled(bool)._enabled (#1111) is not in mixedCase
Parameter CSO.setBuyBackEnabled(bool)._enabled (#1116) is not in mixedCase
Parameter CSO.setAutoBuyBackEnabled(bool)._enabled (#1121) is not in mixedCase
Parameter CSO.changeRouterVersion(address)._router (#1144) is not in mixedCase
Parameter CSO.transferForeignToken(address,address)._token (#1163) is not in mixedCase
Parameter CSO.transferForeignToken(address,address)._to (#1163) is not in mixedCase
Function CSO.Sweep() (#1169-1172) is not in mixedCase
Parameter CSO.setAddressFee(address,bool,uint256,uint256)._address (#1174) is not in mixedCase
Parameter CSO.setAddressFee(address,bool,uint256,uint256)._enable (#1174) is not in mixedCase
Parameter CSO.setAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1174) is not in mixedCase
Parameter CSO.setAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1174) is not in mixedCase
Parameter CSO.setBuyAddressFee(address,bool,uint256,uint256)._address (#1180) is not in mixedCase
Parameter CSO.setBuyAddressFee(address,bool,uint256,uint256)._enable (#1180) is not in mixedCase
Parameter CSO.setBuyAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1180) is not in mixedCase
Parameter CSO.setBuyAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1180) is not in mixedCase
Parameter CSO.setSellAddressFee(address,bool,uint256,uint256)._address (#1186) is not in mixedCase
Parameter CSO.setSellAddressFee(address,bool,uint256,uint256)._enable (#1186) is not in mixedCase
Parameter CSO.setSellAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1186) is not in mixedCase
Parameter CSO.setSellAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1186) is not in mixedCase
Variable CSO._taxFee (#454) is not in mixedCase
Variable CSO._liquidityFee (#457) is not in mixedCase
Variable CSO._buyTaxFee (#460) is not in mixedCase
Variable CSO._buyLiquidityFee (#461) is not in mixedCase
Variable CSO._sellTaxFee (#463) is not in mixedCase
Variable CSO._sellLiquidityFee (#464) is not in mixedCase
Variable CSO._startTimeForSwap (#466) is not in mixedCase
Variable CSO._intervalMinutesForSwap (#467) is not in mixedCase
Variable CSO._buyBackRangeRate (#469) is not in mixedCase
Variable CSO._addressFees (#472) is not in mixedCase
Variable CSO._maxTxAmount (#476) is not in mixedCase
Variable CSO._sellHistories (#481) is not in mixedCase
Variable CSO._isAutoBuyBack (#482) is not in mixedCase
Variable CSO._buyBackDivisor (#483) is not in mixedCase
Variable CSO._buyBackTimeInterval (#484) is not in mixedCase
Variable CSO._buyBackMaxTimeForHistories (#485) is not in mixedCase
Variable CSO._isEnabledBuyBackAndBurn (#494) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#16)" inContext (#10-19)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in CSO._transfer(address,address,uint256) (#671-788):
External calls:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
State variables written after the call(s):
- _removeOldSellHistories() (#727)
- _sellHistories[i].time = _sellHistories[j].time (#1028)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1029)
- _sellHistories.pop() (#1039)
Reentrancy in CSO._transfer(address,address,uint256) (#671-788):
External calls:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
External calls sending eth:
- swapTokens(contractTokenBalance) (#700)
- recipient.transfer(amount) (#1141)
- buyBackTokens(_bBSLimit) (#735)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
State variables written after the call(s):
- removeAllFee() (#751)
- _liquidityFee = 0 (#988)
- _liquidityFee = _buyLiquidityFee (#753)
- removeAllFee() (#757)
- _liquidityFee = 0 (#988)
- _liquidityFee = _sellLiquidityFee (#759)
- removeAllFee() (#764)
- _liquidityFee = 0 (#988)
- _liquidityFee = _addressFees[from]._liquidityFee (#766)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#771)
- removeAllFee() (#778)
- _liquidityFee = 0 (#988)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#781)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _liquidityFee = _previousLiquidityFee (#993)
- _liquidityFee = 0 (#988)
- removeAllFee() (#751)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#757)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#764)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#778)
- _previousLiquidityFee = _liquidityFee (#985)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _previousLiquidityFee = _liquidityFee (#985)
- removeAllFee() (#751)
- _previousTaxFee = _taxFee (#984)
- removeAllFee() (#757)
- _previousTaxFee = _taxFee (#984)
- removeAllFee() (#764)
- _previousTaxFee = _taxFee (#984)
- removeAllFee() (#778)
- _previousTaxFee = _taxFee (#984)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _previousTaxFee = _taxFee (#984)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#964)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#880)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#889)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#881)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#900)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#910)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#891)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#901)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#912)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _rTotal = _rTotal.sub(rFee) (#919)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _tFeeTotal = _tFeeTotal.add(tFee) (#920)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#966)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#899)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#909)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#890)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#911)
- removeAllFee() (#751)
- _taxFee = 0 (#987)
- _taxFee = _buyTaxFee (#752)
- removeAllFee() (#757)
- _taxFee = 0 (#987)
- _taxFee = _sellTaxFee (#758)
- removeAllFee() (#764)
- _taxFee = 0 (#987)
- _taxFee = _addressFees[from]._taxFee (#765)
- _taxFee = _addressFees[from]._sellTaxFee (#770)
- removeAllFee() (#778)
- _taxFee = 0 (#987)
- _taxFee = _addressFees[to]._buyTaxFee (#780)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- _taxFee = _previousTaxFee (#992)
- _taxFee = 0 (#987)
- buyBackTokens(_bBSLimit) (#735)
- inSwapAndLiquify = true (#517)
- inSwapAndLiquify = false (#519)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#842)
- buyBackTokens(_bBSLimit) (#735)
- Transfer(sender,recipient,tTransferAmount) (#884)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- Transfer(sender,recipient,tTransferAmount) (#904)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- Transfer(sender,recipient,tTransferAmount) (#894)
- _tokenTransfer(from,to,amount,takeFee) (#787)
- Transfer(sender,recipient,tTransferAmount) (#915)
- _tokenTransfer(from,to,amount,takeFee) (#787)
Reentrancy in CSO.transferFrom(address,address,uint256) (#581-585):
External calls:
- _transfer(sender,recipient,amount) (#582)
- recipient.transfer(amount) (#1141)
External calls sending eth:
- _transfer(sender,recipient,amount) (#582)
- recipient.transfer(amount) (#1141)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#835-840)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#583)
- _allowances[owner][spender] = amount (#667)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#668)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#583)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#285) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#286)
Variable CSO._transferBothExcluded(address,address,uint256).rTransferAmount (#908) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO._transferFromExcluded(address,address,uint256).rTransferAmount (#898) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Variable CSO._transferFromExcluded(address,address,uint256).rTransferAmount (#898) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO._getValues(uint256).rTransferAmount (#925) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO._transferStandard(address,address,uint256).rTransferAmount (#879) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO._transferBothExcluded(address,address,uint256).rTransferAmount (#908) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO._transferToExcluded(address,address,uint256).rTransferAmount (#888) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO._transferToExcluded(address,address,uint256).rTransferAmount (#888) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO._transferBothExcluded(address,address,uint256).rTransferAmount (#908) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO._transferFromExcluded(address,address,uint256).rTransferAmount (#898) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO._transferToExcluded(address,address,uint256).rTransferAmount (#888) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Variable CSO._transferFromExcluded(address,address,uint256).rTransferAmount (#898) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO._transferStandard(address,address,uint256).rTransferAmount (#879) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Variable CSO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO.reflectionFromToken(uint256,bool).rTransferAmount (#629) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO._transferToExcluded(address,address,uint256).rTransferAmount (#888) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO._transferBothExcluded(address,address,uint256).rTransferAmount (#908) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO._transferToExcluded(address,address,uint256).rTransferAmount (#888) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO._transferBothExcluded(address,address,uint256).rTransferAmount (#908) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO._transferFromExcluded(address,address,uint256).rTransferAmount (#898) is too similar to CSO._getTValues(uint256).tTransferAmount (#932)
Variable CSO._transferFromExcluded(address,address,uint256).rTransferAmount (#898) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO._transferBothExcluded(address,address,uint256).rTransferAmount (#908) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Variable CSO.reflectionFromToken(uint256,bool).rTransferAmount (#629) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Variable CSO._getValues(uint256).rTransferAmount (#925) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO._transferStandard(address,address,uint256).rTransferAmount (#879) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO.reflectionFromToken(uint256,bool).rTransferAmount (#629) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO._transferStandard(address,address,uint256).rTransferAmount (#879) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO._transferStandard(address,address,uint256).rTransferAmount (#879) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO._transferToExcluded(address,address,uint256).rTransferAmount (#888) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Variable CSO._transferStandard(address,address,uint256).rTransferAmount (#879) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO._getValues(uint256).rTransferAmount (#925) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#940) is too similar to CSO._transferToExcluded(address,address,uint256).tTransferAmount (#888)
Variable CSO.reflectionFromToken(uint256,bool).rTransferAmount (#629) is too similar to CSO._transferBothExcluded(address,address,uint256).tTransferAmount (#908)
Variable CSO._getValues(uint256).rTransferAmount (#925) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO._getValues(uint256).rTransferAmount (#925) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO.reflectionFromToken(uint256,bool).rTransferAmount (#629) is too similar to CSO._transferFromExcluded(address,address,uint256).tTransferAmount (#898)
Variable CSO.reflectionFromToken(uint256,bool).rTransferAmount (#629) is too similar to CSO._getValues(uint256).tTransferAmount (#924)
Variable CSO._getValues(uint256).rTransferAmount (#925) is too similar to CSO._transferStandard(address,address,uint256).tTransferAmount (#879)
Prevent variables from having similar names.

Additional information: link

CSO.prepareForPreSale() (#1126-1131) uses literals with too many digits:
- _maxTxAmount = 2100000000 * 10 ** 6 * 10 ** 9 (#1130)
CSO.afterPreSale() (#1133-1138) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#1137)
CSO.slitherConstructorVariables() (#415-1193) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#420)
CSO.slitherConstructorVariables() (#415-1193) uses literals with too many digits:
- _tTotal = 2100000000 * 10 ** 6 * 10 ** 9 (#431)
CSO.slitherConstructorVariables() (#415-1193) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#476)
CSO.slitherConstructorVariables() (#415-1193) uses literals with too many digits:
- minimumTokensBeforeSwap = 200000 * 10 ** 6 * 10 ** 9 (#477)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CSO._decimals (#437) should be constant
CSO._isEnabledBuyBackAndBurn (#494) should be constant
CSO._name (#435) should be constant
CSO._symbol (#436) should be constant
CSO._tTotal (#431) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#171-174)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#176-180)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#182-184)
getTime() should be declared external:
- Ownable.getTime() (#186-188)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#190-195)
unlock() should be declared external:
- Ownable.unlock() (#197-202)
name() should be declared external:
- CSO.name() (#546-548)
symbol() should be declared external:
- CSO.symbol() (#550-552)
decimals() should be declared external:
- CSO.decimals() (#554-556)
totalSupply() should be declared external:
- CSO.totalSupply() (#558-560)
transfer(address,uint256) should be declared external:
- CSO.transfer(address,uint256) (#567-570)
allowance(address,address) should be declared external:
- CSO.allowance(address,address) (#572-574)
approve(address,uint256) should be declared external:
- CSO.approve(address,uint256) (#576-579)
transferFrom(address,address,uint256) should be declared external:
- CSO.transferFrom(address,address,uint256) (#581-585)
increaseAllowance(address,uint256) should be declared external:
- CSO.increaseAllowance(address,uint256) (#587-590)
decreaseAllowance(address,uint256) should be declared external:
- CSO.decreaseAllowance(address,uint256) (#592-595)
isExcludedFromReward(address) should be declared external:
- CSO.isExcludedFromReward(address) (#597-599)
totalFees() should be declared external:
- CSO.totalFees() (#601-603)
minimumTokensBeforeSwapAmount() should be declared external:
- CSO.minimumTokensBeforeSwapAmount() (#605-607)
buyBackSellLimitAmount() should be declared external:
- CSO.buyBackSellLimitAmount() (#609-611)
deliver(uint256) should be declared external:
- CSO.deliver(uint256) (#613-620)
reflectionFromToken(uint256,bool) should be declared external:
- CSO.reflectionFromToken(uint256,bool) (#623-632)
excludeFromReward(address) should be declared external:
- CSO.excludeFromReward(address) (#640-648)
isExcludedFromFee(address) should be declared external:
- CSO.isExcludedFromFee(address) (#996-998)
excludeFromFee(address) should be declared external:
- CSO.excludeFromFee(address) (#1000-1002)
includeInFee(address) should be declared external:
- CSO.includeInFee(address) (#1004-1006)
GetBuyBackTimeInterval() should be declared external:
- CSO.GetBuyBackTimeInterval() (#1052-1054)
GetSwapMinutes() should be declared external:
- CSO.GetSwapMinutes() (#1065-1067)
setBuyBackEnabled(bool) should be declared external:
- CSO.setBuyBackEnabled(bool) (#1116-1119)
setAutoBuyBackEnabled(bool) should be declared external:
- CSO.setAutoBuyBackEnabled(bool) (#1121-1124)
changeRouterVersion(address) should be declared external:
- CSO.changeRouterVersion(address) (#1144-1157)
transferForeignToken(address,address) should be declared external:
- CSO.transferForeignToken(address,address) (#1163-1167)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Token has a considerable age, but we're still unable to find its website


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


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


Young tokens have high risks of price dump / death

Price for CSO