stableUP
Stable up is the birth of an ecosystem and a crypto club community. Earn WL spots for all different types of projects, from NFTs to Farming, to meme tokens and others, just by holding. Not to mention 5% BUSD on all transactions will pump your wallet while people buy their whitelist positions.
5% BUSD rewards
5% marketing
2% LP provision.
NFT staking, coming soon
Vaults, coming soon
StableUP is meant to offer stability in this very volatile market. During turbulent market fluctuations it is critical to Stable UP. StableUP provides your wallet with stablecoins during market volatility so you have an opportunity to buy the dips, or hold tight for the right time to
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
stableUp.swapAndSendDividends(uint256) (#1749-1802) sends eth to arbitrary user
Dangerous calls:
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
- stableUpContract.transfer(account,received) (#2217)
External calls sending eth:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
State variables written after the call(s):
- withdrawnDividends[account] = withdrawnDividends[account].sub(_withdrawableDividend) (#2226-2228)
Reentrancy in stableUp._transfer(address,address,uint256) (#1518-1665):
External calls:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- swapAndSendDividends(remainingBalance) (#1626)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- swapAndSendDividends(remainingBalance) (#1626)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1642)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#333-336)
- _balances[recipient] = _balances[recipient].add(amount) (#337)
- buyAmount = 0 (#1627)
- buyAmount = buyAmount.add(fees) (#1639)
- sellAmount = 0 (#1628)
- sellAmount = sellAmount.add(fees) (#1637)
- swapping = false (#1629)
Reentrancy in stableUp._transfer(address,address,uint256) (#1518-1665):
External calls:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- swapAndSendDividends(remainingBalance) (#1626)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
- dividendTracker.process(gas) (#1646-1659)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- swapAndSendDividends(remainingBalance) (#1626)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
State variables written after the call(s):
- super._transfer(from,to,amount) (#1662)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#333-336)
- _balances[recipient] = _balances[recipient].add(amount) (#337)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#908-935):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#919-922)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#925-927)
Reentrancy in stableUpDividendTracker._withdrawDividendOfUser(address) (#2238-2289):
External calls:
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#2279-2281)
Reentrancy in stableUp.forceSwapAndSendDividends(uint256) (#1738-1747):
External calls:
- swapAndSendDividends(tokens) (#1743)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
External calls sending eth:
- swapAndSendDividends(tokens) (#1743)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
State variables written after the call(s):
- buyAmount = buyAmount.sub(fromBuy) (#1745)
- sellAmount = sellAmount.sub(fromSell) (#1746)
Apply the check-effects-interactions pattern.
Additional information: link
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) ignores return value by stableUpContract.transfer(account,received) (#2217)
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.
stableUp._transfer(address,address,uint256) (#1518-1665) performs a multiplication on the result of a division:
-swapAmountBought = contractTokenBalance.mul(buyAmount).div(totalBuySell) (#1605-1607)
-swapBuyTokens = swapAmountBought.mul(liquidityFee).div(totalBuyFees) (#1612-1614)
stableUp._transfer(address,address,uint256) (#1518-1665) performs a multiplication on the result of a division:
-swapAmountSold = contractTokenBalance.mul(sellAmount).div(totalBuySell) (#1608-1610)
-swapSellTokens = swapAmountSold.mul(liquidityFee).div(totalSellFees) (#1616-1618)
stableUp.swapAndSendDividends(uint256) (#1749-1802) performs a multiplication on the result of a division:
-dividendsFromBuy = address(this).balance.mul(buyAmount).div(totalAmount).mul(buyRewardsFee).div(buyRewardsFee.add(buyDeadFees + buyMarketingFees)) (#1756-1761)
stableUp.swapAndSendDividends(uint256) (#1749-1802) performs a multiplication on the result of a division:
-dividendsFromSell = address(this).balance.mul(sellAmount).div(totalAmount).mul(sellRewardsFee).div(sellRewardsFee.add(sellDeadFees + sellMarketingFees)) (#1763-1768)
stableUp.swapAndSendDividends(uint256) (#1749-1802) performs a multiplication on the result of a division:
-feePortions = address(this).balance.div(_marketDeadTotal) (#1782)
-deadPayout = buyDeadFees.add(sellDeadFees) * feePortions (#1786)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in stableUp.transferAdmin(address) (#1353-1358):
External calls:
- dividendTracker.excludeFromDividends(newOwner) (#1354)
State variables written after the call(s):
- transferOwnership(newOwner) (#1357)
- _owner = newOwner (#601)
Apply the check-effects-interactions pattern.
Additional information: link
stableUp._transfer(address,address,uint256) (#1518-1665) uses tx.origin for authorization: require(bool,string)(block.timestamp >= _holderLastTransferTimestamp[tx.origin] + cooldowntimer,cooldown period active) (#1558-1561)
stableUp._transfer(address,address,uint256) (#1518-1665) uses tx.origin for authorization: require(bool,string)(_holderLastTransferBlock[tx.origin] != block.number,Too many TX in block) (#1575-1578)
stableUp._transfer(address,address,uint256) (#1518-1665) uses tx.origin for authorization: require(bool,string)(block.timestamp >= _holderLastTransferTimestamp[tx.origin] + cooldowntimer,cooldown period active) (#1579-1582)
Do not use tx.origin for authorization.
Additional information: link
stableUpDividendTracker._reinvestDividendOfUser(address).success (#2188) is a local variable never initialized
stableUp.swapAndSendDividends(uint256).feePortions (#1780) is a local variable never initialized
stableUp._transfer(address,address,uint256).lastProcessedIndex (#1649) is a local variable never initialized
stableUpDividendTracker._withdrawDividendOfUser(address).success (#2250) is a local variable never initialized
stableUp._transfer(address,address,uint256).iterations (#1647) is a local variable never initialized
stableUp._transfer(address,address,uint256).claims (#1648) 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
stableUp.constructor() (#1142-1201) ignores return value by dividendTracker.excludedFromDividends(address(0)) (#1185)
stableUp.claim() (#1482-1484) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1483)
stableUp._transfer(address,address,uint256) (#1518-1665) ignores return value by dividendTracker.process(gas) (#1646-1659)
stableUp.addLiquidity(uint256,uint256) (#1723-1736) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#881) shadows:
- ERC20._name (#213) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#881) shadows:
- ERC20._symbol (#214) (state variable)
stableUpDividendTracker.constructor(address,address,address,string,string)._name (#1869) shadows:
- ERC20._name (#213) (state variable)
Rename the local variables that shadow another component.
Additional information: link
stableUp.setcooldowntimer(uint256) (#1271-1274) should emit an event for:
- cooldowntimer = value (#1273)
stableUp.setmaxWallet(uint256) (#1277-1280) should emit an event for:
- maxWallet = value (#1279)
stableUp.setSwapTriggerAmount(uint256) (#1312-1314) should emit an event for:
- swapTokensAtAmount = amount (#1313)
stableUp.forceSwapAndSendDividends(uint256) (#1738-1747) should emit an event for:
- buyAmount = buyAmount.sub(fromBuy) (#1745)
- sellAmount = sellAmount.sub(fromSell) (#1746)
Emit an event for critical parameter changes.
Additional information: link
stableUp.setMarketingWallet(address).wallet (#1233) lacks a zero-check on :
- marketingWallet = address(wallet) (#1236)
Ownable.constructor().msgSender (#576) lacks a zero-check on :
- _owner = msgSender (#577)
stableUpDividendTracker.constructor(address,address,address,string,string).token (#1868) lacks a zero-check on :
- defaultToken = token (#1874)
stableUpDividendTracker.updatePayoutToken(address).token (#2174) lacks a zero-check on :
- defaultToken = token (#2175)
Check that the address is not zero.
Additional information: link
stableUp.airdropToWallets(address[],uint256[]) (#1804-1818) has external calls inside a loop: dividendTracker.setBalance(address(wallet),balanceOf(wallet)) (#1816)
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) has external calls inside a loop: path[0] = uniswapV2Router.WETH() (#2195)
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) has external calls inside a loop: prevBalance = stableUpContract.balanceOf(address(this)) (#2198)
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) has external calls inside a loop: uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) has external calls inside a loop: received = stableUpContract.balanceOf(address(this)).sub(prevBalance) (#2212-2214)
stableUpDividendTracker._reinvestDividendOfUser(address) (#2182-2236) has external calls inside a loop: stableUpContract.transfer(account,received) (#2217)
stableUpDividendTracker._withdrawDividendOfUser(address) (#2238-2289) has external calls inside a loop: (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
stableUpDividendTracker._withdrawDividendOfUser(address) (#2238-2289) has external calls inside a loop: path[0] = uniswapV2Router.WETH() (#2259)
stableUpDividendTracker._withdrawDividendOfUser(address) (#2238-2289) has external calls inside a loop: uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'stableUp._transfer(address,address,uint256).claims (#1648)' in stableUp._transfer(address,address,uint256) (#1518-1665) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1651-1658)
Variable 'stableUp._transfer(address,address,uint256).iterations (#1647)' in stableUp._transfer(address,address,uint256) (#1518-1665) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1651-1658)
Variable 'stableUp._transfer(address,address,uint256).lastProcessedIndex (#1649)' in stableUp._transfer(address,address,uint256) (#1518-1665) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1651-1658)
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 stableUp._transfer(address,address,uint256) (#1518-1665):
External calls:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- swapAndSendDividends(remainingBalance) (#1626)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- swapAndSendDividends(remainingBalance) (#1626)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
State variables written after the call(s):
- swapAndSendDividends(remainingBalance) (#1626)
- _allowances[owner][spender] = amount (#372)
Reentrancy in stableUp.constructor() (#1142-1201):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1174-1177)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1179)
- dividendTracker.excludeFromDividends(pair) (#1341)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1179)
- automatedMarketMakerPairs[pair] = value (#1338)
Reentrancy in stableUp.constructor() (#1142-1201):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1174-1177)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1179)
- dividendTracker.excludeFromDividends(pair) (#1341)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1182)
- dividendTracker.excludeFromDividends(address(this)) (#1183)
- dividendTracker.excludeFromDividends(DEAD) (#1184)
- dividendTracker.excludeFromDividends(router) (#1186)
- dividendTracker.excludeFromDividends(marketingWallet) (#1187)
- dividendTracker.excludeFromDividends(owner()) (#1188)
State variables written after the call(s):
- _mint(owner(),totalTokenSupply) (#1196)
- _balances[account] = _balances[account].add(amount) (#347)
- _isExcludedFromFees[address(this)] = true (#1191)
- _isExcludedFromFees[address(dividendTracker)] = true (#1192)
- _isExcludedFromFees[msg.sender] = true (#1193)
- _mint(owner(),totalTokenSupply) (#1196)
- _totalSupply = _totalSupply.add(amount) (#346)
- canTransferBeforeTradingIsEnabled[owner()] = true (#1199)
- canTransferBeforeTradingIsEnabled[address(this)] = true (#1200)
- maxWallet = totalTokenSupply / 50 (#1197)
- swapTokensAtAmount = totalTokenSupply / 400 (#1198)
Reentrancy in stableUpDividendTracker.processAccount(address,bool) (#2138-2168):
External calls:
- amount = _reinvestDividendOfUser(account) (#2153-2155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
- stableUpContract.transfer(account,received) (#2217)
- amount = _withdrawDividendOfUser(account) (#2153-2155)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
External calls sending eth:
- amount = _reinvestDividendOfUser(account) (#2153-2155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
- amount = _withdrawDividendOfUser(account) (#2153-2155)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2158)
Reentrancy in stableUp.setMarketingWallet(address) (#1233-1238):
External calls:
- dividendTracker.excludeFromDividends(wallet) (#1235)
State variables written after the call(s):
- marketingWallet = address(wallet) (#1236)
Reentrancy in stableUp.swapAndLiquify(uint256) (#1676-1684):
External calls:
- swapTokensForEth(half) (#1680)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1682)
- _allowances[owner][spender] = amount (#372)
Reentrancy in stableUp.transferAdmin(address) (#1353-1358):
External calls:
- dividendTracker.excludeFromDividends(newOwner) (#1354)
State variables written after the call(s):
- _isExcludedFromFees[newOwner] = true (#1355)
- canTransferBeforeTradingIsEnabled[newOwner] = true (#1356)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in stableUp._setAutomatedMarketMakerPair(address,bool) (#1337-1345):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1341)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1344)
Reentrancy in stableUp._transfer(address,address,uint256) (#1518-1665):
External calls:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- swapAndSendDividends(remainingBalance) (#1626)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- swapAndSendDividends(remainingBalance) (#1626)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#373)
- swapAndSendDividends(remainingBalance) (#1626)
- SendDividends(dividends,deadPayout + marketingPayout,success && successOp1 && successOp2) (#1797-1801)
- swapAndSendDividends(remainingBalance) (#1626)
- Transfer(sender,recipient,amount) (#338)
- super._transfer(from,address(this),fees) (#1642)
Reentrancy in stableUp._transfer(address,address,uint256) (#1518-1665):
External calls:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- swapAndSendDividends(remainingBalance) (#1626)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
- dividendTracker.process(gas) (#1646-1659)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
- swapAndSendDividends(remainingBalance) (#1626)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1651-1658)
- Transfer(sender,recipient,amount) (#338)
- super._transfer(from,to,amount) (#1662)
Reentrancy in stableUpDividendTracker._withdrawDividendOfUser(address) (#2238-2289):
External calls:
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
Event emitted after the call(s):
- DividendWithdrawn(user,_withdrawableDividend) (#2284)
Reentrancy in stableUp.constructor() (#1142-1201):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1174-1177)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1179)
- dividendTracker.excludeFromDividends(pair) (#1341)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1344)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1179)
Reentrancy in stableUp.constructor() (#1142-1201):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1174-1177)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1179)
- dividendTracker.excludeFromDividends(pair) (#1341)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1182)
- dividendTracker.excludeFromDividends(address(this)) (#1183)
- dividendTracker.excludeFromDividends(DEAD) (#1184)
- dividendTracker.excludeFromDividends(router) (#1186)
- dividendTracker.excludeFromDividends(marketingWallet) (#1187)
- dividendTracker.excludeFromDividends(owner()) (#1188)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#348)
- _mint(owner(),totalTokenSupply) (#1196)
Reentrancy in stableUpDividendTracker.processAccount(address,bool) (#2138-2168):
External calls:
- amount = _reinvestDividendOfUser(account) (#2153-2155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
- stableUpContract.transfer(account,received) (#2217)
- amount = _withdrawDividendOfUser(account) (#2153-2155)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
External calls sending eth:
- amount = _reinvestDividendOfUser(account) (#2153-2155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2201-2223)
- amount = _withdrawDividendOfUser(account) (#2153-2155)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2261-2275)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2162)
- DividendReinvested(account,amount,automatic) (#2160)
Reentrancy in stableUp.processDividendTracker(uint256) (#1466-1480):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1467-1471)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1472-1479)
Reentrancy in stableUp.setMarketingWallet(address) (#1233-1238):
External calls:
- dividendTracker.excludeFromDividends(wallet) (#1235)
Event emitted after the call(s):
- updateMarketingWallet(wallet) (#1237)
Reentrancy in stableUp.setPresaleWallet(address) (#1226-1231):
External calls:
- dividendTracker.excludeFromDividends(wallet) (#1229)
Event emitted after the call(s):
- SetPreSaleWallet(wallet) (#1230)
Reentrancy in stableUp.stake(uint256) (#1295-1309):
External calls:
- dividendTracker.setBalance(_msgSender(),getStakingBalance(_msgSender())) (#1304-1307)
Event emitted after the call(s):
- EnableAccountStaking(_msgSender(),duration) (#1308)
Reentrancy in stableUp.swapAndLiquify(uint256) (#1676-1684):
External calls:
- swapTokensForEth(half) (#1680)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1682)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1728-1735)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#373)
- addLiquidity(otherHalf,newBalance) (#1682)
- SwapAndLiquify(half,newBalance,otherHalf) (#1683)
Reentrancy in stableUp.swapAndSendDividends(uint256) (#1749-1802):
External calls:
- swapTokensForEth(tokens) (#1753)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1691-1697)
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
External calls sending eth:
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
Event emitted after the call(s):
- SendDividends(dividends,deadPayout + marketingPayout,success && successOp1 && successOp2) (#1797-1801)
Reentrancy in stableUp.transferAdmin(address) (#1353-1358):
External calls:
- dividendTracker.excludeFromDividends(newOwner) (#1354)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#600)
- transferOwnership(newOwner) (#1357)
Reentrancy in stableUp.updatePayoutToken(address) (#1700-1703):
External calls:
- dividendTracker.updatePayoutToken(token) (#1701)
Event emitted after the call(s):
- UpdatePayoutToken(token) (#1702)
Apply the check-effects-interactions pattern.
Additional information: link
stableUp.stake(uint256) (#1295-1309) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(stakingUntilDate[_msgSender()] < block.timestamp.add(duration),already staked for a longer duration) (#1298-1301)
stableUp._transfer(address,address,uint256) (#1518-1665) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(stakingUntilDate[from] <= block.timestamp,Tokens are staked and locked!) (#1541-1544)
- stakingUntilDate[from] != 0 (#1545)
- require(bool,string)(block.timestamp >= _holderLastTransferTimestamp[tx.origin] + cooldowntimer,cooldown period active) (#1558-1561)
- require(bool,string)(block.timestamp >= _holderLastTransferTimestamp[tx.origin] + cooldowntimer,cooldown period active) (#1579-1582)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#973-988) is never used and should be removed
DividendPayingToken._withdrawDividendOfUser(address) (#908-935) is never used and should be removed
IterableMapping.get(IterableMapping.Map,address) (#2301-2303) is never used and should be removed
SafeMath.mod(uint256,uint256) (#541-543) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#557-564) is never used and should be removed
SafeMathInt.abs(int256) (#638-641) is never used and should be removed
SafeMathInt.div(int256,int256) (#618-624) is never used and should be removed
SafeMathInt.mul(int256,int256) (#609-616) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.11 (#13) 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
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#908-935):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#919-922)
Low level call in stableUp.swapAndSendDividends(uint256) (#1749-1802):
- (success,None) = address(dividendTracker).call{value: dividends}() (#1775)
- (successOp1,None) = address(DEAD).call{value: deadPayout}() (#1789)
- (successOp2,None) = address(marketingWallet).call{value: marketingPayout}() (#1792-1794)
Low level call in stableUpDividendTracker._withdrawDividendOfUser(address) (#2238-2289):
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2253-2256)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#59) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#61) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#92) is not in mixedCase
Function IUniswapV2Router01.WETH() (#660) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#937) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#941) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#950) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#959) is not in mixedCase
Constant DividendPayingToken.magnitude (#872) is not in UPPER_CASE_WITH_UNDERSCORES
Contract stableUp (#1019-1819) is not in CapWords
Event stableUpupdateMarketingWallet(address) (#1088) is not in CapWords
Function stableUp.Sweep() (#1283-1286) is not in mixedCase
Parameter stableUp.updateFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256).RewardsBuy (#1367) is not in mixedCase
Parameter stableUp.updateFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256).RewardsSell (#1368) is not in mixedCase
Variable stableUp.DEAD (#1025) is not in mixedCase
Contract stableUpDividendTracker (#1821-2290) is not in CapWords
Parameter stableUpDividendTracker.getAccount(address)._account (#1991) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#15-24)
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 (#665) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#666)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#913) is too similar to stableUpDividendTracker.getAccount(address).withdrawableDividends (#1998)
Variable stableUpDividendTracker._withdrawDividendOfUser(address)._withdrawableDividend (#2243) is too similar to stableUpDividendTracker.getAccount(address).withdrawableDividends (#1998)
Variable stableUpDividendTracker._reinvestDividendOfUser(address)._withdrawableDividend (#2186) is too similar to stableUpDividendTracker.getAccount(address).withdrawableDividends (#1998)
Prevent variables from having similar names.
Additional information: link
stableUp.updateGasForProcessing(uint256) (#1347-1351) uses literals with too many digits:
- require(bool)(newValue >= 200000 && newValue <= 1000000) (#1348)
stableUp.slitherConstructorVariables() (#1019-1819) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#1025)
stableUp.slitherConstructorVariables() (#1019-1819) uses literals with too many digits:
- gasForProcessing = 300000 (#1055)
stableUpDividendTracker.constructor(address,address,address,string,string) (#1865-1882) uses literals with too many digits:
- minimumTokenBalanceForAutoDividends = 10_000_000000000000000000 (#1876)
stableUpDividendTracker.getAccountAtIndex(uint256) (#2032-2058) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0) (#2045-2052)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#607) is never used in SafeMathInt (#605-647)
Remove unused state variables.
Additional information: link
stableUp.DEAD (#1025) should be constant
stableUp.gasPriceLimit (#1074) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#221-223)
- stableUpDividendTracker.name() (#1888-1890)
symbol() should be declared external:
- ERC20.symbol() (#225-227)
- stableUpDividendTracker.symbol() (#1892-1894)
decimals() should be declared external:
- ERC20.decimals() (#229-231)
- stableUp.decimals() (#1203-1205)
- stableUpDividendTracker.decimals() (#1884-1886)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#247-255)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#257-265)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#267-275)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#277-292)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#294-305)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#307-321)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#590-593)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#904-906)
- stableUpDividendTracker.withdrawDividend() (#1904-1909)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#937-939)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#950-957)
updateStakingAmounts(uint256,uint256) should be declared external:
- stableUp.updateStakingAmounts(uint256,uint256) (#1209-1217)
setExcludeFees(address,bool) should be declared external:
- stableUp.setExcludeFees(address,bool) (#1241-1244)
setExcludeDividends(address) should be declared external:
- stableUp.setExcludeDividends(address) (#1247-1249)
setIncludeDividends(address) should be declared external:
- stableUp.setIncludeDividends(address) (#1252-1255)
enableStaking(bool) should be declared external:
- stableUp.enableStaking(bool) (#1289-1293)
stake(uint256) should be declared external:
- stableUp.stake(uint256) (#1295-1309)
setSwapTriggerAmount(uint256) should be declared external:
- stableUp.setSwapTriggerAmount(uint256) (#1312-1314)
enableSwapAndLiquify(bool) should be declared external:
- stableUp.enableSwapAndLiquify(bool) (#1316-1320)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- stableUp.setAutomatedMarketMakerPair(address,bool) (#1322-1327)
setAllowCustomTokens(bool) should be declared external:
- stableUp.setAllowCustomTokens(bool) (#1329-1331)
setAllowAutoReinvest(bool) should be declared external:
- stableUp.setAllowAutoReinvest(bool) (#1333-1335)
updateGasForProcessing(uint256) should be declared external:
- stableUp.updateGasForProcessing(uint256) (#1347-1351)
transferAdmin(address) should be declared external:
- stableUp.transferAdmin(address) (#1353-1358)
updateFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) should be declared external:
- stableUp.updateFees(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#1360-1402)
isExcludedFromFees(address) should be declared external:
- stableUp.isExcludedFromFees(address) (#1416-1418)
withdrawableDividendOf(address) should be declared external:
- stableUp.withdrawableDividendOf(address) (#1420-1426)
dividendTokenBalanceOf(address) should be declared external:
- stableUp.dividendTokenBalanceOf(address) (#1428-1434)
updatePayoutToken(address) should be declared external:
- stableUp.updatePayoutToken(address) (#1700-1703)
getPayoutToken() should be declared external:
- stableUp.getPayoutToken() (#1705-1707)
setMinimumTokenBalanceForAutoDividends(uint256) should be declared external:
- stableUp.setMinimumTokenBalanceForAutoDividends(uint256) (#1709-1714)
setMinimumTokenBalanceForDividends(uint256) should be declared external:
- stableUp.setMinimumTokenBalanceForDividends(uint256) (#1716-1721)
forceSwapAndSendDividends(uint256) should be declared external:
- stableUp.forceSwapAndSendDividends(uint256) (#1738-1747)
getAccountAtIndex(uint256) should be declared external:
- stableUpDividendTracker.getAccountAtIndex(uint256) (#2032-2058)
process(uint256) should be declared external:
- stableUpDividendTracker.process(uint256) (#2084-2136)
updateUniswapV2Router(address) should be declared external:
- stableUpDividendTracker.updateUniswapV2Router(address) (#2170-2172)
updatePayoutToken(address) should be declared external:
- stableUpDividendTracker.updatePayoutToken(address) (#2174-2176)
getPayoutToken() should be declared external:
- stableUpDividendTracker.getPayoutToken() (#2178-2180)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
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
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
Telegram account has relatively few subscribers
Unable to find Youtube account