The Last Ronin Token Logo

TLR [The Last Ronin] Token

About TLR

Listings

Not Found
Token 20 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 11 August 2022

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

TheLastRonin.swapBack() (#444-490) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in TheLastRonin._transferFrom(address,address,uint256) (#311-354):
External calls:
- swapBack() (#345)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#455-461)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
External calls sending eth:
- swapBack() (#345)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#347)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#350)
- amountReceived = takeFee(sender,amount,recipient) (#349)
- _balances[address(this)] = _balances[address(this)].add(contractTokens) (#386)
- _balances[stakingFeeReceiver] = _balances[stakingFeeReceiver].add(stakingTokens) (#387)
Apply the check-effects-interactions pattern.

Additional information: link


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

TheLastRonin.swapBack().tmpSuccess (#472) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
(tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
TheLastRonin.swapBack().tmpSuccess (#472) is written in both
(tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
TheLastRonin.swapBack().tmpSuccess (#472) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
tmpSuccess = false (#477)
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.


Contract ownership is not renounced (belongs to a wallet)

Low level call in TheLastRonin.swapBack() (#444-490):
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

TheLastRonin._maxTxAmount (#173) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(1).div(100)
TheLastRonin._maxWalletToken (#174) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(1).div(100)
TheLastRonin.totalFee (#194) is set pre-construction with a non-constant function or state variable:
- devFee + marketingFee + liquidityFee + utilityFee + stakingFee
TheLastRonin.swapThreshold (#223) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 30 / 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.8.13 (#9) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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

TheLastRonin.takeFee(address,uint256,address) (#371-395) performs a multiplication on the result of a division:
-feeAmount = amount.mul(totalFee).mul(multiplier).div(feeDenominator * 100) (#381)
-stakingTokens = feeAmount.mul(stakingFee).div(totalFee) (#383)
Consider ordering multiplication before division.

Additional information: link

TheLastRonin.SetIsTxLimitExempt(address[],bool).i (#529) is a local variable never initialized
TheLastRonin.manage_IsSniper(address[],bool).i (#503) is a local variable never initialized
TheLastRonin.SetIsFeeExempt(address[],bool).i (#522) is a local variable never initialized
TheLastRonin.manage_live(address[],bool).i (#509) 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

TheLastRonin.swapBack() (#444-490) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
Ensure that all the return values of the function calls are used.

Additional information: link

TheLastRonin.setMaxTxPercent_base1000(uint256) (#297-300) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#299)
TheLastRonin.setMaxTxLimit(uint256) (#306-309) should emit an event for:
- _maxTxAmount = amount (#308)
TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#534-543) should emit an event for:
- liquidityFee = _liquidityFee (#535)
- devFee = _devFee (#536)
- marketingFee = _marketingFee (#537)
- utilityFee = _utilityFee (#538)
- stakingFee = _stakingFee (#539)
- totalFee = _liquidityFee.add(_devFee).add(_marketingFee).add(_utilityFee).add(_stakingFee) (#540)
- feeDenominator = _feeDenominator (#541)
TheLastRonin.setSwapBackSettings(bool,uint256) (#553-556) should emit an event for:
- swapThreshold = _amount (#555)
TheLastRonin.setTargetLiquidity(uint256,uint256) (#558-561) should emit an event for:
- targetLiquidity = _target (#559)
- targetLiquidityDenominator = _denominator (#560)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#95) lacks a zero-check on :
- owner = adr (#96)
TheLastRonin.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#545) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#546)
TheLastRonin.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#545) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#547)
TheLastRonin.setFeeReceivers(address,address,address,address,address)._utilityFeeReceiver (#545) lacks a zero-check on :
- utilityFeeReceiver = _utilityFeeReceiver (#548)
TheLastRonin.setFeeReceivers(address,address,address,address,address)._stakingFeeReceiver (#545) lacks a zero-check on :
- stakingFeeReceiver = _stakingFeeReceiver (#549)
TheLastRonin.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#545) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#550)
Check that the address is not zero.

Additional information: link

Reentrancy in TheLastRonin.constructor() (#227-259):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#230)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#233)
- _balances[msg.sender] = _totalSupply (#257)
- autoLiquidityReceiver = msg.sender (#251)
- devFeeReceiver = msg.sender (#254)
- isFeeExempt[msg.sender] = true (#235)
- isFeeExempt[marketingFeeReceiver] = true (#236)
- isFeeExempt[utilityFeeReceiver] = true (#237)
- isTimelockExempt[msg.sender] = true (#241)
- isTimelockExempt[pair] = true (#242)
- isTimelockExempt[marketingFeeReceiver] = true (#243)
- isTimelockExempt[utilityFeeReceiver] = true (#244)
- isTxLimitExempt[msg.sender] = true (#246)
- isTxLimitExempt[pair] = true (#247)
- isTxLimitExempt[marketingFeeReceiver] = true (#248)
- isTxLimitExempt[utilityFeeReceiver] = true (#249)
- isliveed[routerV2] = true (#238)
- isliveed[msg.sender] = true (#239)
- marketingFeeReceiver = 0x9273a423896dCe0F7B01D25b1DbB8139AAc59991 (#252)
- stakingFeeReceiver = DEAD (#255)
- utilityFeeReceiver = msg.sender (#253)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in TheLastRonin._transferFrom(address,address,uint256) (#311-354):
External calls:
- swapBack() (#345)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#455-461)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
External calls sending eth:
- swapBack() (#345)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
Event emitted after the call(s):
- Transfer(sender,address(this),contractTokens) (#388)
- amountReceived = takeFee(sender,amount,recipient) (#349)
- Transfer(sender,stakingFeeReceiver,stakingTokens) (#391)
- amountReceived = takeFee(sender,amount,recipient) (#349)
- Transfer(sender,recipient,amountReceived) (#352)
Reentrancy in TheLastRonin.constructor() (#227-259):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#230)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#258)
Reentrancy in TheLastRonin.swapBack() (#444-490):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#455-461)
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
External calls sending eth:
- (tmpSuccess) = address(marketingFeeReceiver).call{value: amountBNBMarketing}() (#472)
- (tmpSuccess,None) = address(utilityFeeReceiver).call{value: amountBNButility}() (#473)
- (tmpSuccess,None) = address(devFeeReceiver).call{value: amountBNBdev}() (#474)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#480-487)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#488)
Apply the check-effects-interactions pattern.

Additional information: link

TheLastRonin._transferFrom(address,address,uint256) (#311-354) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for between buys) (#338)
Avoid relying on block.timestamp.

Additional information: link

TheLastRonin.shouldTakeFee(address) (#367-369) is never used and should be removed
Remove unused functions.

Additional information: link

Function IDEXRouter.WETH() (#110) is not in mixedCase
Function TheLastRonin.setMaxWalletPercent_base1000(uint256) (#293-296) is not in mixedCase
Parameter TheLastRonin.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#293) is not in mixedCase
Function TheLastRonin.setMaxTxPercent_base1000(uint256) (#297-300) is not in mixedCase
Parameter TheLastRonin.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#297) is not in mixedCase
Function TheLastRonin.ClearStuckBalance(uint256) (#412-416) is not in mixedCase
Parameter TheLastRonin.setMultipliers(uint256,uint256,uint256)._buy (#419) is not in mixedCase
Parameter TheLastRonin.setMultipliers(uint256,uint256,uint256)._sell (#419) is not in mixedCase
Parameter TheLastRonin.setMultipliers(uint256,uint256,uint256)._trans (#419) is not in mixedCase
Function TheLastRonin.OpenTrading() (#428-431) is not in mixedCase
Parameter TheLastRonin.cooldownEnabled(bool,uint8)._status (#433) is not in mixedCase
Parameter TheLastRonin.cooldownEnabled(bool,uint8)._interval (#433) is not in mixedCase
Function TheLastRonin.Send() (#438-442) is not in mixedCase
Function TheLastRonin.enable_IsSniper(bool) (#492-494) is not in mixedCase
Parameter TheLastRonin.enable_IsSniper(bool)._status (#492) is not in mixedCase
Function TheLastRonin.enable_live(bool) (#497-500) is not in mixedCase
Parameter TheLastRonin.enable_live(bool)._status (#497) is not in mixedCase
Function TheLastRonin.manage_IsSniper(address[],bool) (#502-506) is not in mixedCase
Function TheLastRonin.manage_live(address[],bool) (#508-512) is not in mixedCase
Function TheLastRonin.UpdateMin(uint256) (#515-518) is not in mixedCase
Parameter TheLastRonin.UpdateMin(uint256)._MinGas (#515) is not in mixedCase
Function TheLastRonin.SetIsFeeExempt(address[],bool) (#520-525) is not in mixedCase
Function TheLastRonin.SetIsTxLimitExempt(address[],bool) (#527-532) is not in mixedCase
Parameter TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#534) is not in mixedCase
Parameter TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._devFee (#534) is not in mixedCase
Parameter TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#534) is not in mixedCase
Parameter TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._utilityFee (#534) is not in mixedCase
Parameter TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._stakingFee (#534) is not in mixedCase
Parameter TheLastRonin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#534) is not in mixedCase
Parameter TheLastRonin.setFeeReceivers(address,address,address,address,address)._autoLiquidityReceiver (#545) is not in mixedCase
Parameter TheLastRonin.setFeeReceivers(address,address,address,address,address)._marketingFeeReceiver (#545) is not in mixedCase
Parameter TheLastRonin.setFeeReceivers(address,address,address,address,address)._utilityFeeReceiver (#545) is not in mixedCase
Parameter TheLastRonin.setFeeReceivers(address,address,address,address,address)._stakingFeeReceiver (#545) is not in mixedCase
Parameter TheLastRonin.setFeeReceivers(address,address,address,address,address)._devFeeReceiver (#545) is not in mixedCase
Parameter TheLastRonin.setSwapBackSettings(bool,uint256)._enabled (#553) is not in mixedCase
Parameter TheLastRonin.setSwapBackSettings(bool,uint256)._amount (#553) is not in mixedCase
Parameter TheLastRonin.setTargetLiquidity(uint256,uint256)._target (#558) is not in mixedCase
Parameter TheLastRonin.setTargetLiquidity(uint256,uint256)._denominator (#558) is not in mixedCase
Variable TheLastRonin.WBNB (#163) is not in mixedCase
Variable TheLastRonin.DEAD (#164) is not in mixedCase
Variable TheLastRonin.ZERO (#165) is not in mixedCase
Constant TheLastRonin._name (#167) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TheLastRonin._symbol (#168) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TheLastRonin._decimals (#169) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TheLastRonin._totalSupply (#171) is not in mixedCase
Variable TheLastRonin._maxTxAmount (#173) is not in mixedCase
Variable TheLastRonin._maxWalletToken (#174) is not in mixedCase
Variable TheLastRonin._balances (#176) is not in mixedCase
Variable TheLastRonin._allowances (#177) is not in mixedCase
Variable TheLastRonin.IsSniperMode (#179) is not in mixedCase
Variable TheLastRonin.MinGas (#220) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

TheLastRonin.slitherConstructorVariables() (#160-581) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#164)
TheLastRonin.slitherConstructorVariables() (#160-581) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#165)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

TheLastRonin.DEAD (#164) should be constant
TheLastRonin.ZERO (#165) should be constant
TheLastRonin._totalSupply (#171) 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) (#79-81)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#83-85)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#95-99)
OpenTrading() should be declared external:
- TheLastRonin.OpenTrading() (#428-431)
cooldownEnabled(bool,uint8) should be declared external:
- TheLastRonin.cooldownEnabled(bool,uint8) (#433-436)
enable_IsSniper(bool) should be declared external:
- TheLastRonin.enable_IsSniper(bool) (#492-494)
manage_IsSniper(address[],bool) should be declared external:
- TheLastRonin.manage_IsSniper(address[],bool) (#502-506)
manage_live(address[],bool) should be declared external:
- TheLastRonin.manage_live(address[],bool) (#508-512)
UpdateMin(uint256) should be declared external:
- TheLastRonin.UpdateMin(uint256) (#515-518)
Use the external attribute for functions never called from the contract.

Additional information: link


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

Holders:

Contract has 8% buy tax and 7% 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.


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 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 TLR