Leviathan Token Logo

LEVIA [Leviathan] Token

About LEVIA

Listings

Not Found
Token 3 years
white paper

Leviathan Autostaking Protocol (LAP) gives the $LEVIA token automatic staking and compounding features with a fixed APY of 152,628%, which is a daily ROI (Return On Investment) of 2%.

Social

Laser Scorebeta Last Audit: 11 September 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Leviathan.swapBack() (#616-680) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
- (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Leviathan._transferFrom(address,address,uint256) (#568-599):
External calls:
- swapBack() (#581)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#638-644)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
- (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
External calls sending eth:
- swapBack() (#581)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
- (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#584)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#589-591)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#586-588)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#691-693)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)

Leviathan.swapBack().success (#659) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
(success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
Leviathan.swapBack().success (#659) is written in both
(success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
success = false (#668)
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.

Leviathan.swapBack() (#616-680) performs a multiplication on the result of a division:
-contractTokenBalance = _gonBalances[address(this)].div(_gonsPerFragment) (#623-625)
-amountToLiquify = contractTokenBalance.mul(dynamicLiquidityFee).div(totalFee).div(2) (#626-629)
Leviathan.setSwapBackSettings(bool,uint256,uint256) (#780-787) performs a multiplication on the result of a division:
-gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#786)
Leviathan.getLiquidityBacking(uint256) (#891-899) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#896)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#897-898)
Consider ordering multiplication before division.

Additional information: link

Leviathan.swapBack() (#616-680) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
Ensure that all the return values of the function calls are used.

Additional information: link

ERC20Detailed.constructor(string,string,uint8).name (#202) shadows:
- ERC20Detailed.name() (#211-213) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (#203) shadows:
- ERC20Detailed.symbol() (#215-217) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (#204) shadows:
- ERC20Detailed.decimals() (#219-221) (function)
Rename the local variables that shadow another component.

Additional information: link

Leviathan.setRebaseExecutor(address) (#848-852) should emit an event for:
- rebaseExecutor = _rebaseExecutor (#851)
Emit an event for critical parameter changes.

Additional information: link

Leviathan.setNextRebase(uint256) (#454-456) should emit an event for:
- nextRebase = _nextRebase (#455)
Leviathan.setRebaseFrequency(uint256) (#463-465) should emit an event for:
- rebaseFrequency = _rebaseFrequency (#464)
Leviathan.mint(address,uint256) (#767-778) should emit an event for:
- _totalSupply = _totalSupply.add(uint256(amount)) (#768)
- _totalSupply = MAX_SUPPLY (#771)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#774)
Leviathan.setSwapBackSettings(bool,uint256,uint256) (#780-787) should emit an event for:
- gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#786)
Leviathan.setTargetLiquidity(uint256,uint256) (#804-807) should emit an event for:
- targetLiquidity = target (#805)
- targetLiquidityDenominator = accuracy (#806)
Leviathan.setFees(uint256,uint256,uint256,uint256,uint256) (#854-868) should emit an event for:
- liquidityFee = _liquidityFee (#861)
- riskFreeValueFee = _riskFreeValueFee (#862)
- treasuryFee = _treasuryFee (#863)
- sellFee = _sellFee (#864)
- totalFee = liquidityFee.add(treasuryFee).add(riskFreeValueFee) (#865)
- feeDenominator = _feeDenominator (#866)
Emit an event for critical parameter changes.

Additional information: link

Leviathan.constructor(address,address,address,address,address)._autoLiquidityReceiver (#422) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#434)
Leviathan.constructor(address,address,address,address,address)._treasuryReceiver (#423) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#435)
Leviathan.constructor(address,address,address,address,address)._riskFreeValueReceiver (#424) lacks a zero-check on :
- riskFreeValueReceiver = _riskFreeValueReceiver (#436)
Leviathan.constructor(address,address,address,address,address)._rebaseExecutor (#425) lacks a zero-check on :
- rebaseExecutor = _rebaseExecutor (#437)
Leviathan.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#839) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#843)
Leviathan.setFeeReceivers(address,address,address)._treasuryReceiver (#840) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#844)
Leviathan.setFeeReceivers(address,address,address)._riskFreeValueReceiver (#841) lacks a zero-check on :
- riskFreeValueReceiver = _riskFreeValueReceiver (#845)
Leviathan.setRebaseExecutor(address)._rebaseExecutor (#849) lacks a zero-check on :
- rebaseExecutor = _rebaseExecutor (#851)
Leviathan.clearStuckBalance(uint256,address).adr (#870) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#872-874)
Check that the address is not zero.

Additional information: link

Leviathan.swapBack() (#616-680) has external calls inside a loop: path[1] = router.WETH() (#634)
Leviathan.swapBack() (#616-680) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#638-644)
Leviathan.swapBack() (#616-680) has external calls inside a loop: (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
Leviathan.swapBack() (#616-680) has external calls inside a loop: (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
Leviathan.swapBack() (#616-680) has external calls inside a loop: router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in Leviathan.constructor(address,address,address,address,address) (#420-452):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#429-432)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#439)
- _gonBalances[treasuryReceiver] = TOTAL_GONS (#443)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#444)
- _isFeeExempt[treasuryReceiver] = true (#447)
- _isFeeExempt[address(this)] = true (#448)
- _transferOwnership(treasuryReceiver) (#450)
- _owner = newOwner (#331)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#442)
- autoLiquidityReceiver = _autoLiquidityReceiver (#434)
- initialDistributionFinished = false (#446)
- pairContract = InterfaceLP(pair) (#440)
- rebaseExecutor = _rebaseExecutor (#437)
- riskFreeValueReceiver = _riskFreeValueReceiver (#436)
- treasuryReceiver = _treasuryReceiver (#435)
Reentrancy in Leviathan.coreRebase(uint256,int256) (#499-522):
External calls:
- pairContract.sync() (#517)
State variables written after the call(s):
- nextRebase = epoch + rebaseFrequency (#520)
Reentrancy in Leviathan.mint(address,uint256) (#767-778):
External calls:
- pairContract.sync() (#775)
State variables written after the call(s):
- _gonBalances[recipient] = _gonBalances[recipient].add(amount) (#777)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Leviathan._transferFrom(address,address,uint256) (#568-599):
External calls:
- swapBack() (#581)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#638-644)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
- (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
External calls sending eth:
- swapBack() (#581)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
- (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#694)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#586-588)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#593-597)
Reentrancy in Leviathan.constructor(address,address,address,address,address) (#420-452):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#429-432)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#330)
- _transferOwnership(treasuryReceiver) (#450)
- Transfer(address(0x0),treasuryReceiver,_totalSupply) (#451)
Reentrancy in Leviathan.coreRebase(uint256,int256) (#499-522):
External calls:
- pairContract.sync() (#517)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#519)
Apply the check-effects-interactions pattern.

Additional information: link

Leviathan.transferToAddressETH(address,uint256) (#885-889) is never used and should be removed
SafeMath.mod(uint256,uint256) (#119-122) is never used and should be removed
SafeMathInt.abs(int256) (#35-38) is never used and should be removed
SafeMathInt.add(int256,int256) (#29-33) is never used and should be removed
SafeMathInt.div(int256,int256) (#17-21) is never used and should be removed
SafeMathInt.mul(int256,int256) (#9-15) is never used and should be removed
SafeMathInt.sub(int256,int256) (#23-27) is never used and should be removed
Remove unused functions.

Additional information: link

Leviathan.totalFee (#376-377) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(riskFreeValueFee)
Leviathan.nextRebase (#383) is set pre-construction with a non-constant function or state variable:
- block.timestamp + rebaseFrequency
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 (#3) allows old versions
solc-0.7.4 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 Leviathan.swapBack() (#616-680):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHTreasury}() (#659-662)
- (success,None) = address(riskFreeValueReceiver).call{gas: 30000,value: amountETHRiskFreeValue}() (#663-666)
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() (#227) is not in mixedCase
Parameter Leviathan.setNextRebase(uint256)._nextRebase (#454) is not in mixedCase
Parameter Leviathan.setRewardYield(uint256,uint256)._rewardYield (#458) is not in mixedCase
Parameter Leviathan.setRewardYield(uint256,uint256)._rewardYieldDenominator (#458) is not in mixedCase
Parameter Leviathan.setRebaseFrequency(uint256)._rebaseFrequency (#463) is not in mixedCase
Parameter Leviathan.updateBlacklist(address,bool)._user (#471) is not in mixedCase
Parameter Leviathan.updateBlacklist(address,bool)._flag (#471) is not in mixedCase
Parameter Leviathan.setLP(address)._address (#539) is not in mixedCase
Parameter Leviathan.checkFeeExempt(address)._addr (#747) is not in mixedCase
Parameter Leviathan.enableTransfer(address)._addr (#755) is not in mixedCase
Parameter Leviathan.setFeeExempt(address)._addr (#759) is not in mixedCase
Parameter Leviathan.setSwapBackSettings(bool,uint256,uint256)._enabled (#781) is not in mixedCase
Parameter Leviathan.setSwapBackSettings(bool,uint256,uint256)._num (#782) is not in mixedCase
Parameter Leviathan.setSwapBackSettings(bool,uint256,uint256)._denom (#783) is not in mixedCase
Parameter Leviathan.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#839) is not in mixedCase
Parameter Leviathan.setFeeReceivers(address,address,address)._treasuryReceiver (#840) is not in mixedCase
Parameter Leviathan.setFeeReceivers(address,address,address)._riskFreeValueReceiver (#841) is not in mixedCase
Parameter Leviathan.setRebaseExecutor(address)._rebaseExecutor (#849) is not in mixedCase
Parameter Leviathan.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#855) is not in mixedCase
Parameter Leviathan.setFees(uint256,uint256,uint256,uint256,uint256)._riskFreeValueFee (#856) is not in mixedCase
Parameter Leviathan.setFees(uint256,uint256,uint256,uint256,uint256)._treasuryFee (#857) is not in mixedCase
Parameter Leviathan.setFees(uint256,uint256,uint256,uint256,uint256)._sellFee (#858) is not in mixedCase
Parameter Leviathan.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#859) is not in mixedCase
Variable Leviathan._isFeeExempt (#346) is not in mixedCase
Variable Leviathan.DEAD (#385) is not in mixedCase
Variable Leviathan.ZERO (#386) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Leviathan.slitherConstructorVariables() (#335-911) uses literals with too many digits:
- rewardYieldDenominator = 10000000000 (#381)
Leviathan.slitherConstructorVariables() (#335-911) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#385)
Leviathan.slitherConstructorVariables() (#335-911) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#386)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#7) is never used in SafeMathInt (#5-39)
Remove unused state variables.

Additional information: link

Leviathan.DEAD (#385) should be constant
Leviathan.ZERO (#386) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceMinter() should be declared external:
- MinterRole.renounceMinter() (#181-183)
name() should be declared external:
- ERC20Detailed.name() (#211-213)
symbol() should be declared external:
- ERC20Detailed.symbol() (#215-217)
decimals() should be declared external:
- ERC20Detailed.decimals() (#219-221)
owner() should be declared external:
- Ownable.owner() (#306-308)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#319-322)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#324-326)
shouldRebase() should be declared external:
- Leviathan.shouldRebase() (#467-469)
updateBlacklist(address,bool) should be declared external:
- Leviathan.updateBlacklist(address,bool) (#471-473)
addMinter(address) should be declared external:
- Leviathan.addMinter(address) (#809-811)
removeMinter(address) should be declared external:
- Leviathan.removeMinter(address) (#813-815)
rescueToken(address,uint256) should be declared external:
- Leviathan.rescueToken(address,uint256) (#877-883)
Use the external attribute for functions never called from the contract.

Additional information: link

Leviathan.shouldRebase() (#467-469) uses timestamp for comparisons
Dangerous comparisons:
- nextRebase <= block.timestamp (#468)
Avoid relying on block.timestamp.

Additional information: link

Leviathan.swapping() (#402-406) has costly operations inside a loop:
- inSwap = true (#403)
Leviathan.swapping() (#402-406) has costly operations inside a loop:
- inSwap = false (#405)
Use a local variable to hold the loop computation result.

Additional information: link

Holders:

Contract has 15% buy tax and 18% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap volume is low.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


Telegram account has relatively few subscribers


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find KYC or doxxing proof


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


Token is not listed at Mobula.Finance

Additional information: link


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for LEVIA

News for LEVIA