🐯元宵汤圆🐯
元宵汤圆以传播中国传统文化为宗旨,同时团队持有实际0%代币,放弃所有权,带来更疯狂的中国及全球营销,元宵最高收益!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035):
External calls:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1069-1075)
External calls sending eth:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _rOwned[address(this)] = _rOwned[address(this)].add(rCharityAndMarketingFee) (#928)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1101)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1110)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1102)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1121)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#845)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1112)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1122)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#847)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _rTotal = _rTotal.sub(rReward) (#875)
- _rTotal = _rTotal.sub(amount.mul(_getRate())) (#939)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#844)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1120)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1111)
- _tOwned[address(this)] = _tOwned[address(this)].add(tCharityAndMarketingFee) (#930)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _tTotal = _tTotal.sub(amount) (#938)
Apply the check-effects-interactions pattern.
Additional information: link
YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035) uses a dangerous strict equality:
- launchTime == 0 && to == uniswapV2Pair (#997)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#503) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#504) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#521) is not in mixedCase
Function IUniswapV2Router01.WETH() (#543) is not in mixedCase
Parameter YuanxiaoTangyuanToken.setSwapEnabled(bool)._enabled (#867) is not in mixedCase
Parameter YuanxiaoTangyuanToken.calculateRewardFee(uint256)._amount (#945) is not in mixedCase
Parameter YuanxiaoTangyuanToken.calculateBurnCharityAndMarketingFee(uint256)._amount (#951) is not in mixedCase
Parameter YuanxiaoTangyuanToken.setBlacklist(address,bool)._blacklist (#1128) is not in mixedCase
Variable YuanxiaoTangyuanToken._rewardFee (#705) is not in mixedCase
Variable YuanxiaoTangyuanToken._burnFee (#708) is not in mixedCase
Variable YuanxiaoTangyuanToken._charityAndMarketingFee (#711) is not in mixedCase
Variable YuanxiaoTangyuanToken._previousCharityAndMarketingFee (#712) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#237)" inContext (#231-240)
Remove redundant statements if they congest code but offer no value.
Additional information: link
YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035) performs a multiplication on the result of a division:
-nTokenPerBNB = nTokenInPair.div(nBNBInPair).mul(10 ** 18) (#1008)
Consider ordering multiplication before division.
Additional information: link
YuanxiaoTangyuanToken.allowance(address,address).owner (#781) shadows:
- Ownable.owner() (#412-414) (function)
YuanxiaoTangyuanToken._approve(address,address,uint256).owner (#979) shadows:
- Ownable.owner() (#412-414) (function)
Rename the local variables that shadow another component.
Additional information: link
YuanxiaoTangyuanToken.setFeePercent(uint256,uint256,uint256) (#861-865) should emit an event for:
- _rewardFee = taxFee (#862)
- _burnFee = burnFee (#863)
- _charityAndMarketingFee = charityAndMarketingFee (#864)
Emit an event for critical parameter changes.
Additional information: link
YuanxiaoTangyuanToken.updateCharityWallet(address).account (#1041) lacks a zero-check on :
- walletCharity = account (#1042)
YuanxiaoTangyuanToken.updateMarketingWallet(address).account (#1045) lacks a zero-check on :
- walletMarketing = account (#1046)
Check that the address is not zero.
Additional information: link
Reentrancy in YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035):
External calls:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1069-1075)
External calls sending eth:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _burnFee = _previousBurnFee (#971)
- _burnFee = 0 (#965)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _charityAndMarketingFee = _previousCharityAndMarketingFee (#972)
- _charityAndMarketingFee = 0 (#966)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _previousBurnFee = _burnFee (#961)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _previousCharityAndMarketingFee = _charityAndMarketingFee (#962)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _previousRewardFee = _rewardFee (#960)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _rewardFee = _previousRewardFee (#970)
- _rewardFee = 0 (#964)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _tDistributedRewardTotal = _tDistributedRewardTotal.add(tReward) (#876)
Reentrancy in YuanxiaoTangyuanToken.constructor() (#736-753):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#742-743)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#749)
- _isExcludedFromFee[address(this)] = true (#750)
- uniswapV2Router = _uniswapV2Router (#746)
Reentrancy in YuanxiaoTangyuanToken.transferFrom(address,address,uint256) (#790-794):
External calls:
- _transfer(sender,recipient,amount) (#791)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1069-1075)
External calls sending eth:
- _transfer(sender,recipient,amount) (#791)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#792)
- _allowances[owner][spender] = amount (#983)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035):
External calls:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1069-1075)
External calls sending eth:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
Event emitted after the call(s):
- Transfer(msg.sender,address(this),amount) (#941)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,address(this),tCharityAndMarketingFee) (#931)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#1105)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#1125)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#1115)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#850)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
Reentrancy in YuanxiaoTangyuanToken.constructor() (#736-753):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#742-743)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#752)
Reentrancy in YuanxiaoTangyuanToken.transferFrom(address,address,uint256) (#790-794):
External calls:
- _transfer(sender,recipient,amount) (#791)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1069-1075)
External calls sending eth:
- _transfer(sender,recipient,amount) (#791)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#984)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#792)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#459-464) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#461)
YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035) uses timestamp for comparisons
Dangerous comparisons:
- launchTime == 0 && to == uniswapV2Pair (#997)
- antiWhaleEnable && block.timestamp > launchTime && block.timestamp < launchTime + 30 * 60 (#1005)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#264-273) uses assembly
- INLINE ASM (#271)
Address._functionCallWithValue(address,bytes,uint256,string) (#357-378) uses assembly
- INLINE ASM (#370-373)
Do not use evm assembly.
Additional information: link
YuanxiaoTangyuanToken.includeInReward(address) (#829-840) has costly operations inside a loop:
- _excluded.pop() (#836)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#357-378) is never used and should be removed
Address.functionCall(address,bytes) (#317-319) is never used and should be removed
Address.functionCall(address,bytes,string) (#327-329) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#342-344) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#352-355) is never used and should be removed
Address.isContract(address) (#264-273) is never used and should be removed
Address.sendValue(address,uint256) (#291-297) is never used and should be removed
Context._msgData() (#236-239) is never used and should be removed
SafeMath.mod(uint256,uint256) (#209-211) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#225-228) is never used and should be removed
Remove unused functions.
Additional information: link
YuanxiaoTangyuanToken._rTotal (#698) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
YuanxiaoTangyuanToken._previousRewardFee (#706) is set pre-construction with a non-constant function or state variable:
- _rewardFee
YuanxiaoTangyuanToken._previousBurnFee (#709) is set pre-construction with a non-constant function or state variable:
- _burnFee
YuanxiaoTangyuanToken._previousCharityAndMarketingFee (#712) is set pre-construction with a non-constant function or state variable:
- _charityAndMarketingFee
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) (#291-297):
- (success) = recipient.call{value: amount}() (#295)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#357-378):
- (success,returndata) = target.call{value: weiValue}(data) (#361)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Reentrancy in YuanxiaoTangyuanToken._transfer(address,address,uint256) (#987-1035):
External calls:
- swapAndSendOutFee(contractTokenBalance) (#1022)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _burnFee = _previousBurnFee (#971)
- _burnFee = 0 (#965)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _charityAndMarketingFee = _previousCharityAndMarketingFee (#972)
- _charityAndMarketingFee = 0 (#966)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _previousBurnFee = _burnFee (#961)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _previousCharityAndMarketingFee = _charityAndMarketingFee (#962)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _previousRewardFee = _rewardFee (#960)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _rOwned[address(this)] = _rOwned[address(this)].add(rCharityAndMarketingFee) (#928)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1101)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1110)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1102)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1121)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#845)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1112)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1122)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#847)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _rTotal = _rTotal.sub(rReward) (#875)
- _rTotal = _rTotal.sub(amount.mul(_getRate())) (#939)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _rewardFee = _previousRewardFee (#970)
- _rewardFee = 0 (#964)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _tDistributedRewardTotal = _tDistributedRewardTotal.add(tReward) (#876)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#844)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1120)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1111)
- _tOwned[address(this)] = _tOwned[address(this)].add(tCharityAndMarketingFee) (#930)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- _tTotal = _tTotal.sub(amount) (#938)
Event emitted after the call(s):
- Transfer(msg.sender,address(this),amount) (#941)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,address(this),tCharityAndMarketingFee) (#931)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#1105)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#1125)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#1115)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
- Transfer(sender,recipient,tTransferAmount) (#850)
- _tokenTransfer(from,to,amount,takeFee) (#1034)
Reentrancy in YuanxiaoTangyuanToken.transferFrom(address,address,uint256) (#790-794):
External calls:
- _transfer(sender,recipient,amount) (#791)
- address(walletCharity).transfer(bnbCharity) (#1056)
- address(walletMarketing).transfer(bnbMarketing) (#1057)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#792)
- _allowances[owner][spender] = amount (#983)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#984)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#792)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#548) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#549)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tBurnCharityAndMarketingFee (#887)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tBurnCharityAndMarketingFee (#843)
Variable YuanxiaoTangyuanToken._charityAndMarketingFee (#711) is too similar to YuanxiaoTangyuanToken._takeBurnCharityAndMarketingFee(uint256,address).rCharityAndMarketingFee (#927)
Variable YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).rTransferAmount (#843) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tTransferAmount (#843)
Variable YuanxiaoTangyuanToken._transferStandard(address,address,uint256).rTransferAmount (#1100) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tTransferAmount (#888)
Variable YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1119) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tTransferAmount (#888)
Variable YuanxiaoTangyuanToken._transferStandard(address,address,uint256).rTransferAmount (#1100) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tTransferAmount (#843)
Variable YuanxiaoTangyuanToken._getValues(uint256).rTransferAmount (#881) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tTransferAmount (#888)
Variable YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1119) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tTransferAmount (#843)
Variable YuanxiaoTangyuanToken._transferStandard(address,address,uint256).rTransferAmount (#1100) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1119)
Variable YuanxiaoTangyuanToken._getValues(uint256).rTransferAmount (#881) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tTransferAmount (#843)
Variable YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1119) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1119)
Variable YuanxiaoTangyuanToken._transferStandard(address,address,uint256).rTransferAmount (#1100) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tTransferAmount (#1109)
Variable YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1119) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tTransferAmount (#1109)
Variable YuanxiaoTangyuanToken._getValues(uint256).rTransferAmount (#881) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tTransferAmount (#1109)
Variable YuanxiaoTangyuanToken._getValues(uint256).rTransferAmount (#881) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1119)
Variable YuanxiaoTangyuanToken._transferStandard(address,address,uint256).rTransferAmount (#1100) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tTransferAmount (#1100)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#896) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tTransferAmount (#888)
Variable YuanxiaoTangyuanToken._getValues(uint256).rTransferAmount (#881) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tTransferAmount (#1100)
Variable YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).rTransferAmount (#843) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tTransferAmount (#888)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#896) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tTransferAmount (#843)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tBurnCharityAndMarketingFee (#1119)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).tBurnCharityAndMarketingFee (#892)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tBurnCharityAndMarketingFee (#1100)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tBurnCharityAndMarketingFee (#880)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._takeBurnCharityAndMarketingFee(uint256,address).tBurnCharityAndMarketingFee (#917)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rBurnCharityAndMarketingFee (#895) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tBurnCharityAndMarketingFee (#1109)
Variable YuanxiaoTangyuanToken._charityAndMarketingFee (#711) is too similar to YuanxiaoTangyuanToken._takeBurnCharityAndMarketingFee(uint256,address).tCharityAndMarketingFee (#922)
Variable YuanxiaoTangyuanToken._takeBurnCharityAndMarketingFee(uint256,address).rCharityAndMarketingFee (#927) is too similar to YuanxiaoTangyuanToken._takeBurnCharityAndMarketingFee(uint256,address).tCharityAndMarketingFee (#922)
Variable YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1119)
Variable YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tTransferAmount (#880)
Variable YuanxiaoTangyuanToken._transferStandard(address,address,uint256).rTransferAmount (#1100) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tTransferAmount (#880)
Variable YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to YuanxiaoTangyuanToken._getTValues(uint256).tTransferAmount (#888)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#896) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tTransferAmount (#1100)
Variable YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tTransferAmount (#1109)
Variable YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).rTransferAmount (#843) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tTransferAmount (#1100)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#896) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1119)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#896) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tTransferAmount (#880)
Variable YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1119) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tTransferAmount (#1100)
Variable YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).rTransferAmount (#843) is too similar to YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1119)
Variable YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).rTransferAmount (#843) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tTransferAmount (#880)
Variable YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).tTransferAmount (#843)
Variable YuanxiaoTangyuanToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#896) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tTransferAmount (#1109)
Variable YuanxiaoTangyuanToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1119) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tTransferAmount (#880)
Variable YuanxiaoTangyuanToken._transferBothExcluded(address,address,uint256).rTransferAmount (#843) is too similar to YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).tTransferAmount (#1109)
Variable YuanxiaoTangyuanToken._transferToExcluded(address,address,uint256).rTransferAmount (#1109) is too similar to YuanxiaoTangyuanToken._transferStandard(address,address,uint256).tTransferAmount (#1100)
Variable YuanxiaoTangyuanToken._getValues(uint256).rTransferAmount (#881) is too similar to YuanxiaoTangyuanToken._getValues(uint256).tTransferAmount (#880)
Prevent variables from having similar names.
Additional information: link
YuanxiaoTangyuanToken.slitherConstructorVariables() (#681-1136) uses literals with too many digits:
- _tTotal = 10000000000 * 10 ** 18 (#697)
YuanxiaoTangyuanToken.slitherConstructorVariables() (#681-1136) uses literals with too many digits:
- numTokenSwapThreshold = 500000 * 10 ** 18 (#724)
YuanxiaoTangyuanToken.slitherConstructorVariables() (#681-1136) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#726)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
YuanxiaoTangyuanToken.deadAddress (#726) is never used in YuanxiaoTangyuanToken (#681-1136)
Remove unused state variables.
Additional information: link
YuanxiaoTangyuanToken._decimals (#703) should be constant
YuanxiaoTangyuanToken._name (#701) should be constant
YuanxiaoTangyuanToken._symbol (#702) should be constant
YuanxiaoTangyuanToken.deadAddress (#726) should be constant
YuanxiaoTangyuanToken.numTokenSwapThreshold (#724) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#431-434)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#440-444)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#446-448)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#451-456)
unlock() should be declared external:
- Ownable.unlock() (#459-464)
name() should be declared external:
- YuanxiaoTangyuanToken.name() (#755-757)
symbol() should be declared external:
- YuanxiaoTangyuanToken.symbol() (#759-761)
decimals() should be declared external:
- YuanxiaoTangyuanToken.decimals() (#763-765)
totalSupply() should be declared external:
- YuanxiaoTangyuanToken.totalSupply() (#767-769)
transfer(address,uint256) should be declared external:
- YuanxiaoTangyuanToken.transfer(address,uint256) (#776-779)
allowance(address,address) should be declared external:
- YuanxiaoTangyuanToken.allowance(address,address) (#781-783)
approve(address,uint256) should be declared external:
- YuanxiaoTangyuanToken.approve(address,uint256) (#785-788)
transferFrom(address,address,uint256) should be declared external:
- YuanxiaoTangyuanToken.transferFrom(address,address,uint256) (#790-794)
increaseAllowance(address,uint256) should be declared external:
- YuanxiaoTangyuanToken.increaseAllowance(address,uint256) (#796-799)
decreaseAllowance(address,uint256) should be declared external:
- YuanxiaoTangyuanToken.decreaseAllowance(address,uint256) (#801-804)
isExcludedFromReward(address) should be declared external:
- YuanxiaoTangyuanToken.isExcludedFromReward(address) (#806-808)
totalRewardDistributed() should be declared external:
- YuanxiaoTangyuanToken.totalRewardDistributed() (#810-812)
excludeFromReward(address) should be declared external:
- YuanxiaoTangyuanToken.excludeFromReward(address) (#820-827)
excludeFromFee(address) should be declared external:
- YuanxiaoTangyuanToken.excludeFromFee(address) (#853-855)
includeInFee(address) should be declared external:
- YuanxiaoTangyuanToken.includeInFee(address) (#857-859)
setSwapEnabled(bool) should be declared external:
- YuanxiaoTangyuanToken.setSwapEnabled(bool) (#867-869)
isExcludedFromFee(address) should be declared external:
- YuanxiaoTangyuanToken.isExcludedFromFee(address) (#975-977)
enableAntiWhale(bool) should be declared external:
- YuanxiaoTangyuanToken.enableAntiWhale(bool) (#1037-1039)
updateCharityWallet(address) should be declared external:
- YuanxiaoTangyuanToken.updateCharityWallet(address) (#1041-1043)
updateMarketingWallet(address) should be declared external:
- YuanxiaoTangyuanToken.updateMarketingWallet(address) (#1045-1047)
setBlacklist(address,bool) should be declared external:
- YuanxiaoTangyuanToken.setBlacklist(address,bool) (#1128-1130)
isInBlacklist(address) should be declared external:
- YuanxiaoTangyuanToken.isInBlacklist(address) (#1132-1134)
Use the external attribute for functions never called from the contract.
Additional information: link
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 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
Unable to find code repository for the project
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
Unable to find Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account