Elonium is a startup initiated in the Dutch construction industry. The ELNC token is a project also created by them. The CEO of Elonium, Sander Struive has spent many years in construction firsthand and has noticed many problems affecting the general safety, efficiency and quality of construction projects, we're talking about problems like miscommunication due to language barriers, outdated learning and instructional material and more issues on a greater scale.
Elonium plans to tackle these problems head on and resolve them, starting with the introduction of a mobile application which will provide a digital construction platform hosting up to date videos and instructional materials for projects and architect schools. It will also host a social platform where people involved in the industry may share their own works or browse others.
A case scenario could be that a contractor hires workers for his project by checking out their portfolios on the app. Our Token will also act as currency to purchase various commodities using the application, ranging from merch to construction materials.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
EloniumCoin.addLiquidity(uint256,uint256) (#898-911) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in EloniumCoin._transfer(address,address,uint256) (#810-855):
External calls:
- swapAndLiquify(contractTokenBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#889-895)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#854)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1037)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#970)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#956)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#957)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#986)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#941)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#987)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#972)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#943)
- _tokenTransfer(from,to,amount,takeFee) (#854)
- _rTotal = _rTotal.sub(rFee).sub(rBurn) (#995)
- _tokenTransfer(from,to,amount,takeFee) (#854)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1039)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#985)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#940)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#971)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#942)
- _tokenTransfer(from,to,amount,takeFee) (#854)
- _tTotal = _tTotal.sub(tBurn) (#998)
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.
EloniumCoin.addLiquidity(uint256,uint256) (#898-911) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
Ensure that all the return values of the function calls are used.
Additional information: link
EloniumCoin._approve(address,address,uint256).owner (#802) shadows:
- Ownable.owner() (#278-280) (function)
Rename the local variables that shadow another component.
Additional information: link
EloniumCoin.setMaxTxPercent(uint256) (#752-754) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(100) (#753)
Emit an event for critical parameter changes.
Additional information: link
EloniumCoin.setUniswapPair(address).p (#768) lacks a zero-check on :
- uniswapV2Pair = p (#769)
Check that the address is not zero.
Additional information: link
Reentrancy in EloniumCoin.transferFrom(address,address,uint256) (#647-651):
External calls:
- _transfer(sender,recipient,amount) (#648)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#889-895)
External calls sending eth:
- _transfer(sender,recipient,amount) (#648)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#649)
- _allowances[owner][spender] = amount (#806)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in EloniumCoin.transferFrom(address,address,uint256) (#647-651):
External calls:
- _transfer(sender,recipient,amount) (#648)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#889-895)
External calls sending eth:
- _transfer(sender,recipient,amount) (#648)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#903-910)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#807)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#649)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#325-330) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#327)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#231-234) is never used and should be removed
Remove unused functions.
Additional information: link
EloniumCoin._previousBurnFee (#566) is set pre-construction with a non-constant function or state variable:
- _burnFee
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
Variable EloniumCoin._maxTxAmount (#574) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#243)" inContext (#237-246)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable EloniumCoin._transferStandard(address,address,uint256).rTransferAmount (#953) is too similar to EloniumCoin._getTValues(uint256).tTransferAmount (#1005)
Prevent variables from having similar names.
Additional information: link
EloniumCoin.slitherConstructorVariables() (#537-1056) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000000 * 10 ** 9 (#575)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
EloniumCoin._symbol (#558) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
isExcludedFromFee(address) should be declared external:
- EloniumCoin.isExcludedFromFee(address) (#798-800)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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 crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find code repository for the project
Token has a considerable age, but we're still unable to find its website
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account