Yoki Inu Token Logo

Yoki [Yoki Inu] Token

About Yoki

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 27 December 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...)

YOKI.swapBack() (#402-448) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in YOKI._transferFrom(address,address,uint256) (#290-327):
External calls:
- swapBack() (#317)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#413-419)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
External calls sending eth:
- swapBack() (#317)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#320)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#323)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#322)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#356)
- _balances[burnFeeReceiver] = _balances[burnFeeReceiver].add(burnTokens) (#357)
Apply the check-effects-interactions pattern.

Additional information: link

YOKI.swapBack().tmpSuccess (#430) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
(tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
YOKI.swapBack().tmpSuccess (#430) is written in both
(tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
YOKI.swapBack().tmpSuccess (#430) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
tmpSuccess = false (#435)
Fix or remove the writes.

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.

YOKI.takeFee(address,uint256,bool) (#344-365) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#347)
-burnTokens = feeAmount.mul(burnFee).div(totalFee) (#353)
YOKI.takeFee(address,uint256,bool) (#344-365) performs a multiplication on the result of a division:
-feeAmount = amount.div(100).mul(99) (#350)
Consider ordering multiplication before division.

Additional information: link

YOKI.manage_blacklist(address[],bool).i (#455) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

YOKI.swapBack() (#402-448) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
Ensure that all the return values of the function calls are used.

Additional information: link

YOKI.setMaxTxPercent_base1000(uint256) (#281-283) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#282)
YOKI.setTxLimit(uint256) (#285-287) should emit an event for:
- _maxTxAmount = amount (#286)
YOKI.set_sell_multiplier(uint256) (#379-381) should emit an event for:
- sellMultiplier = Multiplier (#380)
YOKI.tradingStatus(bool,uint256) (#384-390) should emit an event for:
- deadBlocks = _deadBlocks (#388)
YOKI.launchStatus(uint256) (#392-394) should emit an event for:
- launchedAt = _launchblock (#393)
YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#472-481) should emit an event for:
- liquidityFee = _liquidityFee (#473)
- devFee = _devFee (#474)
- marketingFee = _marketingFee (#475)
- teamFee = _teamFee (#476)
- burnFee = _burnFee (#477)
- totalFee = _liquidityFee.add(_devFee).add(_marketingFee).add(_teamFee).add(_burnFee) (#478)
- feeDenominator = _feeDenominator (#479)
YOKI.setSwapBackSettings(bool,uint256) (#491-494) should emit an event for:
- swapThreshold = _amount (#493)
YOKI.setTargetLiquidity(uint256,uint256) (#496-499) should emit an event for:
- targetLiquidity = _target (#497)
- targetLiquidityDenominator = _denominator (#498)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#96) lacks a zero-check on :
- owner = adr (#97)
YOKI.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#483) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#484)
YOKI.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#483) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#485)
YOKI.setFeeReceivers(address,address,address,address,address)._teamFeeReceiver (#483) lacks a zero-check on :
- teamFeeReceiver = _teamFeeReceiver (#486)
YOKI.setFeeReceivers(address,address,address,address,address)._burnFeeReceiver (#483) lacks a zero-check on :
- burnFeeReceiver = _burnFeeReceiver (#487)
YOKI.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#483) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#488)
Check that the address is not zero.

Additional information: link

Reentrancy in YOKI.constructor() (#220-244):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#223)
- _balances[msg.sender] = _totalSupply (#242)
- autoLiquidityReceiver = msg.sender (#236)
- burnFeeReceiver = msg.sender (#240)
- devFeeReceiver = msg.sender (#239)
- isDividendExempt[pair] = true (#232)
- isDividendExempt[address(this)] = true (#233)
- isDividendExempt[DEAD] = true (#234)
- isFeeExempt[msg.sender] = true (#225)
- isTimelockExempt[msg.sender] = true (#228)
- isTimelockExempt[DEAD] = true (#229)
- isTimelockExempt[address(this)] = true (#230)
- isTxLimitExempt[msg.sender] = true (#226)
- marketingFeeReceiver = 0x2fDdF98935D0eB3F3643BA536dE85d8E0186CC92 (#237)
- teamFeeReceiver = 0xCfB9168D6365Ed3a99A05aC21bD35427bff34096 (#238)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in YOKI._transferFrom(address,address,uint256) (#290-327):
External calls:
- swapBack() (#317)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#413-419)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
External calls sending eth:
- swapBack() (#317)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
Event emitted after the call(s):
- Transfer(sender,address(this),contractTokens) (#358)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#322)
- Transfer(sender,burnFeeReceiver,burnTokens) (#361)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#322)
- Transfer(sender,recipient,amountReceived) (#325)
Reentrancy in YOKI.constructor() (#220-244):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#222)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#243)
Reentrancy in YOKI.swapBack() (#402-448):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#413-419)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
External calls sending eth:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#438-445)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#446)
Apply the check-effects-interactions pattern.

Additional information: link

YOKI._transferFrom(address,address,uint256) (#290-327) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#310)
Avoid relying on block.timestamp.

Additional information: link

YOKI._maxTxAmount (#170) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100
YOKI._maxWalletToken (#171) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 50
YOKI.totalFee (#190) is set pre-construction with a non-constant function or state variable:
- devFee + marketingFee + liquidityFee + teamFee + burnFee
YOKI.swapThreshold (#216) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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

Pragma version^0.7.4 (#7) allows old versions
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 YOKI.swapBack() (#402-448):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#430)
- (tmpSuccess,None) = address(teamFeeReceiver).call{gas: 30000,value: amountBNBTeam}() (#431)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#432)
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() (#111) is not in mixedCase
Function YOKI.setMaxWalletPercent_base1000(uint256) (#278-280) is not in mixedCase
Parameter YOKI.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#278) is not in mixedCase
Function YOKI.setMaxTxPercent_base1000(uint256) (#281-283) is not in mixedCase
Parameter YOKI.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#281) is not in mixedCase
Function YOKI.set_sell_multiplier(uint256) (#379-381) is not in mixedCase
Parameter YOKI.set_sell_multiplier(uint256).Multiplier (#379) is not in mixedCase
Parameter YOKI.tradingStatus(bool,uint256)._status (#384) is not in mixedCase
Parameter YOKI.tradingStatus(bool,uint256)._deadBlocks (#384) is not in mixedCase
Parameter YOKI.launchStatus(uint256)._launchblock (#392) is not in mixedCase
Parameter YOKI.cooldownEnabled(bool,uint8)._status (#397) is not in mixedCase
Parameter YOKI.cooldownEnabled(bool,uint8)._interval (#397) is not in mixedCase
Function YOKI.enable_blacklist(bool) (#450-452) is not in mixedCase
Parameter YOKI.enable_blacklist(bool)._status (#450) is not in mixedCase
Function YOKI.manage_blacklist(address[],bool) (#454-458) is not in mixedCase
Parameter YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#472) is not in mixedCase
Parameter YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#472) is not in mixedCase
Parameter YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#472) is not in mixedCase
Parameter YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._teamFee (#472) is not in mixedCase
Parameter YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._burnFee (#472) is not in mixedCase
Parameter YOKI.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#472) is not in mixedCase
Parameter YOKI.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#483) is not in mixedCase
Parameter YOKI.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#483) is not in mixedCase
Parameter YOKI.setFeeReceivers(address,address,address,address,address)._teamFeeReceiver (#483) is not in mixedCase
Parameter YOKI.setFeeReceivers(address,address,address,address,address)._burnFeeReceiver (#483) is not in mixedCase
Parameter YOKI.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#483) is not in mixedCase
Parameter YOKI.setSwapBackSettings(bool,uint256)._enabled (#491) is not in mixedCase
Parameter YOKI.setSwapBackSettings(bool,uint256)._amount (#491) is not in mixedCase
Parameter YOKI.setTargetLiquidity(uint256,uint256)._target (#496) is not in mixedCase
Parameter YOKI.setTargetLiquidity(uint256,uint256)._denominator (#496) is not in mixedCase
Variable YOKI.WBNB (#160) is not in mixedCase
Variable YOKI.DEAD (#161) is not in mixedCase
Variable YOKI.ZERO (#162) is not in mixedCase
Constant YOKI._name (#164) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YOKI._symbol (#165) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YOKI._decimals (#166) is not in UPPER_CASE_WITH_UNDERSCORES
Variable YOKI._totalSupply (#168) is not in mixedCase
Variable YOKI._maxTxAmount (#170) is not in mixedCase
Variable YOKI._maxWalletToken (#171) is not in mixedCase
Variable YOKI._balances (#173) is not in mixedCase
Variable YOKI._allowances (#174) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#116) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#117)
Prevent variables from having similar names.

Additional information: link

YOKI.slitherConstructorVariables() (#157-538) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#161)
YOKI.slitherConstructorVariables() (#157-538) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#162)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

YOKI.DEAD (#161) should be constant
YOKI.WBNB (#160) should be constant
YOKI.ZERO (#162) should be constant
YOKI._totalSupply (#168) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#80-82)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#84-86)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#96-100)
tradingStatus(bool,uint256) should be declared external:
- YOKI.tradingStatus(bool,uint256) (#384-390)
launchStatus(uint256) should be declared external:
- YOKI.launchStatus(uint256) (#392-394)
cooldownEnabled(bool,uint8) should be declared external:
- YOKI.cooldownEnabled(bool,uint8) (#397-400)
enable_blacklist(bool) should be declared external:
- YOKI.enable_blacklist(bool) (#450-452)
manage_blacklist(address[],bool) should be declared external:
- YOKI.manage_blacklist(address[],bool) (#454-458)
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


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for Yoki