Decentra is a decentralised ecosystem of projects with multiple utilities.
DELO is the deflationary Binance Smart Chain token of the Decentra-Ecosystem. The DELO token incorporates burn reflection yield to reward holders passively for holding the DELO token, as well as automatic ecosystem fees.
The first utility (Decentra-Lotto), is a cryptocurrency lottery with multiple winners and a deflationary De-Fi staking farm. It is the flagship project of the Decentra-Ecosystem. There is a symbiosis between the token and the Decentra-Lotto utility as every transaction increases the jackpot, and every ticket sale increases buying pressure for the DELO token.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
DecentraLottoToken.swapEthForTokens(uint256) (#1159-1172) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,0x000000000000000000000000000000000000dEaD,block.timestamp) (#1166-1171)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DecentraLottoToken._transfer(address,address,uint256) (#1096-1127):
External calls:
- swapTokens(contractTokenBalance) (#1113)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1148-1154)
External calls sending eth:
- swapTokens(contractTokenBalance) (#1113)
- recipient.transfer(amount) (#1232)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1126)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#1025)
- _rOwned[LOTTO_ADDRESS] = _rOwned[LOTTO_ADDRESS].add(rLotto) (#1033)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1197)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1209)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1198)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1223)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#909)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1211)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1224)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#911)
- _tokenTransfer(from,to,amount,takeFee) (#1126)
- _rTotal = _rTotal.sub(rFee).sub(rBurn) (#966)
- _tokenTransfer(from,to,amount,takeFee) (#1126)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing) (#1027)
- _tOwned[LOTTO_ADDRESS] = _tOwned[LOTTO_ADDRESS].add(tLotto) (#1036)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#908)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1222)
- _tOwned[recipient] = _tOwned[recipient].add(tValues.tTransferAmount) (#1210)
- _tOwned[recipient] = _tOwned[recipient].add(tValues.tTransferAmount) (#910)
- _tokenTransfer(from,to,amount,takeFee) (#1126)
- _tTotal = _tTotal.sub(tBurn) (#969)
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.
Contract name (Decentra-Lotto) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
DecentraLottoToken._approve(address,address,uint256).owner (#1088) shadows:
- Ownable.owner() (#417-419) (function)
Rename the local variables that shadow another component.
Additional information: link
DecentraLottoToken.setNumTokensSellToAddToMarketing(uint256) (#953-955) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#954)
Emit an event for critical parameter changes.
Additional information: link
DecentraLottoToken.setMarketingAddress(address)._marketingAddress (#943) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#944)
Check that the address is not zero.
Additional information: link
Reentrancy in DecentraLottoToken.transferFrom(address,address,uint256) (#822-826):
External calls:
- _transfer(sender,recipient,amount) (#823)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1148-1154)
External calls sending eth:
- _transfer(sender,recipient,amount) (#823)
- recipient.transfer(amount) (#1232)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#824)
- _allowances[owner][spender] = amount (#1092)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DecentraLottoToken.transferFrom(address,address,uint256) (#822-826):
External calls:
- _transfer(sender,recipient,amount) (#823)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1148-1154)
External calls sending eth:
- _transfer(sender,recipient,amount) (#823)
- recipient.transfer(amount) (#1232)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1093)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#824)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#464-470) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#466)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#362-383) uses assembly
- INLINE ASM (#375-378)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#230-233) is never used and should be removed
Remove unused functions.
Additional information: link
DecentraLottoToken._previousLottoFee (#722) is set pre-construction with a non-constant function or state variable:
- _lottoFee
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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#362-383):
- (success,returndata) = target.call{value: weiValue}(data) (#366)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant DecentraLottoToken.numTokensSellToAddToLiquidity (#736) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#242)" inContext (#236-245)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DecentraLottoToken.transferFrom(address,address,uint256) (#822-826):
External calls:
- _transfer(sender,recipient,amount) (#823)
- recipient.transfer(amount) (#1232)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#824)
- _allowances[owner][spender] = amount (#1092)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1093)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#824)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#554) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#555)
Prevent variables from having similar names.
Additional information: link
DecentraLottoToken.swapEthForTokens(uint256) (#1159-1172) uses literals with too many digits:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,0x000000000000000000000000000000000000dEaD,block.timestamp) (#1166-1171)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DecentraLottoToken.numTokensSellToAddToLiquidity (#736) is never used in DecentraLottoToken (#687-1235)
Remove unused state variables.
Additional information: link
unlock() should be declared external:
- Ownable.unlock() (#464-470)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
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 token on CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Discord account