Yarr is a reward focused ecosystem on a mission to bring financial freedom to the masses by
constantly providing new opportunities for passive income!
The project will consist of a multi chain exchange, multiple swaps across several
Chains with NFT staking, a launchpad, and an NFT trading platform.
12% buy and sell tax
4% BNB rewards to holders
2% liquidty
3% marketing
3% development
If interested in being on our whitelist please fill in the form https://forms.gle/DXKVTYG6d6nK7ywJ9
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
YarrToken.addLiquidity(uint256,uint256) (#2139-2150) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in YarrToken._transfer(address,address,uint256) (#2025-2074):
External calls:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2129-2135)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2061)
- _balances[sender] = senderBalance - amount (#1015)
- _balances[recipient] += amount (#1017)
- super._transfer(from,to,amount) (#2064)
- _balances[sender] = senderBalance - amount (#1015)
- _balances[recipient] += amount (#1017)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1404-1419):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1409)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1412)
Apply the check-effects-interactions pattern.
Additional information: link
YarrToken._totalSupply (#1766) shadows:
- ERC20._totalSupply (#821)
Remove the state variable shadowing.
Additional information: link
SafeToken.withdraw(address,uint256) (#1719-1722) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1721)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#1404-1419):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1409)
Low level call in YarrToken.swapAndLiquify(uint256) (#2076-2114):
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#6) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1425) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1432) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1439) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1449) is not in mixedCase
Constant DividendPayingToken.magnitude (#1341) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter YarrTokenDividendTracker.getAccount(address)._account (#1561) is not in mixedCase
Parameter SafeToken.setSafeManager(address)._safeManager (#1715) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._token (#1719) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._amount (#1719) is not in mixedCase
Parameter SafeToken.withdrawBNB(uint256)._amount (#1724) is not in mixedCase
Parameter LockToken.includeToWhiteList(address[])._users (#1747) is not in mixedCase
Parameter YarrToken.setExtraFeeOnSell(uint256)._extraFeeOnSell (#1825) is not in mixedCase
Parameter YarrToken.setAllFeesPercentages(uint256,uint256,uint256,uint256)._bnbRewardFee (#1831) is not in mixedCase
Parameter YarrToken.setAllFeesPercentages(uint256,uint256,uint256,uint256)._liquidityFee (#1831) is not in mixedCase
Parameter YarrToken.setAllFeesPercentages(uint256,uint256,uint256,uint256)._marketingFee (#1831) is not in mixedCase
Parameter YarrToken.setAllFeesPercentages(uint256,uint256,uint256,uint256)._developerFee (#1831) is not in mixedCase
Parameter YarrToken.setExcludeFromMaxTx(address,bool)._address (#1906) is not in mixedCase
Parameter YarrToken.setExcludeFromAll(address)._address (#1910) is not in mixedCase
Parameter YarrToken.setSwapAndLiquifyEnabled(bool)._enabled (#2020) is not in mixedCase
Parameter YarrToken.swapTokensForBnb(uint256,address)._to (#2116) is not in mixedCase
Parameter YarrToken.setSwapTokensAtAmount(uint256)._amount (#2152) is not in mixedCase
Parameter YarrToken.setExcludedFromWhale(address,bool)._enabled (#2186) is not in mixedCase
Variable YarrToken._totalSupply (#1766) is not in mixedCase
Variable YarrToken.BNBRewardsFee (#1770) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable 'YarrToken._transfer(address,address,uint256).lastProcessedIndex (#2069)' in YarrToken._transfer(address,address,uint256) (#2025-2074) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2070)
Variable 'YarrToken._transfer(address,address,uint256).claims (#2069)' in YarrToken._transfer(address,address,uint256) (#2025-2074) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2070)
Variable 'YarrToken._transfer(address,address,uint256).iterations (#2069)' in YarrToken._transfer(address,address,uint256) (#2025-2074) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2070)
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 YarrToken.constructor() (#1844-1890):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1860-1861)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1863)
- uniswapV2Router = _uniswapV2Router (#1862)
Reentrancy in YarrToken.constructor() (#1844-1890):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1860-1861)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1864)
- dividendTracker.excludeFromDividends(pair) (#1932)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1867)
- dividendTracker.excludeFromDividends(address(this)) (#1868)
- dividendTracker.excludeFromDividends(owner()) (#1869)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1870)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1871)
State variables written after the call(s):
- _mint(owner(),_totalSupply) (#1889)
- _balances[account] += amount (#1039)
- excludeFromFees(owner(),true) (#1874)
- _isExcludedFromFees[account] = excluded (#1902)
- excludeFromFees(marketingWallet,true) (#1875)
- _isExcludedFromFees[account] = excluded (#1902)
- excludeFromFees(developerWallet,true) (#1876)
- _isExcludedFromFees[account] = excluded (#1902)
- excludeFromFees(address(this),true) (#1877)
- _isExcludedFromFees[account] = excluded (#1902)
- _isExcludedFromMaxTx[owner()] = true (#1880)
- _isExcludedFromMaxTx[address(this)] = true (#1881)
- _isExcludedFromMaxTx[marketingWallet] = true (#1882)
- excludeWalletsFromWhales() (#1884)
- _isExcludedFromWhale[owner()] = true (#2165)
- _isExcludedFromWhale[address(this)] = true (#2166)
- _isExcludedFromWhale[address(0)] = true (#2167)
- _isExcludedFromWhale[uniswapV2Pair] = true (#2168)
- _mint(owner(),_totalSupply) (#1889)
- _totalSupply += amount (#1038)
Reentrancy in YarrTokenDividendTracker.processAccount(address,bool) (#1695-1705):
External calls:
- amount = _withdrawDividendOfUser(account) (#1696)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1409)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1699)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in YarrToken._setAutomatedMarketMakerPair(address,bool) (#1928-1935):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1932)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1934)
Reentrancy in YarrToken._transfer(address,address,uint256) (#2025-2074):
External calls:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2129-2135)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1019)
- super._transfer(from,address(this),fees) (#2061)
- Transfer(sender,recipient,amount) (#1019)
- super._transfer(from,to,amount) (#2064)
Reentrancy in YarrToken._transfer(address,address,uint256) (#2025-2074):
External calls:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2129-2135)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2065)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2066)
- dividendTracker.process(gas) (#2069-2072)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2070)
Reentrancy in YarrToken.constructor() (#1844-1890):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1860-1861)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1864)
- dividendTracker.excludeFromDividends(pair) (#1932)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1934)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1864)
Reentrancy in YarrToken.constructor() (#1844-1890):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1860-1861)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1864)
- dividendTracker.excludeFromDividends(pair) (#1932)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1867)
- dividendTracker.excludeFromDividends(address(this)) (#1868)
- dividendTracker.excludeFromDividends(owner()) (#1869)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1870)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1871)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1903)
- excludeFromFees(owner(),true) (#1874)
- ExcludeFromFees(account,excluded) (#1903)
- excludeFromFees(address(this),true) (#1877)
- ExcludeFromFees(account,excluded) (#1903)
- excludeFromFees(developerWallet,true) (#1876)
- ExcludeFromFees(account,excluded) (#1903)
- excludeFromFees(marketingWallet,true) (#1875)
- Transfer(address(0),account,amount) (#1040)
- _mint(owner(),_totalSupply) (#1889)
Reentrancy in YarrTokenDividendTracker.processAccount(address,bool) (#1695-1705):
External calls:
- amount = _withdrawDividendOfUser(account) (#1696)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1409)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1700)
Reentrancy in YarrToken.processDividendTracker(uint256) (#1998-2001):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1999)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#2000)
Reentrancy in YarrToken.swapAndLiquify(uint256) (#2076-2114):
External calls:
- swapTokensForBnb(toSwap,address(this)) (#2089)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2129-2135)
- addLiquidity(halfLiquidityTokens,bnbToAddLiquidityWith) (#2098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,bnbToAddLiquidityWith) (#2098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
Event emitted after the call(s):
- SendDividends(toSwap - halfLiquidityTokens,dividends) (#2110)
- SwapAndLiquify(halfLiquidityTokens,bnbToAddLiquidityWith) (#2113)
Apply the check-effects-interactions pattern.
Additional information: link
YarrTokenDividendTracker.getAccount(address) (#1561-1602) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1599-1601)
YarrTokenDividendTracker.canAutoClaim(uint256) (#1623-1629) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1624)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1628)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#687-689) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1459-1465) is never used and should be removed
SafeCast.toInt128(int256) (#581-584) is never used and should be removed
SafeCast.toInt16(int256) (#635-638) is never used and should be removed
SafeCast.toInt32(int256) (#617-620) is never used and should be removed
SafeCast.toInt64(int256) (#599-602) is never used and should be removed
SafeCast.toInt8(int256) (#653-656) is never used and should be removed
SafeCast.toUint128(uint256) (#476-479) is never used and should be removed
SafeCast.toUint16(uint256) (#536-539) is never used and should be removed
SafeCast.toUint224(uint256) (#461-464) is never used and should be removed
SafeCast.toUint32(uint256) (#521-524) is never used and should be removed
SafeCast.toUint64(uint256) (#506-509) is never used and should be removed
SafeCast.toUint8(uint256) (#551-554) is never used and should be removed
SafeCast.toUint96(uint256) (#491-494) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#397-406) is never used and should be removed
SafeMath.mod(uint256,uint256) (#359-361) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#423-432) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#376-383) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#230-236) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#272-277) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#284-289) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#255-265) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#243-248) is never used and should be removed
SignedSafeMath.div(int256,int256) (#181-183) is never used and should be removed
SignedSafeMath.mul(int256,int256) (#167-169) is never used and should be removed
Remove unused functions.
Additional information: link
YarrToken.maxSellTransactionAmount (#1767) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(100)
YarrToken.swapTokensAtAmount (#1768) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(1000_000)
YarrToken.maxLimit (#2161) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(100).mul(2)
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 version0.8.11 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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
Reentrancy in YarrToken._transfer(address,address,uint256) (#2025-2074):
External calls:
- swapAndLiquify(contractTokenBalance) (#2046)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2046)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2061)
- _balances[sender] = senderBalance - amount (#1015)
- _balances[recipient] += amount (#1017)
- super._transfer(from,to,amount) (#2064)
- _balances[sender] = senderBalance - amount (#1015)
- _balances[recipient] += amount (#1017)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2070)
- Transfer(sender,recipient,amount) (#1019)
- super._transfer(from,to,amount) (#2064)
- Transfer(sender,recipient,amount) (#1019)
- super._transfer(from,address(this),fees) (#2061)
Reentrancy in YarrToken.swapAndLiquify(uint256) (#2076-2114):
External calls:
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,bnbToAddLiquidityWith) (#2098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
- marketingWallet.transfer(marketingAmount) (#2101)
- developerWallet.transfer(developerAmount) (#2104)
- (success) = address(dividendTracker).call{value: dividends}() (#2107)
Event emitted after the call(s):
- SendDividends(toSwap - halfLiquidityTokens,dividends) (#2110)
- SwapAndLiquify(halfLiquidityTokens,bnbToAddLiquidityWith) (#2113)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#10) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#11)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1405) is too similar to YarrTokenDividendTracker.getAccount(address).withdrawableDividends (#1566)
Variable YarrToken.BNBRewardsFee (#1770) is too similar to YarrToken.setAllFeesPercentages(uint256,uint256,uint256,uint256)._bnbRewardFee (#1831)
Prevent variables from having similar names.
Additional information: link
YarrTokenDividendTracker.getAccountAtIndex(uint256) (#1604-1621) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1615)
YarrToken.constructor() (#1844-1890) uses literals with too many digits:
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1871)
YarrToken.updateGasForProcessing(uint256) (#1937-1942) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,YarrToken: gasForProcessing must be between 200,000 and 500,000) (#1938)
YarrToken.slitherConstructorVariables() (#1754-2193) uses literals with too many digits:
- gasForProcessing = 300000 (#1780)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
name() should be declared external:
- ERC20.name() (#843-845)
symbol() should be declared external:
- ERC20.symbol() (#851-853)
decimals() should be declared external:
- ERC20.decimals() (#868-870)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#894-897)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#913-916)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#931-945)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#959-962)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#978-986)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1185-1187)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1193-1196)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1214-1216)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1218-1223)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1225-1227)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1231-1233)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1398-1400)
- YarrTokenDividendTracker.withdrawDividend() (#1531-1533)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1425-1427)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1439-1441)
getAccountAtIndex(uint256) should be declared external:
- YarrTokenDividendTracker.getAccountAtIndex(uint256) (#1604-1621)
process(uint256) should be declared external:
- YarrTokenDividendTracker.process(uint256) (#1648-1693)
setSafeManager(address) should be declared external:
- SafeToken.setSafeManager(address) (#1715-1717)
setExtraFeeOnSell(uint256) should be declared external:
- YarrToken.setExtraFeeOnSell(uint256) (#1825-1828)
setAllFeesPercentages(uint256,uint256,uint256,uint256) should be declared external:
- YarrToken.setAllFeesPercentages(uint256,uint256,uint256,uint256) (#1831-1841)
updateUniswapV2Router(address) should be declared external:
- YarrToken.updateUniswapV2Router(address) (#1894-1898)
setExcludeFromMaxTx(address,bool) should be declared external:
- YarrToken.setExcludeFromMaxTx(address,bool) (#1906-1908)
setExcludeFromAll(address) should be declared external:
- YarrToken.setExcludeFromAll(address) (#1910-1914)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- YarrToken.excludeMultipleAccountsFromFees(address[],bool) (#1916-1921)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- YarrToken.setAutomatedMarketMakerPair(address,bool) (#1923-1926)
updateGasForProcessing(uint256) should be declared external:
- YarrToken.updateGasForProcessing(uint256) (#1937-1942)
isExcludedFromFees(address) should be declared external:
- YarrToken.isExcludedFromFees(address) (#1956-1958)
isExcludedFromMaxTx(address) should be declared external:
- YarrToken.isExcludedFromMaxTx(address) (#1960-1962)
withdrawableDividendOf(address) should be declared external:
- YarrToken.withdrawableDividendOf(address) (#1964-1966)
dividendTokenBalanceOf(address) should be declared external:
- YarrToken.dividendTokenBalanceOf(address) (#1968-1970)
setSwapAndLiquifyEnabled(bool) should be declared external:
- YarrToken.setSwapAndLiquifyEnabled(bool) (#2020-2023)
setSwapTokensAtAmount(uint256) should be declared external:
- YarrToken.setSwapTokensAtAmount(uint256) (#2152-2155)
setExcludedFromWhale(address,bool) should be declared external:
- YarrToken.setExcludedFromWhale(address,bool) (#2186-2189)
Use the external attribute for functions never called from the contract.
Additional information: link
YarrToken.swapAndLiquify(uint256) (#2076-2114) performs a multiplication on the result of a division:
-marketingAmount = deltaBalance.div(totalFees).mul(marketingFee) (#2100)
YarrToken.swapAndLiquify(uint256) (#2076-2114) performs a multiplication on the result of a division:
-developerAmount = deltaBalance.div(totalFees).mul(developerFee) (#2103)
YarrToken.slitherConstructorVariables() (#1754-2193) performs a multiplication on the result of a division:
-maxLimit = _totalSupply.div(100).mul(2) (#2161)
Consider ordering multiplication before division.
Additional information: link
YarrToken.claim() (#2003-2005) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#2004)
YarrToken._transfer(address,address,uint256) (#2025-2074) ignores return value by dividendTracker.process(gas) (#2069-2072)
YarrToken.addLiquidity(uint256,uint256) (#2139-2150) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2142-2149)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1361) shadows:
- ERC20._name (#823) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1361) shadows:
- ERC20._symbol (#824) (state variable)
Rename the local variables that shadow another component.
Additional information: link
YarrToken.setExtraFeeOnSell(uint256) (#1825-1828) should emit an event for:
- extraFeeOnSell = _extraFeeOnSell (#1826)
YarrToken.setSwapTokensAtAmount(uint256) (#2152-2155) should emit an event for:
- swapTokensAtAmount = _amount (#2154)
Emit an event for critical parameter changes.
Additional information: link
SafeToken.setSafeManager(address)._safeManager (#1715) lacks a zero-check on :
- safeManager = _safeManager (#1716)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1404-1419) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1409)
Favor pull over push strategy for external calls.
Additional information: link
YarrToken._totalSupply (#1766) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
YarrToken._transfer(address,address,uint256).iterations (#2069) is a local variable never initialized
YarrToken._transfer(address,address,uint256).claims (#2069) is a local variable never initialized
YarrToken._transfer(address,address,uint256).lastProcessedIndex (#2069) 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
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
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
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 Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account