IdChain Token Logo

$EIDI [IdChain] Token

ALERT: unclassified scam

About $EIDI

Listings

Not Found
Token 12 days

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 21 June 2022

report
Token seems to be a scam (type: unclassified scam).

IdChain.swapBack() (#573-619) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in IdChain._transferFrom(address,address,uint256) (#464-512):
External calls:
- swapBack() (#491)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
External calls sending eth:
- swapBack() (#491)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#494)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#497)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#496)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#535)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#289-300) ignores return value by RWRD.transfer(shareholder,amount) (#295)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

IdChain.swapBack().tmpSuccess (#602) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
IdChain.swapBack().tmpSuccess (#602) is written in both
(tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
tmpSuccess = false (#606)
Fix or remove the writes.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

Reentrancy in DividendDistributor.distributeDividend(address) (#289-300):
External calls:
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#297)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#298)
Reentrancy in DividendDistributor.process(uint256) (#258-282):
External calls:
- distributeDividend(shareholders[currentIndex]) (#274)
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- currentIndex ++ (#279)
Reentrancy in DividendDistributor.setShare(address,uint256) (#222-236):
External calls:
- distributeDividend(shareholder) (#224)
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- shares[shareholder].amount = amount (#234)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#235)
Apply the check-effects-interactions pattern.

Additional information: link

IdChain.manage_blacklist(address[],bool).i (#637) 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

IdChain.swapBack() (#573-619) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#217-220) should emit an event for:
- minPeriod = _minPeriod (#218)
- minDistribution = _minDistribution (#219)
IdChain.setMaxTxPercent_base1000(uint256) (#455-457) should emit an event for:
- _maxTxAmount = (_totalSupply * maxTXPercentage_base1000) / 1000 (#456)
IdChain.setTxLimit(uint256) (#459-461) should emit an event for:
- _maxTxAmount = amount (#460)
IdChain.set_sell_multiplier(uint256) (#558-560) should emit an event for:
- sellMultiplier = Multiplier (#559)
IdChain.setFees(uint256,uint256,uint256,uint256,uint256) (#655-663) should emit an event for:
- liquidityFee = _liquidityFee (#656)
- reflectionFee = _reflectionFee (#657)
- marketingFee = _marketingFee (#658)
- devFee = _devFee (#659)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee).add(_devFee) (#660)
- feeDenominator = _feeDenominator (#661)
IdChain.setSwapBackSettings(bool,uint256) (#671-674) should emit an event for:
- swapThreshold = _amount (#673)
IdChain.setTargetLiquidity(uint256,uint256) (#676-679) should emit an event for:
- targetLiquidity = _target (#677)
- targetLiquidityDenominator = _denominator (#678)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#99) lacks a zero-check on :
- owner = adr (#100)
IdChain.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#665) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#666)
IdChain.setFeeReceivers(address,address,address)._marketingFeeReceiver (#665) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#667)
IdChain.setFeeReceivers(address,address,address)._devFeeReceiver (#665) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#668)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#289-300) has external calls inside a loop: RWRD.transfer(shareholder,amount) (#295)
IdChain.multiTransfer(address,address[],uint256[]) (#705-729) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#721)
IdChain.multiTransfer_fixed(address,address[],uint256) (#731-750) has external calls inside a loop: distributor.setShare(addresses[i],_balances[addresses[i]]) (#742)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in IdChain.constructor() (#394-418):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#396)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#397)
- _balances[msg.sender] = _totalSupply (#416)
- autoLiquidityReceiver = msg.sender (#412)
- devFeeReceiver = msg.sender (#414)
- distributor = new DividendDistributor(address(router)) (#399)
- isDividendExempt[pair] = true (#408)
- isDividendExempt[address(this)] = true (#409)
- isDividendExempt[DEAD] = true (#410)
- isFeeExempt[msg.sender] = true (#401)
- isTimelockExempt[msg.sender] = true (#404)
- isTimelockExempt[DEAD] = true (#405)
- isTimelockExempt[address(this)] = true (#406)
- isTxLimitExempt[msg.sender] = true (#402)
- marketingFeeReceiver = msg.sender (#413)
Reentrancy in DividendDistributor.deposit() (#238-256):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#245-250)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#255)
- totalDividends = totalDividends.add(amount) (#254)
Reentrancy in DividendDistributor.distributeDividend(address) (#289-300):
External calls:
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#296)
Reentrancy in DividendDistributor.setShare(address,uint256) (#222-236):
External calls:
- distributeDividend(shareholder) (#224)
- RWRD.transfer(shareholder,amount) (#295)
State variables written after the call(s):
- addShareholder(shareholder) (#228)
- shareholderIndexes[shareholder] = shareholders.length (#322)
- removeShareholder(shareholder) (#230)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#328)
- addShareholder(shareholder) (#228)
- shareholders.push(shareholder) (#323)
- removeShareholder(shareholder) (#230)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#327)
- shareholders.pop() (#329)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#233)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in IdChain._transferFrom(address,address,uint256) (#464-512):
External calls:
- swapBack() (#491)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
- distributor.setShare(sender,_balances[sender]) (#501)
- distributor.setShare(recipient,_balances[recipient]) (#505)
- distributor.process(distributorGas) (#508)
External calls sending eth:
- swapBack() (#491)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#510)
Reentrancy in IdChain._transferFrom(address,address,uint256) (#464-512):
External calls:
- swapBack() (#491)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
External calls sending eth:
- swapBack() (#491)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#536)
- amountReceived = takeFee(sender,amount,(recipient == pair)) (#496)
Reentrancy in IdChain.constructor() (#394-418):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#396)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#417)
Reentrancy in IdChain.swapBack() (#573-619):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#584-590)
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#601)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#609-616)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#617)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#284-287) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#285-286)
IdChain._transferFrom(address,address,uint256) (#464-512) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for 1min between two buys) (#484)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#258-282) has costly operations inside a loop:
- currentIndex = 0 (#270)
DividendDistributor.distributeDividend(address) (#289-300) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#294)
DividendDistributor.process(uint256) (#258-282) has costly operations inside a loop:
- currentIndex ++ (#279)
Use a local variable to hold the loop computation result.

Additional information: link

IdChain._maxTxAmount (#346) is set pre-construction with a non-constant function or state variable:
- _totalSupply
IdChain._maxWalletToken (#347) is set pre-construction with a non-constant function or state variable:
- _totalSupply
IdChain.totalFee (#365) is set pre-construction with a non-constant function or state variable:
- marketingFee + reflectionFee + liquidityFee + devFee
IdChain.swapThreshold (#390) 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

Low level call in IdChain.swapBack() (#573-619):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#602)
- (tmpSuccess,None) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#603)
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() (#114) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#217) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#217) is not in mixedCase
Variable DividendDistributor._token (#170) is not in mixedCase
Variable DividendDistributor.RWRD (#178) is not in mixedCase
Variable DividendDistributor.WBNB (#179) is not in mixedCase
Function IdChain.setMaxWalletPercent_base1000(uint256) (#452-454) is not in mixedCase
Parameter IdChain.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#452) is not in mixedCase
Function IdChain.setMaxTxPercent_base1000(uint256) (#455-457) is not in mixedCase
Parameter IdChain.setMaxTxPercent_base1000(uint256).maxTXPercentage_base1000 (#455) is not in mixedCase
Function IdChain.clearStuckBalance_sender(uint256) (#553-556) is not in mixedCase
Function IdChain.set_sell_multiplier(uint256) (#558-560) is not in mixedCase
Parameter IdChain.set_sell_multiplier(uint256).Multiplier (#558) is not in mixedCase
Parameter IdChain.tradingStatus(bool)._status (#563) is not in mixedCase
Parameter IdChain.cooldownEnabled(bool,uint8)._status (#568) is not in mixedCase
Parameter IdChain.cooldownEnabled(bool,uint8)._interval (#568) is not in mixedCase
Function IdChain.enable_blacklist(bool) (#632-634) is not in mixedCase
Parameter IdChain.enable_blacklist(bool)._status (#632) is not in mixedCase
Function IdChain.manage_blacklist(address[],bool) (#636-640) is not in mixedCase
Parameter IdChain.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#655) is not in mixedCase
Parameter IdChain.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#655) is not in mixedCase
Parameter IdChain.setFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#655) is not in mixedCase
Parameter IdChain.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#655) is not in mixedCase
Parameter IdChain.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#655) is not in mixedCase
Parameter IdChain.setFeeReceivers(address,address,address)._autoLiquidityReceiver (#665) is not in mixedCase
Parameter IdChain.setFeeReceivers(address,address,address)._marketingFeeReceiver (#665) is not in mixedCase
Parameter IdChain.setFeeReceivers(address,address,address)._devFeeReceiver (#665) is not in mixedCase
Parameter IdChain.setSwapBackSettings(bool,uint256)._enabled (#671) is not in mixedCase
Parameter IdChain.setSwapBackSettings(bool,uint256)._amount (#671) is not in mixedCase
Parameter IdChain.setTargetLiquidity(uint256,uint256)._target (#676) is not in mixedCase
Parameter IdChain.setTargetLiquidity(uint256,uint256)._denominator (#676) is not in mixedCase
Parameter IdChain.setDistributionCriteria(uint256,uint256)._minPeriod (#681) is not in mixedCase
Parameter IdChain.setDistributionCriteria(uint256,uint256)._minDistribution (#681) is not in mixedCase
Function IdChain.multiTransfer_fixed(address,address[],uint256) (#731-750) is not in mixedCase
Variable IdChain.WBNB (#336) is not in mixedCase
Variable IdChain.DEAD (#337) is not in mixedCase
Variable IdChain.ZERO (#338) is not in mixedCase
Constant IdChain._name (#340) is not in UPPER_CASE_WITH_UNDERSCORES
Constant IdChain._symbol (#341) is not in UPPER_CASE_WITH_UNDERSCORES
Constant IdChain._decimals (#342) is not in UPPER_CASE_WITH_UNDERSCORES
Variable IdChain._totalSupply (#344) is not in mixedCase
Variable IdChain._maxTxAmount (#346) is not in mixedCase
Variable IdChain._maxWalletToken (#347) is not in mixedCase
Variable IdChain._balances (#349) is not in mixedCase
Variable IdChain._allowances (#350) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

IdChain.slitherConstructorVariables() (#333-755) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#337)
IdChain.slitherConstructorVariables() (#333-755) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#338)
IdChain.slitherConstructorVariables() (#333-755) uses literals with too many digits:
- distributorGas = 500000 (#383)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.WBNB (#179) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#192) should be constant
IdChain.DEAD (#337) should be constant
IdChain.WBNB (#336) should be constant
IdChain.ZERO (#338) should be constant
IdChain._totalSupply (#344) 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) (#83-85)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#87-89)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#99-103)
tradingStatus(bool) should be declared external:
- IdChain.tradingStatus(bool) (#563-565)
cooldownEnabled(bool,uint8) should be declared external:
- IdChain.cooldownEnabled(bool,uint8) (#568-571)
enable_blacklist(bool) should be declared external:
- IdChain.enable_blacklist(bool) (#632-634)
manage_blacklist(address[],bool) should be declared external:
- IdChain.manage_blacklist(address[],bool) (#636-640)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract ticker ($EIDI) 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.

Holders:

Contract has 9% buy tax and 13% 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 liquidity is less than $100. Token is either dead or inactive.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average 30d PancakeSwap volume 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 $EIDI