XYJ Token Logo

XYJ Token

About XYJ

Listings

Not Found
Token 24 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 27 February 2022

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...)

Reentrancy in XYJ._transfer(address,address,uint256) (#1111-1154):
External calls:
- swapAndLiquifyV1() (#1133)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1168-1174)
External calls sending eth:
- _splitOtherToken() (#1138)
- _fundAddress.transfer(thisAmount.div(9).mul(6)) (#1190)
- _teamAddress.transfer(thisAmount.div(9).mul(1)) (#1191)
- _marketAddress.transfer(thisAmount.div(9).mul(2)) (#1192)
State variables written after the call(s):
- super._transfer(from,address(this),amount.div(100).mul(9)) (#1150)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,to,amount) (#1153)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
Apply the check-effects-interactions pattern.

Additional information: link

XYJ._transfer(address,address,uint256) (#1111-1154) performs a multiplication on the result of a division:
-super._transfer(from,address(this),amount.div(100).mul(9)) (#1150)
XYJ._transfer(address,address,uint256) (#1111-1154) performs a multiplication on the result of a division:
-amount = amount.div(100).mul(91) (#1151)
XYJ._splitOtherToken() (#1187-1194) performs a multiplication on the result of a division:
-_fundAddress.transfer(thisAmount.div(9).mul(6)) (#1190)
XYJ._splitOtherToken() (#1187-1194) performs a multiplication on the result of a division:
-_teamAddress.transfer(thisAmount.div(9).mul(1)) (#1191)
XYJ._splitOtherToken() (#1187-1194) performs a multiplication on the result of a division:
-_marketAddress.transfer(thisAmount.div(9).mul(2)) (#1192)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in XYJ._transfer(address,address,uint256) (#1111-1154):
External calls:
- swapAndLiquifyV1() (#1133)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1168-1174)
State variables written after the call(s):
- swapping = false (#1134)
Apply the check-effects-interactions pattern.

Additional information: link

ERC20.allowance(address,address).owner (#414) shadows:
- Ownable.owner() (#277-279) (function)
ERC20._approve(address,address,uint256).owner (#625) shadows:
- Ownable.owner() (#277-279) (function)
Rename the local variables that shadow another component.

Additional information: link

XYJ.setSwapTokensAtAmount(uint256) (#1091-1093) should emit an event for:
- swapTokensAtAmount = _swapTokensAtAmount (#1092)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in XYJ.constructor() (#1052-1069):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1057-1058)
State variables written after the call(s):
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 35) (#1059)
- _allowances[owner][spender] = amount (#632)
- _mint(_tokenOwner,total) (#1068)
- _balances[account] = _balances[account].add(amount) (#581)
- excludeFromFees(_tokenOwner,true) (#1064)
- _isExcludedFromFees[account] = excluded (#1079)
- excludeFromFees(address(this),true) (#1065)
- _isExcludedFromFees[account] = excluded (#1079)
- _tokenOwner = _marketAddress (#1062)
- _mint(_tokenOwner,total) (#1068)
- _totalSupply = _totalSupply.add(amount) (#580)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1063)
- automatedMarketMakerPairs[pair] = value (#1104)
- swapTokensAtAmount = 10 ** 20 (#1067)
- uniswapV2Pair = _uniswapV2Pair (#1061)
- uniswapV2Router = _uniswapV2Router (#1060)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in XYJ._transfer(address,address,uint256) (#1111-1154):
External calls:
- swapAndLiquifyV1() (#1133)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1168-1174)
External calls sending eth:
- _splitOtherToken() (#1138)
- _fundAddress.transfer(thisAmount.div(9).mul(6)) (#1190)
- _teamAddress.transfer(thisAmount.div(9).mul(1)) (#1191)
- _marketAddress.transfer(thisAmount.div(9).mul(2)) (#1192)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,to,amount) (#1153)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,address(this),amount.div(100).mul(9)) (#1150)
Reentrancy in XYJ.constructor() (#1052-1069):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1057-1058)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#633)
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 35) (#1059)
- ExcludeFromFees(account,excluded) (#1080)
- excludeFromFees(address(this),true) (#1065)
- ExcludeFromFees(account,excluded) (#1080)
- excludeFromFees(_tokenOwner,true) (#1064)
- Transfer(address(0),account,amount) (#582)
- _mint(_tokenOwner,total) (#1068)
Apply the check-effects-interactions pattern.

Additional information: link

Context._msgData() (#9-13) is never used and should be removed
ERC20._burn(address,uint256) (#596-607) is never used and should be removed
SafeMath.mod(uint256,uint256) (#787-789) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#803-810) is never used and should be removed
SafeMath.sub(uint256,uint256) (#686-688) is never used and should be removed
Remove unused functions.

Additional information: link

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

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#49) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#51) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#82) is not in mixedCase
Function IUniswapV2Router01.WETH() (#816) is not in mixedCase
Parameter XYJ.setSwapTokensAtAmount(uint256)._swapTokensAtAmount (#1091) is not in mixedCase
Parameter XYJ.setSwapAndLiquifyEnabled(bool)._enabled (#1095) is not in mixedCase
Function XYJ._splitOtherToken() (#1187-1194) is not in mixedCase
Variable XYJ._tokenOwner (#1024) is not in mixedCase
Variable XYJ.FIST (#1025) is not in mixedCase
Variable XYJ._fundAddress (#1031) is not in mixedCase
Variable XYJ._teamAddress (#1032) is not in mixedCase
Variable XYJ._marketAddress (#1033) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#10)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in XYJ._transfer(address,address,uint256) (#1111-1154):
External calls:
- _splitOtherToken() (#1138)
- _fundAddress.transfer(thisAmount.div(9).mul(6)) (#1190)
- _teamAddress.transfer(thisAmount.div(9).mul(1)) (#1191)
- _marketAddress.transfer(thisAmount.div(9).mul(2)) (#1192)
State variables written after the call(s):
- super._transfer(from,address(this),amount.div(100).mul(9)) (#1150)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,to,amount) (#1153)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,to,amount) (#1153)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,address(this),amount.div(100).mul(9)) (#1150)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#821) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#822)
Prevent variables from having similar names.

Additional information: link

XYJ.slitherConstructorVariables() (#1019-1197) uses literals with too many digits:
- _destroyAddress = address(0x000000000000000000000000000000000000dEaD) (#1028)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

XYJ._destroyAddress (#1028) is never used in XYJ (#1019-1197)
Remove unused state variables.

Additional information: link

XYJ._destroyAddress (#1028) should be constant
XYJ._fundAddress (#1031) should be constant
XYJ._marketAddress (#1033) should be constant
XYJ._teamAddress (#1032) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#277-279)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#296-299)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#305-312)
name() should be declared external:
- ERC20.name() (#344-346)
symbol() should be declared external:
- ERC20.symbol() (#352-354)
decimals() should be declared external:
- ERC20.decimals() (#369-371)
totalSupply() should be declared external:
- ERC20.totalSupply() (#376-378)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#401-409)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#414-422)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#431-439)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#454-469)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#483-494)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#510-524)
updateUniswapV2Router(address) should be declared external:
- XYJ.updateUniswapV2Router(address) (#1073-1076)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- XYJ.excludeMultipleAccountsFromFees(address[],bool) (#1083-1089)
setSwapTokensAtAmount(uint256) should be declared external:
- XYJ.setSwapTokensAtAmount(uint256) (#1091-1093)
setSwapAndLiquifyEnabled(bool) should be declared external:
- XYJ.setSwapAndLiquifyEnabled(bool) (#1095-1097)
changeIsOld() should be declared external:
- XYJ.changeIsOld() (#1099-1101)
isExcludedFromFees(address) should be declared external:
- XYJ.isExcludedFromFees(address) (#1107-1109)
rescueToken(address,uint256) should be declared external:
- XYJ.rescueToken(address,uint256) (#1177-1183)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is low.


Unable to find Telegram and Twitter accounts


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


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for XYJ