Anji Token Logo

ANJI Token

About ANJI

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years

Website

white paper

A decentralized ecosystem with a rewards system that keeps giving.

Laser Scorebeta Last Audit: 23 June 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

BNBDistributor.distributeDividend(address,address) (contracts/AnjiToken.sol#279-290) sends eth to arbitrary user
Dangerous calls:
- address(receiver).transfer(_accured[shareholder]) (contracts/AnjiToken.sol#285)
AnjiToken.swapBack() (contracts/AnjiToken.sol#592-657) sends eth to arbitrary user
Dangerous calls:
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in AnjiToken._transferFrom(address,address,uint256) (contracts/AnjiToken.sol#521-559):
External calls:
- swapBack() (contracts/AnjiToken.sol#526)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#612-618)
- bnbDistributor.depositExternalBNB(bnbSwapBnbAmount) (contracts/AnjiToken.sol#642)
- router.addLiquidityETH{value: bnbLiquidify}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#647-654)
External calls sending eth:
- swapBack() (contracts/AnjiToken.sol#526)
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
- router.addLiquidityETH{value: bnbLiquidify}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#647-654)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount) (contracts/AnjiToken.sol#529)
- _balances[address(this)] = _balances[address(this)] + _totalFee (contracts/AnjiToken.sol#539)
- _balances[recipient] = _balances[recipient].add(amountReceived) (contracts/AnjiToken.sol#542)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/AnjiToken.sol#546)
Reentrancy in BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374):
External calls:
- IBEP20(_token).approve(address(router),amountToSwap) (contracts/AnjiToken.sol#341)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#343-348)
- IBEP20(_token).transfer(shareholder,amountTokensToShareholder) (contracts/AnjiToken.sol#355)
- IBEP20(_token).approve(address(router),amountTokensToLiquify) (contracts/AnjiToken.sol#359)
- router.addLiquidityETH{value: amountToLiquify}(_token,amountTokensToLiquify,0,0,liquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#360-367)
External calls sending eth:
- address(charityReceiver).transfer(amountToCharity) (contracts/AnjiToken.sol#333)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#343-348)
- router.addLiquidityETH{value: amountToLiquify}(_token,amountTokensToLiquify,0,0,liquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#360-367)
State variables written after the call(s):
- _accured[shareholder] = _accured[shareholder] - _accured[shareholder] (contracts/AnjiToken.sol#371)
- _shareEntry[shareholder] = _totalAccured (contracts/AnjiToken.sol#373)
Apply the check-effects-interactions pattern.

Additional information: link

BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374) ignores return value by IBEP20(_token).transfer(shareholder,amountTokensToShareholder) (contracts/AnjiToken.sol#355)
AnjiToken.withdrawTokens(address) (contracts/AnjiToken.sol#794-800) ignores return value by IBEP20(tokenaddr).transfer(marketingFeeReceiver,tokenBal) (contracts/AnjiToken.sol#798)
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 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.

BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374) uses a dangerous strict equality:
- amount == 0 (contracts/AnjiToken.sol#322)
BNBDistributor.claimDividend(address) (contracts/AnjiToken.sol#292-299) uses a dangerous strict equality:
- amount == 0 (contracts/AnjiToken.sol#294)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

AnjiToken._transferFrom(address,address,uint256) (contracts/AnjiToken.sol#521-559) contains a tautology or contradiction:
- require(bool,string)(_balances[sender].sub(amount) >= 0,Insufficient Balance) (contracts/AnjiToken.sol#528)
AnjiToken._basicTransfer(address,address,uint256) (contracts/AnjiToken.sol#561-567) contains a tautology or contradiction:
- require(bool,string)(balanceOf(sender).sub(amount) >= 0,Insufficient Balance) (contracts/AnjiToken.sol#562)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link


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.


Contract ownership is not renounced (belongs to a wallet)

Context._msgData() (contracts/AnjiToken.sol#69-71) is never used and should be removed
Remove unused functions.

Additional information: link

Reentrancy in AnjiToken._transferFrom(address,address,uint256) (contracts/AnjiToken.sol#521-559):
External calls:
- swapBack() (contracts/AnjiToken.sol#526)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#612-618)
- bnbDistributor.depositExternalBNB(bnbSwapBnbAmount) (contracts/AnjiToken.sol#642)
- router.addLiquidityETH{value: bnbLiquidify}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#647-654)
External calls sending eth:
- swapBack() (contracts/AnjiToken.sol#526)
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
- router.addLiquidityETH{value: bnbLiquidify}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#647-654)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (contracts/AnjiToken.sol#543)
- Transfer(sender,recipient,amount) (contracts/AnjiToken.sol#547)
Reentrancy in AnjiToken.constructor() (contracts/AnjiToken.sol#453-483):
External calls:
- pancakeV2BNBPair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (contracts/AnjiToken.sol#457)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (contracts/AnjiToken.sol#482)
Reentrancy in AnjiToken.swapBack() (contracts/AnjiToken.sol#592-657):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#612-618)
- bnbDistributor.depositExternalBNB(bnbSwapBnbAmount) (contracts/AnjiToken.sol#642)
External calls sending eth:
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/AnjiToken.sol#497)
- _approve(address(this),address(router),amountToLiquify) (contracts/AnjiToken.sol#646)
Apply the check-effects-interactions pattern.

Additional information: link

Function IDEXRouter.WETH() (contracts/AnjiToken.sol#151) is not in mixedCase
Parameter BNBDistributor.setCharityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#301) is not in mixedCase
Parameter BNBDistributor.setMarketingFeeReceiver(address)._receiver (contracts/AnjiToken.sol#305) is not in mixedCase
Parameter BNBDistributor.setLiquidityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#309) is not in mixedCase
Variable BNBDistributor._token (contracts/AnjiToken.sol#206) is not in mixedCase
Variable BNBDistributor.WBNB (contracts/AnjiToken.sol#217) is not in mixedCase
Variable BNBDistributor._shareAmount (contracts/AnjiToken.sol#220) is not in mixedCase
Variable BNBDistributor._shareEntry (contracts/AnjiToken.sol#221) is not in mixedCase
Variable BNBDistributor._accured (contracts/AnjiToken.sol#222) is not in mixedCase
Variable BNBDistributor._totalShared (contracts/AnjiToken.sol#223) is not in mixedCase
Variable BNBDistributor._totalReward (contracts/AnjiToken.sol#224) is not in mixedCase
Variable BNBDistributor._totalAccured (contracts/AnjiToken.sol#225) is not in mixedCase
Variable BNBDistributor._stakingMagnitude (contracts/AnjiToken.sol#226) is not in mixedCase
Function AnjiToken.BNBbalance() (contracts/AnjiToken.sol#659-661) is not in mixedCase
Function AnjiToken.BNBRewardbalance() (contracts/AnjiToken.sol#663-665) is not in mixedCase
Parameter AnjiToken.setFees(uint256,uint256,uint256,uint256)._liquidityFee (contracts/AnjiToken.sol#682) is not in mixedCase
Parameter AnjiToken.setFees(uint256,uint256,uint256,uint256)._charityFee (contracts/AnjiToken.sol#683) is not in mixedCase
Parameter AnjiToken.setFees(uint256,uint256,uint256,uint256)._marketingFee (contracts/AnjiToken.sol#684) is not in mixedCase
Parameter AnjiToken.setFees(uint256,uint256,uint256,uint256)._bnbReflectionFee (contracts/AnjiToken.sol#685) is not in mixedCase
Parameter AnjiToken.setSwapEnabled(bool)._enabled (contracts/AnjiToken.sol#697) is not in mixedCase
Parameter AnjiToken.setCharityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#701) is not in mixedCase
Parameter AnjiToken.setMarketingFeeReceiver(address)._receiver (contracts/AnjiToken.sol#709) is not in mixedCase
Parameter AnjiToken.setLiquidityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#717) is not in mixedCase
Parameter AnjiToken.getWalletClaimableBNB(address)._addr (contracts/AnjiToken.sol#734) is not in mixedCase
Parameter AnjiToken.getWalletShareAmount(address)._addr (contracts/AnjiToken.sol#738) is not in mixedCase
Parameter AnjiToken.setFeesOnNormalTransfers(bool)._enabled (contracts/AnjiToken.sol#767) is not in mixedCase
Variable AnjiToken.WBNB (contracts/AnjiToken.sol#404) is not in mixedCase
Variable AnjiToken.DEAD (contracts/AnjiToken.sol#405) is not in mixedCase
Variable AnjiToken.ZERO (contracts/AnjiToken.sol#406) is not in mixedCase
Constant AnjiToken._name (contracts/AnjiToken.sol#408) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AnjiToken._symbol (contracts/AnjiToken.sol#409) is not in UPPER_CASE_WITH_UNDERSCORES
Constant AnjiToken._decimals (contracts/AnjiToken.sol#410) is not in UPPER_CASE_WITH_UNDERSCORES
Variable AnjiToken._totalSupply (contracts/AnjiToken.sol#412) is not in mixedCase
Variable AnjiToken._balances (contracts/AnjiToken.sol#414) is not in mixedCase
Variable AnjiToken._allowances (contracts/AnjiToken.sol#415) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/AnjiToken.sol#156) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/AnjiToken.sol#157)
Variable BNBDistributor._totalReward (contracts/AnjiToken.sol#224) is too similar to BNBDistributor.currentRewards(address).totalRewards (contracts/AnjiToken.sol#386)
Prevent variables from having similar names.

Additional information: link

AnjiToken.isTxLimitExempt (contracts/AnjiToken.sol#418) is never used in AnjiToken (contracts/AnjiToken.sol#401-803)
Remove unused state variables.

Additional information: link

AnjiToken.swapBack() (contracts/AnjiToken.sol#592-657) performs a multiplication on the result of a division:
-bnbLiquidify = swapedBNBAmount.mul(liquidityFee.div(2)).div(bnbDenom) (contracts/AnjiToken.sol#627)
Consider ordering multiplication before division.

Additional information: link

BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374) ignores return value by IBEP20(_token).approve(address(router),amountToSwap) (contracts/AnjiToken.sol#341)
BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374) ignores return value by IBEP20(_token).approve(address(router),amountTokensToLiquify) (contracts/AnjiToken.sol#359)
BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374) ignores return value by router.addLiquidityETH{value: amountToLiquify}(_token,amountTokensToLiquify,0,0,liquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#360-367)
AnjiToken.swapBack() (contracts/AnjiToken.sol#592-657) ignores return value by router.addLiquidityETH{value: bnbLiquidify}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#647-654)
Ensure that all the return values of the function calls are used.

Additional information: link

AnjiToken.constructor()._owner (contracts/AnjiToken.sol#454) shadows:
- Ownable._owner (contracts/AnjiToken.sol#75) (state variable)
AnjiToken._approve(address,address,uint256).owner (contracts/AnjiToken.sol#492) shadows:
- Ownable.owner() (contracts/AnjiToken.sol#89-91) (function)
Rename the local variables that shadow another component.

Additional information: link

BNBDistributor.deposit(uint256) (contracts/AnjiToken.sol#274-277) should emit an event for:
- _totalReward = _totalReward + amount (contracts/AnjiToken.sol#275)
- _totalAccured = _totalAccured + amount * _stakingMagnitude / _totalShared (contracts/AnjiToken.sol#276)
BNBDistributor.depositExternalBNB(uint256) (contracts/AnjiToken.sol#376-379) should emit an event for:
- _totalReward = _totalReward + amount (contracts/AnjiToken.sol#377)
- _totalAccured = _totalAccured + amount * _stakingMagnitude / _totalShared (contracts/AnjiToken.sol#378)
AnjiToken.setFees(uint256,uint256,uint256,uint256) (contracts/AnjiToken.sol#681-691) should emit an event for:
- liquidityFee = _liquidityFee (contracts/AnjiToken.sol#687)
- charityFee = _charityFee (contracts/AnjiToken.sol#688)
- marketingFee = _marketingFee (contracts/AnjiToken.sol#689)
- bnbReflectionFee = _bnbReflectionFee (contracts/AnjiToken.sol#690)
Emit an event for critical parameter changes.

Additional information: link

BNBDistributor.constructor(address,address,address,address,address)._wbnb (contracts/AnjiToken.sol#234) lacks a zero-check on :
- WBNB = _wbnb (contracts/AnjiToken.sol#235)
BNBDistributor.constructor(address,address,address,address,address)._charityReceiver (contracts/AnjiToken.sol#234) lacks a zero-check on :
- charityReceiver = _charityReceiver (contracts/AnjiToken.sol#238)
BNBDistributor.constructor(address,address,address,address,address)._marketingReceiver (contracts/AnjiToken.sol#234) lacks a zero-check on :
- marketingReceiver = _marketingReceiver (contracts/AnjiToken.sol#239)
BNBDistributor.constructor(address,address,address,address,address)._liquidityReceiver (contracts/AnjiToken.sol#234) lacks a zero-check on :
- liquidityReceiver = _liquidityReceiver (contracts/AnjiToken.sol#240)
BNBDistributor.setCharityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#301) lacks a zero-check on :
- charityReceiver = _receiver (contracts/AnjiToken.sol#302)
BNBDistributor.setMarketingFeeReceiver(address)._receiver (contracts/AnjiToken.sol#305) lacks a zero-check on :
- marketingReceiver = _receiver (contracts/AnjiToken.sol#306)
BNBDistributor.setLiquidityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#309) lacks a zero-check on :
- liquidityReceiver = _receiver (contracts/AnjiToken.sol#310)
AnjiToken.constructor()._owner (contracts/AnjiToken.sol#454) lacks a zero-check on :
- charityFeeReceiver = _owner (contracts/AnjiToken.sol#477)
- marketingFeeReceiver = _owner (contracts/AnjiToken.sol#478)
- autoLiquidityReceiver = _owner (contracts/AnjiToken.sol#479)
AnjiToken.setCharityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#701) lacks a zero-check on :
- charityFeeReceiver = _receiver (contracts/AnjiToken.sol#702)
AnjiToken.setMarketingFeeReceiver(address)._receiver (contracts/AnjiToken.sol#709) lacks a zero-check on :
- marketingFeeReceiver = _receiver (contracts/AnjiToken.sol#710)
AnjiToken.setLiquidityFeeReceiver(address)._receiver (contracts/AnjiToken.sol#717) lacks a zero-check on :
- autoLiquidityReceiver = _receiver (contracts/AnjiToken.sol#718)
Check that the address is not zero.

Additional information: link

Reentrancy in BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374):
External calls:
- IBEP20(_token).approve(address(router),amountToSwap) (contracts/AnjiToken.sol#341)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#343-348)
- IBEP20(_token).transfer(shareholder,amountTokensToShareholder) (contracts/AnjiToken.sol#355)
- IBEP20(_token).approve(address(router),amountTokensToLiquify) (contracts/AnjiToken.sol#359)
- router.addLiquidityETH{value: amountToLiquify}(_token,amountTokensToLiquify,0,0,liquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#360-367)
External calls sending eth:
- address(charityReceiver).transfer(amountToCharity) (contracts/AnjiToken.sol#333)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#343-348)
- router.addLiquidityETH{value: amountToLiquify}(_token,amountTokensToLiquify,0,0,liquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#360-367)
State variables written after the call(s):
- _totalReward = _totalReward - _accured[shareholder] (contracts/AnjiToken.sol#370)
Reentrancy in AnjiToken.constructor() (contracts/AnjiToken.sol#453-483):
External calls:
- pancakeV2BNBPair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (contracts/AnjiToken.sol#457)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = ~ uint256(0) (contracts/AnjiToken.sol#458)
- _balances[_owner] = _totalSupply (contracts/AnjiToken.sol#481)
- autoLiquidityReceiver = _owner (contracts/AnjiToken.sol#479)
- bnbDistributor = new BNBDistributor(WBNB,address(router),_owner,_owner,_owner) (contracts/AnjiToken.sol#461)
- charityFeeReceiver = _owner (contracts/AnjiToken.sol#477)
- isDividendExempt[pancakeV2BNBPair] = true (contracts/AnjiToken.sol#466)
- isDividendExempt[address(this)] = true (contracts/AnjiToken.sol#467)
- isDividendExempt[DEAD] = true (contracts/AnjiToken.sol#468)
- isDividendExempt[ZERO] = true (contracts/AnjiToken.sol#469)
- isDividendExempt[address(bnbDistributor)] = true (contracts/AnjiToken.sol#470)
- isDividendExempt[_owner] = true (contracts/AnjiToken.sol#471)
- isDividendExempt[upgradeContract] = true (contracts/AnjiToken.sol#475)
- isFeeExempt[_owner] = true (contracts/AnjiToken.sol#463)
- isFeeExempt[address(this)] = true (contracts/AnjiToken.sol#464)
- isFeeExempt[address(bnbDistributor)] = true (contracts/AnjiToken.sol#465)
- isFeeExempt[upgradeContract] = true (contracts/AnjiToken.sol#474)
- marketingFeeReceiver = _owner (contracts/AnjiToken.sol#478)
- pairs.push(pancakeV2BNBPair) (contracts/AnjiToken.sol#460)
Reentrancy in AnjiToken.setCharityFeeReceiver(address) (contracts/AnjiToken.sol#701-707):
External calls:
- bnbDistributor.setCharityFeeReceiver(_receiver) (contracts/AnjiToken.sol#703)
State variables written after the call(s):
- isDividendExempt[_receiver] = true (contracts/AnjiToken.sol#705)
- isFeeExempt[_receiver] = true (contracts/AnjiToken.sol#706)
Reentrancy in AnjiToken.setLiquidityFeeReceiver(address) (contracts/AnjiToken.sol#717-723):
External calls:
- bnbDistributor.setLiquidityFeeReceiver(_receiver) (contracts/AnjiToken.sol#719)
State variables written after the call(s):
- isDividendExempt[_receiver] = true (contracts/AnjiToken.sol#721)
- isFeeExempt[_receiver] = true (contracts/AnjiToken.sol#722)
Reentrancy in AnjiToken.setMarketingFeeReceiver(address) (contracts/AnjiToken.sol#709-715):
External calls:
- bnbDistributor.setMarketingFeeReceiver(_receiver) (contracts/AnjiToken.sol#711)
State variables written after the call(s):
- isDividendExempt[_receiver] = true (contracts/AnjiToken.sol#713)
- isFeeExempt[_receiver] = true (contracts/AnjiToken.sol#714)
Reentrancy in AnjiToken.swapBack() (contracts/AnjiToken.sol#592-657):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#612-618)
- bnbDistributor.depositExternalBNB(bnbSwapBnbAmount) (contracts/AnjiToken.sol#642)
External calls sending eth:
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
State variables written after the call(s):
- _approve(address(this),address(router),amountToLiquify) (contracts/AnjiToken.sol#646)
- _allowances[owner][spender] = amount (contracts/AnjiToken.sol#496)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in AnjiToken._transferFrom(address,address,uint256) (contracts/AnjiToken.sol#521-559):
External calls:
- swapBack() (contracts/AnjiToken.sol#526)
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
External calls sending eth:
- swapBack() (contracts/AnjiToken.sol#526)
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
- router.addLiquidityETH{value: bnbLiquidify}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#647-654)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount) (contracts/AnjiToken.sol#529)
- _balances[address(this)] = _balances[address(this)] + _totalFee (contracts/AnjiToken.sol#539)
- _balances[recipient] = _balances[recipient].add(amountReceived) (contracts/AnjiToken.sol#542)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/AnjiToken.sol#546)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (contracts/AnjiToken.sol#543)
- Transfer(sender,recipient,amount) (contracts/AnjiToken.sol#547)
Reentrancy in BNBDistributor.buyToken(address) (contracts/AnjiToken.sol#317-374):
External calls:
- address(charityReceiver).transfer(amountToCharity) (contracts/AnjiToken.sol#333)
External calls sending eth:
- address(charityReceiver).transfer(amountToCharity) (contracts/AnjiToken.sol#333)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(0,path,address(this),block.timestamp) (contracts/AnjiToken.sol#343-348)
- router.addLiquidityETH{value: amountToLiquify}(_token,amountTokensToLiquify,0,0,liquidityReceiver,block.timestamp) (contracts/AnjiToken.sol#360-367)
State variables written after the call(s):
- _accured[shareholder] = _accured[shareholder] - _accured[shareholder] (contracts/AnjiToken.sol#371)
- _shareEntry[shareholder] = _totalAccured (contracts/AnjiToken.sol#373)
- _totalReward = _totalReward - _accured[shareholder] (contracts/AnjiToken.sol#370)
Reentrancy in BNBDistributor.distributeDividend(address,address) (contracts/AnjiToken.sol#279-290):
External calls:
- address(receiver).transfer(_accured[shareholder]) (contracts/AnjiToken.sol#285)
State variables written after the call(s):
- _accured[shareholder] = _accured[shareholder] - _accured[shareholder] (contracts/AnjiToken.sol#287)
- _shareEntry[shareholder] = _totalAccured (contracts/AnjiToken.sol#289)
- _totalReward = _totalReward - _accured[shareholder] (contracts/AnjiToken.sol#286)
Reentrancy in BNBDistributor.setShare(address,uint256) (contracts/AnjiToken.sol#245-268):
External calls:
- distributeDividend(shareholder,marketingReceiver) (contracts/AnjiToken.sol#250)
- address(receiver).transfer(_accured[shareholder]) (contracts/AnjiToken.sol#285)
State variables written after the call(s):
- _accured[shareholder] = _accured[shareholder] - _accured[shareholder] (contracts/AnjiToken.sol#253)
- _shareAmount[shareholder] = _shareAmount[shareholder] - _shareAmount[shareholder] (contracts/AnjiToken.sol#256)
- _shareEntry[shareholder] = _totalAccured (contracts/AnjiToken.sol#257)
- _totalShared = _totalShared - _shareAmount[shareholder] (contracts/AnjiToken.sol#254)
Reentrancy in AnjiToken.swapBack() (contracts/AnjiToken.sol#592-657):
External calls:
- address(marketingFeeReceiver).transfer(bnbSwapMarketingAmount) (contracts/AnjiToken.sol#631)
- address(charityFeeReceiver).transfer(bnbSwapCharityAmount) (contracts/AnjiToken.sol#636)
- address(bnbDistributor).transfer(bnbSwapBnbAmount) (contracts/AnjiToken.sol#641)
State variables written after the call(s):
- _approve(address(this),address(router),amountToLiquify) (contracts/AnjiToken.sol#646)
- _allowances[owner][spender] = amount (contracts/AnjiToken.sol#496)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/AnjiToken.sol#497)
- _approve(address(this),address(router),amountToLiquify) (contracts/AnjiToken.sol#646)
Apply the check-effects-interactions pattern.

Additional information: link

BNBDistributor.setShare(address,uint256) (contracts/AnjiToken.sol#245-268) uses literals with too many digits:
- amount < 1000000000 (contracts/AnjiToken.sol#247)
AnjiToken.slitherConstructorVariables() (contracts/AnjiToken.sol#401-803) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (contracts/AnjiToken.sol#405)
AnjiToken.slitherConstructorVariables() (contracts/AnjiToken.sol#401-803) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (contracts/AnjiToken.sol#406)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

AnjiToken.DEAD (contracts/AnjiToken.sol#405) should be constant
AnjiToken.WBNB (contracts/AnjiToken.sol#404) should be constant
AnjiToken.ZERO (contracts/AnjiToken.sol#406) should be constant
AnjiToken._totalSupply (contracts/AnjiToken.sol#412) should be constant
AnjiToken.feeDenominator (contracts/AnjiToken.sol#427) should be constant
BNBDistributor.minAmount (contracts/AnjiToken.sol#228) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/AnjiToken.sol#108-110)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/AnjiToken.sol#116-119)
getWalletShare(address) should be declared external:
- BNBDistributor.getWalletShare(address) (contracts/AnjiToken.sol#270-272)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain

Contract has 10% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.

No disclosed threats


Unable to find KYC or doxxing proof


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for ANJI

News for ANJI