ZinaX is a DAPP that enables Staking and Creation of NFTs and Social Tokens. ZinaX token is used for rewards and governance within the Zinari Ecosystem.
ZINAXDAO.recoverBEP20(IBEP20,address) (#1124-1129) ignores return value by token.transfer(recipient,amount) (#1127)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in ZINAXDAO._transfer(address,address,uint256) (#1002-1020):
External calls:
- _swapBack(swapAmount) (#1015)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (#1073)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
External calls sending eth:
- _swapBack(swapAmount) (#1015)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
State variables written after the call(s):
- amountAfterTaxes = _takeTax(sender,recipient,amount) (#1017)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#790)
- _balances[recipient] = _balances[recipient].add(amount) (#791)
- super._transfer(sender,recipient,amountAfterTaxes) (#1019)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#790)
- _balances[recipient] = _balances[recipient].add(amount) (#791)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
ZINAXDAO._swapBack(uint256) (#1059-1091) ignores return value by ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (#1073)
ZINAXDAO._swapBack(uint256) (#1059-1091) ignores return value by ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
Ensure that all the return values of the function calls are used.
Additional information: link
Address.isContract(address) (#260-269) uses assembly
- INLINE ASM (#267)
Address._verifyCallResult(bool,bytes,string) (#405-422) uses assembly
- INLINE ASM (#414-417)
Do not use evm assembly.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
ZINAXDAO.slitherConstructorVariables() (#906-1191) uses literals with too many digits:
- initialSupply = 30000000000000000000000000 (#910)
ZINAXDAO.slitherConstructorVariables() (#906-1191) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#931)
ZINAXDAO.slitherConstructorConstantVariables() (#906-1191) uses literals with too many digits:
- MAX_SUPPLY = 50000000000000000000000000 (#908)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ZINAXDAO.updateMasterChef(address) (#1098-1100) should emit an event for:
- MasterChef = _masterChef (#1099)
Emit an event for critical parameter changes.
Additional information: link
ZINAXDAO.updateMasterChef(address)._masterChef (#1098) lacks a zero-check on :
- MasterChef = _masterChef (#1099)
ZINAXDAO.recoverBNB(address).recipient (#1117) lacks a zero-check on :
- (sent) = address(recipient).call{gas: transferGas,value: amount}() (#1119)
ZINAXDAO.updatePair(address)._pair (#1140) lacks a zero-check on :
- pair = _pair (#1141)
Check that the address is not zero.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.6.0<0.8.0', '>=0.6.2<0.8.0']
- >=0.6.0<0.8.0 (#20)
- >=0.6.2<0.8.0 (#237)
- 0.6.12 (#429)
Use one Solidity version.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#20) is too complex
Pragma version>=0.6.2<0.8.0 (#237) is too complex
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
ZINAXDAO.deadWallet (#931) should be constant
ZINAXDAO.initialSupply (#910) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
BEP20.constructor(string,string,address).name (#603) shadows:
- BEP20.name() (#622-624) (function)
- IBEP20.name() (#479) (function)
BEP20.constructor(string,string,address).symbol (#604) shadows:
- BEP20.symbol() (#636-638) (function)
- IBEP20.symbol() (#474) (function)
BEP20.constructor(string,string,address).owner (#605) shadows:
- Ownable.owner() (#455-457) (function)
BEP20.allowance(address,address).owner (#670) shadows:
- Ownable.owner() (#455-457) (function)
BEP20._approve(address,address,uint256).owner (#845) shadows:
- Ownable.owner() (#455-457) (function)
ZINAXDAO.constructor(address).owner (#984) shadows:
- Ownable.owner() (#455-457) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in ZINAXDAO._swapBack(uint256) (#1059-1091):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (#1073)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
External calls sending eth:
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
State variables written after the call(s):
- inSwap = false (#1090)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ZINAXDAO._swapBack(uint256) (#1059-1091):
External calls:
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (#1073)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
External calls sending eth:
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
Event emitted after the call(s):
- AutoLiquidity(amountBNBLiquidity,liquidityTokens) (#1087)
Reentrancy in ZINAXDAO._transfer(address,address,uint256) (#1002-1020):
External calls:
- _swapBack(swapAmount) (#1015)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (#1073)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
External calls sending eth:
- _swapBack(swapAmount) (#1015)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#792)
- super._transfer(sender,recipient,amountAfterTaxes) (#1019)
- Transfer(sender,recipient,amount) (#792)
- amountAfterTaxes = _takeTax(sender,recipient,amount) (#1017)
Reentrancy in ZINAXDAO.recoverBEP20(IBEP20,address) (#1124-1129):
External calls:
- token.transfer(recipient,amount) (#1127)
Event emitted after the call(s):
- RecoverBEP20(address(token),recipient,amount) (#1128)
Reentrancy in ZINAXDAO.recoverBNB(address) (#1117-1122):
External calls:
- (sent) = address(recipient).call{gas: transferGas,value: amount}() (#1119)
Event emitted after the call(s):
- RecoverBNB(recipient,amount) (#1121)
Reentrancy in ZINAXDAO.triggerSwapBack(bool,uint256) (#1108-1115):
External calls:
- _swapBack(tokenAmount) (#1113)
- ROUTER.swapExactTokensForETH(amountToSwap,0,path,address(this),block.timestamp) (#1073)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
External calls sending eth:
- _swapBack(tokenAmount) (#1113)
- ROUTER.addLiquidityETH{value: amountBNBLiquidity}(address(this),liquidityTokens,0,0,address(this),block.timestamp) (#1078-1085)
Event emitted after the call(s):
- TriggerSwapBack(tokenAmount) (#1114)
Apply the check-effects-interactions pattern.
Additional information: link
ZINAXDAO.antiWhale(address,address,uint256) (#958-975) compares to a boolean constant:
-_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false (#965-966)
Remove the equality to the boolean constant.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#405-422) is never used and should be removed
Address.functionCall(address,bytes) (#313-315) is never used and should be removed
Address.functionCall(address,bytes,string) (#323-325) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#338-340) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#348-355) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#387-389) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#397-403) is never used and should be removed
Address.functionStaticCall(address,bytes) (#363-365) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#373-379) is never used and should be removed
Address.isContract(address) (#260-269) is never used and should be removed
Address.sendValue(address,uint256) (#287-293) is never used and should be removed
BEP20._burn(address,uint256) (#823-829) is never used and should be removed
BEP20._burnFrom(address,uint256) (#862-869) is never used and should be removed
SafeMath.div(uint256,uint256) (#152-155) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#207-210) is never used and should be removed
SafeMath.mod(uint256,uint256) (#169-172) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#227-230) is never used and should be removed
SafeMath.mul(uint256,uint256) (#133-138) is never used and should be removed
SafeMath.sub(uint256,uint256) (#118-121) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#41-45) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#77-80) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#87-90) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#62-70) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#52-55) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#287-293):
- (success) = recipient.call{value: amount}() (#291)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#348-355):
- (success,returndata) = target.call{value: value}(data) (#353)
Low level call in Address.functionStaticCall(address,bytes,string) (#373-379):
- (success,returndata) = target.staticcall(data) (#377)
Low level call in Address.functionDelegateCall(address,bytes,string) (#397-403):
- (success,returndata) = target.delegatecall(data) (#401)
Low level call in ZINAXDAO.recoverBNB(address) (#1117-1122):
- (sent) = address(recipient).call{gas: transferGas,value: amount}() (#1119)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#879) is not in mixedCase
Parameter ZINAXDAO.mint(address,uint256)._to (#995) is not in mixedCase
Parameter ZINAXDAO.mint(address,uint256)._amount (#995) is not in mixedCase
Parameter ZINAXDAO.isExcludedFromAntiWhale(address)._account (#1093) is not in mixedCase
Parameter ZINAXDAO.updateMasterChef(address)._masterChef (#1098) is not in mixedCase
Parameter ZINAXDAO.setExcludedFromAntiWhale(address,bool)._account (#1136) is not in mixedCase
Parameter ZINAXDAO.setExcludedFromAntiWhale(address,bool)._excluded (#1136) is not in mixedCase
Parameter ZINAXDAO.updatePair(address)._pair (#1140) is not in mixedCase
Variable ZINAXDAO.MasterChef (#914) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#449-453)
name() should be declared external:
- BEP20.name() (#622-624)
decimals() should be declared external:
- BEP20.decimals() (#629-631)
symbol() should be declared external:
- BEP20.symbol() (#636-638)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#662-665)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#670-672)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#681-684)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#698-710)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#724-727)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#743-753)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#763-766)
mint(address,uint256) should be declared external:
- ZINAXDAO.mint(address,uint256) (#995-998)
isExcludedFromAntiWhale(address) should be declared external:
- ZINAXDAO.isExcludedFromAntiWhale(address) (#1093-1095)
updateMasterChef(address) should be declared external:
- ZINAXDAO.updateMasterChef(address) (#1098-1100)
setExcludedFromAntiWhale(address,bool) should be declared external:
- ZINAXDAO.setExcludedFromAntiWhale(address,bool) (#1136-1138)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Token is deployed only at one blockchain
Average 30d PancakeSwap liquidity is low.
Contract has 0% buy tax and 20% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
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 whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
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
Young tokens have high risks of price dump / death