MartianDoge Token Logo

MartianDoge Token

About MartianDoge

Listings

Token 2 years
white paper

Martian Doge is one of the Metaverse projects in BSC, building a groundbreaking AR NFT Marketplace. The AR NFT's launched in the marketplace can be viewed as an Augmented Reality model in the real world through the lens of the camera. Trade, and Explore the virtual land of Mars. Earn NFTs and exciting items as you explore the ends of Mars through MartianDoge Virtual Space.

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

MartianDoge.addLiquidity(uint256,uint256) (#855-868) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LP_Reciever,block.timestamp) (#860-867)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

MartianDoge.checkBuyBack() (#767-803) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#797)"
Do not use block.timestamp, now or blockhash as a source of randomness

Additional information: link

Reentrancy in MartianDoge._transfer(address,address,uint256) (#672-756):
External calls:
- swapTokens(contractTokenBalance) (#701)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#827-833)
- checkBuyBack() (#704)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
External calls sending eth:
- swapTokens(contractTokenBalance) (#701)
- recipient.transfer(amount) (#1155)
- checkBuyBack() (#704)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#755)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#974)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#890)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#899)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#891)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#910)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#920)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#901)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#911)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#922)
- _tokenTransfer(from,to,amount,takeFee) (#755)
- _rTotal = _rTotal.sub(rFee) (#929)
- checkBuyBack() (#704)
- _sellHistories[i].time = _sellHistories[j].time (#1042)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1043)
- _sellHistories.pop() (#1053)
- _tokenTransfer(from,to,amount,takeFee) (#755)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#976)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#909)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#919)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#900)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#921)
- checkBuyBack() (#704)
- inSwapAndLiquify = true (#526)
- inSwapAndLiquify = false (#528)
Apply the check-effects-interactions pattern.

Additional information: link


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


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.

MartianDoge._transfer(address,address,uint256).sellHistory (#691) 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

MartianDoge.addLiquidity(uint256,uint256) (#855-868) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LP_Reciever,block.timestamp) (#860-867)
Ensure that all the return values of the function calls are used.

Additional information: link

MartianDoge._approve(address,address,uint256).owner (#664) shadows:
- Ownable.owner() (#166-168) (function)
Rename the local variables that shadow another component.

Additional information: link

MartianDoge.setNumTokensSellToAddToBuyBack(uint256) (#1117-1119) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#1118)
Emit an event for critical parameter changes.

Additional information: link

MartianDoge.setMarketingAddress(address)._marketingAddress (#1121) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1122)
Check that the address is not zero.

Additional information: link

Reentrancy in MartianDoge.transferFrom(address,address,uint256) (#584-588):
External calls:
- _transfer(sender,recipient,amount) (#585)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#827-833)
External calls sending eth:
- _transfer(sender,recipient,amount) (#585)
- recipient.transfer(amount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#586)
- _allowances[owner][spender] = amount (#668)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MartianDoge.transferFrom(address,address,uint256) (#584-588):
External calls:
- _transfer(sender,recipient,amount) (#585)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#827-833)
External calls sending eth:
- _transfer(sender,recipient,amount) (#585)
- recipient.transfer(amount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#669)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#586)
Apply the check-effects-interactions pattern.

Additional information: link

MartianDoge._removeOldSellHistories() (#1034-1056) uses timestamp for comparisons
Dangerous comparisons:
- j < _sellHistories.length (#1038)
- _sellHistories[j].time >= maxStartTimeForHistories (#1040)
- j_scope_0 < removedCnt (#1051)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#133-150) uses assembly
- INLINE ASM (#142-145)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#67-70) is never used and should be removed
Remove unused functions.

Additional information: link

MartianDoge._previousLiquidityFee (#466) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.8.7 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 Address._functionCallWithValue(address,bytes,uint256,string) (#133-150):
- (success,returndata) = target.call{value: weiValue}(data) (#136)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable MartianDoge._isEnabledBuyBackAndBurn (#501) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#14)" inContext (#8-17)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in MartianDoge.transferFrom(address,address,uint256) (#584-588):
External calls:
- _transfer(sender,recipient,amount) (#585)
- recipient.transfer(amount) (#1155)
External calls sending eth:
- _transfer(sender,recipient,amount) (#585)
- recipient.transfer(amount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#845-850)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#586)
- _allowances[owner][spender] = amount (#668)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#669)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#586)
Apply the check-effects-interactions pattern.

Additional information: link

Variable MartianDoge._transferStandard(address,address,uint256).rTransferAmount (#889) is too similar to MartianDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#908)
Prevent variables from having similar names.

Additional information: link

MartianDoge.slitherConstructorVariables() (#419-1202) uses literals with too many digits:
- buyBackSellLimit = 1000000000 * 10 ** 18 (#488)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MartianDoge.deadAddress (#424) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferForeignToken(address,address) should be declared external:
- MartianDoge.transferForeignToken(address,address) (#1177-1181)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Discord account


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 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 price dump / death


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


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


Token has no active CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for MartianDoge