Uncle Doge is a community focused token with unique tokenomics. At the center of the tokenomics is the “Kraken” the buy back mechanism that ensures price stability. In addition token olders recieve 1% in reflections and benefit from the burned tokens through the Kraken. The community is global, with over 12,000 holders on launch day and over 16M volume.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in UncleDoge._transfer(address,address,uint256) (#637-675):
External calls:
- swapTokens(contractTokenBalance) (#655)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
- buyBackTokens(balance.div(100)) (#663)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
External calls sending eth:
- swapTokens(contractTokenBalance) (#655)
- recipient.transfer(amount) (#948)
- buyBackTokens(balance.div(100)) (#663)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#674)
- _liquidityFee = _previousLiquidityFee (#880)
- _liquidityFee = 0 (#875)
- _tokenTransfer(from,to,amount,takeFee) (#674)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#851)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#767)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#776)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#787)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#797)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#768)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#778)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#788)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#799)
- _tokenTransfer(from,to,amount,takeFee) (#674)
- _rTotal = _rTotal.sub(rFee) (#806)
- _tokenTransfer(from,to,amount,takeFee) (#674)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#853)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#796)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#786)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#777)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#798)
- buyBackTokens(balance.div(100)) (#663)
- inSwapAndLiquify = true (#491)
- inSwapAndLiquify = false (#493)
Apply the check-effects-interactions pattern.
Additional information: link
UncleDoge.setMarketingAddress(address)._marketingAddress (#919) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#920)
Check that the address is not zero.
Additional information: link
UncleDoge.swapTokens(uint256) (#677-686) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingDivisor)) (#684)
Consider ordering multiplication before division.
Additional information: link
UncleDoge.addLiquidity(uint256,uint256) (#732-745) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#737-744)
Ensure that all the return values of the function calls are used.
Additional information: link
UncleDoge._approve(address,address,uint256).owner (#629) shadows:
- Ownable.owner() (#172-174) (function)
Rename the local variables that shadow another component.
Additional information: link
UncleDoge.setBuybackUpperLimit(uint256) (#915-917) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#916)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in UncleDoge.transferFrom(address,address,uint256) (#547-551):
External calls:
- _transfer(sender,recipient,amount) (#548)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- _transfer(sender,recipient,amount) (#548)
- recipient.transfer(amount) (#948)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#549)
- _allowances[owner][spender] = amount (#633)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in UncleDoge.transferFrom(address,address,uint256) (#547-551):
External calls:
- _transfer(sender,recipient,amount) (#548)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#704-710)
External calls sending eth:
- _transfer(sender,recipient,amount) (#548)
- recipient.transfer(amount) (#948)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#634)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#549)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#207-212) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#209)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#139-156) uses assembly
- INLINE ASM (#148-151)
Do not use evm assembly.
Additional information: link
UncleDoge.addLiquidity(uint256,uint256) (#732-745) is never used and should be removed
Remove unused functions.
Additional information: link
UncleDoge._previousLiquidityFee (#455) 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
solc-0.8.4 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 Address._functionCallWithValue(address,bytes,uint256,string) (#139-156):
- (success,returndata) = target.call{value: weiValue}(data) (#142)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable UncleDoge._maxTxAmount (#459) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#26)" inContext (#20-29)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in UncleDoge.transferFrom(address,address,uint256) (#547-551):
External calls:
- _transfer(sender,recipient,amount) (#548)
- recipient.transfer(amount) (#948)
External calls sending eth:
- _transfer(sender,recipient,amount) (#548)
- recipient.transfer(amount) (#948)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#722-727)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#549)
- _allowances[owner][spender] = amount (#633)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#634)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#549)
Apply the check-effects-interactions pattern.
Additional information: link
Variable UncleDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#827) is too similar to UncleDoge._getTValues(uint256).tTransferAmount (#819)
Prevent variables from having similar names.
Additional information: link
UncleDoge.slitherConstructorVariables() (#426-954) uses literals with too many digits:
- minimumTokensBeforeSwap = 200000 * 10 ** 6 * 10 ** 9 (#460)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
UncleDoge.deadAddress (#431) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setBuyBackEnabled(bool) should be declared external:
- UncleDoge.setBuyBackEnabled(bool) (#928-931)
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.
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 crawl data from the website
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/project description on the website or on BscScan, CoinMarketCap
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 Twitter link on the website
Unable to find code repository for the project
Token has a considerable age, but we're still unable to find its website
Young tokens have high risks of scam / price dump / death
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
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account