Charity token on BSC with Avax rewards💰
Launching soon, join our official Telegram for more information👉 https://t.co/ByO2nVcDLL
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
AVAXXINE.swapBack() (#871-907) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountBNBReflection}() (#898)
AVAXXINE._addLiquidity(uint256,uint256) (#909-924) sends eth to arbitrary user
Dangerous calls:
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
AVAXXINE.transferToAddressBNB(address,uint256) (#930-932) sends eth to arbitrary user
Dangerous calls:
- recipient.transfer(amount) (#931)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AVAXXINE._beforeTokenTransfer(address) (#843-858):
External calls:
- swapBack() (#852)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#882-888)
- distributor.deposit{value: amountBNBReflection}() (#898)
External calls sending eth:
- swapBack() (#852)
- recipient.transfer(amount) (#931)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- distributor.deposit{value: amountBNBReflection}() (#898)
State variables written after the call(s):
- swapping = false (#854)
Reentrancy in AVAXXINE._transferFrom(address,address,uint256) (#776-834):
External calls:
- _beforeTokenTransfer(recipient) (#800)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#882-888)
- distributor.deposit{value: amountBNBReflection}() (#898)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#800)
- recipient.transfer(amount) (#931)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- distributor.deposit{value: amountBNBReflection}() (#898)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#803)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#816)
- amountReceived = takeFee(sender,amount) (#815)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#865)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#353-366) ignores return value by REWARDS.transfer(shareholder,amount) (#359)
DividendDistributor.TransferDividendToken(address,uint256) (#436-439) ignores return value by REWARDS.transfer(recipient,amount) (#438)
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.
AVAXXINE.swapBack() (#871-907) performs a multiplication on the result of a division:
-splitLiquidityPortion = lpPortionOfSwap.div(2) (#872)
-amountToLiquify = balanceOf(address(this)).mul(splitLiquidityPortion).div(FEES_DIVISOR) (#873)
AVAXXINE.swapBack() (#871-907) performs a multiplication on the result of a division:
-splitLiquidityPortion = lpPortionOfSwap.div(2) (#872)
-amountBNBLiquidity = amountBNB.mul(splitLiquidityPortion).div(FEES_DIVISOR) (#895)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#353-366):
External calls:
- REWARDS.transfer(shareholder,amount) (#359)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#361)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#362)
Reentrancy in DividendDistributor.process(uint256) (#318-346):
External calls:
- distributeDividend(shareholders[currentIndex]) (#335)
- REWARDS.transfer(shareholder,amount) (#359)
State variables written after the call(s):
- currentIndex ++ (#342)
Reentrancy in DividendDistributor.setShare(address,uint256) (#282-296):
External calls:
- distributeDividend(shareholder) (#284)
- REWARDS.transfer(shareholder,amount) (#359)
State variables written after the call(s):
- shares[shareholder].amount = amount (#294)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#295)
Apply the check-effects-interactions pattern.
Additional information: link
AVAXXINE._transferFrom(address,address,uint256).iterations (#827) is a local variable never initialized
AVAXXINE._transferFrom(address,address,uint256).claims (#827) is a local variable never initialized
AVAXXINE._transferFrom(address,address,uint256).lastProcessedIndex (#827) 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
AVAXXINE._transferFrom(address,address,uint256) (#776-834) ignores return value by distributor.process(distributorGas) (#827-830)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#277-280) should emit an event for:
- minPeriod = _minPeriod (#278)
- minDistribution = _minDistribution * (10 ** 18) (#279)
AVAXXINE.updateFeesDivisor(uint256) (#584-586) should emit an event for:
- FEES_DIVISOR = divisor (#585)
AVAXXINE.updateSwapTokensAt(uint256) (#588-590) should emit an event for:
- swapTokensAtAmount = _swaptokens * (10 ** 18) (#589)
AVAXXINE.updateWalletMax(uint256) (#596-598) should emit an event for:
- maxWalletBalance = _walletMax * (10 ** 18) (#597)
AVAXXINE.updateTransactionMax(uint256) (#600-602) should emit an event for:
- maxTxAmount = _txMax * (10 ** 18) (#601)
AVAXXINE.updateSellingRewardFee(uint256) (#612-615) should emit an event for:
- sellingRewardFee = newFee (#613)
AVAXXINE.updateSellingBoosterFee(uint256) (#617-620) should emit an event for:
- sellingBoosterFee = newFee (#618)
AVAXXINE.updateSellingLpFee(uint256) (#622-625) should emit an event for:
- sellingLpFee = newFee (#623)
AVAXXINE.updateSellingCharityFee(uint256) (#627-630) should emit an event for:
- sellingCharityFee = newFee (#628)
AVAXXINE.updateBuyingRewardFee(uint256) (#632-635) should emit an event for:
- buyingRewardFee = newFee (#633)
AVAXXINE.updateBuyingBoosterFee(uint256) (#637-640) should emit an event for:
- buyingBoosterFee = newFee (#638)
AVAXXINE.updateBuyingLpFee(uint256) (#642-645) should emit an event for:
- buyingLpFee = newFee (#643)
AVAXXINE.updateBuyingCharityFee(uint256) (#647-650) should emit an event for:
- buyingCharityFee = newFee (#648)
AVAXXINE.updatePortionsOfSwap(uint256,uint256,uint256,uint256) (#666-676) should emit an event for:
- boosterPortionOfSwap = boosterPortion (#672)
- rewardPortionOfSwap = rewardPortion (#673)
- charityPortionOfSwap = charityPortion (#674)
- lpPortionOfSwap = lpPortion (#675)
AVAXXINE.setDistributorSettings(uint256) (#749-752) should emit an event for:
- distributorGas = gas (#751)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#160) lacks a zero-check on :
- owner = adr (#161)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#353-366) has external calls inside a loop: REWARDS.transfer(shareholder,amount) (#359)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'AVAXXINE._transferFrom(address,address,uint256).claims (#827)' in AVAXXINE._transferFrom(address,address,uint256) (#776-834) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,distributorGas,tx.origin) (#829)
Variable 'AVAXXINE._transferFrom(address,address,uint256).iterations (#827)' in AVAXXINE._transferFrom(address,address,uint256) (#776-834) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,distributorGas,tx.origin) (#829)
Variable 'AVAXXINE._transferFrom(address,address,uint256).lastProcessedIndex (#827)' in AVAXXINE._transferFrom(address,address,uint256) (#776-834) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,distributorGas,tx.origin) (#829)
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 AVAXXINE.constructor() (#532-550):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#534)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#535)
- approve(routerv2,_totalSupply) (#545)
- _allowances[msg.sender][spender] = amount (#563)
- approve(address(pair),_totalSupply) (#546)
- _allowances[msg.sender][spender] = amount (#563)
- _balances[msg.sender] = _totalSupply (#547)
- distributor = new DividendDistributor() (#537)
- isDividendExempt[pair] = true (#541)
- isDividendExempt[address(this)] = true (#542)
- isDividendExempt[DEAD] = true (#543)
- isFeeExempt[msg.sender] = true (#539)
Reentrancy in DividendDistributor.deposit() (#298-316):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#305-310)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#315)
- totalDividends = totalDividends.add(amount) (#314)
Reentrancy in DividendDistributor.distributeDividend(address) (#353-366):
External calls:
- REWARDS.transfer(shareholder,amount) (#359)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#360)
Reentrancy in DividendDistributor.setShare(address,uint256) (#282-296):
External calls:
- distributeDividend(shareholder) (#284)
- REWARDS.transfer(shareholder,amount) (#359)
State variables written after the call(s):
- addShareholder(shareholder) (#288)
- shareholderIndexes[shareholder] = shareholders.length (#426)
- removeShareholder(shareholder) (#290)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#432)
- addShareholder(shareholder) (#288)
- shareholders.push(shareholder) (#427)
- removeShareholder(shareholder) (#290)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#431)
- shareholders.pop() (#433)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#293)
Reentrancy in AVAXXINE.swapBack() (#871-907):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#882-888)
- distributor.deposit{value: amountBNBReflection}() (#898)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#898)
- transferToAddressBNB(address(boosterWallet),amountBNBBooster) (#901)
- recipient.transfer(amount) (#931)
- transferToAddressBNB(address(charityWallet),amountBNBCharity) (#902)
- recipient.transfer(amount) (#931)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- _allowances[msg.sender][spender] = amount (#563)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AVAXXINE._addLiquidity(uint256,uint256) (#909-924):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#923)
Reentrancy in AVAXXINE._transferFrom(address,address,uint256) (#776-834):
External calls:
- _beforeTokenTransfer(recipient) (#800)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#882-888)
- distributor.deposit{value: amountBNBReflection}() (#898)
- distributor.setShare(sender,_balances[sender]) (#820)
- distributor.setShare(recipient,_balances[recipient]) (#824)
- distributor.process(distributorGas) (#827-830)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#800)
- recipient.transfer(amount) (#931)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- distributor.deposit{value: amountBNBReflection}() (#898)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,distributorGas,tx.origin) (#829)
- Transfer(sender,recipient,amountReceived) (#832)
Reentrancy in AVAXXINE._transferFrom(address,address,uint256) (#776-834):
External calls:
- _beforeTokenTransfer(recipient) (#800)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#882-888)
- distributor.deposit{value: amountBNBReflection}() (#898)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#800)
- recipient.transfer(amount) (#931)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- distributor.deposit{value: amountBNBReflection}() (#898)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#866)
- amountReceived = takeFee(sender,amount) (#815)
Reentrancy in AVAXXINE.constructor() (#532-550):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#534)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#564)
- approve(address(pair),_totalSupply) (#546)
- Approval(msg.sender,spender,amount) (#564)
- approve(routerv2,_totalSupply) (#545)
- Transfer(address(0),msg.sender,_totalSupply) (#549)
Reentrancy in AVAXXINE.processDividendTracker(uint256) (#771-774):
External calls:
- (iterations,claims,lastProcessedIndex) = distributor.process(gas) (#772)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#773)
Reentrancy in AVAXXINE.swapBack() (#871-907):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#882-888)
- distributor.deposit{value: amountBNBReflection}() (#898)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#898)
- transferToAddressBNB(address(boosterWallet),amountBNBBooster) (#901)
- recipient.transfer(amount) (#931)
- transferToAddressBNB(address(charityWallet),amountBNBCharity) (#902)
- recipient.transfer(amount) (#931)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#564)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#923)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#348-351) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#349-350)
DividendDistributor.getAccount(address) (#383-419) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#418)
AVAXXINE.takeFee(address,uint256) (#860-869) uses timestamp for comparisons
Dangerous comparisons:
- antiBotEnabled && block.timestamp <= _startTimeForSwap (#862)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#318-346) has costly operations inside a loop:
- currentIndex = 0 (#331)
DividendDistributor.distributeDividend(address) (#353-366) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#358)
DividendDistributor.process(uint256) (#318-346) has costly operations inside a loop:
- currentIndex ++ (#342)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.div(uint256,uint256,string) (#75-80) is never used and should be removed
SafeMath.mod(uint256,uint256) (#64-66) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#82-87) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#7-13) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#34-39) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#41-46) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#22-32) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#15-20) is never used and should be removed
Remove unused functions.
Additional information: link
AVAXXINE.buyersTotalFees (#488) is set pre-construction with a non-constant function or state variable:
- buyingBoosterFee.add(buyingRewardFee).add(buyingLpFee).add(buyingCharityFee)
AVAXXINE.sellersTotalFees (#489) is set pre-construction with a non-constant function or state variable:
- sellingBoosterFee.add(sellingRewardFee).add(sellingLpFee).add(sellingCharityFee)
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
Function IDEXRouter.WETH() (#175) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#277) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#277) is not in mixedCase
Parameter DividendDistributor.getAccount(address)._account (#383) is not in mixedCase
Function DividendDistributor.TransferDividendToken(address,uint256) (#436-439) is not in mixedCase
Function DividendDistributor.TransferStuckBNB(address,uint256) (#441-444) is not in mixedCase
Variable DividendDistributor._token (#231) is not in mixedCase
Variable DividendDistributor.REWARDS (#239) is not in mixedCase
Variable DividendDistributor.WBNB (#241) is not in mixedCase
Parameter AVAXXINE.updateSwapTokensAt(uint256)._swaptokens (#588) is not in mixedCase
Parameter AVAXXINE.updateSwapEnabled(bool)._enabled (#592) is not in mixedCase
Parameter AVAXXINE.updateWalletMax(uint256)._walletMax (#596) is not in mixedCase
Parameter AVAXXINE.updateTransactionMax(uint256)._txMax (#600) is not in mixedCase
Parameter AVAXXINE.whitelistDxSale(address,address)._presaleAddress (#694) is not in mixedCase
Parameter AVAXXINE.whitelistDxSale(address,address)._routerAddress (#694) is not in mixedCase
Parameter AVAXXINE.setDistributionCriteria(uint256,uint256)._minPeriod (#745) is not in mixedCase
Parameter AVAXXINE.setDistributionCriteria(uint256,uint256)._minDistribution (#745) is not in mixedCase
Function AVAXXINE.TransferDividendToken(address,uint256) (#939-941) is not in mixedCase
Function AVAXXINE.TransferStuckBNB(address,uint256) (#943-945) is not in mixedCase
Variable AVAXXINE.REWARDS (#450) is not in mixedCase
Variable AVAXXINE.WBNB (#452) is not in mixedCase
Variable AVAXXINE.DEAD (#453) is not in mixedCase
Variable AVAXXINE.ZERO (#454) is not in mixedCase
Constant AVAXXINE._name (#461) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AVAXXINE._symbol (#462) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AVAXXINE._decimals (#463) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AVAXXINE._totalSupply (#465) is not in UPPER_CASE_WITH_UNDERSCORES
Variable AVAXXINE._balances (#470) is not in mixedCase
Variable AVAXXINE._allowances (#471) is not in mixedCase
Variable AVAXXINE.FEES_DIVISOR (#491) is not in mixedCase
Variable AVAXXINE._startTimeForSwap (#505) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in AVAXXINE._beforeTokenTransfer(address) (#843-858):
External calls:
- swapBack() (#852)
- recipient.transfer(amount) (#931)
External calls sending eth:
- swapBack() (#852)
- recipient.transfer(amount) (#931)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- distributor.deposit{value: amountBNBReflection}() (#898)
State variables written after the call(s):
- swapping = false (#854)
Reentrancy in AVAXXINE._transferFrom(address,address,uint256) (#776-834):
External calls:
- _beforeTokenTransfer(recipient) (#800)
- recipient.transfer(amount) (#931)
External calls sending eth:
- _beforeTokenTransfer(recipient) (#800)
- recipient.transfer(amount) (#931)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
- distributor.deposit{value: amountBNBReflection}() (#898)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#803)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#816)
- amountReceived = takeFee(sender,amount) (#815)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#865)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,distributorGas,tx.origin) (#829)
- Transfer(sender,address(this),feeAmount) (#866)
- amountReceived = takeFee(sender,amount) (#815)
- Transfer(sender,recipient,amountReceived) (#832)
Reentrancy in AVAXXINE.swapBack() (#871-907):
External calls:
- transferToAddressBNB(address(boosterWallet),amountBNBBooster) (#901)
- recipient.transfer(amount) (#931)
- transferToAddressBNB(address(charityWallet),amountBNBCharity) (#902)
- recipient.transfer(amount) (#931)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#898)
- transferToAddressBNB(address(boosterWallet),amountBNBBooster) (#901)
- recipient.transfer(amount) (#931)
- transferToAddressBNB(address(charityWallet),amountBNBCharity) (#902)
- recipient.transfer(amount) (#931)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- (tokenAmountSent,ethAmountSent,liquidity) = router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,DEAD,block.timestamp) (#914-921)
State variables written after the call(s):
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- _allowances[msg.sender][spender] = amount (#563)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#564)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#923)
- _addLiquidity(amountToLiquify,amountBNBLiquidity) (#905)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#180) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#181)
Prevent variables from having similar names.
Additional information: link
DividendDistributor.slitherConstructorVariables() (#228-445) uses literals with too many digits:
- minDistribution = 1000000 * (10 ** 18) (#257)
AVAXXINE.slitherConstructorVariables() (#447-948) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#453)
AVAXXINE.slitherConstructorVariables() (#447-948) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#454)
AVAXXINE.slitherConstructorVariables() (#447-948) uses literals with too many digits:
- distributorGas = 500000 (#497)
AVAXXINE.slitherConstructorVariables() (#447-948) uses literals with too many digits:
- swapTokensAtAmount = 100000 * (10 ** 18) (#509)
AVAXXINE.slitherConstructorConstantVariables() (#447-948) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** 18) (#465)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
AVAXXINE.REWARDS (#450) is never used in AVAXXINE (#447-948)
Remove unused state variables.
Additional information: link
AVAXXINE.DEAD (#453) should be constant
AVAXXINE.REWARDS (#450) should be constant
AVAXXINE.WBNB (#452) should be constant
AVAXXINE.ZERO (#454) should be constant
AVAXXINE.antiBotFee (#504) should be constant
AVAXXINE.routerv2 (#459) should be constant
DividendDistributor.WBNB (#241) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#254) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#137-139)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#160-164)
getAccount(address) should be declared external:
- DividendDistributor.getAccount(address) (#383-419)
updateDistributorTracker(address) should be declared external:
- AVAXXINE.updateDistributorTracker(address) (#723-732)
getCirculatingSupply() should be declared external:
- AVAXXINE.getCirculatingSupply() (#926-928)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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 volume.
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 on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit 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 scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account has less than 100 followers
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Twitter account has few posts