YuanXiaoDoge Token Logo

YuanXiaoDoge Token

About YuanXiaoDoge

Listings

Not Found
Token 3 months

Named from the Chinese festival also known as the "lantern festival" and like a lantern Yuan Xiao Doge looks to light up the blockchain with the most incredible Chinese marketing on BSC.

Ferocious Chinese marketing, no private sale, no team tokens paired with a strong English community = MOON

LOW TAX

10% - 5% marketing 3% reflection 2% iq

✅ Devs Strong Buy Back Based & Safu Dev ✅

✅ The majority of 🇨🇳influencers support

⭐ Highly rated marketing team ⭐

🔐 LP locked on PinkSale

Social

Laser Scorebeta Last Audit: 14 February 2022

report
Code:


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

YuanXiaoDoge.addLiquidity(uint256,uint256) (#1264-1279) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193):
External calls:
- swapAndSendToFee(marketingTokens) (#1149)
- IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
- swapAndSendDividends(sellTokens) (#1155)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (#1284)
- dividendTracker.distributeCAKEDividends(dividends) (#1287)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1175)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#639)
- _balances[recipient] = _balances[recipient].add(amount) (#640)
- super._transfer(from,to,amount) (#1178)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#639)
- _balances[recipient] = _balances[recipient].add(amount) (#640)
- swapping = false (#1157)
Apply the check-effects-interactions pattern.

Additional information: link

YuanXiaoDoge.swapAndSendToFee(uint256) (#1195-1202) ignores return value by IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#773-789):
External calls:
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#778)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#781)
Reentrancy in YuanXiaoDoge.updateDividendTracker(address) (#958-973):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#965)
- newDividendTracker.excludeFromDividends(address(this)) (#966)
- newDividendTracker.excludeFromDividends(owner()) (#967)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#968)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#972)
Apply the check-effects-interactions pattern.

Additional information: link

YuanXiaoDoge._transfer(address,address,uint256).lastProcessedIndex (#1186) is a local variable never initialized
YuanXiaoDoge._transfer(address,address,uint256).iterations (#1186) is a local variable never initialized
YuanXiaoDoge._transfer(address,address,uint256).claims (#1186) 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

YuanXiaoDoge.claim() (#1109-1111) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1110)
YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193) ignores return value by dividendTracker.process(gas) (#1186-1191)
YuanXiaoDoge.addLiquidity(uint256,uint256) (#1264-1279) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#749) shadows:
- ERC20._name (#556) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#749) shadows:
- ERC20._symbol (#557) (state variable)
DividendPayingToken.dividendOf(address)._owner (#793) shadows:
- Ownable._owner (#294) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#798) shadows:
- Ownable._owner (#294) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#803) shadows:
- Ownable._owner (#294) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#809) shadows:
- Ownable._owner (#294) (state variable)
Rename the local variables that shadow another component.

Additional information: link

YuanXiaoDoge.setCAKERewardsFee(uint256) (#1003-1006) should emit an event for:
- CAKERewardsFee = value (#1004)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1005)
YuanXiaoDoge.setLiquiditFee(uint256) (#1008-1011) should emit an event for:
- liquidityFee = value (#1009)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1010)
YuanXiaoDoge.setMarketingFee(uint256) (#1013-1017) should emit an event for:
- marketingFee = value (#1014)
- totalFees = CAKERewardsFee.add(liquidityFee).add(marketingFee) (#1015)
Emit an event for critical parameter changes.

Additional information: link

YuanXiaoDoge.updateUniswapV2Router(address)._uniswapV2Pair (#979-980) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#981)
YuanXiaoDoge.setMarketingWallet(address).wallet (#999) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1000)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#773-789) has external calls inside a loop: success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#778)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'YuanXiaoDoge._transfer(address,address,uint256).lastProcessedIndex (#1186)' in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1187)
Variable 'YuanXiaoDoge._transfer(address,address,uint256).claims (#1186)' in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1187)
Variable 'YuanXiaoDoge._transfer(address,address,uint256).iterations (#1186)' in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1187)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193):
External calls:
- swapAndSendToFee(marketingTokens) (#1149)
- IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1152)
- _allowances[owner][spender] = amount (#675)
Reentrancy in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193):
External calls:
- swapAndSendToFee(marketingTokens) (#1149)
- IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
- swapAndSendDividends(sellTokens) (#1155)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (#1284)
- dividendTracker.distributeCAKEDividends(dividends) (#1287)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1155)
- _allowances[owner][spender] = amount (#675)
Reentrancy in YuanXiaoDoge.constructor() (#923-952):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#930-931)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#934)
- uniswapV2Router = _uniswapV2Router (#933)
Reentrancy in YuanXiaoDoge.constructor() (#923-952):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#930-931)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#936)
- dividendTracker.excludeFromDividends(pair) (#1036)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#939)
- dividendTracker.excludeFromDividends(address(this)) (#940)
- dividendTracker.excludeFromDividends(owner()) (#941)
- dividendTracker.excludeFromDividends(deadWallet) (#942)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#943)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#951)
- _balances[account] = _balances[account].add(amount) (#651)
- excludeFromFees(owner(),true) (#946)
- _isExcludedFromFees[account] = excluded (#986)
- excludeFromFees(_marketingWalletAddress,true) (#947)
- _isExcludedFromFees[account] = excluded (#986)
- excludeFromFees(address(this),true) (#948)
- _isExcludedFromFees[account] = excluded (#986)
- _mint(owner(),100000000000 * (10 ** 18)) (#951)
- _totalSupply = _totalSupply.add(amount) (#650)
Reentrancy in YuanXiaoDogeDividendTracker.processAccount(address,bool) (#1489-1499):
External calls:
- amount = _withdrawDividendOfUser(account) (#1490)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#778)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1493)
Reentrancy in YuanXiaoDoge.swapAndLiquify(uint256) (#1204-1222):
External calls:
- swapTokensForEth(half) (#1213)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
- addLiquidity(otherHalf,newBalance) (#1219)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1219)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1219)
- _allowances[owner][spender] = amount (#675)
Reentrancy in YuanXiaoDoge.updateUniswapV2Router(address) (#975-982):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#979-980)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#981)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in YuanXiaoDoge._setAutomatedMarketMakerPair(address,bool) (#1031-1040):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1036)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1039)
Reentrancy in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193):
External calls:
- swapAndSendToFee(marketingTokens) (#1149)
- IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#676)
- swapAndLiquify(swapTokens) (#1152)
- SwapAndLiquify(half,newBalance,otherHalf) (#1221)
- swapAndLiquify(swapTokens) (#1152)
Reentrancy in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193):
External calls:
- swapAndSendToFee(marketingTokens) (#1149)
- IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
- swapAndSendDividends(sellTokens) (#1155)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (#1284)
- dividendTracker.distributeCAKEDividends(dividends) (#1287)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#676)
- swapAndSendDividends(sellTokens) (#1155)
- SendDividends(tokens,dividends) (#1288)
- swapAndSendDividends(sellTokens) (#1155)
- Transfer(sender,recipient,amount) (#641)
- super._transfer(from,to,amount) (#1178)
- Transfer(sender,recipient,amount) (#641)
- super._transfer(from,address(this),fees) (#1175)
Reentrancy in YuanXiaoDoge._transfer(address,address,uint256) (#1122-1193):
External calls:
- swapAndSendToFee(marketingTokens) (#1149)
- IERC20(DOGE).transfer(_marketingWalletAddress,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
- swapAndSendDividends(sellTokens) (#1155)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (#1284)
- dividendTracker.distributeCAKEDividends(dividends) (#1287)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1180)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1181)
- dividendTracker.process(gas) (#1186-1191)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1187)
Reentrancy in YuanXiaoDoge.constructor() (#923-952):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#930-931)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#936)
- dividendTracker.excludeFromDividends(pair) (#1036)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1039)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#936)
Reentrancy in YuanXiaoDoge.constructor() (#923-952):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#930-931)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#936)
- dividendTracker.excludeFromDividends(pair) (#1036)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#939)
- dividendTracker.excludeFromDividends(address(this)) (#940)
- dividendTracker.excludeFromDividends(owner()) (#941)
- dividendTracker.excludeFromDividends(deadWallet) (#942)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#943)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#988)
- excludeFromFees(address(this),true) (#948)
- ExcludeFromFees(account,excluded) (#988)
- excludeFromFees(_marketingWalletAddress,true) (#947)
- ExcludeFromFees(account,excluded) (#988)
- excludeFromFees(owner(),true) (#946)
- Transfer(address(0),account,amount) (#652)
- _mint(owner(),100000000000 * (10 ** 18)) (#951)
Reentrancy in YuanXiaoDogeDividendTracker.processAccount(address,bool) (#1489-1499):
External calls:
- amount = _withdrawDividendOfUser(account) (#1490)
- success = IERC20(CAKE).transfer(user,_withdrawableDividend) (#778)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1494)
Reentrancy in YuanXiaoDoge.processDividendTracker(uint256) (#1104-1107):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1105)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1106)
Reentrancy in YuanXiaoDoge.swapAndLiquify(uint256) (#1204-1222):
External calls:
- swapTokensForEth(half) (#1213)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1236-1242)
- addLiquidity(otherHalf,newBalance) (#1219)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1219)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1270-1277)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#676)
- addLiquidity(otherHalf,newBalance) (#1219)
- SwapAndLiquify(half,newBalance,otherHalf) (#1221)
Reentrancy in YuanXiaoDoge.swapAndSendDividends(uint256) (#1281-1290):
External calls:
- swapTokensForCake(tokens) (#1282)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1255-1261)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (#1284)
- dividendTracker.distributeCAKEDividends(dividends) (#1287)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1288)
Reentrancy in YuanXiaoDoge.updateDividendTracker(address) (#958-973):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#965)
- newDividendTracker.excludeFromDividends(address(this)) (#966)
- newDividendTracker.excludeFromDividends(owner()) (#967)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#968)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#970)
Apply the check-effects-interactions pattern.

Additional information: link

YuanXiaoDogeDividendTracker.getAccount(address) (#1353-1396) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1393-1395)
YuanXiaoDogeDividendTracker.canAutoClaim(uint256) (#1417-1423) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1418)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1422)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#75-78) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#815-821) is never used and should be removed
SafeMath.mod(uint256,uint256) (#381-383) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#386-389) is never used and should be removed
SafeMathInt.abs(int256) (#459-462) is never used and should be removed
SafeMathInt.div(int256,int256) (#436-442) is never used and should be removed
SafeMathInt.mul(int256,int256) (#427-434) is never used and should be removed
Remove unused functions.

Additional information: link

YuanXiaoDoge.totalFees (#875) is set pre-construction with a non-constant function or state variable:
- CAKERewardsFee.add(liquidityFee).add(marketingFee)
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

Pragma version^0.6.2 (#8) allows old versions
Pragma version^0.6.2 (#43) allows old versions
Pragma version^0.6.2 (#58) allows old versions
Pragma version^0.6.2 (#81) allows old versions
Pragma version^0.6.2 (#134) allows old versions
Pragma version^0.6.2 (#152) allows old versions
Pragma version^0.6.2 (#291) allows old versions
Pragma version^0.6.2 (#328) allows old versions
Pragma version^0.6.2 (#417) allows old versions
Pragma version^0.6.2 (#471) allows old versions
Pragma version^0.6.2 (#481) allows old versions
Pragma version^0.6.2 (#544) allows old versions
Pragma version^0.6.2 (#687) allows old versions
Pragma version^0.6.2 (#711) allows old versions
Pragma version^0.6.2 (#727) allows old versions
Pragma version^0.6.2 (#852) allows old versions
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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#98) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#99) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#116) is not in mixedCase
Function IUniswapV2Router01.WETH() (#156) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#793) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#798) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#803) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#809) is not in mixedCase
Variable DividendPayingToken.CAKE (#735) is not in mixedCase
Constant DividendPayingToken.magnitude (#739) is not in UPPER_CASE_WITH_UNDERSCORES
Variable YuanXiaoDoge.DOGE (#866) is not in mixedCase
Variable YuanXiaoDoge._isBlacklisted (#870) is not in mixedCase
Variable YuanXiaoDoge.CAKERewardsFee (#872) is not in mixedCase
Variable YuanXiaoDoge._marketingWalletAddress (#877) is not in mixedCase
Parameter YuanXiaoDogeDividendTracker.getAccount(address)._account (#1353) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#76)" inContext (#70-79)
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 (#161) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#162)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#774) is too similar to YuanXiaoDogeDividendTracker.getAccount(address).withdrawableDividends (#1358)
Prevent variables from having similar names.

Additional information: link

YuanXiaoDoge.constructor() (#923-952) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#951)
YuanXiaoDoge.updateGasForProcessing(uint256) (#1043-1048) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,YuanXiaoDoge: gasForProcessing must be between 200,000 and 500,000) (#1044)
YuanXiaoDoge.slitherConstructorVariables() (#854-1291) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#864)
YuanXiaoDoge.slitherConstructorVariables() (#854-1291) uses literals with too many digits:
- swapTokensAtAmount = 20000000 * (10 ** 18) (#868)
YuanXiaoDoge.slitherConstructorVariables() (#854-1291) uses literals with too many digits:
- gasForProcessing = 300000 (#881)
YuanXiaoDogeDividendTracker.constructor() (#1313-1316) uses literals with too many digits:
- minimumTokenBalanceForDividends = 5000000 * (10 ** 18) (#1315)
YuanXiaoDogeDividendTracker.getAccountAtIndex(uint256) (#1398-1415) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1409)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#422) is never used in SafeMathInt (#420-469)
Remove unused state variables.

Additional information: link

YuanXiaoDoge.deadWallet (#864) should be constant
YuanXiaoDoge.swapTokensAtAmount (#868) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#316-319)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#321-325)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#492-494)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#496-501)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#503-505)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#509-511)
name() should be declared external:
- ERC20.name() (#566-568)
symbol() should be declared external:
- ERC20.symbol() (#571-573)
decimals() should be declared external:
- ERC20.decimals() (#576-578)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#591-594)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#596-598)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#601-604)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#607-615)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#618-621)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#624-627)
distributeCAKEDividends(uint256) should be declared external:
- DividendPayingToken.distributeCAKEDividends(uint256) (#754-765)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#768-770)
- YuanXiaoDogeDividendTracker.withdrawDividend() (#1322-1324)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#793-795)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#803-805)
updateDividendTracker(address) should be declared external:
- YuanXiaoDoge.updateDividendTracker(address) (#958-973)
updateUniswapV2Router(address) should be declared external:
- YuanXiaoDoge.updateUniswapV2Router(address) (#975-982)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- YuanXiaoDoge.excludeMultipleAccountsFromFees(address[],bool) (#991-997)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- YuanXiaoDoge.setAutomatedMarketMakerPair(address,bool) (#1020-1024)
updateGasForProcessing(uint256) should be declared external:
- YuanXiaoDoge.updateGasForProcessing(uint256) (#1043-1048)
isExcludedFromFees(address) should be declared external:
- YuanXiaoDoge.isExcludedFromFees(address) (#1062-1064)
withdrawableDividendOf(address) should be declared external:
- YuanXiaoDoge.withdrawableDividendOf(address) (#1066-1068)
dividendTokenBalanceOf(address) should be declared external:
- YuanXiaoDoge.dividendTokenBalanceOf(address) (#1070-1072)
getAccountAtIndex(uint256) should be declared external:
- YuanXiaoDogeDividendTracker.getAccountAtIndex(uint256) (#1398-1415)
process(uint256) should be declared external:
- YuanXiaoDogeDividendTracker.process(uint256) (#1442-1487)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Twitter account link seems to be invalid


Unable to find Youtube account

Search:


BscScan page for the token does not contain additional info: website, socials, description, etc.

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 Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


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

Anti-Scam Checks

Price for YuanXiaoDoge