Niros X is an AI driven digital currency that facilitates b2b (business-to-business) and p2p (peer-to-peer) transactions. Niros X is also as an AI powered business solution that will allow small (and micro) businesses direct access to private, corporate, and government business opportunities.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in NirosX._transfer(address,address,uint256) (#433-488):
External calls:
- swapTokensForBNB(half.add(OtherTokens)) (#460)
- pancakeSwapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#500)
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
External calls sending eth:
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
- buyBackAndTeamAddress.transfer(address(this).balance) (#468)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#485)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#164)
- _balances[recipient] = _balances[recipient].add(amount) (#165)
- super._transfer(from,to,amount) (#487)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#164)
- _balances[recipient] = _balances[recipient].add(amount) (#165)
- swapping = false (#471)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
NirosX.updateBuyBackAndTeamFee(uint256) (#423-426) contains a tautology or contradiction:
- require(bool,string)(newFee >= 0 && newFee <= 10000,NirosX: buyBackAndTeamFee fee must be between 0 and 10000) (#424)
NirosX.updateLiquidityFee(uint256) (#428-431) contains a tautology or contradiction:
- require(bool,string)(newFee >= 0 && newFee <= 10000,NirosX: Liquidity fee must be between 0 and 10000) (#429)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
NirosX.addLiquidity(uint256,uint256) (#490-493) ignores return value by pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
Ensure that all the return values of the function calls are used.
Additional information: link
Pragma version^0.8.9 (#27) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 is not recommended for deployment
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
Redundant expression "this (#35)" inContext (#29-38)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Function IPancakeSwapV2Router01.WETH() (#205) is not in mixedCase
Parameter NirosX.setSwapEnable(bool)._enabled (#392) is not in mixedCase
Parameter NirosX.burn(uint256)._value (#503) is not in mixedCase
Parameter NirosX.mint(uint256)._value (#509) is not in mixedCase
Parameter NirosX.migrateBNB(address)._recipient (#514) is not in mixedCase
Variable NirosX._isExcludedFromFees (#343) is not in mixedCase
Variable NirosX._isExcludedFromMaxWalletToken (#344) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
NirosX._transfer(address,address,uint256) (#433-488) performs a multiplication on the result of a division:
-fees = amount.div(10000).mul(totalFees) (#483)
NirosX._transfer(address,address,uint256) (#433-488) performs a multiplication on the result of a division:
-fromLiquidityFee = swapTokensAtAmount.div(totalFees).mul(liquidityFee) (#454)
NirosX._transfer(address,address,uint256) (#433-488) performs a multiplication on the result of a division:
-liquidityPart = newBalance.div(totalFees).mul(liquidityFee) (#464)
Consider ordering multiplication before division.
Additional information: link
NirosX.setSwapTokensAtAmount(uint256) (#384-386) should emit an event for:
- swapTokensAtAmount = swapTokens * (10 ** 18) (#385)
NirosX.setMaxWalletToken(uint256) (#388-390) should emit an event for:
- maxWalletToken = maxToken * (10 ** 18) (#389)
NirosX.updateLiquidityFee(uint256) (#428-431) should emit an event for:
- liquidityFee = newFee (#430)
NirosX.setTradingStartTime(uint256) (#518-522) should emit an event for:
- tradingStartTime = newStartTime (#521)
Emit an event for critical parameter changes.
Additional information: link
NirosX.constructor(address)._buyBackAndTeamAddress (#353) lacks a zero-check on :
- buyBackAndTeamAddress = _buyBackAndTeamAddress (#357)
NirosX.updateBuyBackAndTeamAddress(address).newAddress (#419) lacks a zero-check on :
- buyBackAndTeamAddress = newAddress (#420)
NirosX.migrateBNB(address)._recipient (#514) lacks a zero-check on :
- _recipient.transfer(address(this).balance) (#515)
Check that the address is not zero.
Additional information: link
Reentrancy in NirosX._transfer(address,address,uint256) (#433-488):
External calls:
- swapTokensForBNB(half.add(OtherTokens)) (#460)
- pancakeSwapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#500)
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
External calls sending eth:
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
State variables written after the call(s):
- addLiquidity(otherHalf,liquidityPart) (#467)
- _allowances[owner][spender] = amount (#188)
Reentrancy in NirosX.constructor(address) (#353-379):
External calls:
- _pancakeSwapV2Pair = IPancakeSwapV2Factory(_pancakeSwapV2Router.factory()).createPair(address(this),_pancakeSwapV2Router.WETH()) (#362)
State variables written after the call(s):
- _mint(owner(),2500000000000 * (10 ** 18)) (#378)
- _balances[account] = _balances[account].add(amount) (#173)
- excludeFromFees(address(this),true) (#373)
- _isExcludedFromFees[account] = excluded (#398)
- excludeFromFees(owner(),true) (#374)
- _isExcludedFromFees[account] = excluded (#398)
- _isExcludedFromMaxWalletToken[_pancakeSwapV2Pair] = true (#369)
- _isExcludedFromMaxWalletToken[address(this)] = true (#370)
- _isExcludedFromMaxWalletToken[owner()] = true (#371)
- _mint(owner(),2500000000000 * (10 ** 18)) (#378)
- _totalSupply = _totalSupply.add(amount) (#172)
- _setAutomatedMarketMakerPair(_pancakeSwapV2Pair,true) (#367)
- automatedMarketMakerPairs[pair] = value (#415)
- canTransferBeforeTradingIsEnabled[owner()] = true (#376)
- pancakeSwapV2Pair = _pancakeSwapV2Pair (#365)
- pancakeSwapV2Router = _pancakeSwapV2Router (#364)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in NirosX._transfer(address,address,uint256) (#433-488):
External calls:
- swapTokensForBNB(half.add(OtherTokens)) (#460)
- pancakeSwapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#500)
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
External calls sending eth:
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#189)
- addLiquidity(otherHalf,liquidityPart) (#467)
Reentrancy in NirosX._transfer(address,address,uint256) (#433-488):
External calls:
- swapTokensForBNB(half.add(OtherTokens)) (#460)
- pancakeSwapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#500)
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
External calls sending eth:
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
- buyBackAndTeamAddress.transfer(address(this).balance) (#468)
Event emitted after the call(s):
- SwapAndLiquify(half.add(OtherTokens),liquidityPart,otherHalf) (#470)
- Transfer(sender,recipient,amount) (#166)
- super._transfer(from,to,amount) (#487)
- Transfer(sender,recipient,amount) (#166)
- super._transfer(from,address(this),fees) (#485)
Reentrancy in NirosX.constructor(address) (#353-379):
External calls:
- _pancakeSwapV2Pair = IPancakeSwapV2Factory(_pancakeSwapV2Router.factory()).createPair(address(this),_pancakeSwapV2Router.WETH()) (#362)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#399)
- excludeFromFees(owner(),true) (#374)
- ExcludeFromFees(account,excluded) (#399)
- excludeFromFees(address(this),true) (#373)
- SetAutomatedMarketMakerPair(pair,value) (#416)
- _setAutomatedMarketMakerPair(_pancakeSwapV2Pair,true) (#367)
- Transfer(address(0),account,amount) (#174)
- _mint(owner(),2500000000000 * (10 ** 18)) (#378)
Apply the check-effects-interactions pattern.
Additional information: link
NirosX._transfer(address,address,uint256) (#433-488) uses timestamp for comparisons
Dangerous comparisons:
- tradingStartTime > block.timestamp (#437)
NirosX.setTradingStartTime(uint256) (#518-522) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(tradingStartTime > block.timestamp,Trading has already started) (#519)
- require(bool,string)(newStartTime > block.timestamp,Start time must be in the future) (#520)
Avoid relying on block.timestamp.
Additional information: link
BEP20._setupDecimals(uint8) (#192-194) is never used and should be removed
Context._msgData() (#34-37) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#275-278) is never used and should be removed
SafeMath.mod(uint256,uint256) (#265-268) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#280-283) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#214-218) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#232-235) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#237-240) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#225-230) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#220-223) is never used and should be removed
SafeMathInt.add(int256,int256) (#304-308) is never used and should be removed
SafeMathInt.div(int256,int256) (#294-297) is never used and should be removed
SafeMathInt.mul(int256,int256) (#287-292) is never used and should be removed
SafeMathInt.sub(int256,int256) (#299-302) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#310-313) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#317-321) is never used and should be removed
Remove unused functions.
Additional information: link
Reentrancy in NirosX._transfer(address,address,uint256) (#433-488):
External calls:
- buyBackAndTeamAddress.transfer(address(this).balance) (#468)
External calls sending eth:
- addLiquidity(otherHalf,liquidityPart) (#467)
- pancakeSwapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#492)
- buyBackAndTeamAddress.transfer(address(this).balance) (#468)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#485)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#164)
- _balances[recipient] = _balances[recipient].add(amount) (#165)
- super._transfer(from,to,amount) (#487)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#164)
- _balances[recipient] = _balances[recipient].add(amount) (#165)
- swapping = false (#471)
Event emitted after the call(s):
- SwapAndLiquify(half.add(OtherTokens),liquidityPart,otherHalf) (#470)
- Transfer(sender,recipient,amount) (#166)
- super._transfer(from,to,amount) (#487)
- Transfer(sender,recipient,amount) (#166)
- super._transfer(from,address(this),fees) (#485)
Apply the check-effects-interactions pattern.
Additional information: link
NirosX.constructor(address) (#353-379) uses literals with too many digits:
- _mint(owner(),2500000000000 * (10 ** 18)) (#378)
NirosX.slitherConstructorVariables() (#324-529) uses literals with too many digits:
- maxWalletToken = 75000000000 * (10 ** 18) (#334)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#60-63)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#65-69)
name() should be declared external:
- BEP20.name() (#110-112)
symbol() should be declared external:
- BEP20.symbol() (#114-116)
decimals() should be declared external:
- BEP20.decimals() (#118-120)
totalSupply() should be declared external:
- BEP20.totalSupply() (#122-124)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#130-133)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#135-137)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#139-142)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#144-148)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#150-153)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#155-158)
setSwapEnable(bool) should be declared external:
- NirosX.setSwapEnable(bool) (#392-394)
excludeFromMaxWalletToken(address,bool) should be declared external:
- NirosX.excludeFromMaxWalletToken(address,bool) (#402-406)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- NirosX.setAutomatedMarketMakerPair(address,bool) (#408-411)
updateBuyBackAndTeamAddress(address) should be declared external:
- NirosX.updateBuyBackAndTeamAddress(address) (#419-421)
updateBuyBackAndTeamFee(uint256) should be declared external:
- NirosX.updateBuyBackAndTeamFee(uint256) (#423-426)
updateLiquidityFee(uint256) should be declared external:
- NirosX.updateLiquidityFee(uint256) (#428-431)
burn(uint256) should be declared external:
- NirosX.burn(uint256) (#503-507)
mint(uint256) should be declared external:
- NirosX.mint(uint256) (#509-512)
migrateBNB(address) should be declared external:
- NirosX.migrateBNB(address) (#514-516)
setTradingStartTime(uint256) should be declared external:
- NirosX.setTradingStartTime(uint256) (#518-522)
allowPreTrading(address,bool) should be declared external:
- NirosX.allowPreTrading(address,bool) (#524-527)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 5% buy tax and 5% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
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 whitepaper 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 price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Alexa traffic rank is relatively low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account