The Fate Token is a revolutionary token specifically designed to offer a one of a kind reward structure. 50% of all rewards paid out to holders are equally distributed to all holders. This provides incentive to hold for a larger number of total holders. It helps everyone boost their bags even for smaller holders.
The Fate Token is also the community token for the FAT EcoSystem and the primary form of currency on Frosting Social. Users of Frosting Social will be able to tip, subscribe and make purchases using the Fate Token.
FATE.addLiquidity(uint256,uint256) (#1828-1842) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
FATE.buyBackAndBurn(uint256) (#1844-1865) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndSendCakeDividends(sellTokens) (#1760)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
State variables written after the call(s):
- swapping = false (#1762)
- swapping = true (#1770)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndSendCakeDividends(sellTokens) (#1760)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
State variables written after the call(s):
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- _balances[account] = _balances[account].sub(amount,exceeds balance) (#412)
- super._transfer(from,address(this),fees) (#1792)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#372)
- _balances[recipient] = _balances[recipient].add(amount) (#373)
- super._transfer(from,to,amount) (#1795)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#372)
- _balances[recipient] = _balances[recipient].add(amount) (#373)
- swapping = false (#1778)
Reentrancy in FATE.buyBackAndBurn(uint256) (#1844-1865):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
State variables written after the call(s):
- _burn(deadAddress,swappedBalance) (#1862)
- _balances[account] = _balances[account].sub(amount,exceeds balance) (#412)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
FATE._transfer(address,address,uint256) (#1649-1810) uses a dangerous strict equality:
- startTime[to] == 0 (#1716)
FATE.calculateSellFee(address) (#1620-1640) uses a dangerous strict equality:
- block.timestamp == startTime[_from] || startTime[_from] == 0 (#1621)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
FATE.setMinimumBalanceRequired(uint256) (#1454-1457) contains a tautology or contradiction:
- require(bool,string)(_newAmount >= 0,newAmount error) (#1455)
Fix the incorrect comparison by changing the value type or the comparison.
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.
Contract ownership is not renounced (belongs to a wallet)
DividendPayingToken.lastAmount (#544) should be constant
FATE.buyFee (#1279) should be constant
FATE.deadAddress (#1245) should be constant
FATE.supply (#1257) should be constant
FATE.transferFee (#1276) should be constant
Ownable._previousOwner (#44) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#600-616) has external calls inside a loop: success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#605)
Favor pull over push strategy for external calls.
Additional information: link
FATE.calculateSellFee(address) (#1620-1640) performs a multiplication on the result of a division:
-dateDayDiff = (block.timestamp - startTime[_from]) / 24 / 3600 (#1625)
-startingSellFee - (dateDayDiff * sellFeeDecrease) (#1637)
FATE.getFeeFromRatio(uint256,uint256) (#1642-1644) performs a multiplication on the result of a division:
-(_ratio.div(sellFeeDaysDecrease)).mul(_totalFee).div(1000) (#1643)
FATE._transfer(address,address,uint256) (#1649-1810) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(10000) (#1783)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1787)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#600-616):
External calls:
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#605)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#608)
Reentrancy in CakeDividendTracker.processAccount(address,bool) (#2162-2175):
External calls:
- amount = _withdrawDividendOfUser(account) (#2164)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#605)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2167)
Apply the check-effects-interactions pattern.
Additional information: link
DividendPayingToken.setDividendTokenAddress(address) (#588-591) uses tx.origin for authorization: require(bool,string)(tx.origin == 0x45e6E15cdF7AD76a0FF25860BE4f22dC8c7E0931,Only owner) (#589)
DividendPayingToken.setMinTokenBeforeSendDividend(uint256) (#593-596) uses tx.origin for authorization: require(bool,string)(tx.origin == 0x45e6E15cdF7AD76a0FF25860BE4f22dC8c7E0931,Only owner) (#594)
Do not use tx.origin for authorization.
Additional information: link
FATE._transfer(address,address,uint256).iterations (#1803) is a local variable never initialized
FATE._transfer(address,address,uint256).claims (#1803) is a local variable never initialized
FATE._transfer(address,address,uint256).lastProcessedIndex (#1803) 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
FATE.claim() (#1608-1610) ignores return value by cakeDividendTracker.processAccount(address(msg.sender),false) (#1609)
FATE._transfer(address,address,uint256) (#1649-1810) ignores return value by cakeDividendTracker.process(gas) (#1803-1808)
FATE.addLiquidity(uint256,uint256) (#1828-1842) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string,address)._name (#565) shadows:
- ERC20._name (#200) (state variable)
DividendPayingToken.constructor(string,string,address)._symbol (#565) shadows:
- ERC20._symbol (#201) (state variable)
Rename the local variables that shadow another component.
Additional information: link
FATE.setMaxBuyTransaction(uint256) (#1391-1393) should emit an event for:
- maxBuyTransactionAmount = _maxTxn (#1392)
FATE.setMaxSellTransaction(uint256) (#1395-1397) should emit an event for:
- maxSellTransactionAmount = _maxTxn (#1396)
FATE.setMaxWalletToken(uint256) (#1428-1430) should emit an event for:
- maxWalletToken = _maxToken (#1429)
FATE.setSwapTokensAtAmount(uint256) (#1432-1434) should emit an event for:
- swapTokensAtAmount = _swapAmount (#1433)
FATE.setSellFeeIncreaseFactor(uint256) (#1436-1438) should emit an event for:
- sellFeeIncreaseFactor = _multiplier (#1437)
FATE.setMinimumBalanceRequired(uint256) (#1454-1457) should emit an event for:
- minimumBalanceRequired = _newAmount (#1456)
FATE.setMinimumSellOrderAmount(uint256) (#1459-1462) should emit an event for:
- minimumSellOrderAmount = _newAmount (#1461)
FATE.setBuyBackUpperLimit(uint256) (#1464-1467) should emit an event for:
- buyBackUpperLimit = buyBackLimit (#1466)
FATE.updateStartingFee(uint256,uint256,uint256,uint256) (#1493-1498) should emit an event for:
- startingSellFee = _startingSellFee (#1494)
- startingSellLiquidityFee = _startingSellLiquidityFee (#1495)
- startingSellMarketingFee = _startingSellMarketingFee (#1496)
- startingSellCakeRewardsFee = _startingSellCakeRewardsFee (#1497)
FATE.updateSellFeeDaysDecrease(uint256) (#1500-1502) should emit an event for:
- sellFeeDaysDecrease = _value (#1501)
FATE.updateSellFeeDecrease(uint256) (#1504-1506) should emit an event for:
- sellFeeDecrease = _value (#1505)
Emit an event for critical parameter changes.
Additional information: link
FATE.updateCakeDividendToken(address)._newContract (#1399) lacks a zero-check on :
- cakeDividendToken = _newContract (#1400)
FATE.updateMinterAddress(address)._newMinter (#1412) lacks a zero-check on :
- minter = _newMinter (#1414)
FATE.updateMarketingWallet(address)._newWallet (#1422) lacks a zero-check on :
- marketingWallet = _newWallet (#1425)
DividendPayingToken.constructor(string,string,address)._token (#565) lacks a zero-check on :
- dividendToken = _token (#566)
CakeDividendTracker.setDividendTokenAddress(address).newToken (#1971) lacks a zero-check on :
- dividendToken = newToken (#1972)
Check that the address is not zero.
Additional information: link
Variable 'FATE._transfer(address,address,uint256).claims (#1803)' in FATE._transfer(address,address,uint256) (#1649-1810) potentially used before declaration: ProcessedCakeDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1804)
Variable 'FATE._transfer(address,address,uint256).iterations (#1803)' in FATE._transfer(address,address,uint256) (#1649-1810) potentially used before declaration: ProcessedCakeDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1804)
Variable 'FATE._transfer(address,address,uint256).lastProcessedIndex (#1803)' in FATE._transfer(address,address,uint256) (#1649-1810) potentially used before declaration: ProcessedCakeDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1804)
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 FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
State variables written after the call(s):
- isSeller[to] = false (#1691)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
State variables written after the call(s):
- swapping = true (#1733)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
State variables written after the call(s):
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- _allowances[owner][spender] = amount (#434)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
State variables written after the call(s):
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- _allowances[owner][spender] = amount (#434)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
State variables written after the call(s):
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- _allowances[owner][spender] = amount (#434)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndSendCakeDividends(sellTokens) (#1760)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
State variables written after the call(s):
- swapAndSendCakeDividends(sellTokens) (#1760)
- _allowances[owner][spender] = amount (#434)
Reentrancy in FATE.buyBackAndBurn(uint256) (#1844-1865):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
State variables written after the call(s):
- _burn(deadAddress,swappedBalance) (#1862)
- _totalSupply = _totalSupply.sub(amount) (#413)
Reentrancy in FATE.constructor() (#1350-1383):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1358-1359)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1362)
- uniswapV2Router = _uniswapV2Router (#1361)
Reentrancy in FATE.constructor() (#1350-1383):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1358-1359)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1364)
- cakeDividendTracker.excludeFromDividends(pair) (#1542)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1364)
- automatedMarketMakerPairs[pair] = value (#1539)
Reentrancy in FATE.constructor() (#1350-1383):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1358-1359)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1364)
- cakeDividendTracker.excludeFromDividends(pair) (#1542)
- excludeFromDividend(address(cakeDividendTracker)) (#1366)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
- excludeFromDividend(address(this)) (#1367)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
- excludeFromDividend(address(_uniswapV2Router)) (#1368)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
- excludeFromDividend(deadAddress) (#1369)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
State variables written after the call(s):
- _mint(owner(),supply) (#1377)
- _balances[account] = _balances[account].add(amount) (#392)
- _mint(owner(),supply) (#1377)
- _totalSupply = _totalSupply.add(amount) (#391)
- excludeFromFees(deadAddress,true) (#1372)
- isExcludedFromFees[account] = excluded (#1515)
- excludeFromFees(marketingWallet,true) (#1373)
- isExcludedFromFees[account] = excluded (#1515)
- excludeFromFees(address(this),true) (#1374)
- isExcludedFromFees[account] = excluded (#1515)
- excludeFromFees(owner(),true) (#1375)
- isExcludedFromFees[account] = excluded (#1515)
- isSniper[0xE4882975f933A199C92b5A925C9A8fE65d599Aa8] = true (#1380)
- isSniper[0x86C70C4a3BC775FB4030448c9fdb73Dc09dd8444] = true (#1381)
- isSniper[0xa4A25AdcFCA938aa030191C297321323C57148Bd] = true (#1382)
Reentrancy in FATE.swapAndLiquify(uint256) (#1812-1826):
External calls:
- swapTokensForBNB(half,address(this)) (#1819)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- addLiquidity(otherHalf,newBalance) (#1823)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1823)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1823)
- _allowances[owner][spender] = amount (#434)
Reentrancy in FATE.updateCakeDividendTracker(address) (#1469-1482):
External calls:
- newCakeDividendTracker.excludeFromDividends(address(newCakeDividendTracker)) (#1474)
- newCakeDividendTracker.excludeFromDividends(address(this)) (#1475)
- newCakeDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1476)
- newCakeDividendTracker.excludeFromDividends(address(deadAddress)) (#1477)
State variables written after the call(s):
- cakeDividendTracker = newCakeDividendTracker (#1481)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FATE._setAutomatedMarketMakerPair(address,bool) (#1538-1546):
External calls:
- cakeDividendTracker.excludeFromDividends(pair) (#1542)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1545)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#435)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#435)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#435)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- SwapAndLiquify(half,newBalance,otherHalf) (#1825)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndSendCakeDividends(sellTokens) (#1760)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#435)
- swapAndSendCakeDividends(sellTokens) (#1760)
- SendDividends(amount) (#1931)
- swapAndSendCakeDividends(sellTokens) (#1760)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndSendCakeDividends(sellTokens) (#1760)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#1864)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- Transfer(account,address(0),amount) (#414)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- Transfer(sender,recipient,amount) (#374)
- super._transfer(from,address(this),fees) (#1792)
- Transfer(sender,recipient,amount) (#374)
- super._transfer(from,to,amount) (#1795)
Reentrancy in FATE._transfer(address,address,uint256) (#1649-1810):
External calls:
- cakeDividendTracker.setLastClaimTimes(to) (#1686)
- cakeDividendTracker.setLastClaimTimes(from) (#1707)
- swapTokensForBNB(swapTokens,address(marketingWallet)) (#1749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees),address(this)) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- swapAndSendCakeDividends(sellTokens) (#1760)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
- cakeDividendTracker.setBalance(address(from),balanceOf(from),maxWalletToken,isSeller[from]) (#1797)
- cakeDividendTracker.setBalance(address(to),balanceOf(to),maxWalletToken,isSeller[to]) (#1798)
- cakeDividendTracker.process(gas) (#1803-1808)
External calls sending eth:
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1755)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1776)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
Event emitted after the call(s):
- ProcessedCakeDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1804)
Reentrancy in FATE.buyBackAndBurn(uint256) (#1844-1865):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1853-1858)
Event emitted after the call(s):
- SwapBNBForTokens(amount,path) (#1864)
- Transfer(account,address(0),amount) (#414)
- _burn(deadAddress,swappedBalance) (#1862)
Reentrancy in FATE.constructor() (#1350-1383):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1358-1359)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1364)
- cakeDividendTracker.excludeFromDividends(pair) (#1542)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1545)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1364)
Reentrancy in FATE.constructor() (#1350-1383):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1358-1359)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1364)
- cakeDividendTracker.excludeFromDividends(pair) (#1542)
- excludeFromDividend(address(cakeDividendTracker)) (#1366)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
- excludeFromDividend(address(this)) (#1367)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
- excludeFromDividend(address(_uniswapV2Router)) (#1368)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
- excludeFromDividend(deadAddress) (#1369)
- cakeDividendTracker.excludeFromDividends(address(account)) (#1521)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1517)
- excludeFromFees(owner(),true) (#1375)
- ExcludeFromFees(account,excluded) (#1517)
- excludeFromFees(address(this),true) (#1374)
- ExcludeFromFees(account,excluded) (#1517)
- excludeFromFees(marketingWallet,true) (#1373)
- ExcludeFromFees(account,excluded) (#1517)
- excludeFromFees(deadAddress,true) (#1372)
- Transfer(address(0),account,amount) (#393)
- _mint(owner(),supply) (#1377)
Reentrancy in CakeDividendTracker.processAccount(address,bool) (#2162-2175):
External calls:
- amount = _withdrawDividendOfUser(account) (#2164)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#605)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2168)
Reentrancy in FATE.processDividendTracker(uint256) (#1603-1606):
External calls:
- (cakeIterations,cakeClaims,cakeLastProcessedIndex) = cakeDividendTracker.process(gas) (#1604)
Event emitted after the call(s):
- ProcessedCakeDividendTracker(cakeIterations,cakeClaims,cakeLastProcessedIndex,false,gas,tx.origin) (#1605)
Reentrancy in FATE.swapAndLiquify(uint256) (#1812-1826):
External calls:
- swapTokensForBNB(half,address(this)) (#1819)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_address,block.timestamp) (#1887-1893)
- addLiquidity(otherHalf,newBalance) (#1823)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1823)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1834-1841)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#435)
- addLiquidity(otherHalf,newBalance) (#1823)
- SwapAndLiquify(half,newBalance,otherHalf) (#1825)
Reentrancy in FATE.swapAndSendCakeDividends(uint256) (#1916-1920):
External calls:
- swapTokensForDividendToken(tokens,address(this)) (#1917)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1907-1913)
- transferDividends(cakeDividendToken,address(cakeDividendTracker),cakeDividendTracker,cakeDividends) (#1919)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
Event emitted after the call(s):
- SendDividends(amount) (#1931)
- transferDividends(cakeDividendToken,address(cakeDividendTracker),cakeDividendTracker,cakeDividends) (#1919)
Reentrancy in FATE.transferDividends(address,address,DividendPayingToken,uint256) (#1926-1933):
External calls:
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1927)
- dividendPayingTracker.distributeDividends(amount) (#1930)
Event emitted after the call(s):
- SendDividends(amount) (#1931)
Reentrancy in FATE.updateCakeDividendTracker(address) (#1469-1482):
External calls:
- newCakeDividendTracker.excludeFromDividends(address(newCakeDividendTracker)) (#1474)
- newCakeDividendTracker.excludeFromDividends(address(this)) (#1475)
- newCakeDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1476)
- newCakeDividendTracker.excludeFromDividends(address(deadAddress)) (#1477)
Event emitted after the call(s):
- UpdateCakeDividendTracker(newAddress,address(cakeDividendTracker)) (#1479)
Apply the check-effects-interactions pattern.
Additional information: link
FATE.calculateSellFee(address) (#1620-1640) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp == startTime[_from] || startTime[_from] == 0 (#1621)
- dateDayDiff < 1 (#1628)
- dateDayDiff > sellFeeDaysDecrease (#1632)
FATE._transfer(address,address,uint256) (#1649-1810) uses timestamp for comparisons
Dangerous comparisons:
- startTime[to] == 0 (#1716)
- totalFees != startingSellFee.mul(100) (#1741)
- ! swapping && totalFees > 0 (#1782)
CakeDividendTracker.getAccount(address) (#2017-2060) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#2057-2059)
CakeDividendTracker.canAutoClaim(uint256) (#2081-2087) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2082)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2086)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#24-27) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#654-660) is never used and should be removed
ERC20._setupDecimals(uint8) (#445-447) is never used and should be removed
FATE.transferToWallet(address,uint256) (#1922-1924) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#1153-1156) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1115-1118) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1173-1176) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#987-991) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#1023-1026) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#1033-1036) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#1008-1016) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#998-1001) is never used and should be removed
SafeMathInt.div(int256,int256) (#1196-1202) is never used and should be removed
SafeMathInt.mul(int256,int256) (#1186-1194) is never used and should be removed
Remove unused functions.
Additional information: link
FATE.swapTokensAtAmount (#1260) is set pre-construction with a non-constant function or state variable:
- supply.div(1000000)
FATE.maxBuyTransactionAmount (#1263) is set pre-construction with a non-constant function or state variable:
- supply.div(200)
FATE.maxSellTransactionAmount (#1264) is set pre-construction with a non-constant function or state variable:
- supply.div(200)
FATE.maxWalletToken (#1265) is set pre-construction with a non-constant function or state variable:
- supply.div(100)
FATE.minimumSellOrderAmount (#1273) is set pre-construction with a non-constant function or state variable:
- supply.div(100000)
FATE.sellFeeIncreaseMinAmount (#1295) is set pre-construction with a non-constant function or state variable:
- supply.div(1000)
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
Parameter DividendPayingToken.dividendOf(address)._owner (#621) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#628) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#635) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#644) is not in mixedCase
Constant DividendPayingToken.magnitude (#541) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#732) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#733) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#750) is not in mixedCase
Function IUniswapV2Router01.WETH() (#770) is not in mixedCase
Parameter FATE.setSniper(address,bool)._account (#1387) is not in mixedCase
Parameter FATE.setSniper(address,bool)._isSniper (#1387) is not in mixedCase
Parameter FATE.setMaxBuyTransaction(uint256)._maxTxn (#1391) is not in mixedCase
Parameter FATE.setMaxSellTransaction(uint256)._maxTxn (#1395) is not in mixedCase
Parameter FATE.updateCakeDividendToken(address)._newContract (#1399) is not in mixedCase
Parameter FATE.updateMinCakeBeforeSendDividend(uint256)._newAmount (#1404) is not in mixedCase
Parameter FATE.updateMinterAddress(address)._newMinter (#1412) is not in mixedCase
Parameter FATE.mint(uint256)._amount (#1417) is not in mixedCase
Parameter FATE.updateMarketingWallet(address)._newWallet (#1422) is not in mixedCase
Parameter FATE.setMaxWalletToken(uint256)._maxToken (#1428) is not in mixedCase
Parameter FATE.setSwapTokensAtAmount(uint256)._swapAmount (#1432) is not in mixedCase
Parameter FATE.setSellFeeIncreaseFactor(uint256)._multiplier (#1436) is not in mixedCase
Parameter FATE.setTradingIsEnabled(bool)._enabled (#1445) is not in mixedCase
Parameter FATE.setBuyBackMode(bool)._enabled (#1450) is not in mixedCase
Parameter FATE.setMinimumBalanceRequired(uint256)._newAmount (#1454) is not in mixedCase
Parameter FATE.setMinimumSellOrderAmount(uint256)._newAmount (#1459) is not in mixedCase
Parameter FATE.updateFeeRatio(uint256,uint256,uint256)._cakeDividendRewardsFeeRatio (#1484) is not in mixedCase
Parameter FATE.updateFeeRatio(uint256,uint256,uint256)._buyBackAndLiquidityFeeRatio (#1484) is not in mixedCase
Parameter FATE.updateFeeRatio(uint256,uint256,uint256)._marketingFeeRatio (#1484) is not in mixedCase
Parameter FATE.updateStartingFee(uint256,uint256,uint256,uint256)._startingSellFee (#1493) is not in mixedCase
Parameter FATE.updateStartingFee(uint256,uint256,uint256,uint256)._startingSellLiquidityFee (#1493) is not in mixedCase
Parameter FATE.updateStartingFee(uint256,uint256,uint256,uint256)._startingSellMarketingFee (#1493) is not in mixedCase
Parameter FATE.updateStartingFee(uint256,uint256,uint256,uint256)._startingSellCakeRewardsFee (#1493) is not in mixedCase
Parameter FATE.updateSellFeeDaysDecrease(uint256)._value (#1500) is not in mixedCase
Parameter FATE.updateSellFeeDecrease(uint256)._value (#1504) is not in mixedCase
Parameter FATE.calculateSellFee(address)._from (#1620) is not in mixedCase
Parameter FATE.getFeeFromRatio(uint256,uint256)._ratio (#1642) is not in mixedCase
Parameter FATE.getFeeFromRatio(uint256,uint256)._totalFee (#1642) is not in mixedCase
Parameter FATE.manualBuyBackAndBurn(uint256)._amount (#1867) is not in mixedCase
Parameter FATE.swapTokensForBNB(uint256,address)._address (#1878) is not in mixedCase
Parameter FATE.swapTokensForDividendToken(uint256,address)._tokenAmount (#1897) is not in mixedCase
Parameter FATE.swapTokensForDividendToken(uint256,address)._recipient (#1897) is not in mixedCase
Parameter CakeDividendTracker.updateMinimumTokenBalanceForDividends(uint256)._newMinimumBalance (#1975) is not in mixedCase
Parameter CakeDividendTracker.updateFairRatio(uint256)._newFairRatio (#1979) is not in mixedCase
Parameter CakeDividendTracker.getLastClaimTimes(address)._address (#1994) is not in mixedCase
Parameter CakeDividendTracker.setLastClaimTimes(address)._address (#1998) is not in mixedCase
Parameter CakeDividendTracker.getAccount(address)._account (#2017) is not in mixedCase
Parameter CakeDividendTracker.setBalance(address,uint256,uint256,bool)._newBalance (#2089) is not in mixedCase
Parameter CakeDividendTracker.setBalance(address,uint256,uint256,bool)._maxWallet (#2089) is not in mixedCase
Parameter CakeDividendTracker.setBalance(address,uint256,uint256,bool)._isSeller (#2089) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#25)" inContext (#19-28)
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 (#775) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#776)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#601) is too similar to CakeDividendTracker.getAccount(address).withdrawableDividends (#2022)
Prevent variables from having similar names.
Additional information: link
FATE.slitherConstructorVariables() (#1238-1934) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#1245)
FATE.slitherConstructorVariables() (#1238-1934) uses literals with too many digits:
- minter = 0x0000000000000000000000000000000000000000 (#1246)
FATE.slitherConstructorVariables() (#1238-1934) uses literals with too many digits:
- supply = 10000000000 * (10 ** 18) (#1257)
FATE.slitherConstructorVariables() (#1238-1934) uses literals with too many digits:
- swapTokensAtAmount = supply.div(1000000) (#1260)
FATE.slitherConstructorVariables() (#1238-1934) uses literals with too many digits:
- minimumSellOrderAmount = supply.div(100000) (#1273)
FATE.slitherConstructorVariables() (#1238-1934) uses literals with too many digits:
- gasForProcessing = 300000 (#1297)
CakeDividendTracker.getAccountAtIndex(uint256) (#2062-2079) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2073)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#44) is never used in FATE (#1238-1934)
DividendPayingToken.lastAmount (#544) is never used in CakeDividendTracker (#1936-2177)
Ownable._previousOwner (#44) is never used in CakeDividendTracker (#1936-2177)
Remove unused state variables.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#79-82)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#88-92)
name() should be declared external:
- ERC20.name() (#222-224)
symbol() should be declared external:
- ERC20.symbol() (#230-232)
decimals() should be declared external:
- ERC20.decimals() (#247-249)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#273-276)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#281-283)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#292-295)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#310-314)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#328-331)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#347-350)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#569-580)
withdrawDividend() should be declared external:
- CakeDividendTracker.withdrawDividend() (#1967-1969)
- DividendPayingToken.withdrawDividend() (#584-586)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#621-623)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#635-637)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#916-918)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#920-925)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#927-929)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#933-935)
setMinimumBalanceRequired(uint256) should be declared external:
- FATE.setMinimumBalanceRequired(uint256) (#1454-1457)
setMinimumSellOrderAmount(uint256) should be declared external:
- FATE.setMinimumSellOrderAmount(uint256) (#1459-1462)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- FATE.setAutomatedMarketMakerPair(address,bool) (#1532-1536)
getIsExcludedFromFees(address) should be declared external:
- FATE.getIsExcludedFromFees(address) (#1565-1567)
manualBuyBackAndBurn(uint256) should be declared external:
- FATE.manualBuyBackAndBurn(uint256) (#1867-1876)
getAccountAtIndex(uint256) should be declared external:
- CakeDividendTracker.getAccountAtIndex(uint256) (#2062-2079)
process(uint256) should be declared external:
- CakeDividendTracker.process(uint256) (#2115-2160)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find audit link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death