Rising Sun Token Logo

SUN [Rising Sun] Token

About SUN

Listings

Token 2 years
CoinMarketCap 2 years
white paper

TEAM IS FULLY DOXXED ON WEBSITE...... The Rising Sun project is focused on building generational wealth and providing passive income for our investors through cryptocurrency and leveraging utilities we can bring to our platform creating an ecosystem of wealth. Rising Sun aims to give investors multiple opportunities to invest in our growing ecosystem making it suitable for every kind of investor whether it is short term or long term.

Social

Laser Scorebeta Last Audit: 11 June 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Reentrancy in RisingSun._transfer(address,address,uint256) (#2050-2104):
External calls:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2156-2162)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- marketingWallet.transfer(marketingAmount) (#2131)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2086)
- _balances[sender] = senderBalance - amount (#1032)
- _balances[recipient] += amount (#1034)
- super._transfer(from,to,amount) (#2089)
- _balances[sender] = senderBalance - amount (#1032)
- _balances[recipient] += amount (#1034)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1421-1437):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1426)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1429)
Apply the check-effects-interactions pattern.

Additional information: link

SafeToken.withdraw(address,uint256) (#1739-1742) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1741)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

RisingSun.swapAndLiquify(uint256) (#2106-2141) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(marketingAmount) (#2131)
RisingSun.addLiquidity(uint256,uint256) (#2171-2183) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

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.


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.

RisingSun.swapAndLiquify(uint256) (#2106-2141) performs a multiplication on the result of a division:
-tokensToAddLiquidityWith = contractTokenBalance.div(totalFees.mul(2)).mul(liquidityFee) (#2109)
RisingSun.swapAndLiquify(uint256) (#2106-2141) performs a multiplication on the result of a division:
-marketingAmount = deltaBalance.sub(bnbToAddLiquidityWith).div(totalFees.sub(liquidityFee)).mul(marketingFee) (#2130)
Consider ordering multiplication before division.

Additional information: link

RisingSun._transfer(address,address,uint256).iterations (#2097) is a local variable never initialized
RisingSun._transfer(address,address,uint256).claims (#2097) is a local variable never initialized
RisingSun._transfer(address,address,uint256).lastProcessedIndex (#2097) 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

RisingSun.claim() (#2028-2030) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#2029)
RisingSun._transfer(address,address,uint256) (#2050-2104) ignores return value by dividendTracker.process(gas) (#2097-2102)
RisingSun.addLiquidity(uint256,uint256) (#2171-2183) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#1378) shadows:
- ERC20._name (#840) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1378) shadows:
- ERC20._symbol (#841) (state variable)
Rename the local variables that shadow another component.

Additional information: link

RisingSun.setFee(uint256,uint256,uint256) (#1843-1850) should emit an event for:
- liquidityFee = _liquidityFee (#1845)
- marketingFee = _marketingFee (#1846)
- totalFees = BNBRewardsFee.add(liquidityFee).add(marketingFee) (#1848)
RisingSun.setExtraFeeOnSell(uint256) (#1852-1854) should emit an event for:
- extraFeeOnSell = _extraFeeOnSell (#1853)
RisingSun.setSWapToensAtAmount(uint256) (#1947-1949) should emit an event for:
- swapTokensAtAmount = _newAmount (#1948)
Emit an event for critical parameter changes.

Additional information: link

SafeToken.setSafeManager(address)._safeManager (#1735) lacks a zero-check on :
- safeManager = _safeManager (#1736)
RisingSun.setMarketingWallet(address)._newMarketingWallet (#1856) lacks a zero-check on :
- marketingWallet = _newMarketingWallet (#1857)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#1421-1437) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1426)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'RisingSun._transfer(address,address,uint256).lastProcessedIndex (#2097)' in RisingSun._transfer(address,address,uint256) (#2050-2104) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2098)
Variable 'RisingSun._transfer(address,address,uint256).claims (#2097)' in RisingSun._transfer(address,address,uint256) (#2050-2104) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2098)
Variable 'RisingSun._transfer(address,address,uint256).iterations (#2097)' in RisingSun._transfer(address,address,uint256) (#2050-2104) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2098)
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 RisingSun.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1877)
- uniswapV2Router = _uniswapV2Router (#1876)
Reentrancy in RisingSun.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
- dividendTracker.excludeFromDividends(pair) (#1956)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1882)
- dividendTracker.excludeFromDividends(address(this)) (#1883)
- dividendTracker.excludeFromDividends(owner()) (#1884)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1885)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1886)
State variables written after the call(s):
- _mint(owner(),1e20 * (10 ** 9)) (#1903)
- _balances[account] += amount (#1056)
- excludeFromFees(owner(),true) (#1889)
- _isExcludedFromFees[account] = excluded (#1918)
- excludeFromFees(marketingWallet,true) (#1890)
- _isExcludedFromFees[account] = excluded (#1918)
- excludeFromFees(address(this),true) (#1891)
- _isExcludedFromFees[account] = excluded (#1918)
- _isExcludedFromMaxTx[owner()] = true (#1894)
- _isExcludedFromMaxTx[address(this)] = true (#1895)
- _isExcludedFromMaxTx[marketingWallet] = true (#1896)
- _mint(owner(),1e20 * (10 ** 9)) (#1903)
- _totalSupply += amount (#1055)
Reentrancy in SUNDividendTracker.processAccount(address,bool) (#1715-1725):
External calls:
- amount = _withdrawDividendOfUser(account) (#1716)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1426)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1719)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in RisingSun._setAutomatedMarketMakerPair(address,bool) (#1951-1960):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1956)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1959)
Reentrancy in RisingSun._transfer(address,address,uint256) (#2050-2104):
External calls:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2156-2162)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- marketingWallet.transfer(marketingAmount) (#2131)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#1036)
- super._transfer(from,address(this),fees) (#2086)
- Transfer(sender,recipient,amount) (#1036)
- super._transfer(from,to,amount) (#2089)
Reentrancy in RisingSun._transfer(address,address,uint256) (#2050-2104):
External calls:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2156-2162)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#2091)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#2092)
- dividendTracker.process(gas) (#2097-2102)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- marketingWallet.transfer(marketingAmount) (#2131)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2098)
Reentrancy in RisingSun.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
- dividendTracker.excludeFromDividends(pair) (#1956)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1959)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
Reentrancy in RisingSun.constructor() (#1860-1904):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1873-1874)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1879)
- dividendTracker.excludeFromDividends(pair) (#1956)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1882)
- dividendTracker.excludeFromDividends(address(this)) (#1883)
- dividendTracker.excludeFromDividends(owner()) (#1884)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1885)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1886)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1920)
- excludeFromFees(owner(),true) (#1889)
- ExcludeFromFees(account,excluded) (#1920)
- excludeFromFees(address(this),true) (#1891)
- ExcludeFromFees(account,excluded) (#1920)
- excludeFromFees(marketingWallet,true) (#1890)
- Transfer(address(0),account,amount) (#1057)
- _mint(owner(),1e20 * (10 ** 9)) (#1903)
Reentrancy in SUNDividendTracker.processAccount(address,bool) (#1715-1725):
External calls:
- amount = _withdrawDividendOfUser(account) (#1716)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1426)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1720)
Reentrancy in RisingSun.processDividendTracker(uint256) (#2023-2026):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#2024)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#2025)
Reentrancy in RisingSun.swapAndLiquify(uint256) (#2106-2141):
External calls:
- swapTokensForBnb(toSwap,address(this)) (#2119)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2156-2162)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2128)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2128)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- marketingWallet.transfer(marketingAmount) (#2131)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2137)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2140)
Apply the check-effects-interactions pattern.

Additional information: link

SUNDividendTracker.getAccount(address) (#1579-1622) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1619-1621)
SUNDividendTracker.canAutoClaim(uint256) (#1643-1649) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1644)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1648)
Avoid relying on block.timestamp.

Additional information: link

Function IUniswapV2Router01.WETH() (#16) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1443) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1450) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1457) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1467) is not in mixedCase
Constant DividendPayingToken.magnitude (#1358) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter SUNDividendTracker.getAccount(address)._account (#1579) is not in mixedCase
Parameter SafeToken.setSafeManager(address)._safeManager (#1735) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._token (#1739) is not in mixedCase
Parameter SafeToken.withdraw(address,uint256)._amount (#1739) is not in mixedCase
Parameter SafeToken.withdrawBNB(uint256)._amount (#1744) is not in mixedCase
Parameter LockToken.includeToWhiteList(address[])._users (#1767) is not in mixedCase
Parameter RisingSun.setFee(uint256,uint256,uint256)._bnbRewardFee (#1843) is not in mixedCase
Parameter RisingSun.setFee(uint256,uint256,uint256)._liquidityFee (#1843) is not in mixedCase
Parameter RisingSun.setFee(uint256,uint256,uint256)._marketingFee (#1843) is not in mixedCase
Parameter RisingSun.setExtraFeeOnSell(uint256)._extraFeeOnSell (#1852) is not in mixedCase
Parameter RisingSun.setMarketingWallet(address)._newMarketingWallet (#1856) is not in mixedCase
Parameter RisingSun.setExcludeFromMaxTx(address,bool)._address (#1923) is not in mixedCase
Parameter RisingSun.setExcludeFromAll(address)._address (#1927) is not in mixedCase
Parameter RisingSun.setSWapToensAtAmount(uint256)._newAmount (#1947) is not in mixedCase
Parameter RisingSun.setSwapAndLiquifyEnabled(bool)._enabled (#2045) is not in mixedCase
Parameter RisingSun.swapTokensForBnb(uint256,address)._to (#2143) is not in mixedCase
Variable RisingSun.BNBRewardsFee (#1788) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in RisingSun._transfer(address,address,uint256) (#2050-2104):
External calls:
- swapAndLiquify(contractTokenBalance) (#2073)
- marketingWallet.transfer(marketingAmount) (#2131)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#2073)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- marketingWallet.transfer(marketingAmount) (#2131)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2086)
- _balances[sender] = senderBalance - amount (#1032)
- _balances[recipient] += amount (#1034)
- super._transfer(from,to,amount) (#2089)
- _balances[sender] = senderBalance - amount (#1032)
- _balances[recipient] += amount (#1034)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2098)
- Transfer(sender,recipient,amount) (#1036)
- super._transfer(from,to,amount) (#2089)
- Transfer(sender,recipient,amount) (#1036)
- super._transfer(from,address(this),fees) (#2086)
Reentrancy in RisingSun.swapAndLiquify(uint256) (#2106-2141):
External calls:
- marketingWallet.transfer(marketingAmount) (#2131)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2128)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2174-2181)
- marketingWallet.transfer(marketingAmount) (#2131)
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2137)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2140)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#21) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#22)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1422) is too similar to SUNDividendTracker.getAccount(address).withdrawableDividends (#1584)
Variable RisingSun.BNBRewardsFee (#1788) is too similar to RisingSun.setFee(uint256,uint256,uint256)._bnbRewardFee (#1843)
Prevent variables from having similar names.

Additional information: link

SUNDividendTracker.getAccountAtIndex(uint256) (#1624-1641) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1635)
RisingSun.constructor() (#1860-1904) uses literals with too many digits:
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1886)
RisingSun.updateGasForProcessing(uint256) (#1962-1967) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,SUN: gasForProcessing must be between 200,000 and 500,000) (#1963)
RisingSun.slitherConstructorVariables() (#1774-2186) uses literals with too many digits:
- gasForProcessing = 300000 (#1796)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

name() should be declared external:
- ERC20.name() (#860-862)
symbol() should be declared external:
- ERC20.symbol() (#868-870)
decimals() should be declared external:
- ERC20.decimals() (#885-887)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#911-914)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#930-933)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#948-962)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#976-979)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#995-1003)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1202-1204)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1210-1213)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1231-1233)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1235-1240)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1242-1244)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1248-1250)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1415-1417)
- SUNDividendTracker.withdrawDividend() (#1548-1550)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1443-1445)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1457-1459)
getAccountAtIndex(uint256) should be declared external:
- SUNDividendTracker.getAccountAtIndex(uint256) (#1624-1641)
process(uint256) should be declared external:
- SUNDividendTracker.process(uint256) (#1668-1713)
setSafeManager(address) should be declared external:
- SafeToken.setSafeManager(address) (#1735-1737)
setFee(uint256,uint256,uint256) should be declared external:
- RisingSun.setFee(uint256,uint256,uint256) (#1843-1850)
setExtraFeeOnSell(uint256) should be declared external:
- RisingSun.setExtraFeeOnSell(uint256) (#1852-1854)
setMarketingWallet(address) should be declared external:
- RisingSun.setMarketingWallet(address) (#1856-1858)
updateUniswapV2Router(address) should be declared external:
- RisingSun.updateUniswapV2Router(address) (#1910-1914)
setExcludeFromMaxTx(address,bool) should be declared external:
- RisingSun.setExcludeFromMaxTx(address,bool) (#1923-1925)
setExcludeFromAll(address) should be declared external:
- RisingSun.setExcludeFromAll(address) (#1927-1931)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- RisingSun.excludeMultipleAccountsFromFees(address[],bool) (#1933-1939)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- RisingSun.setAutomatedMarketMakerPair(address,bool) (#1941-1945)
setSWapToensAtAmount(uint256) should be declared external:
- RisingSun.setSWapToensAtAmount(uint256) (#1947-1949)
updateGasForProcessing(uint256) should be declared external:
- RisingSun.updateGasForProcessing(uint256) (#1962-1967)
isExcludedFromFees(address) should be declared external:
- RisingSun.isExcludedFromFees(address) (#1981-1983)
isExcludedFromMaxTx(address) should be declared external:
- RisingSun.isExcludedFromMaxTx(address) (#1985-1987)
withdrawableDividendOf(address) should be declared external:
- RisingSun.withdrawableDividendOf(address) (#1989-1991)
dividendTokenBalanceOf(address) should be declared external:
- RisingSun.dividendTokenBalanceOf(address) (#1993-1995)
setSwapAndLiquifyEnabled(bool) should be declared external:
- RisingSun.setSwapAndLiquifyEnabled(bool) (#2045-2048)
Use the external attribute for functions never called from the contract.

Additional information: link

Context._msgData() (#704-706) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1477-1483) is never used and should be removed
RisingSun.swapAndSendBNBToMarketing(uint256) (#2166-2168) is never used and should be removed
SafeCast.toInt128(int256) (#598-601) is never used and should be removed
SafeCast.toInt16(int256) (#652-655) is never used and should be removed
SafeCast.toInt32(int256) (#634-637) is never used and should be removed
SafeCast.toInt64(int256) (#616-619) is never used and should be removed
SafeCast.toInt8(int256) (#670-673) is never used and should be removed
SafeCast.toUint128(uint256) (#493-496) is never used and should be removed
SafeCast.toUint16(uint256) (#553-556) is never used and should be removed
SafeCast.toUint224(uint256) (#478-481) is never used and should be removed
SafeCast.toUint32(uint256) (#538-541) is never used and should be removed
SafeCast.toUint64(uint256) (#523-526) is never used and should be removed
SafeCast.toUint8(uint256) (#568-571) is never used and should be removed
SafeCast.toUint96(uint256) (#508-511) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#414-423) is never used and should be removed
SafeMath.mod(uint256,uint256) (#374-376) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#440-449) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#391-400) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#245-251) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#287-292) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#299-304) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#270-280) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#258-263) is never used and should be removed
SignedSafeMath.div(int256,int256) (#196-198) is never used and should be removed
SignedSafeMath.mul(int256,int256) (#182-184) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version0.8.13 (#12) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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) (#1421-1437):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1426)
Low level call in RisingSun.swapAndLiquify(uint256) (#2106-2141):
- (success) = address(dividendTracker).call{value: dividends}() (#2134)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Holders:

Contract has 16% buy tax and 16% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


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


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for SUN

News for SUN