CupidShiba Token Logo

CUPID [CupidShiba] Token

About CUPID

Listings

Not Found
Token 3 months

Website

Not Found

If you have
Telegram
, you can contact
@cupidshiba
right away.

Social

Laser Scorebeta Last Audit: 20 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

CupidShiba.addLiquidity(uint256,uint256) (#2015-2028) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
State variables written after the call(s):
- swapAndSendToWallets(feeTokens) (#1928)
- swapping = true (#1553)
- swapping = false (#1555)
Reentrancy in CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
- swapAndSendDividends(sellTokens) (#1933)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2072-2075)
- dividendTracker.distributeETHDividends(dividends) (#2077)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
State variables written after the call(s):
- super._transfer(from,address(this),feeAmount) (#1972)
- _balances[sender] = senderBalance - amount (#1151)
- _balances[recipient] += amount (#1153)
- super._transfer(from,to,amount) (#1975)
- _balances[sender] = senderBalance - amount (#1151)
- _balances[recipient] += amount (#1153)
- swapAndSendDividends(sellTokens) (#1933)
- swapping = true (#1553)
- swapping = false (#1555)
Apply the check-effects-interactions pattern.

Additional information: link

CupidShiba.claimStuckTokens(address) (#1657-1666) ignores return value by erc20token.transfer(owner(),balance) (#1665)
CupidShiba.swapAndSendToWallets(uint256) (#2002-2011) ignores return value by IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
CupidShiba.swapAndSendToWallets(uint256) (#2002-2011) ignores return value by IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
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.

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1354-1370):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1359)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1362)
Reentrancy in CupidShiba.updateDividendTracker(address) (#1613-1636):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1628)
- newDividendTracker.excludeFromDividends(address(this)) (#1629)
- newDividendTracker.excludeFromDividends(owner()) (#1630)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1631)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1635)
Apply the check-effects-interactions pattern.

Additional information: link

CupidShiba._transfer(address,address,uint256).lastProcessedIndex (#1988) is a local variable never initialized
CupidShiba._transfer(address,address,uint256).fees (#1944) is a local variable never initialized
CupidShiba._transfer(address,address,uint256).iterations (#1986) is a local variable never initialized
CupidShiba._transfer(address,address,uint256).claims (#1987) 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

CupidShiba.claim() (#1853-1855) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1854)
CupidShiba._transfer(address,address,uint256) (#1888-2000) ignores return value by dividendTracker.process(gas) (#1985-1998)
CupidShiba.addLiquidity(uint256,uint256) (#2015-2028) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#1324) shadows:
- ERC20._name (#959) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1324) shadows:
- ERC20._symbol (#960) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1376) shadows:
- Ownable._owner (#745) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1383) shadows:
- Ownable._owner (#745) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1390) shadows:
- Ownable._owner (#745) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1400) shadows:
- Ownable._owner (#745) (state variable)
Rename the local variables that shadow another component.

Additional information: link

CupidShiba.setBuyFee(uint16,uint16,uint16,uint16) (#1745-1756) should emit an event for:
- totalBuyFee = rewardfee + eco + liquidity + marketing (#1755)
CupidShiba.setSellFee(uint16,uint16,uint16,uint16) (#1758-1769) should emit an event for:
- totalSellFee = rewardfee + eco + liquidity + marketing (#1768)
CupidShiba.setMaxWallet(uint256) (#1872-1874) should emit an event for:
- maxWalletAmount = amount * 10 ** 9 (#1873)
CupidShiba.setMaxBuyAmount(uint256) (#1876-1878) should emit an event for:
- maxBuyAmount = amount * 10 ** 9 (#1877)
CupidShiba.setMaxSellAmount(uint256) (#1880-1882) should emit an event for:
- maxSellAmount = amount * 10 ** 9 (#1881)
CupidShiba.setSwapTokensAtAmount(uint256) (#1884-1886) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (#1885)
Emit an event for critical parameter changes.

Additional information: link

CupidShiba.setMarketingWallet(address).wallet (#1668) lacks a zero-check on :
- _marketingWallet = wallet (#1669)
CupidShiba.setEcoWallet(address).wallet (#1672) lacks a zero-check on :
- _ecoWallet = wallet (#1673)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#1354-1370) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1359)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'CupidShiba._transfer(address,address,uint256).claims (#1987)' in CupidShiba._transfer(address,address,uint256) (#1888-2000) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
Variable 'CupidShiba._transfer(address,address,uint256).lastProcessedIndex (#1988)' in CupidShiba._transfer(address,address,uint256) (#1888-2000) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
Variable 'CupidShiba._transfer(address,address,uint256).iterations (#1986)' in CupidShiba._transfer(address,address,uint256) (#1888-2000) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
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 CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
State variables written after the call(s):
- swapAndSendToWallets(feeTokens) (#1928)
- _allowances[owner][spender] = amount (#1230)
Reentrancy in CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
- swapAndSendDividends(sellTokens) (#1933)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2072-2075)
- dividendTracker.distributeETHDividends(dividends) (#2077)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1933)
- _allowances[owner][spender] = amount (#1230)
Reentrancy in CupidShiba.constructor() (#1558-1603):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1577-1578)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1581)
- uniswapV2Router = _uniswapV2Router (#1580)
Reentrancy in CupidShiba.constructor() (#1558-1603):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1577-1578)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1583)
- dividendTracker.excludeFromDividends(pair) (#1726)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1586)
- dividendTracker.excludeFromDividends(address(this)) (#1587)
- dividendTracker.excludeFromDividends(owner()) (#1588)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1589)
- dividendTracker.excludeFromDividends(deadAddress) (#1590)
State variables written after the call(s):
- _mint(owner(),1 * 10 ** 14 * (10 ** 9)) (#1602)
- _balances[account] += amount (#1175)
- excludeFromFees(owner(),true) (#1593)
- _isExcludedFromFees[account] = excluded (#1652)
- excludeFromFees(address(this),true) (#1594)
- _isExcludedFromFees[account] = excluded (#1652)
- _mint(owner(),1 * 10 ** 14 * (10 ** 9)) (#1602)
- _totalSupply += amount (#1174)
- swapEnabled = true (#1596)
Reentrancy in TokenDividendTracker.processAccount(address,bool) (#2344-2358):
External calls:
- amount = _withdrawDividendOfUser(account) (#2349)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1359)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2352)
Reentrancy in CupidShiba.swapAndLiquify(uint256) (#2030-2047):
External calls:
- swapTokensForEth(half) (#2038)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- addLiquidity(otherHalf,newBalance) (#2044)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2044)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2044)
- _allowances[owner][spender] = amount (#1230)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CupidShiba._setAutomatedMarketMakerPair(address,bool) (#1718-1730):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1726)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1729)
Reentrancy in CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1231)
- swapAndSendToWallets(feeTokens) (#1928)
Reentrancy in CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
- swapAndSendDividends(sellTokens) (#1933)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2072-2075)
- dividendTracker.distributeETHDividends(dividends) (#2077)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1231)
- swapAndSendDividends(sellTokens) (#1933)
- SendDividends(tokens,dividends) (#2078)
- swapAndSendDividends(sellTokens) (#1933)
- Transfer(sender,recipient,amount) (#1155)
- super._transfer(from,to,amount) (#1975)
- Transfer(sender,recipient,amount) (#1155)
- super._transfer(from,address(this),feeAmount) (#1972)
Reentrancy in CupidShiba._transfer(address,address,uint256) (#1888-2000):
External calls:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- swapAndSendToWallets(feeTokens) (#1928)
- IERC20(BUSD).transfer(_marketingWallet,marketingShare) (#2009)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- IERC20(BUSD).transfer(_ecoWallet,ecoShare) (#2010)
- swapAndSendDividends(sellTokens) (#1933)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2072-2075)
- dividendTracker.distributeETHDividends(dividends) (#2077)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1977-1979)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1980)
- dividendTracker.process(gas) (#1985-1998)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1922)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
Reentrancy in CupidShiba.constructor() (#1558-1603):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1577-1578)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1583)
- dividendTracker.excludeFromDividends(pair) (#1726)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1729)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1583)
Reentrancy in CupidShiba.constructor() (#1558-1603):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1577-1578)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1583)
- dividendTracker.excludeFromDividends(pair) (#1726)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1586)
- dividendTracker.excludeFromDividends(address(this)) (#1587)
- dividendTracker.excludeFromDividends(owner()) (#1588)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1589)
- dividendTracker.excludeFromDividends(deadAddress) (#1590)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1654)
- excludeFromFees(address(this),true) (#1594)
- ExcludeFromFees(account,excluded) (#1654)
- excludeFromFees(owner(),true) (#1593)
- Transfer(address(0),account,amount) (#1176)
- _mint(owner(),1 * 10 ** 14 * (10 ** 9)) (#1602)
Reentrancy in TokenDividendTracker.processAccount(address,bool) (#2344-2358):
External calls:
- amount = _withdrawDividendOfUser(account) (#2349)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1359)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2353)
Reentrancy in CupidShiba.processDividendTracker(uint256) (#1837-1851):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1838-1842)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1843-1850)
Reentrancy in CupidShiba.swapAndLiquify(uint256) (#2030-2047):
External calls:
- swapTokensForEth(half) (#2038)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2058-2064)
- addLiquidity(otherHalf,newBalance) (#2044)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2044)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#2020-2027)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1231)
- addLiquidity(otherHalf,newBalance) (#2044)
- SwapAndLiquify(half,newBalance,otherHalf) (#2046)
Reentrancy in CupidShiba.swapAndSendDividends(uint256) (#2067-2080):
External calls:
- swapTokensForTokens(tokens,BUSD,address(this)) (#2068)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,outputAddress,block.timestamp) (#2095-2101)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#2072-2075)
- dividendTracker.distributeETHDividends(dividends) (#2077)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#2078)
Reentrancy in CupidShiba.updateDividendTracker(address) (#1613-1636):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1628)
- newDividendTracker.excludeFromDividends(address(this)) (#1629)
- newDividendTracker.excludeFromDividends(owner()) (#1630)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1631)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1633)
Apply the check-effects-interactions pattern.

Additional information: link

TokenDividendTracker.getAccount(address) (#2182-2229) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#2226-2228)
TokenDividendTracker.canAutoClaim(uint256) (#2263-2269) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2264)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2268)
Avoid relying on block.timestamp.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.10', '^0.8.6']
- >=0.5.0 (#4)
- >=0.5.0 (#59)
- >=0.6.2 (#79)
- >=0.6.2 (#177)
- ^0.8.6 (#224)
- ^0.8.6 (#291)
- ^0.8.6 (#319)
- ^0.8.6 (#383)
- ^0.8.6 (#453)
- ^0.8.0 (#472)
- ^0.8.0 (#702)
- ^0.8.0 (#729)
- ^0.8.0 (#807)
- ^0.8.0 (#892)
- ^0.8.0 (#922)
- ^0.8.6 (#1279)
- ^0.8.10 (#1453)
Use one Solidity version.

Additional information: link

Context._msgData() (#719-721) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1410-1416) is never used and should be removed
IterableMapping.get(IterableMapping.Map,address) (#235-237) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#659-668) is never used and should be removed
SafeMath.mod(uint256,uint256) (#619-621) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#685-694) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#636-645) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#490-496) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#532-537) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#544-549) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#515-525) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#503-508) is never used and should be removed
SafeMathInt.abs(int256) (#437-440) is never used and should be removed
SafeMathInt.div(int256,int256) (#408-414) is never used and should be removed
SafeMathInt.mul(int256,int256) (#396-403) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>=0.5.0 (#4) allows old versions
Pragma version>=0.5.0 (#59) allows old versions
Pragma version>=0.6.2 (#79) allows old versions
Pragma version>=0.6.2 (#177) allows old versions
Pragma version^0.8.0 (#472) allows old versions
Pragma version^0.8.0 (#702) allows old versions
Pragma version^0.8.0 (#729) allows old versions
Pragma version^0.8.0 (#807) allows old versions
Pragma version^0.8.0 (#892) allows old versions
Pragma version^0.8.0 (#922) allows old versions
Pragma version^0.8.10 (#1453) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#21) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#22) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#39) is not in mixedCase
Function IUniswapV2Router01.WETH() (#83) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1376) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1383) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1390) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1400) is not in mixedCase
Constant DividendPayingToken.magnitude (#1304) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter CupidShiba.claimStuckTokens(address)._token (#1657) is not in mixedCase
Constant CupidShiba.deadAddress (#1461) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CupidShiba._ecoWallet (#1500) is not in mixedCase
Variable CupidShiba._marketingWallet (#1501) is not in mixedCase
Variable CupidShiba._isBlackListed (#1509) is not in mixedCase
Parameter TokenDividendTracker.getAccount(address)._account (#2182) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#88) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#89)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1355) is too similar to TokenDividendTracker.getAccount(address).withdrawableDividends (#2189)
Prevent variables from having similar names.

Additional information: link

CupidShiba.updateGasForProcessing(uint256) (#1732-1743) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Token: gasForProcessing must be between 200,000 and 500,000) (#1733-1736)
CupidShiba.slitherConstructorVariables() (#1456-2103) uses literals with too many digits:
- gasForProcessing = 300000 (#1504)
TokenDividendTracker.getAccountAtIndex(uint256) (#2231-2261) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2246-2255)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#391) is never used in SafeMathInt (#389-447)
CupidShiba.launchDate (#1505) is never used in CupidShiba (#1456-2103)
Remove unused state variables.

Additional information: link

CupidShiba.launchDate (#1505) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#778-780)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#786-789)
name() should be declared external:
- ERC20.name() (#979-981)
symbol() should be declared external:
- ERC20.symbol() (#987-989)
decimals() should be declared external:
- CupidShiba.decimals() (#1607-1609)
- DividendPayingToken.decimals() (#1328-1330)
- ERC20.decimals() (#1004-1006)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#1030-1033)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#1038-1040)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#1049-1052)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#1067-1081)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#1095-1098)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#1114-1122)
distributeETHDividends(uint256) should be declared external:
- DividendPayingToken.distributeETHDividends(uint256) (#1333-1344)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1348-1350)
- TokenDividendTracker.withdrawDividend() (#2144-2149)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1376-1378)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1390-1392)
updateDividendTracker(address) should be declared external:
- CupidShiba.updateDividendTracker(address) (#1613-1636)
updateUniswapV2Router(address) should be declared external:
- CupidShiba.updateUniswapV2Router(address) (#1638-1645)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- CupidShiba.excludeMultipleAccountsFromFees(address[],bool) (#1695-1704)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- CupidShiba.setAutomatedMarketMakerPair(address,bool) (#1706-1716)
updateGasForProcessing(uint256) should be declared external:
- CupidShiba.updateGasForProcessing(uint256) (#1732-1743)
isExcludedFromFees(address) should be declared external:
- CupidShiba.isExcludedFromFees(address) (#1783-1785)
withdrawableDividendOf(address) should be declared external:
- CupidShiba.withdrawableDividendOf(address) (#1787-1793)
dividendTokenBalanceOf(address) should be declared external:
- CupidShiba.dividendTokenBalanceOf(address) (#1795-1801)
getAccountAtIndex(uint256) should be declared external:
- TokenDividendTracker.getAccountAtIndex(uint256) (#2231-2261)
process(uint256) should be declared external:
- TokenDividendTracker.process(uint256) (#2290-2342)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 6% buy tax and 24% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Telegram account link seems to be invalid


Unable to find Twitter account


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


Unable to find website, listings and other project-related information


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for CUPID