X-MINE Token Logo

XMINE [X-MINE] Token

About XMINE

Listings

Token 2 years

Website

white paper

Xmine was born with the purpose of matching the needs of traditional investors and adepts in the world of crypto-actives. In fact, the first self-sustaining currency.

A decentralized ecosystem that has $CAKE rewards for investors and mining ASICS generating purchases on the graph with the profits made.

Social

Laser Scorebeta Last Audit: 30 November 2021

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

Anti-Scam

Links


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

XMINE.swapBack() (#582-626) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in XMINE._transferFrom(address,address,uint256) (#482-530):
External calls:
- swapBack() (#509)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
External calls sending eth:
- swapBack() (#509)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#512)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#515)
- amountReceived = takeFee(sender,amount) (#514)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#550)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#311-322) ignores return value by CAKE.transfer(shareholder,amount) (#317)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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

XMINE.swapBack().tmpSuccess (#610) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
tmpSuccess = false (#613)
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.


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.

Contract name (X-MINE) 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.


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.

Reentrancy in DividendDistributor.setShare(address,uint256) (#244-258):
External calls:
- distributeDividend(shareholder) (#246)
- CAKE.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- shares[shareholder].amount = amount (#256)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#257)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

XMINE.setTargetLiquidity(uint256,uint256) (#674-677) should emit an event for:
- targetLiquidity = _target (#675)
- targetLiquidityDenominator = _denominator (#676)
Emit an event for critical parameter changes.

Additional information: link

XMINE.setFeeReceivers(address,address)._marketingFeeReceiver (#664) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#666)
Check that the address is not zero.

Additional information: link

XMINE.airdrop(address,address[],uint256[]) (#705-728) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#720)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#244-258):
External calls:
- distributeDividend(shareholder) (#246)
- CAKE.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- addShareholder(shareholder) (#250)
- shareholderIndexes[shareholder] = shareholders.length (#344)
- removeShareholder(shareholder) (#252)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#350)
- addShareholder(shareholder) (#250)
- shareholders.push(shareholder) (#345)
- removeShareholder(shareholder) (#252)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#349)
- shareholders.pop() (#351)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#255)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in XMINE.swapBack() (#582-626):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#624)
Apply the check-effects-interactions pattern.

Additional information: link

XMINE._transferFrom(address,address,uint256) (#482-530) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#500)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#280-304) has costly operations inside a loop:
- currentIndex ++ (#301)
Use a local variable to hold the loop computation result.

Additional information: link

XMINE.swapThreshold (#408) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 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

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 XMINE.swapBack() (#582-626):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable XMINE._allowances (#374) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

XMINE.slitherConstructorVariables() (#355-733) uses literals with too many digits:
- distributorGas = 500000 (#400)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

XMINE.CAKE (#358) is never used in XMINE (#355-733)
Remove unused state variables.

Additional information: link

XMINE.launchedAt (#396) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

cooldownEnabled(bool,uint8) should be declared external:
- XMINE.cooldownEnabled(bool,uint8) (#575-578)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

Additional information: link


Unable to find token contract audit


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


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Young tokens have high risks of price dump / death

Price for XMINE