Haven Token Logo

$HAVEN [Haven] Token

About $HAVEN

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years
white paper

$Haven is a deflationary token that rewards holders with BNB every 3 days. $Haven integrates anti-whale features with innovative 'Safetokenomics' to decrease price volatility and incentivise long term holding. $Haven has been designed to combat day traders, whales & bots with revolutionary tokenomics that rewards holders and penalises short selling with a high transaction tax to improve price stability and decrease market volatility.

Social

Laser Scorebeta Last Audit: 19 May 2022

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

HAVEN.swapBack() (#564-605) sends eth to arbitrary user
Dangerous calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#575-581)
- distributor.deposit{value: amountBNBReflection}() (#591)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#507)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#510)
- amountReceived = takeFee(sender,recipient,amount) (#509)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#551)
- triggerAutoBuyback() (#503)
- inSwap = true (#430)
- inSwap = false (#430)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#321-332) ignores return value by ETH.transfer(shareholder,amount) (#327)
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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Contract ownership is not renounced (belongs to a wallet)

Contract ticker ($HAVEN) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

DividendDistributor.distributeDividend(address) (#321-332) has external calls inside a loop: ETH.transfer(shareholder,amount) (#327)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#321-332):
External calls:
- ETH.transfer(shareholder,amount) (#327)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#329)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#330)
Reentrancy in DividendDistributor.process(uint256) (#290-314):
External calls:
- distributeDividend(shareholders[currentIndex]) (#306)
- ETH.transfer(shareholder,amount) (#327)
State variables written after the call(s):
- currentIndex ++ (#311)
Reentrancy in DividendDistributor.setShare(address,uint256) (#254-268):
External calls:
- distributeDividend(shareholder) (#256)
- ETH.transfer(shareholder,amount) (#327)
State variables written after the call(s):
- shares[shareholder].amount = amount (#266)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#267)
Apply the check-effects-interactions pattern.

Additional information: link

HAVEN.swapBack() (#564-605) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#249-252) should emit an event for:
- minPeriod = _minPeriod (#250)
- minDistribution = _minDistribution (#251)
HAVEN.setAutoBuybackSettings(bool,uint256,uint256,uint256) (#647-654) should emit an event for:
- autoBuybackCap = _cap (#649)
- autoBuybackAmount = _amount (#651)
HAVEN.setBuybackMultiplierSettings(uint256,uint256,uint256) (#656-661) should emit an event for:
- buybackMultiplierNumerator = numerator (#658)
- buybackMultiplierDenominator = denominator (#659)
- buybackMultiplierLength = length (#660)
HAVEN.setTxLimit(uint256) (#671-674) should emit an event for:
- _maxTxAmount = amount (#673)
HAVEN.setFees(uint256,uint256,uint256,uint256,uint256) (#694-702) should emit an event for:
- liquidityFee = _liquidityFee (#695)
- reflectionFee = _reflectionFee (#697)
- marketingFee = _marketingFee (#698)
- totalFee = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(_marketingFee) (#699)
- feeDenominator = _feeDenominator (#700)
HAVEN.setSwapBackSettings(bool,uint256) (#709-712) should emit an event for:
- swapThreshold = _amount (#711)
HAVEN.setTargetLiquidity(uint256,uint256) (#714-717) should emit an event for:
- targetLiquidity = _target (#715)
- targetLiquidityDenominator = _denominator (#716)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#123) lacks a zero-check on :
- owner = adr (#124)
HAVEN.setFeeReceivers(address,address)._autoLiquidityReceiver (#704) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#705)
HAVEN.setFeeReceivers(address,address)._marketingFeeReceiver (#704) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#706)
Check that the address is not zero.

Additional information: link

Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
State variables written after the call(s):
- _basicTransfer(sender,recipient,amount) (#498)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#522)
- _balances[recipient] = _balances[recipient].add(amount) (#523)
Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#575-581)
- distributor.deposit{value: amountBNBReflection}() (#591)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
State variables written after the call(s):
- launch() (#505)
- launchedAt = block.number (#668)
Reentrancy in HAVEN.constructor(address,address,address) (#432-460):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#438)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#439)
- _balances[_presaler] = _totalSupply (#455)
- autoLiquidityReceiver = msg.sender (#452)
- distributor = new DividendDistributor(address(router)) (#441)
- isDividendExempt[_presaleContract] = true (#447)
- isDividendExempt[pair] = true (#448)
- isDividendExempt[address(this)] = true (#449)
- isDividendExempt[DEAD] = true (#450)
- isFeeExempt[_presaler] = true (#443)
- isFeeExempt[_presaleContract] = true (#445)
- isTxLimitExempt[_presaler] = true (#444)
- isTxLimitExempt[_presaleContract] = true (#446)
- marketingFeeReceiver = msg.sender (#453)
- pinkAntiBot = IPinkAntiBot(pinkAntiBot_) (#456)
Reentrancy in HAVEN.constructor(address,address,address) (#432-460):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#438)
- pinkAntiBot.setTokenOwner(msg.sender) (#457)
State variables written after the call(s):
- antiBotEnabled = true (#458)
Reentrancy in DividendDistributor.deposit() (#270-288):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#277-282)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#287)
- totalDividends = totalDividends.add(amount) (#286)
Reentrancy in DividendDistributor.distributeDividend(address) (#321-332):
External calls:
- ETH.transfer(shareholder,amount) (#327)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#328)
Reentrancy in DividendDistributor.setShare(address,uint256) (#254-268):
External calls:
- distributeDividend(shareholder) (#256)
- ETH.transfer(shareholder,amount) (#327)
State variables written after the call(s):
- addShareholder(shareholder) (#260)
- shareholderIndexes[shareholder] = shareholders.length (#354)
- removeShareholder(shareholder) (#262)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#360)
- addShareholder(shareholder) (#260)
- shareholders.push(shareholder) (#355)
- removeShareholder(shareholder) (#262)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#359)
- shareholders.pop() (#361)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#265)
Reentrancy in HAVEN.triggerAutoBuyback() (#627-632):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#628)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#630)
- autoBuybackBlockLast = block.number (#629)
- autoBuybackEnabled = false (#631)
Reentrancy in HAVEN.triggerZeusBuyback(uint256,bool) (#615-621):
External calls:
- buyTokens(amount,DEAD) (#616)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#618)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#524)
- _basicTransfer(sender,recipient,amount) (#498)
Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#575-581)
- distributor.deposit{value: amountBNBReflection}() (#591)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#603)
- swapBack() (#502)
Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#575-581)
- distributor.deposit{value: amountBNBReflection}() (#591)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
- distributor.setShare(sender,_balances[sender]) (#512)
- distributor.setShare(recipient,_balances[recipient]) (#513)
- distributor.process(distributorGas) (#515)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#517)
Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#496)
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#575-581)
- distributor.deposit{value: amountBNBReflection}() (#591)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#552)
- amountReceived = takeFee(sender,recipient,amount) (#509)
Reentrancy in HAVEN.constructor(address,address,address) (#432-460):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#438)
- pinkAntiBot.setTokenOwner(msg.sender) (#457)
Event emitted after the call(s):
- Transfer(address(0),_presaler,_totalSupply) (#459)
Reentrancy in HAVEN.swapBack() (#564-605):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#575-581)
- distributor.deposit{value: amountBNBReflection}() (#591)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#603)
Reentrancy in HAVEN.triggerZeusBuyback(uint256,bool) (#615-621):
External calls:
- buyTokens(amount,DEAD) (#616)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#619)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#316-319) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#317-318)
HAVEN._transferFrom(address,address,uint256) (#494-519) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(_balances[sender] > 0) (#505)
HAVEN.getTotalFee(bool) (#536-540) uses timestamp for comparisons
Dangerous comparisons:
- selling && buybackMultiplierTriggeredAt.add(buybackMultiplierLength) > block.timestamp (#538)
HAVEN.shouldSwapBack() (#557-562) uses timestamp for comparisons
Dangerous comparisons:
- msg.sender != pair && ! inSwap && swapEnabled && _balances[address(this)] >= swapThreshold (#558-561)
HAVEN.isOverLiquified(uint256,uint256) (#736-738) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#737)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#290-314) has costly operations inside a loop:
- currentIndex = 0 (#302)
DividendDistributor.distributeDividend(address) (#321-332) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#326)
DividendDistributor.process(uint256) (#290-314) has costly operations inside a loop:
- currentIndex ++ (#311)
Use a local variable to hold the loop computation result.

Additional information: link

HAVEN._maxTxAmount (#381) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 10
HAVEN.swapThreshold (#424) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 20000
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

Pragma version^0.7.4 (#3) allows old versions
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 IDEXRouter.WETH() (#138) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#249) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#249) is not in mixedCase
Variable DividendDistributor._token (#202) is not in mixedCase
Variable DividendDistributor.ETH (#210) is not in mixedCase
Variable DividendDistributor.WBNB (#211) is not in mixedCase
Parameter HAVEN.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#647) is not in mixedCase
Parameter HAVEN.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#647) is not in mixedCase
Parameter HAVEN.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#647) is not in mixedCase
Parameter HAVEN.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#647) is not in mixedCase
Parameter HAVEN.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#694) is not in mixedCase
Parameter HAVEN.setFees(uint256,uint256,uint256,uint256,uint256)._buybackFee (#694) is not in mixedCase
Parameter HAVEN.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#694) is not in mixedCase
Parameter HAVEN.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#694) is not in mixedCase
Parameter HAVEN.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#694) is not in mixedCase
Parameter HAVEN.setFeeReceivers(address,address)._autoLiquidityReceiver (#704) is not in mixedCase
Parameter HAVEN.setFeeReceivers(address,address)._marketingFeeReceiver (#704) is not in mixedCase
Parameter HAVEN.setSwapBackSettings(bool,uint256)._enabled (#709) is not in mixedCase
Parameter HAVEN.setSwapBackSettings(bool,uint256)._amount (#709) is not in mixedCase
Parameter HAVEN.setTargetLiquidity(uint256,uint256)._target (#714) is not in mixedCase
Parameter HAVEN.setTargetLiquidity(uint256,uint256)._denominator (#714) is not in mixedCase
Parameter HAVEN.setDistributionCriteria(uint256,uint256)._minPeriod (#719) is not in mixedCase
Parameter HAVEN.setDistributionCriteria(uint256,uint256)._minDistribution (#719) is not in mixedCase
Parameter HAVEN.setEnableAntiBot(bool)._enable (#739) is not in mixedCase
Variable HAVEN.ETH (#371) is not in mixedCase
Variable HAVEN.WBNB (#372) is not in mixedCase
Variable HAVEN.DEAD (#373) is not in mixedCase
Variable HAVEN.ZERO (#374) is not in mixedCase
Constant HAVEN._name (#376) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HAVEN._symbol (#377) is not in UPPER_CASE_WITH_UNDERSCORES
Constant HAVEN._decimals (#378) is not in UPPER_CASE_WITH_UNDERSCORES
Variable HAVEN._totalSupply (#380) is not in mixedCase
Variable HAVEN._maxTxAmount (#381) is not in mixedCase
Variable HAVEN._balances (#383) is not in mixedCase
Variable HAVEN._allowances (#384) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in HAVEN._transferFrom(address,address,uint256) (#494-519):
External calls:
- swapBack() (#502)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
- triggerAutoBuyback() (#503)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#639-644)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#507)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#510)
- amountReceived = takeFee(sender,recipient,amount) (#509)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#551)
- triggerAutoBuyback() (#503)
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#630)
- triggerAutoBuyback() (#503)
- autoBuybackBlockLast = block.number (#629)
- triggerAutoBuyback() (#503)
- autoBuybackEnabled = false (#631)
- triggerAutoBuyback() (#503)
- inSwap = true (#430)
- inSwap = false (#430)
- launch() (#505)
- launchedAt = block.number (#668)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#552)
- amountReceived = takeFee(sender,recipient,amount) (#509)
- Transfer(sender,recipient,amountReceived) (#517)
Reentrancy in HAVEN.swapBack() (#564-605):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#591)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#592)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#595-602)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#603)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#143) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#144)
Prevent variables from having similar names.

Additional information: link

HAVEN.slitherConstructorVariables() (#368-747) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#373)
HAVEN.slitherConstructorVariables() (#368-747) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#374)
HAVEN.slitherConstructorVariables() (#368-747) uses literals with too many digits:
- _totalSupply = 21000000 * (10 ** _decimals) (#380)
HAVEN.slitherConstructorVariables() (#368-747) uses literals with too many digits:
- distributorGas = 500000 (#421)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

HAVEN.ETH (#371) is never used in HAVEN (#368-747)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#211) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#224) should be constant
HAVEN.DEAD (#373) should be constant
HAVEN.ETH (#371) should be constant
HAVEN.WBNB (#372) should be constant
HAVEN.ZERO (#374) should be constant
HAVEN._totalSupply (#380) 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) (#95-97)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#102-104)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#123-127)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

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


Token is deployed only at one blockchain


Token has only one trading pair


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Unable to find Discord account


Unable to find audit link on the website


Unable to find token on CoinHunt

Additional information: link


Token has relatively low CoinMarketCap rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for $HAVEN

News for $HAVEN