Nest Egg is the next evolution and brilliant token created to power the Golden Duck ($GOLDUCK) Ecosystem. $NEGG was built with the idea of creating long term value to holders and provides its users with double reflection rewards. HOLD NEGG to earn $ADA and $SHIB Tokens from every transaction and buyback and burn GOLDUCK.
NestEgg.buyBackAndBurn(uint256) (#2073-2086) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2080-2085)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in NestEgg._transfer(address,address,uint256) (#1833-2006):
External calls:
- swapTokensForBNB(swapTokens) (#1872)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#2109-2115)
- useBnbToBurnGolduckBnb(bnbToBurnGolduckBnb) (#1882)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2047-2052)
- swapTokensForBNB(swapTokens_scope_0) (#1889)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#2109-2115)
- swapTokensForBNB(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1902)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#2109-2115)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1904)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp.add(300)) (#2030-2037)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(300)) (#2109-2115)
- buyBackGolduckBnbAndBurn(swapTokensToBurnGolduckBnb) (#1910)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(amount,0,path,deadAddress,block.timestamp.add(300)) (#2064-2070)
- swapAndSendNEGG1Dividends(sellTokens.sub(1300)) (#1916)
- negg1DividendTracker.distributeDividends(negg1Dividends) (#2153)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#2136-2142)
- swapAndSendNEGG2Dividends(sellTokens_scope_5.sub(1300)) (#1921)
- negg2DividendTracker.distributeDividends(negg2Dividends) (#2166)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#2136-2142)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1937)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2080-2085)
External calls sending eth:
- transferToWallet(address(teamWallet),teamPortion) (#1878)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(marketingWallet),marketingPortion) (#1879)
- recipient.transfer(amount) (#2172)
- useBnbToBurnGolduckBnb(bnbToBurnGolduckBnb) (#1882)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2047-2052)
- transferToWallet(address(marketingWallet),marketingPortion_scope_4) (#1895)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(teamWallet),teamPortion_scope_3) (#1896)
- recipient.transfer(amount) (#2172)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1904)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp.add(300)) (#2030-2037)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1937)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2080-2085)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1954)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#394)
- _balances[recipient] = _balances[recipient].add(amount) (#395)
- super._transfer(from,to,amount) (#1957)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#394)
- _balances[recipient] = _balances[recipient].add(amount) (#395)
- swapping = false (#1939)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
NestEgg.rand() (#1794-1810) uses a dangerous strict equality:
- randNumber == 0 (#1804)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract locking ether found:
Contract NEGG2DividendTracker (#2389-2601) has payable functions:
- DividendPayingToken.receive() (#594-595)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
NestEgg.setMinimumBalanceRequired(uint256) (#1526-1529) contains a tautology or contradiction:
- require(bool,string)(_newAmount >= 0,newAmount error) (#1527)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
NestEgg._transfer(address,address,uint256) (#1833-2006) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (#1945)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1949)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#634-650):
External calls:
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#639)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#642)
Apply the check-effects-interactions pattern.
Additional information: link
DividendPayingToken.setMinTokenBeforeSendDividend(uint256) (#627-630) uses tx.origin for authorization: require(bool,string)(tx.origin == adminAddress,Only admin) (#628)
Do not use tx.origin for authorization.
Additional information: link
NestEgg._transfer(address,address,uint256).lastProcessedIndex_scope_11 (#1988) 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
NestEgg.addLiquidity(uint256,uint256) (#2024-2038) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp.add(300)) (#2030-2037)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string,address)._symbol (#590) shadows:
- ERC20._symbol (#223) (state variable)
Rename the local variables that shadow another component.
Additional information: link
NEGG2DividendTracker.updateClaimWait(uint256) (#2439-2442) should emit an event for:
- claimWait = newClaimWait (#2441)
Emit an event for critical parameter changes.
Additional information: link
NEGG2DividendTracker.setDividendTokenAddress(address).newToken (#2421) lacks a zero-check on :
- dividendToken = newToken (#2422)
Check that the address is not zero.
Additional information: link
Variable 'NestEgg._transfer(address,address,uint256).iterations_scope_12 (#1997)' in NestEgg._transfer(address,address,uint256) (#1833-2006) potentially used before declaration: ProcessedNEGG1DividendTracker(iterations_scope_12,claims_scope_13,lastProcessedIndex_scope_14,true,gas,tx.origin) (#1998)
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 NestEgg.updateNEGG2DividendTracker(address) (#1614-1625):
External calls:
- newNEGG2DividendTracker.excludeFromDividends(address(newNEGG2DividendTracker)) (#1619)
- newNEGG2DividendTracker.excludeFromDividends(address(this)) (#1620)
- newNEGG2DividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1621)
- newNEGG2DividendTracker.excludeFromDividends(address(deadAddress)) (#1622)
State variables written after the call(s):
- negg2DividendTracker = newNEGG2DividendTracker (#1624)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in NestEgg.swapAndSendNEGG2Dividends(uint256) (#2158-2169):
External calls:
- swapTokensForDividendToken(tokens,address(negg2DividendTracker),negg2DividendToken) (#2161)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp.add(300)) (#2136-2142)
- negg2DividendTracker.distributeDividends(negg2Dividends) (#2166)
Event emitted after the call(s):
- SendDividends(negg2Dividends) (#2167)
Apply the check-effects-interactions pattern.
Additional information: link
NEGG2DividendTracker.canAutoClaim(uint256) (#2517-2523) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2518)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2522)
Avoid relying on block.timestamp.
Additional information: link
NestEgg.setMarketingEnabled(bool) (#1587-1599) compares to a boolean constant:
-_enabled == false (#1590)
Remove the equality to the boolean constant.
Additional information: link
SafeMathInt.mul(int256,int256) (#1220-1228) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Parameter NEGG2DividendTracker.getAccount(address)._account (#2453) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#38)" inContext (#32-41)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in NestEgg._transfer(address,address,uint256) (#1833-2006):
External calls:
- transferToWallet(address(teamWallet),teamPortion) (#1878)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(marketingWallet),marketingPortion) (#1879)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(marketingWallet),marketingPortion_scope_4) (#1895)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(teamWallet),teamPortion_scope_3) (#1896)
- recipient.transfer(amount) (#2172)
External calls sending eth:
- transferToWallet(address(teamWallet),teamPortion) (#1878)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(marketingWallet),marketingPortion) (#1879)
- recipient.transfer(amount) (#2172)
- useBnbToBurnGolduckBnb(bnbToBurnGolduckBnb) (#1882)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2047-2052)
- transferToWallet(address(marketingWallet),marketingPortion_scope_4) (#1895)
- recipient.transfer(amount) (#2172)
- transferToWallet(address(teamWallet),teamPortion_scope_3) (#1896)
- recipient.transfer(amount) (#2172)
- swapAndLiquify(contractTokenBalance.mul(buyBackAndLiquidityFee).div(totalFees)) (#1904)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp.add(300)) (#2030-2037)
- buyBackAndBurn(buyBackBalanceBnb.div(10 ** 2)) (#1937)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#2080-2085)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1954)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#394)
- _balances[recipient] = _balances[recipient].add(amount) (#395)
- super._transfer(from,to,amount) (#1957)
- _balances[sender] = _balances[sender].sub(amount,exceeds balance) (#394)
- _balances[recipient] = _balances[recipient].add(amount) (#395)
- swapping = false (#1939)
Event emitted after the call(s):
- ProcessedNEGG1DividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1971)
- ProcessedNEGG1DividendTracker(iterations_scope_12,claims_scope_13,lastProcessedIndex_scope_14,true,gas,tx.origin) (#1998)
- ProcessedNEGG2DividendTracker(iterations_scope_6,claims_scope_7,lastProcessedIndex_scope_8,true,gas,tx.origin) (#1980)
- ProcessedNEGG2DividendTracker(iterations_scope_9,claims_scope_10,lastProcessedIndex_scope_11,true,gas,tx.origin) (#1989)
- Transfer(sender,recipient,amount) (#396)
- super._transfer(from,to,amount) (#1957)
- Transfer(sender,recipient,amount) (#396)
- super._transfer(from,address(this),fees) (#1954)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#635) is too similar to NEGG2DividendTracker.getAccount(address).withdrawableDividends (#2458)
Prevent variables from having similar names.
Additional information: link
NEGG2DividendTracker.getAccountAtIndex(uint256) (#2498-2515) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2509)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#566) is never used in NEGG2DividendTracker (#2389-2601)
Remove unused state variables.
Additional information: link
NestEgg.deadAddress (#1283) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- NEGG2DividendTracker.process(uint256) (#2542-2587)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of 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
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account