Kalories is the best Move-To-Earn Web3 lifestyle App combines with 8% BUSD reflection protocol. $KST offers two ways to earn passive incomes1)🏃Move-To-Earn — “Kick Out Calories , Move To Earn”🏃♀️2)💪Hold-To-Earn — “8% BUSD Reflection”💪
✅Simply hold $KST tokens in your wallet and earn passive income in $BUSD. 5% of every Buy and 8% Sell transaction is redistributed automatically to $KST eligible holders.✅ KaloriesGo App Beta Test Available Now ✅KYC and Audited ✅Sneakers NFT& Marketplace
Kalories.swapAndLiquify(uint256) (#1579-1605) sends eth to arbitrary user
Dangerous calls:
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
Kalories.addLiquidity(uint256,uint256) (#1645-1659) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Kalories._transfer(address,address,uint256) (#1478-1577):
External calls:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- swapAndSendDividends(rewardTokens) (#1530)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1664)
- dividendTracker.distributeDividends(dividends) (#1667)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1636-1642)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1557)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#373)
- _balances[recipient] = _balances[recipient].add(amount) (#374)
- super._transfer(from,to,amount) (#1562)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#373)
- _balances[recipient] = _balances[recipient].add(amount) (#374)
- swapping = false (#1532)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Kalories.updateUniswapV2Router(address)._uniswapV2Pair (#1369-1370) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1371)
Kalories.setMarketingWallet(address).wallet (#1686) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1687)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#604-620) has external calls inside a loop: success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#609)
Favor pull over push strategy for external calls.
Additional information: link
Kalories.buyTotalFees (#1254) is set pre-construction with a non-constant function or state variable:
- rewardFee.add(liquidityFee).add(marketingFee)
Kalories.sellTotalFees (#1259) is set pre-construction with a non-constant function or state variable:
- sellRewardFee.add(sellLiquidityFee).add(sellMarketingFee)
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
Redundant expression "this (#17)" inContext (#11-20)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Kalories.constructor() (#1310-1342) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 10)) (#1341)
Kalories.updateGasForProcessing(uint256) (#1399-1404) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Kalories: gasForProcessing must be between 200,000 and 500,000) (#1400)
Kalories.slitherConstructorVariables() (#1233-1712) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1243)
Kalories.slitherConstructorVariables() (#1233-1712) uses literals with too many digits:
- maxBuyTransactionAmount = 1000000000 * (10 ** 10) (#1247)
Kalories.slitherConstructorVariables() (#1233-1712) uses literals with too many digits:
- maxSellTransactionAmount = 1000000000 * (10 ** 10) (#1248)
Kalories.slitherConstructorVariables() (#1233-1712) uses literals with too many digits:
- swapTokensAtAmount = 500000 * (10 ** 10) (#1249)
Kalories.slitherConstructorVariables() (#1233-1712) uses literals with too many digits:
- gasForProcessing = 300000 (#1270)
KSTDividendTracker.getAccountAtIndex(uint256) (#1819-1836) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1830)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.rewardToken (#567) should be constant
Kalories.deadWallet (#1243) should be constant
Kalories.rewardToken (#1245) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#72-75)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#81-85)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#89-94)
name() should be declared external:
- ERC20.name() (#223-225)
symbol() should be declared external:
- ERC20.symbol() (#231-233)
decimals() should be declared external:
- ERC20.decimals() (#248-250)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#274-277)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#282-284)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#293-296)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#311-315)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#329-332)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#348-351)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#583-594)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#598-600)
- KSTDividendTracker.withdrawDividend() (#1743-1745)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#626-628)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#640-642)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#915-917)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#919-924)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#926-928)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#932-934)
updateDividendTracker(address) should be declared external:
- Kalories.updateDividendTracker(address) (#1348-1363)
updateUniswapV2Router(address) should be declared external:
- Kalories.updateUniswapV2Router(address) (#1365-1372)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Kalories.setAutomatedMarketMakerPair(address,bool) (#1381-1385)
updateGasForProcessing(uint256) should be declared external:
- Kalories.updateGasForProcessing(uint256) (#1399-1404)
isExcludedFromFees(address) should be declared external:
- Kalories.isExcludedFromFees(address) (#1418-1420)
withdrawableDividendOf(address) should be declared external:
- Kalories.withdrawableDividendOf(address) (#1422-1424)
dividendTokenBalanceOf(address) should be declared external:
- Kalories.dividendTokenBalanceOf(address) (#1426-1428)
getAccountAtIndex(uint256) should be declared external:
- KSTDividendTracker.getAccountAtIndex(uint256) (#1819-1836)
process(uint256) should be declared external:
- KSTDividendTracker.process(uint256) (#1863-1908)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#604-620):
External calls:
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#609)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#612)
Reentrancy in Kalories.updateDividendTracker(address) (#1348-1363):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1355)
- newDividendTracker.excludeFromDividends(address(this)) (#1356)
- newDividendTracker.excludeFromDividends(owner()) (#1357)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1358)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1362)
Apply the check-effects-interactions pattern.
Additional information: link
Kalories._transfer(address,address,uint256).iterations (#1570) is a local variable never initialized
Kalories._transfer(address,address,uint256).claims (#1570) is a local variable never initialized
Kalories._transfer(address,address,uint256).lastProcessedIndex (#1570) is a local variable never initialized
Kalories._transfer(address,address,uint256).fees (#1544) 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
Kalories.claim() (#1465-1467) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1466)
Kalories._transfer(address,address,uint256) (#1478-1577) ignores return value by dividendTracker.process(gas) (#1570-1575)
Kalories.addLiquidity(uint256,uint256) (#1645-1659) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#578) shadows:
- ERC20._name (#201) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#578) shadows:
- ERC20._symbol (#202) (state variable)
DividendPayingToken.dividendOf(address)._owner (#626) shadows:
- Ownable._owner (#35) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#633) shadows:
- Ownable._owner (#35) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#640) shadows:
- Ownable._owner (#35) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#650) shadows:
- Ownable._owner (#35) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Kalories.setMaxBuyTransactionLimit(uint256) (#1672-1675) should emit an event for:
- maxBuyTransactionAmount = _newLimit (#1673)
Kalories.setMaxSellTransactionLimit(uint256) (#1677-1680) should emit an event for:
- maxSellTransactionAmount = _newLimit (#1678)
Kalories.setSwapTokensAtAmount(uint256) (#1682-1684) should emit an event for:
- swapTokensAtAmount = _newLimit (#1683)
Kalories.setBuyFees(uint256,uint256,uint256) (#1690-1696) should emit an event for:
- rewardFee = _rewardFee (#1691)
- marketingFee = _marketingFee (#1692)
- liquidityFee = _liquidityFee (#1693)
- buyTotalFees = rewardFee.add(liquidityFee).add(marketingFee) (#1694)
Kalories.setSellFees(uint256,uint256,uint256) (#1698-1704) should emit an event for:
- sellRewardFee = _rewardFee (#1699)
- sellMarketingFee = _marketingFee (#1700)
- sellLiquidityFee = _liquidityFee (#1701)
- sellTotalFees = sellRewardFee.add(sellMarketingFee).add(sellLiquidityFee) (#1702)
Kalories.changeCooldownSettings(bool,uint256) (#1707-1710) should emit an event for:
- cooldownTimerInterval = newInterval (#1709)
Emit an event for critical parameter changes.
Additional information: link
Variable 'Kalories._transfer(address,address,uint256).lastProcessedIndex (#1570)' in Kalories._transfer(address,address,uint256) (#1478-1577) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1571)
Variable 'Kalories._transfer(address,address,uint256).claims (#1570)' in Kalories._transfer(address,address,uint256) (#1478-1577) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1571)
Variable 'Kalories._transfer(address,address,uint256).iterations (#1570)' in Kalories._transfer(address,address,uint256) (#1478-1577) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1571)
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 Kalories._transfer(address,address,uint256) (#1478-1577):
External calls:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- swapAndSendDividends(rewardTokens) (#1530)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1664)
- dividendTracker.distributeDividends(dividends) (#1667)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1636-1642)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
State variables written after the call(s):
- swapAndSendDividends(rewardTokens) (#1530)
- _allowances[owner][spender] = amount (#435)
Reentrancy in Kalories.constructor() (#1310-1342):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1321)
- uniswapV2Router = _uniswapV2Router (#1320)
Reentrancy in Kalories.constructor() (#1310-1342):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
- dividendTracker.excludeFromDividends(pair) (#1392)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1326)
- dividendTracker.excludeFromDividends(address(this)) (#1327)
- dividendTracker.excludeFromDividends(owner()) (#1328)
- dividendTracker.excludeFromDividends(deadWallet) (#1329)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1330)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 10)) (#1341)
- _balances[account] = _balances[account].add(amount) (#393)
- excludeFromFees(owner(),true) (#1333)
- _isExcludedFromFees[account] = excluded (#1376)
- excludeFromFees(_marketingWalletAddress,true) (#1334)
- _isExcludedFromFees[account] = excluded (#1376)
- excludeFromFees(address(this),true) (#1335)
- _isExcludedFromFees[account] = excluded (#1376)
- _mint(owner(),1000000000 * (10 ** 10)) (#1341)
- _totalSupply = _totalSupply.add(amount) (#392)
Reentrancy in KSTDividendTracker.processAccount(address,bool) (#1910-1920):
External calls:
- amount = _withdrawDividendOfUser(account) (#1911)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#609)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1914)
Reentrancy in Kalories.swapAndLiquify(uint256) (#1579-1605):
External calls:
- swapTokensForEth(half) (#1592)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1598)
- _allowances[owner][spender] = amount (#435)
Reentrancy in Kalories.swapAndLiquify(uint256) (#1579-1605):
External calls:
- swapTokensForEth(half) (#1592)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- swapTokensForEth(tokens.sub(liquidityTokens)) (#1601)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
State variables written after the call(s):
- swapTokensForEth(tokens.sub(liquidityTokens)) (#1601)
- _allowances[owner][spender] = amount (#435)
Reentrancy in Kalories.updateUniswapV2Router(address) (#1365-1372):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1369-1370)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1371)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Kalories._setAutomatedMarketMakerPair(address,bool) (#1387-1396):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1392)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1395)
Reentrancy in Kalories._transfer(address,address,uint256) (#1478-1577):
External calls:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- swapAndSendDividends(rewardTokens) (#1530)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1664)
- dividendTracker.distributeDividends(dividends) (#1667)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1636-1642)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#436)
- swapAndSendDividends(rewardTokens) (#1530)
- SendDividends(tokens,dividends) (#1668)
- swapAndSendDividends(rewardTokens) (#1530)
- Transfer(sender,recipient,amount) (#375)
- super._transfer(from,address(this),fees) (#1557)
- Transfer(sender,recipient,amount) (#375)
- super._transfer(from,to,amount) (#1562)
Reentrancy in Kalories._transfer(address,address,uint256) (#1478-1577):
External calls:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- swapAndSendDividends(rewardTokens) (#1530)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1664)
- dividendTracker.distributeDividends(dividends) (#1667)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1636-1642)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1564)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1565)
- dividendTracker.process(gas) (#1570-1575)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1571)
Reentrancy in Kalories.constructor() (#1310-1342):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
- dividendTracker.excludeFromDividends(pair) (#1392)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1395)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
Reentrancy in Kalories.constructor() (#1310-1342):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
- dividendTracker.excludeFromDividends(pair) (#1392)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1326)
- dividendTracker.excludeFromDividends(address(this)) (#1327)
- dividendTracker.excludeFromDividends(owner()) (#1328)
- dividendTracker.excludeFromDividends(deadWallet) (#1329)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1330)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1378)
- excludeFromFees(owner(),true) (#1333)
- ExcludeFromFees(account,excluded) (#1378)
- excludeFromFees(address(this),true) (#1335)
- ExcludeFromFees(account,excluded) (#1378)
- excludeFromFees(_marketingWalletAddress,true) (#1334)
- Transfer(address(0),account,amount) (#394)
- _mint(owner(),1000000000 * (10 ** 10)) (#1341)
Reentrancy in KSTDividendTracker.processAccount(address,bool) (#1910-1920):
External calls:
- amount = _withdrawDividendOfUser(account) (#1911)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (#609)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1915)
Reentrancy in Kalories.processDividendTracker(uint256) (#1460-1463):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1461)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1462)
Reentrancy in Kalories.swapAndLiquify(uint256) (#1579-1605):
External calls:
- swapTokensForEth(half) (#1592)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#436)
- addLiquidity(otherHalf,newBalance) (#1598)
Reentrancy in Kalories.swapAndLiquify(uint256) (#1579-1605):
External calls:
- swapTokensForEth(half) (#1592)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- swapTokensForEth(tokens.sub(liquidityTokens)) (#1601)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#436)
- swapTokensForEth(tokens.sub(liquidityTokens)) (#1601)
Reentrancy in Kalories.swapAndLiquify(uint256) (#1579-1605):
External calls:
- swapTokensForEth(half) (#1592)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- swapTokensForEth(tokens.sub(liquidityTokens)) (#1601)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1617-1623)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#1604)
Reentrancy in Kalories.swapAndSendDividends(uint256) (#1661-1670):
External calls:
- swapTokensForBUSD(tokens) (#1662)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1636-1642)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1664)
- dividendTracker.distributeDividends(dividends) (#1667)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1668)
Reentrancy in Kalories.updateDividendTracker(address) (#1348-1363):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1355)
- newDividendTracker.excludeFromDividends(address(this)) (#1356)
- newDividendTracker.excludeFromDividends(owner()) (#1357)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1358)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1360)
Apply the check-effects-interactions pattern.
Additional information: link
Kalories._transfer(address,address,uint256) (#1478-1577) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(cooldown[to] < block.timestamp) (#1494)
KSTDividendTracker.getAccount(address) (#1774-1817) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1814-1816)
KSTDividendTracker.canAutoClaim(uint256) (#1838-1844) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1839)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1843)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#16-19) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#660-666) is never used and should be removed
ERC20._setupDecimals(uint8) (#446-448) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#1152-1155) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1114-1117) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1172-1175) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#986-990) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#1022-1025) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#1032-1035) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#1007-1015) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#997-1000) is never used and should be removed
SafeMathInt.div(int256,int256) (#1195-1201) is never used and should be removed
SafeMathInt.mul(int256,int256) (#1185-1193) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.14 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.14 (#507) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version0.8.14 (#542) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.14 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
Parameter DividendPayingToken.dividendOf(address)._owner (#626) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#633) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#640) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#650) is not in mixedCase
Constant DividendPayingToken.magnitude (#569) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#734) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#735) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#752) is not in mixedCase
Function IUniswapV2Router01.WETH() (#772) is not in mixedCase
Parameter Kalories.setMaxBuyTransactionLimit(uint256)._newLimit (#1672) is not in mixedCase
Parameter Kalories.setMaxSellTransactionLimit(uint256)._newLimit (#1677) is not in mixedCase
Parameter Kalories.setSwapTokensAtAmount(uint256)._newLimit (#1682) is not in mixedCase
Parameter Kalories.setBuyFees(uint256,uint256,uint256)._rewardFee (#1690) is not in mixedCase
Parameter Kalories.setBuyFees(uint256,uint256,uint256)._marketingFee (#1690) is not in mixedCase
Parameter Kalories.setBuyFees(uint256,uint256,uint256)._liquidityFee (#1690) is not in mixedCase
Parameter Kalories.setSellFees(uint256,uint256,uint256)._rewardFee (#1698) is not in mixedCase
Parameter Kalories.setSellFees(uint256,uint256,uint256)._marketingFee (#1698) is not in mixedCase
Parameter Kalories.setSellFees(uint256,uint256,uint256)._liquidityFee (#1698) is not in mixedCase
Variable Kalories._marketingWalletAddress (#1261) is not in mixedCase
Parameter KSTDividendTracker.getAccount(address)._account (#1774) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Kalories._transfer(address,address,uint256) (#1478-1577):
External calls:
- swapAndLiquify(swapTokens) (#1526)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1526)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
State variables written after the call(s):
- swapAndSendDividends(rewardTokens) (#1530)
- _allowances[owner][spender] = amount (#435)
- super._transfer(from,address(this),fees) (#1557)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#373)
- _balances[recipient] = _balances[recipient].add(amount) (#374)
- super._transfer(from,to,amount) (#1562)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#373)
- _balances[recipient] = _balances[recipient].add(amount) (#374)
- swapping = false (#1532)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#436)
- swapAndSendDividends(rewardTokens) (#1530)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1571)
- SendDividends(tokens,dividends) (#1668)
- swapAndSendDividends(rewardTokens) (#1530)
- Transfer(sender,recipient,amount) (#375)
- super._transfer(from,address(this),fees) (#1557)
- Transfer(sender,recipient,amount) (#375)
- super._transfer(from,to,amount) (#1562)
Reentrancy in Kalories.swapAndLiquify(uint256) (#1579-1605):
External calls:
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1598)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1650-1657)
- _marketingWalletAddress.transfer(address(this).balance) (#1602)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#1604)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#777) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#778)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#605) is too similar to KSTDividendTracker.getAccount(address).withdrawableDividends (#1779)
Prevent variables from having similar names.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit 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
Twitter account has few posts