Dofi is a trust society cornerstone operating system developed by the anonymous community of origin, which was spontaneously established by dooer community for one year. It is not a DAPP in the traditional sense, but a multi-dimensional technology aggregate of the fourth generation blockchain technology group with Tron blockchain as the bottom layer and can combine AI, big data and other technologies.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in DOO._transfer(address,address,uint256) (#992-1036):
External calls:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#948)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1126)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#864)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1137)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1128)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1138)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#866)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1117)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#950)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1118)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1136)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#863)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1127)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#865)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _tTotal = _tTotal.sub(tFee) (#903)
Apply the check-effects-interactions pattern.
Additional information: link
DOO.addLiquidity(uint256,uint256) (#1079-1092) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
Ensure that all the return values of the function calls are used.
Additional information: link
DOO.allowance(address,address).owner (#780) shadows:
- Ownable.owner() (#416-418) (function)
DOO._approve(address,address,uint256).owner (#984) shadows:
- Ownable.owner() (#416-418) (function)
Rename the local variables that shadow another component.
Additional information: link
DOO.setTaxFeePercent(uint256) (#880-882) should emit an event for:
- _taxFee = taxFee (#881)
DOO.setLiquidityFeePercent(uint256) (#884-886) should emit an event for:
- _liquidityFee = liquidityFee (#885)
DOO.setMaxTxPercent(uint256) (#888-892) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#889-891)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DOO._transfer(address,address,uint256) (#992-1036):
External calls:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _liquidityFee = _previousLiquidityFee (#977)
- _liquidityFee = 0 (#972)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _previousLiquidityFee = _liquidityFee (#969)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _previousTaxFee = _taxFee (#968)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _tFeeTotal = _tFeeTotal.add(tFee) (#904)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- _taxFee = _previousTaxFee (#976)
- _taxFee = 0 (#971)
Reentrancy in DOO.constructor() (#736-752):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#741-742)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#748)
- _isExcludedFromFee[address(this)] = true (#749)
- uniswapV2Router = _uniswapV2Router (#745)
Reentrancy in DOO.swapAndLiquify(uint256) (#1038-1059):
External calls:
- swapTokensForEth(half) (#1050)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
- addLiquidity(otherHalf,newBalance) (#1056)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1056)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1056)
- _allowances[owner][spender] = amount (#988)
Reentrancy in DOO.transferFrom(address,address,uint256) (#789-793):
External calls:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#791)
- _allowances[owner][spender] = amount (#988)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DOO._transfer(address,address,uint256) (#992-1036):
External calls:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1023)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1121)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- Transfer(sender,recipient,tTransferAmount) (#1131)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- Transfer(sender,recipient,tTransferAmount) (#1141)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
- Transfer(sender,recipient,tTransferAmount) (#869)
- _tokenTransfer(from,to,amount,takeFee) (#1035)
Reentrancy in DOO.constructor() (#736-752):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#741-742)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#751)
Reentrancy in DOO.swapAndLiquify(uint256) (#1038-1059):
External calls:
- swapTokensForEth(half) (#1050)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
- addLiquidity(otherHalf,newBalance) (#1056)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1056)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#989)
- addLiquidity(otherHalf,newBalance) (#1056)
- SwapAndLiquify(half,newBalance,otherHalf) (#1058)
Reentrancy in DOO.transferFrom(address,address,uint256) (#789-793):
External calls:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1070-1076)
External calls sending eth:
- _transfer(sender,recipient,amount) (#790)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1084-1091)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#989)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#791)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#463-468) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#465)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#268-277) uses assembly
- INLINE ASM (#275)
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) uses assembly
- INLINE ASM (#374-377)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) is never used and should be removed
Address.functionCall(address,bytes) (#321-323) is never used and should be removed
Address.functionCall(address,bytes,string) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#346-348) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#356-359) is never used and should be removed
Address.isContract(address) (#268-277) is never used and should be removed
Address.sendValue(address,uint256) (#295-301) is never used and should be removed
Context._msgData() (#240-243) is never used and should be removed
SafeMath.mod(uint256,uint256) (#213-215) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#229-232) is never used and should be removed
Remove unused functions.
Additional information: link
DOO._rTotal (#700) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
DOO._previousTaxFee (#708) is set pre-construction with a non-constant function or state variable:
- _taxFee
DOO._previousLiquidityFee (#711) 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
Low level call in Address.sendValue(address,uint256) (#295-301):
- (success) = recipient.call{value: amount}() (#299)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#361-382):
- (success,returndata) = target.call{value: weiValue}(data) (#365)
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() (#507) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#508) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#525) is not in mixedCase
Function IUniswapV2Router01.WETH() (#547) is not in mixedCase
Parameter DOO.setSwapAndLiquifyEnabled(bool)._enabled (#894) is not in mixedCase
Parameter DOO.calculateTaxFee(uint256)._amount (#953) is not in mixedCase
Parameter DOO.calculateLiquidityFee(uint256)._amount (#959) is not in mixedCase
Variable DOO._taxFee (#707) is not in mixedCase
Variable DOO._liquidityFee (#710) is not in mixedCase
Variable DOO._maxTxAmount (#719) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#241)" inContext (#235-244)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#552) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#553)
Variable DOO.reflectionFromToken(uint256,bool).rTransferAmount (#828) is too similar to DOO._getValues(uint256).tTransferAmount (#908)
Variable DOO._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to DOO._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable DOO._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to DOO._transferBothExcluded(address,address,uint256).tTransferAmount (#862)
Variable DOO._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to DOO._transferBothExcluded(address,address,uint256).tTransferAmount (#862)
Variable DOO._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to DOO._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable DOO._transferBothExcluded(address,address,uint256).rTransferAmount (#862) is too similar to DOO._transferBothExcluded(address,address,uint256).tTransferAmount (#862)
Variable DOO.reflectionFromToken(uint256,bool).rTransferAmount (#828) is too similar to DOO._getTValues(uint256).tTransferAmount (#916)
Variable DOO._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to DOO._getValues(uint256).tTransferAmount (#908)
Variable DOO._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to DOO._getValues(uint256).tTransferAmount (#908)
Variable DOO._transferBothExcluded(address,address,uint256).rTransferAmount (#862) is too similar to DOO._getValues(uint256).tTransferAmount (#908)
Variable DOO._getRValues(uint256,uint256,uint256).rTransferAmount (#924) is too similar to DOO._getValues(uint256).tTransferAmount (#908)
Variable DOO._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to DOO._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable DOO._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to DOO._getTValues(uint256).tTransferAmount (#916)
Variable DOO._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to DOO._getTValues(uint256).tTransferAmount (#916)
Variable DOO._transferBothExcluded(address,address,uint256).rTransferAmount (#862) is too similar to DOO._getTValues(uint256).tTransferAmount (#916)
Variable DOO._getRValues(uint256,uint256,uint256).rTransferAmount (#924) is too similar to DOO._getTValues(uint256).tTransferAmount (#916)
Variable DOO.reflectionFromToken(uint256,bool).rTransferAmount (#828) is too similar to DOO._transferBothExcluded(address,address,uint256).tTransferAmount (#862)
Variable DOO._getRValues(uint256,uint256,uint256).rTransferAmount (#924) is too similar to DOO._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable DOO._getValues(uint256).rTransferAmount (#909) is too similar to DOO._getTValues(uint256).tTransferAmount (#916)
Variable DOO._getValues(uint256).rTransferAmount (#909) is too similar to DOO._getValues(uint256).tTransferAmount (#908)
Variable DOO._getValues(uint256).rTransferAmount (#909) is too similar to DOO._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable DOO.reflectionFromToken(uint256,bool).rTransferAmount (#828) is too similar to DOO._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable DOO._transferBothExcluded(address,address,uint256).rTransferAmount (#862) is too similar to DOO._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable DOO._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to DOO._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable DOO.reflectionFromToken(uint256,bool).rTransferAmount (#828) is too similar to DOO._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable DOO._transferBothExcluded(address,address,uint256).rTransferAmount (#862) is too similar to DOO._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable DOO._transferToExcluded(address,address,uint256).rTransferAmount (#1125) is too similar to DOO._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable DOO.reflectionFromToken(uint256,bool).rTransferAmount (#828) is too similar to DOO._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable DOO._transferBothExcluded(address,address,uint256).rTransferAmount (#862) is too similar to DOO._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable DOO._getRValues(uint256,uint256,uint256).rTransferAmount (#924) is too similar to DOO._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable DOO._transferFromExcluded(address,address,uint256).rTransferAmount (#1135) is too similar to DOO._transferStandard(address,address,uint256).tTransferAmount (#1116)
Variable DOO._getRValues(uint256,uint256,uint256).rTransferAmount (#924) is too similar to DOO._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Variable DOO._getValues(uint256).rTransferAmount (#909) is too similar to DOO._transferFromExcluded(address,address,uint256).tTransferAmount (#1135)
Variable DOO._getRValues(uint256,uint256,uint256).rTransferAmount (#924) is too similar to DOO._transferBothExcluded(address,address,uint256).tTransferAmount (#862)
Variable DOO._getValues(uint256).rTransferAmount (#909) is too similar to DOO._transferBothExcluded(address,address,uint256).tTransferAmount (#862)
Variable DOO._getValues(uint256).rTransferAmount (#909) is too similar to DOO._transferToExcluded(address,address,uint256).tTransferAmount (#1125)
Prevent variables from having similar names.
Additional information: link
DOO.slitherConstructorVariables() (#685-1148) uses literals with too many digits:
- _tTotal = 2000000000 * 10 ** 9 (#699)
DOO.slitherConstructorVariables() (#685-1148) uses literals with too many digits:
- _maxTxAmount = 2000000000 * 10 ** 9 (#719)
DOO.slitherConstructorVariables() (#685-1148) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 2000000000 * 10 ** 9 (#720)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DOO._decimals (#705) should be constant
DOO._name (#703) should be constant
DOO._symbol (#704) should be constant
DOO.numTokensSellToAddToLiquidity (#720) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#435-438)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#444-448)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#450-452)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#455-460)
unlock() should be declared external:
- Ownable.unlock() (#463-468)
name() should be declared external:
- DOO.name() (#754-756)
symbol() should be declared external:
- DOO.symbol() (#758-760)
decimals() should be declared external:
- DOO.decimals() (#762-764)
totalSupply() should be declared external:
- DOO.totalSupply() (#766-768)
transfer(address,uint256) should be declared external:
- DOO.transfer(address,uint256) (#775-778)
allowance(address,address) should be declared external:
- DOO.allowance(address,address) (#780-782)
approve(address,uint256) should be declared external:
- DOO.approve(address,uint256) (#784-787)
transferFrom(address,address,uint256) should be declared external:
- DOO.transferFrom(address,address,uint256) (#789-793)
increaseAllowance(address,uint256) should be declared external:
- DOO.increaseAllowance(address,uint256) (#795-798)
decreaseAllowance(address,uint256) should be declared external:
- DOO.decreaseAllowance(address,uint256) (#800-803)
isExcludedFromReward(address) should be declared external:
- DOO.isExcludedFromReward(address) (#805-807)
totalFees() should be declared external:
- DOO.totalFees() (#809-811)
deliver(uint256) should be declared external:
- DOO.deliver(uint256) (#813-820)
reflectionFromToken(uint256,bool) should be declared external:
- DOO.reflectionFromToken(uint256,bool) (#822-831)
excludeFromReward(address) should be declared external:
- DOO.excludeFromReward(address) (#839-847)
excludeFromFee(address) should be declared external:
- DOO.excludeFromFee(address) (#872-874)
includeInFee(address) should be declared external:
- DOO.includeInFee(address) (#876-878)
setSwapAndLiquifyEnabled(bool) should be declared external:
- DOO.setSwapAndLiquifyEnabled(bool) (#894-897)
isExcludedFromFee(address) should be declared external:
- DOO.isExcludedFromFee(address) (#980-982)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram 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 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 CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account