KnightMoon Token Logo

$Knights [KnightMoon] Token

About $Knights

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

KnightMoon.sendETHToTeam(uint256) (#1025-1028) sends eth to arbitrary user
Dangerous calls:
- _teamWalletAddress.transfer(amount.div(2)) (#1026)
- _marketingWalletAddress.transfer(amount.div(2)) (#1027)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in KnightMoon._transfer(address,address,uint256) (#914-990):
External calls:
- swapTokensForEth(swapAmount) (#966)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1001-1007)
- addLiquidity(otherHalfLiquid,ethLiquid) (#973)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
External calls sending eth:
- addLiquidity(otherHalfLiquid,ethLiquid) (#973)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
- sendETHToTeam(ethTeam) (#975)
- _teamWalletAddress.transfer(amount.div(2)) (#1026)
- _marketingWalletAddress.transfer(amount.div(2)) (#1027)
State variables written after the call(s):
- _tokenTransfer(sender,recipient,amount,takeFee) (#989)
- _previousLiquidFee = _liquidFee (#889)
- _tokenTransfer(sender,recipient,amount,takeFee) (#989)
- _previousTeamFee = _teamFee (#888)
- _tokenTransfer(sender,recipient,amount,takeFee) (#989)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeamNLiquid) (#1113)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1069)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1079)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1091)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1102)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1070)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1081)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1092)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1104)
- _tokenTransfer(sender,recipient,amount,takeFee) (#989)
- _rTotal = _rTotal.sub(rFee) (#1119)
- _tokenTransfer(sender,recipient,amount,takeFee) (#989)
- _tOwned[address(this)] = _tOwned[address(this)].add(tTeamNLiquid) (#1115)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1090)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1101)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1080)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1103)
- inSwap = false (#977)
Apply the check-effects-interactions pattern.

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.

Contract ticker ($Knights) 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.

KnightMoon._transfer(address,address,uint256) (#914-990) performs a multiplication on the result of a division:
-halfLiquid = amountLiquid.div(2) (#960)
-ethLiquid = swapEthBalance.mul(halfLiquid).div(swapAmount) (#969)
Consider ordering multiplication before division.

Additional information: link

KnightMoon.addLiquidity(uint256,uint256) (#1010-1023) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
Ensure that all the return values of the function calls are used.

Additional information: link

KnightMoon._approve(address,address,uint256).owner (#906) shadows:
- Auth.owner (#621) (state variable)
Rename the local variables that shadow another component.

Additional information: link

KnightMoon.sellCoolDown(uint256) (#1232-1234) should emit an event for:
- sellCooldownInterval = interval (#1233)
Emit an event for critical parameter changes.

Additional information: link

KnightMoon.withdrawStuckBNB(address).addr (#1222) lacks a zero-check on :
- (sent) = addr.call{value: address(this).balance}() (#1223)
Check that the address is not zero.

Additional information: link

Reentrancy in KnightMoon.transferFrom(address,address,uint256) (#807-811):
External calls:
- _transfer(sender,recipient,amount) (#808)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1001-1007)
External calls sending eth:
- _transfer(sender,recipient,amount) (#808)
- _teamWalletAddress.transfer(amount.div(2)) (#1026)
- _marketingWalletAddress.transfer(amount.div(2)) (#1027)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#809)
- _allowances[owner][spender] = amount (#910)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in KnightMoon.transferFrom(address,address,uint256) (#807-811):
External calls:
- _transfer(sender,recipient,amount) (#808)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1001-1007)
External calls sending eth:
- _transfer(sender,recipient,amount) (#808)
- _teamWalletAddress.transfer(amount.div(2)) (#1026)
- _marketingWalletAddress.transfer(amount.div(2)) (#1027)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#809)
Apply the check-effects-interactions pattern.

Additional information: link

KnightMoon._transfer(address,address,uint256) (#914-990) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys.) (#931)
- require(bool,string)(sellCooldownTimer[sender][sellTimer] <= allowedSellAmount(),Please wait for cooldown between sells.) (#938)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#394-415) uses assembly
- INLINE ASM (#407-410)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#277-280) is never used and should be removed
Remove unused functions.

Additional information: link

KnightMoon._maxWalletAmount (#704) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 3) / 100
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

solc-0.8.7 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

Low level call in KnightMoon.withdrawStuckBNB(address) (#1222-1225):
- (sent) = addr.call{value: address(this).balance}() (#1223)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable KnightMoon._marketingWalletAddress (#711) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in KnightMoon.transferFrom(address,address,uint256) (#807-811):
External calls:
- _transfer(sender,recipient,amount) (#808)
- _teamWalletAddress.transfer(amount.div(2)) (#1026)
- _marketingWalletAddress.transfer(amount.div(2)) (#1027)
External calls sending eth:
- _transfer(sender,recipient,amount) (#808)
- _teamWalletAddress.transfer(amount.div(2)) (#1026)
- _marketingWalletAddress.transfer(amount.div(2)) (#1027)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,ownerX(),block.timestamp) (#1015-1022)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#809)
- _allowances[owner][spender] = amount (#910)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#911)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#809)
Apply the check-effects-interactions pattern.

Additional information: link

Variable KnightMoon._transferBothExcluded(address,address,uint256).rTransferAmount (#1099) is too similar to KnightMoon._transferFromExcluded(address,address,uint256).tTransferAmount (#1088)
Prevent variables from having similar names.

Additional information: link

KnightMoon.slitherConstructorVariables() (#678-1255) uses literals with too many digits:
- _maxTxAmount = 10000000000e11 (#706)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

KnightMoon.allowedAmount (#707) is never used in KnightMoon (#678-1255)
Remove unused state variables.

Additional information: link

KnightMoon.allowedAmount (#707) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

sellCoolDown(uint256) should be declared external:
- KnightMoon.sellCoolDown(uint256) (#1232-1234)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for $Knights