Crypto IRA is a new entry into the cryptocurrency space running on Binance Smart Chain and a deflationary token with dividends paid in stable coin BUSD.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CIRA.addLiquidity(uint256,uint256) (#1420-1434) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CIRA._transfer(address,address,uint256) (#1290-1401):
External calls:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
External calls sending eth:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
State variables written after the call(s):
- tokensForLpInContract = 0 (#1339)
Reentrancy in CIRA._transfer(address,address,uint256) (#1290-1401):
External calls:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
- swapAndSendBusdDividends(busdTokens) (#1344)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1486)
- dividendPayingTracker.distributeDividends(amount) (#1489)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1465-1471)
External calls sending eth:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1378)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#146)
- _balances[recipient] = _balances[recipient].add(amount) (#147)
- super._transfer(address(this),marketingWallet,tmpMarketingRewardPercent) (#1379)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#146)
- _balances[recipient] = _balances[recipient].add(amount) (#147)
- super._transfer(from,to,amount) (#1382)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#146)
- _balances[recipient] = _balances[recipient].add(amount) (#147)
- busdDividedRewardsInContract = 0 (#1345)
- busdDividedRewardsInContract = busdDividedRewardsInContract.add(tmpBusdDividedRewardsInContract) (#1368)
- swapping = false (#1349)
- tokensForLpInContract = tokensForLpInContract.add(tmpLpRewardInContract) (#1370)
Apply the check-effects-interactions pattern.
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.
MarketingDistributor.swapAndLiquify() (#888-908) ignores return value by CIRAToken.approve(address(uniswapV2Router),tokenAmount) (#896)
CIRA.claim() (#1275-1278) ignores return value by busdDividendTracker.processAccount(address(msg.sender),false) (#1276)
CIRA._transfer(address,address,uint256) (#1290-1401) ignores return value by busdDividendTracker.process(gas) (#1391-1396)
CIRA.addLiquidity(uint256,uint256) (#1420-1434) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
Ensure that all the return values of the function calls are used.
Additional information: link
CIRA._transfer(address,address,uint256) (#1290-1401) performs a multiplication on the result of a division:
-fees = fees.div(100).mul(sellFeeIncreaseFactor) (#1374)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#266-282):
External calls:
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#271)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#274)
Reentrancy in CIRA.updatebusdDividendTracker(address) (#1145-1160):
External calls:
- newbusdDividendTracker.excludeFromDividends(address(newbusdDividendTracker)) (#1152)
- newbusdDividendTracker.excludeFromDividends(address(this)) (#1153)
- newbusdDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1154)
- newbusdDividendTracker.excludeFromDividends(address(deadAddress)) (#1155)
State variables written after the call(s):
- busdDividendTracker = newbusdDividendTracker (#1159)
Apply the check-effects-interactions pattern.
Additional information: link
CIRA._transfer(address,address,uint256).iterations (#1391) is a local variable never initialized
CIRA._transfer(address,address,uint256).lastProcessedIndex (#1391) is a local variable never initialized
CIRA._transfer(address,address,uint256).claims (#1391) 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
Redundant expression "this (#16)" inContext (#10-19)
Remove redundant statements if they congest code but offer no value.
Additional information: link
DividendPayingToken.constructor(string,string,address)._name (#235) shadows:
- ERC20._name (#80) (state variable)
DividendPayingToken.constructor(string,string,address)._symbol (#235) shadows:
- ERC20._symbol (#81) (state variable)
DividendPayingToken.dividendOf(address)._owner (#285) shadows:
- Ownable._owner (#22) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#289) shadows:
- Ownable._owner (#22) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#293) shadows:
- Ownable._owner (#22) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#298) shadows:
- Ownable._owner (#22) (state variable)
Rename the local variables that shadow another component.
Additional information: link
MarketingDistributor.setLimit(uint256) (#881-884) should emit an event for:
- liquidityThreshhold = limit (#883)
CIRA.setWalletBalance(uint256) (#1068-1070) should emit an event for:
- maxWalletBalance = _maxWalletBalance (#1069)
CIRA.setMaxBuyTransaction(uint256) (#1072-1074) should emit an event for:
- maxBuyTranscationAmount = _maxTxn * (10 ** 5) (#1073)
CIRA.setMaxSellTransaction(uint256) (#1076-1078) should emit an event for:
- maxSellTransactionAmount = _maxTxn * (10 ** 5) (#1077)
CIRA.setSwapTokensAtAmount(uint256) (#1093-1095) should emit an event for:
- swapTokensAtAmount = _swapAmount * (10 ** 5) (#1094)
CIRA.setSellTransactionMultiplier(uint256) (#1097-1099) should emit an event for:
- sellFeeIncreaseFactor = _multiplier (#1098)
Emit an event for critical parameter changes.
Additional information: link
DividendPayingToken.constructor(string,string,address)._token (#235) lacks a zero-check on :
- dividendToken = _token (#236)
BUSDDividendTracker.setDividendTokenAddress(address).newToken (#668) lacks a zero-check on :
- dividendToken = newToken (#669)
MarketingDistributor.changeMarketingWallet(address)._marketingWallet (#869) lacks a zero-check on :
- marketingWallet = _marketingWallet (#871)
CIRA.updateBusdDividendToken(address)._newContract (#1081) lacks a zero-check on :
- busdDividendToken = _newContract (#1082)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#266-282) has external calls inside a loop: success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#271)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'CIRA._transfer(address,address,uint256).claims (#1391)' in CIRA._transfer(address,address,uint256) (#1290-1401) potentially used before declaration: ProcessedbusdDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1392)
Variable 'CIRA._transfer(address,address,uint256).lastProcessedIndex (#1391)' in CIRA._transfer(address,address,uint256) (#1290-1401) potentially used before declaration: ProcessedbusdDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1392)
Variable 'CIRA._transfer(address,address,uint256).iterations (#1391)' in CIRA._transfer(address,address,uint256) (#1290-1401) potentially used before declaration: ProcessedbusdDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1392)
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 CIRA._transfer(address,address,uint256) (#1290-1401):
External calls:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
- swapAndSendBusdDividends(busdTokens) (#1344)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1486)
- dividendPayingTracker.distributeDividends(amount) (#1489)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1465-1471)
External calls sending eth:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
State variables written after the call(s):
- swapAndSendBusdDividends(busdTokens) (#1344)
- _allowances[owner][spender] = amount (#175)
Reentrancy in CIRA.constructor() (#1021-1057):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1031-1032)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1035)
- uniswapV2Router = _uniswapV2Router (#1034)
Reentrancy in CIRA.constructor() (#1021-1057):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1031-1032)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1037)
- busdDividendTracker.excludeFromDividends(pair) (#1191)
- excludeFromDividend(address(busdDividendTracker)) (#1039)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(this)) (#1040)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(_uniswapV2Router)) (#1041)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(deadAddress) (#1042)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
State variables written after the call(s):
- excludeFromFees(marketingWallet,true) (#1045)
- isExcludedFromFees[account] = excluded (#1170)
- excludeFromFees(address(this),true) (#1046)
- isExcludedFromFees[account] = excluded (#1170)
- excludeFromFees(deadAddress,true) (#1047)
- isExcludedFromFees[account] = excluded (#1170)
- excludeFromFees(owner(),true) (#1048)
- isExcludedFromFees[account] = excluded (#1170)
Reentrancy in CIRA.constructor() (#1021-1057):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1031-1032)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1037)
- busdDividendTracker.excludeFromDividends(pair) (#1191)
- excludeFromDividend(address(busdDividendTracker)) (#1039)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(this)) (#1040)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(_uniswapV2Router)) (#1041)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(deadAddress) (#1042)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- setAuthOnDividends(owner()) (#1050)
- busdDividendTracker.setAuth(account) (#1107)
State variables written after the call(s):
- _mint(owner(),MAX_SUPPLY) (#1056)
- _balances[account] = _balances[account].add(amount) (#157)
- _mint(owner(),MAX_SUPPLY) (#1056)
- _totalSupply = _totalSupply.add(amount) (#156)
Reentrancy in CIRA.prepareForPartherOrExchangeListing(address) (#1063-1066):
External calls:
- busdDividendTracker.excludeFromDividends(_partnerOrExchangeAddress) (#1064)
State variables written after the call(s):
- excludeFromFees(_partnerOrExchangeAddress,true) (#1065)
- isExcludedFromFees[account] = excluded (#1170)
Reentrancy in BUSDDividendTracker.processAccount(address,bool) (#839-849):
External calls:
- amount = _withdrawDividendOfUser(account) (#840)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#271)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#843)
Reentrancy in CIRA.swapAndLiquify(uint256) (#1404-1418):
External calls:
- swapTokensForBNB(half) (#1411)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
- addLiquidity(otherHalf,newBalance) (#1415)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1415)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1415)
- _allowances[owner][spender] = amount (#175)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CIRA._setAutomatedMarketMakerPair(address,bool) (#1186-1195):
External calls:
- busdDividendTracker.excludeFromDividends(pair) (#1191)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1194)
Reentrancy in CIRA._transfer(address,address,uint256) (#1290-1401):
External calls:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
- swapAndSendBusdDividends(busdTokens) (#1344)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1486)
- dividendPayingTracker.distributeDividends(amount) (#1489)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1465-1471)
External calls sending eth:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#176)
- swapAndSendBusdDividends(busdTokens) (#1344)
- SendDividends(amount) (#1490)
- swapAndSendBusdDividends(busdTokens) (#1344)
- Transfer(sender,recipient,amount) (#148)
- super._transfer(address(this),marketingWallet,tmpMarketingRewardPercent) (#1379)
- Transfer(sender,recipient,amount) (#148)
- super._transfer(from,address(this),fees) (#1378)
- Transfer(sender,recipient,amount) (#148)
- super._transfer(from,to,amount) (#1382)
Reentrancy in CIRA._transfer(address,address,uint256) (#1290-1401):
External calls:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
- swapAndSendBusdDividends(busdTokens) (#1344)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1486)
- dividendPayingTracker.distributeDividends(amount) (#1489)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1465-1471)
- busdDividendTracker.setBalance(address(from),balanceOf(from)) (#1384)
- busdDividendTracker.setBalance(address(to),balanceOf(to)) (#1386)
- busdDividendTracker.process(gas) (#1391-1396)
External calls sending eth:
- swapAndLiquify(liqTokens) (#1338)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
Event emitted after the call(s):
- ProcessedbusdDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1392)
Reentrancy in CIRA.constructor() (#1021-1057):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1031-1032)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1037)
- busdDividendTracker.excludeFromDividends(pair) (#1191)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1194)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1037)
Reentrancy in CIRA.constructor() (#1021-1057):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1031-1032)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1037)
- busdDividendTracker.excludeFromDividends(pair) (#1191)
- excludeFromDividend(address(busdDividendTracker)) (#1039)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(this)) (#1040)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(_uniswapV2Router)) (#1041)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(deadAddress) (#1042)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1172)
- excludeFromFees(deadAddress,true) (#1047)
- ExcludeFromFees(account,excluded) (#1172)
- excludeFromFees(address(this),true) (#1046)
- ExcludeFromFees(account,excluded) (#1172)
- excludeFromFees(owner(),true) (#1048)
- ExcludeFromFees(account,excluded) (#1172)
- excludeFromFees(marketingWallet,true) (#1045)
Reentrancy in CIRA.constructor() (#1021-1057):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1031-1032)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1037)
- busdDividendTracker.excludeFromDividends(pair) (#1191)
- excludeFromDividend(address(busdDividendTracker)) (#1039)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(this)) (#1040)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(address(_uniswapV2Router)) (#1041)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- excludeFromDividend(deadAddress) (#1042)
- busdDividendTracker.excludeFromDividends(address(account)) (#1176)
- setAuthOnDividends(owner()) (#1050)
- busdDividendTracker.setAuth(account) (#1107)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#158)
- _mint(owner(),MAX_SUPPLY) (#1056)
Reentrancy in CIRA.prepareForPartherOrExchangeListing(address) (#1063-1066):
External calls:
- busdDividendTracker.excludeFromDividends(_partnerOrExchangeAddress) (#1064)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1172)
- excludeFromFees(_partnerOrExchangeAddress,true) (#1065)
Reentrancy in BUSDDividendTracker.processAccount(address,bool) (#839-849):
External calls:
- amount = _withdrawDividendOfUser(account) (#840)
- success = IERC20(dividendToken).transfer(user,_withdrawableDividend) (#271)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#844)
Reentrancy in CIRA.processDividendTracker(uint256) (#1268-1273):
External calls:
- (busdIterations,busdClaims,busdLastProcessedIndex) = busdDividendTracker.process(gas) (#1269)
Event emitted after the call(s):
- ProcessedbusdDividendTracker(busdIterations,busdClaims,busdLastProcessedIndex,false,gas,tx.origin) (#1270)
Reentrancy in CIRA.swapAndLiquify(uint256) (#1404-1418):
External calls:
- swapTokensForBNB(half) (#1411)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1446-1452)
- addLiquidity(otherHalf,newBalance) (#1415)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1415)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,marketingWallet,block.timestamp) (#1426-1433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#176)
- addLiquidity(otherHalf,newBalance) (#1415)
- SwapAndLiquify(half,newBalance,otherHalf) (#1417)
Reentrancy in CIRA.swapAndSendBusdDividends(uint256) (#1474-1478):
External calls:
- swapTokensForDividendToken(tokens,address(this),busdDividendToken) (#1475)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(_tokenAmount,0,path,_recipient,block.timestamp) (#1465-1471)
- transferDividends(busdDividendToken,address(busdDividendTracker),busdDividendTracker,busdDividends) (#1477)
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1486)
- dividendPayingTracker.distributeDividends(amount) (#1489)
Event emitted after the call(s):
- SendDividends(amount) (#1490)
- transferDividends(busdDividendToken,address(busdDividendTracker),busdDividendTracker,busdDividends) (#1477)
Reentrancy in CIRA.transferDividends(address,address,DividendPayingToken,uint256) (#1485-1492):
External calls:
- success = IERC20(dividendToken).transfer(dividendTracker,amount) (#1486)
- dividendPayingTracker.distributeDividends(amount) (#1489)
Event emitted after the call(s):
- SendDividends(amount) (#1490)
Reentrancy in CIRA.updatebusdDividendTracker(address) (#1145-1160):
External calls:
- newbusdDividendTracker.excludeFromDividends(address(newbusdDividendTracker)) (#1152)
- newbusdDividendTracker.excludeFromDividends(address(this)) (#1153)
- newbusdDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1154)
- newbusdDividendTracker.excludeFromDividends(address(deadAddress)) (#1155)
Event emitted after the call(s):
- UpdatebusdDividendTracker(newAddress,address(busdDividendTracker)) (#1157)
Apply the check-effects-interactions pattern.
Additional information: link
BUSDDividendTracker.getAccount(address) (#703-746) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#743-745)
BUSDDividendTracker.canAutoClaim(uint256) (#767-773) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#768)
- block.timestamp.sub(lastClaimTime) >= claimWait (#772)
Avoid relying on block.timestamp.
Additional information: link
CIRA.setBusdDividendEnabled(bool) (#1110-1119) compares to a boolean constant:
-_enabled == false (#1112)
CIRA.setMarketingEnabled(bool) (#1122-1131) compares to a boolean constant:
-_enabled == false (#1124)
CIRA.setSwapAndLiquifyEnabled(bool) (#1133-1142) compares to a boolean constant:
-_enabled == false (#1135)
Remove the equality to the boolean constant.
Additional information: link
CIRA.transferToWallet(address,uint256) (#1481-1483) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#303-309) is never used and should be removed
ERC20._setupDecimals(uint8) (#179-181) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#574-577) is never used and should be removed
SafeMath.mod(uint256,uint256) (#564-567) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#579-582) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#510-514) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#531-534) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#536-539) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#521-529) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#516-519) is never used and should be removed
SafeMathInt.div(int256,int256) (#596-602) is never used and should be removed
SafeMathInt.mul(int256,int256) (#586-594) is never used and should be removed
Remove unused functions.
Additional information: link
CIRA.totalFees (#958) is set pre-construction with a non-constant function or state variable:
- busdDividendRewardsFee.add(marketingFee).add(liquidityFee)
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
Parameter DividendPayingToken.dividendOf(address)._owner (#285) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#289) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#293) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#298) is not in mixedCase
Constant DividendPayingToken.magnitude (#216) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DividendPayingToken._isAuth (#226) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#373) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#374) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#391) is not in mixedCase
Function IUniswapV2Router01.WETH() (#411) is not in mixedCase
Parameter BUSDDividendTracker.updateMinimumTokenBalanceForDividends(uint256)._newMinimumBalance (#672) is not in mixedCase
Parameter BUSDDividendTracker.getAccount(address)._account (#703) is not in mixedCase
Parameter MarketingDistributor.changeMarketingWallet(address)._marketingWallet (#869) is not in mixedCase
Constant MarketingDistributor.uniswapV2Router (#855) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MarketingDistributor.BUSD (#858) is not in mixedCase
Variable MarketingDistributor.CIRAToken (#859) is not in mixedCase
Parameter CIRA.prepareForPartherOrExchangeListing(address)._partnerOrExchangeAddress (#1063) is not in mixedCase
Parameter CIRA.setWalletBalance(uint256)._maxWalletBalance (#1068) is not in mixedCase
Parameter CIRA.setMaxBuyTransaction(uint256)._maxTxn (#1072) is not in mixedCase
Parameter CIRA.setMaxSellTransaction(uint256)._maxTxn (#1076) is not in mixedCase
Parameter CIRA.updateBusdDividendToken(address)._newContract (#1081) is not in mixedCase
Parameter CIRA.updateMarketingWallet(address)._newWallet (#1086) is not in mixedCase
Parameter CIRA.setSwapTokensAtAmount(uint256)._swapAmount (#1093) is not in mixedCase
Parameter CIRA.setSellTransactionMultiplier(uint256)._multiplier (#1097) is not in mixedCase
Parameter CIRA.setTradingIsEnabled(bool)._enabled (#1102) is not in mixedCase
Parameter CIRA.setBusdDividendEnabled(bool)._enabled (#1110) is not in mixedCase
Parameter CIRA.setMarketingEnabled(bool)._enabled (#1122) is not in mixedCase
Parameter CIRA.setSwapAndLiquifyEnabled(bool)._enabled (#1133) is not in mixedCase
Parameter CIRA.swapTokensForDividendToken(uint256,address,address)._tokenAmount (#1456) is not in mixedCase
Parameter CIRA.swapTokensForDividendToken(uint256,address,address)._recipient (#1456) is not in mixedCase
Parameter CIRA.swapTokensForDividendToken(uint256,address,address)._dividendAddress (#1456) is not in mixedCase
Variable CIRA._marketingDistributor (#926) is not in mixedCase
Variable CIRA._busdDividendRewardsFeeBuy (#960) is not in mixedCase
Variable CIRA._marketingFeeBuy (#961) is not in mixedCase
Variable CIRA._LpFeeBuy (#962) is not in mixedCase
Variable CIRA._busdDividendRewardsFeeSell (#964) is not in mixedCase
Variable CIRA._marketingFeeSell (#965) is not in mixedCase
Variable CIRA._LpFeeSell (#966) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#413) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#413)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#267) is too similar to BUSDDividendTracker.getAccount(address).withdrawableDividends (#708)
Prevent variables from having similar names.
Additional information: link
BUSDDividendTracker.getAccountAtIndex(uint256) (#748-765) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#759)
CIRA.slitherConstructorVariables() (#919-1494) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#929)
CIRA.slitherConstructorVariables() (#919-1494) uses literals with too many digits:
- gasForProcessing = 600000 (#974)
CIRA.slitherConstructorConstantVariables() (#919-1494) uses literals with too many digits:
- MAX_SUPPLY = 10000000 * (10 ** 5) (#942)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendPayingToken.lastAmount (#219) is never used in BUSDDividendTracker (#635-850)
Remove unused state variables.
Additional information: link
CIRA._LpFeeBuy (#962) should be constant
CIRA._LpFeeSell (#966) should be constant
CIRA._busdDividendRewardsFeeBuy (#960) should be constant
CIRA._busdDividendRewardsFeeSell (#964) should be constant
CIRA._marketingFeeBuy (#961) should be constant
CIRA._marketingFeeSell (#965) should be constant
CIRA.deadAddress (#929) should be constant
DividendPayingToken.lastAmount (#219) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#41-44)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#46-50)
name() should be declared external:
- ERC20.name() (#90-92)
symbol() should be declared external:
- ERC20.symbol() (#94-96)
decimals() should be declared external:
- ERC20.decimals() (#98-100)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#110-113)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#115-117)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#119-122)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#124-128)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#130-133)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#135-138)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#245-256)
withdrawDividend() should be declared external:
- BUSDDividendTracker.withdrawDividend() (#664-666)
- DividendPayingToken.withdrawDividend() (#258-260)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#285-287)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#293-295)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#457-459)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#461-466)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#468-470)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#474-476)
getAccountAtIndex(uint256) should be declared external:
- BUSDDividendTracker.getAccountAtIndex(uint256) (#748-765)
process(uint256) should be declared external:
- BUSDDividendTracker.process(uint256) (#792-837)
changeMarketingWallet(address) should be declared external:
- MarketingDistributor.changeMarketingWallet(address) (#869-872)
setEnableLiquify(bool) should be declared external:
- MarketingDistributor.setEnableLiquify(bool) (#875-878)
setLimit(uint256) should be declared external:
- MarketingDistributor.setLimit(uint256) (#881-884)
swapAndLiquify() should be declared external:
- MarketingDistributor.swapAndLiquify() (#888-908)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- CIRA.setAutomatedMarketMakerPair(address,bool) (#1180-1184)
getIsExcludedFromFees(address) should be declared external:
- CIRA.getIsExcludedFromFees(address) (#1224-1226)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Alexa traffic rank is relatively low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Unable to find Youtube account