To be the all-inclusive decentralized NFT marketplace where NFT creators and enthusiasts can trade high-value tokenized assets, access a play2earn gaming network, and become a part of an expansive social community of NFT enthusiasts.
Story Behind UNSEA
UND (Uncle NFT dividends) is the governance token of UNC (Utility NFT coin) and it was created on January 1st, 2022 on the Binance Smart Chain. Uncle NFT created UND as an experiment to form his own private investment group of NFT enthusiasts and innovative market makers.
In a short period of time after Uncle NFT and his business partner who goes by “Da Glove”, joined forces with two experienced mastermind crypto investors named Ali and Mick, their combined visions started to come to life at an accelerated rate! As the top Holders of UND; Uncle NFT, Da Glove and West-Side became the “Three headed Monster” that led a new found “wolf-pack” of great thinkers who collectively assembled their skill-sets to build an all inclusive social media NFT marketplace called UNSEA.
The foundation of UNC that began with a small group of like minded crypto traders and NFT art collectors within the UND private group quickly grew into something with much more intrinsic value. The goal of the UND/UNC investment group is to build both tokens to be exponentially lucrative to hold because each produces stable tokens when they are farmed or pooled on the UNSEA DEX. As the governance token of UNC, the more UND you hold the more your constructive ideas will be taken into account when we develop our DAO.
The extensive use cases for UNC and UND will undoubtedly play a major role in why UNSEA will be one of the most influential NFT projects known to the crypto space and change the way we think of Non-Fungible tokens forever!
UNC.addLiquidity(uint256,uint256) (#1653-1668) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- swapTokensForEth(walletTokens) (#1533)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1544)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1673)
- dividendTracker.distributeUSDTDividends(dividends) (#1676)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1644-1650)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1566)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- super._transfer(from,to,amount) (#1571)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- swapping = false (#1546)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
DividendPayingToken._withdrawDividendOfUser(address) (#817-833) has external calls inside a loop: success = IERC20(USDT).transfer(user,_withdrawableDividend) (#822)
Favor pull over push strategy for external calls.
Additional information: link
UNC.deadWallet (#1199) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#791) shadows:
- ERC20._name (#303) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#791) shadows:
- ERC20._symbol (#304) (state variable)
DividendPayingToken.dividendOf(address)._owner (#839) shadows:
- Ownable._owner (#702) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#846) shadows:
- Ownable._owner (#702) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#853) shadows:
- Ownable._owner (#702) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#863) shadows:
- Ownable._owner (#702) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#817-833):
External calls:
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#822)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#825)
Reentrancy in UNC.updateDividendTracker(address) (#1314-1329):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1321)
- newDividendTracker.excludeFromDividends(address(this)) (#1322)
- newDividendTracker.excludeFromDividends(owner()) (#1323)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1324)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1328)
Apply the check-effects-interactions pattern.
Additional information: link
UNC._transfer(address,address,uint256).claims (#1579) is a local variable never initialized
UNC._transfer(address,address,uint256).iterations (#1579) is a local variable never initialized
UNC._transfer(address,address,uint256).lastProcessedIndex (#1579) 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
UNC.claim() (#1489-1491) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1490)
UNC._transfer(address,address,uint256) (#1502-1586) ignores return value by dividendTracker.process(gas) (#1579-1584)
UNC.addLiquidity(uint256,uint256) (#1653-1668) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
Ensure that all the return values of the function calls are used.
Additional information: link
UNC.setSwapTokensAtAmount(uint256) (#1355-1357) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (#1356)
UNC.setonSellFee(uint256,uint256,uint256,uint256) (#1367-1373) should emit an event for:
- onSellUSDTFee = rewardFee (#1368)
- onSellLiquidityFee = _liquidityFee (#1369)
- onSellMarketingFee = _marketingFee (#1370)
- onSellBuybackFee = _BuybackFee (#1371)
- onSellTotalFees = onSellUSDTFee.add(onSellLiquidityFee).add(onSellMarketingFee).add(onSellBuybackFee) (#1372)
UNC.setonBuyFee(uint256,uint256,uint256,uint256) (#1375-1381) should emit an event for:
- USDTFee = rewardFee (#1376)
- liquidityFee = _liquidityFee (#1377)
- marketingFee = _marketingFee (#1378)
- BuybackFee = _BuybackFee (#1379)
- totalFees = USDTFee.add(liquidityFee).add(marketingFee).add(BuybackFee) (#1380)
Emit an event for critical parameter changes.
Additional information: link
UNC.updateUniswapV2Router(address)._uniswapV2Pair (#1335-1336) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1337)
UNC.setMarketingWallet(address).wallet (#1359) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1360)
UNC.setBuybackWallet(address).wallet (#1363) lacks a zero-check on :
- _buybackWalletAddress = wallet (#1364)
Check that the address is not zero.
Additional information: link
Variable 'UNC._transfer(address,address,uint256).iterations (#1579)' in UNC._transfer(address,address,uint256) (#1502-1586) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1580)
Variable 'UNC._transfer(address,address,uint256).lastProcessedIndex (#1579)' in UNC._transfer(address,address,uint256) (#1502-1586) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1580)
Variable 'UNC._transfer(address,address,uint256).claims (#1579)' in UNC._transfer(address,address,uint256) (#1502-1586) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1580)
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 UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- swapTokensForEth(walletTokens) (#1533)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1541)
- _allowances[owner][spender] = amount (#547)
Reentrancy in UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- swapTokensForEth(walletTokens) (#1533)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1544)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1673)
- dividendTracker.distributeUSDTDividends(dividends) (#1676)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1644-1650)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1544)
- _allowances[owner][spender] = amount (#547)
Reentrancy in UNC.constructor() (#1275-1308):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1282-1283)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1286)
- uniswapV2Router = _uniswapV2Router (#1285)
Reentrancy in UNC.constructor() (#1275-1308):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1282-1283)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1288)
- dividendTracker.excludeFromDividends(pair) (#1401)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1291)
- dividendTracker.excludeFromDividends(address(this)) (#1292)
- dividendTracker.excludeFromDividends(owner()) (#1293)
- dividendTracker.excludeFromDividends(deadWallet) (#1294)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1295)
State variables written after the call(s):
- _mint(owner(),20000000000 * (10 ** 9)) (#1307)
- _balances[account] = _balances[account].add(amount) (#501)
- excludeFromFees(owner(),true) (#1298)
- _isExcludedFromFees[account] = excluded (#1342)
- excludeFromFees(_marketingWalletAddress,true) (#1299)
- _isExcludedFromFees[account] = excluded (#1342)
- excludeFromFees(_buybackWalletAddress,true) (#1300)
- _isExcludedFromFees[account] = excluded (#1342)
- excludeFromFees(address(this),true) (#1301)
- _isExcludedFromFees[account] = excluded (#1342)
- _mint(owner(),20000000000 * (10 ** 9)) (#1307)
- _totalSupply = _totalSupply.add(amount) (#500)
Reentrancy in UNCDividendTracker.processAccount(address,bool) (#1885-1895):
External calls:
- amount = _withdrawDividendOfUser(account) (#1886)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#822)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1889)
Reentrancy in UNC.swapAndLiquify(uint256) (#1589-1610):
External calls:
- swapTokensForEth(half) (#1601)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1607)
- _allowances[owner][spender] = amount (#547)
Reentrancy in UNC.updateUniswapV2Router(address) (#1331-1338):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1335-1336)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1337)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in UNC._setAutomatedMarketMakerPair(address,bool) (#1396-1405):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1401)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1404)
Reentrancy in UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- swapTokensForEth(walletTokens) (#1533)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- swapAndLiquify(swapTokens) (#1541)
- SwapAndLiquify(half,newBalance,otherHalf) (#1609)
- swapAndLiquify(swapTokens) (#1541)
Reentrancy in UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- swapTokensForEth(walletTokens) (#1533)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1544)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1673)
- dividendTracker.distributeUSDTDividends(dividends) (#1676)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1644-1650)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- swapAndSendDividends(sellTokens) (#1544)
- SendDividends(tokens,dividends) (#1677)
- swapAndSendDividends(sellTokens) (#1544)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,to,amount) (#1571)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,address(this),fees) (#1566)
Reentrancy in UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- swapTokensForEth(walletTokens) (#1533)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- swapAndSendDividends(sellTokens) (#1544)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1673)
- dividendTracker.distributeUSDTDividends(dividends) (#1676)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1644-1650)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1573)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1574)
- dividendTracker.process(gas) (#1579-1584)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1580)
Reentrancy in UNC.constructor() (#1275-1308):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1282-1283)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1288)
- dividendTracker.excludeFromDividends(pair) (#1401)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1404)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1288)
Reentrancy in UNC.constructor() (#1275-1308):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1282-1283)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1288)
- dividendTracker.excludeFromDividends(pair) (#1401)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1291)
- dividendTracker.excludeFromDividends(address(this)) (#1292)
- dividendTracker.excludeFromDividends(owner()) (#1293)
- dividendTracker.excludeFromDividends(deadWallet) (#1294)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1295)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1344)
- excludeFromFees(address(this),true) (#1301)
- ExcludeFromFees(account,excluded) (#1344)
- excludeFromFees(_buybackWalletAddress,true) (#1300)
- ExcludeFromFees(account,excluded) (#1344)
- excludeFromFees(_marketingWalletAddress,true) (#1299)
- ExcludeFromFees(account,excluded) (#1344)
- excludeFromFees(owner(),true) (#1298)
- Transfer(address(0),account,amount) (#502)
- _mint(owner(),20000000000 * (10 ** 9)) (#1307)
Reentrancy in UNCDividendTracker.processAccount(address,bool) (#1885-1895):
External calls:
- amount = _withdrawDividendOfUser(account) (#1886)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#822)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1890)
Reentrancy in UNC.processDividendTracker(uint256) (#1484-1487):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1485)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1486)
Reentrancy in UNC.swapAndLiquify(uint256) (#1589-1610):
External calls:
- swapTokensForEth(half) (#1601)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1624-1630)
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1607)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- addLiquidity(otherHalf,newBalance) (#1607)
- SwapAndLiquify(half,newBalance,otherHalf) (#1609)
Reentrancy in UNC.swapAndSendDividends(uint256) (#1670-1679):
External calls:
- swapTokensForUSDT(tokens) (#1671)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1644-1650)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1673)
- dividendTracker.distributeUSDTDividends(dividends) (#1676)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1677)
Reentrancy in UNC.updateDividendTracker(address) (#1314-1329):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1321)
- newDividendTracker.excludeFromDividends(address(this)) (#1322)
- newDividendTracker.excludeFromDividends(owner()) (#1323)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1324)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1326)
Apply the check-effects-interactions pattern.
Additional information: link
UNCDividendTracker.getAccount(address) (#1749-1792) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1789-1791)
UNCDividendTracker.canAutoClaim(uint256) (#1813-1819) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1814)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1818)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.6.12', '^0.6.2']
- ^0.6.12 (#3)
- ^0.6.2 (#1048)
Use one Solidity version.
Additional information: link
Context._msgData() (#120-123) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#873-879) is never used and should be removed
SafeMath.mod(uint256,uint256) (#247-249) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#263-266) is never used and should be removed
SafeMathInt.abs(int256) (#636-639) is never used and should be removed
SafeMathInt.div(int256,int256) (#607-613) is never used and should be removed
SafeMathInt.mul(int256,int256) (#595-602) is never used and should be removed
Remove unused functions.
Additional information: link
UNC.totalFees (#1214) is set pre-construction with a non-constant function or state variable:
- USDTFee.add(liquidityFee).add(marketingFee).add(BuybackFee)
UNC.onSellTotalFees (#1220) is set pre-construction with a non-constant function or state variable:
- onSellUSDTFee.add(onSellLiquidityFee).add(onSellMarketingFee).add(onSellBuybackFee)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.6.2 (#1048) allows old versions
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 (#839) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#846) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#853) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#863) is not in mixedCase
Variable DividendPayingToken.USDT (#765) is not in mixedCase
Constant DividendPayingToken.magnitude (#771) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#994) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#995) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1012) is not in mixedCase
Function IUniswapV2Router01.WETH() (#1052) is not in mixedCase
Parameter UNC.setonSellFee(uint256,uint256,uint256,uint256)._liquidityFee (#1367) is not in mixedCase
Parameter UNC.setonSellFee(uint256,uint256,uint256,uint256)._marketingFee (#1367) is not in mixedCase
Parameter UNC.setonSellFee(uint256,uint256,uint256,uint256)._BuybackFee (#1367) is not in mixedCase
Parameter UNC.setonBuyFee(uint256,uint256,uint256,uint256)._liquidityFee (#1375) is not in mixedCase
Parameter UNC.setonBuyFee(uint256,uint256,uint256,uint256)._marketingFee (#1375) is not in mixedCase
Parameter UNC.setonBuyFee(uint256,uint256,uint256,uint256)._BuybackFee (#1375) is not in mixedCase
Variable UNC.USDT (#1202) is not in mixedCase
Variable UNC._isBlacklisted (#1208) is not in mixedCase
Variable UNC.USDTFee (#1210) is not in mixedCase
Variable UNC.BuybackFee (#1213) is not in mixedCase
Variable UNC._marketingWalletAddress (#1222) is not in mixedCase
Variable UNC._buybackWalletAddress (#1223) is not in mixedCase
Parameter UNCDividendTracker.getAccount(address)._account (#1749) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#121)" inContext (#115-124)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in UNC._transfer(address,address,uint256) (#1502-1586):
External calls:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1537)
- address(_buybackWalletAddress).transfer(buybackShare) (#1538)
- swapAndLiquify(swapTokens) (#1541)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1659-1666)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1541)
- _allowances[owner][spender] = amount (#547)
- swapAndSendDividends(sellTokens) (#1544)
- _allowances[owner][spender] = amount (#547)
- super._transfer(from,address(this),fees) (#1566)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- super._transfer(from,to,amount) (#1571)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- swapping = false (#1546)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- swapAndLiquify(swapTokens) (#1541)
- Approval(owner,spender,amount) (#548)
- swapAndSendDividends(sellTokens) (#1544)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1580)
- SendDividends(tokens,dividends) (#1677)
- swapAndSendDividends(sellTokens) (#1544)
- SwapAndLiquify(half,newBalance,otherHalf) (#1609)
- swapAndLiquify(swapTokens) (#1541)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,address(this),fees) (#1566)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,to,amount) (#1571)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1057) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1058)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#818) is too similar to UNCDividendTracker.getAccount(address).withdrawableDividends (#1754)
Prevent variables from having similar names.
Additional information: link
UNC.constructor() (#1275-1308) uses literals with too many digits:
- _mint(owner(),20000000000 * (10 ** 9)) (#1307)
UNC.updateGasForProcessing(uint256) (#1408-1413) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 800000,UNC: gasForProcessing must be between 200,000 and 500,000) (#1409)
UNC.slitherConstructorVariables() (#1189-1680) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1199)
UNC.slitherConstructorVariables() (#1189-1680) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 9) (#1205)
UNC.slitherConstructorVariables() (#1189-1680) uses literals with too many digits:
- gasForProcessing = 300000 (#1227)
UNCDividendTracker.constructor() (#1702-1705) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 9) (#1704)
UNCDividendTracker.getAccountAtIndex(uint256) (#1794-1811) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1805)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#590) is never used in SafeMathInt (#588-646)
Remove unused state variables.
Additional information: link
name() should be declared external:
- ERC20.name() (#323-325)
symbol() should be declared external:
- ERC20.symbol() (#331-333)
decimals() should be declared external:
- ERC20.decimals() (#348-350)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#374-377)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#382-384)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#393-396)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#411-419)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#433-436)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#452-455)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#737-740)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#746-750)
distributeUSDTDividends(uint256) should be declared external:
- DividendPayingToken.distributeUSDTDividends(uint256) (#796-807)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#811-813)
- UNCDividendTracker.withdrawDividend() (#1711-1713)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#839-841)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#853-855)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#926-928)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#930-935)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#937-939)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#943-945)
updateDividendTracker(address) should be declared external:
- UNC.updateDividendTracker(address) (#1314-1329)
updateUniswapV2Router(address) should be declared external:
- UNC.updateUniswapV2Router(address) (#1331-1338)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- UNC.excludeMultipleAccountsFromFees(address[],bool) (#1347-1353)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- UNC.setAutomatedMarketMakerPair(address,bool) (#1385-1389)
updateGasForProcessing(uint256) should be declared external:
- UNC.updateGasForProcessing(uint256) (#1408-1413)
isExcludedFromFees(address) should be declared external:
- UNC.isExcludedFromFees(address) (#1427-1429)
withdrawableDividendOf(address) should be declared external:
- UNC.withdrawableDividendOf(address) (#1431-1433)
dividendTokenBalanceOf(address) should be declared external:
- UNC.dividendTokenBalanceOf(address) (#1435-1437)
getAccountAtIndex(uint256) should be declared external:
- UNCDividendTracker.getAccountAtIndex(uint256) (#1794-1811)
process(uint256) should be declared external:
- UNCDividendTracker.process(uint256) (#1838-1883)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 18% buy tax and 19% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find PancakeSwap trading pair to compute volume.
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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank