Meta Soldier Token Logo

MSD [Meta Soldier] Token

About MSD

Listings

Token 2 years

MetaSoldier,a new STG that will bring fun and value hunting opportunities for both game players and NFT collectors.

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...)

SafeMath is re-used:
- contracts/utils/SafeMath.sol#5-57
- @openzeppelin/contracts/math/SafeMath.sol#18-214
Rename the contract.

Additional information: link

MetaSoldierToken.transferMarker(address).newMaker (contracts/token_msd/MetaSoldierToken.sol#84) lacks a zero-check on :
- maker = newMaker (contracts/token_msd/MetaSoldierToken.sol#86)
Check that the address is not zero.

Additional information: link

Reentrancy in MetaSoldierToken.init() (contracts/token_msd/MetaSoldierToken.sol#66-72):
External calls:
- swapPairAddress = factory.createPair(address(this),USDTAddress) (contracts/token_msd/MetaSoldierToken.sol#67)
- TransferHelper.safeApprove(swapPairAddress,PANCAKE_ROUTER_ADDRESS,~ uint256(0)) (contracts/token_msd/MetaSoldierToken.sol#68)
State variables written after the call(s):
- super._approve(address(this),PANCAKE_ROUTER_ADDRESS,~ uint256(0)) (contracts/token_msd/MetaSoldierToken.sol#69)
- _allowances[owner][spender] = amount (@openzeppelin/contracts/token/ERC20/ERC20.sol#276)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MetaSoldierToken.removeLiquidity(uint256,uint256,uint256,address,uint256) (contracts/token_msd/MetaSoldierToken.sol#248-258):
External calls:
- TransferHelper.safeTransferFrom(swapPairAddress,msg.sender,address(this),liquidity) (contracts/token_msd/MetaSoldierToken.sol#254)
- (amountA,amountB) = pancakeRouter.removeLiquidity(address(this),USDTAddress,liquidity,amountAMin,amountBMin,to,deadline) (contracts/token_msd/MetaSoldierToken.sol#255)
Event emitted after the call(s):
- RemoveLiquity(msg.sender,liquidity) (contracts/token_msd/MetaSoldierToken.sol#256)
Apply the check-effects-interactions pattern.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.6.0', '>=0.6.0<0.8.0', '>=0.6.0<0.9.0', '^0.7.0']
- ^0.7.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- ^0.7.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- ^0.7.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3)
- ^0.7.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- ^0.7.0 (@openzeppelin/contracts/utils/Strings.sol#3)
- >=0.6.0<0.9.0 (contracts/pancake/IPancakeFactory.sol#2)
- >=0.6.0<0.9.0 (contracts/pancake/IPancakePair.sol#2)
- ^0.7.0 (contracts/pancake/IPancakeRouter02.sol#2)
- >=0.6.0 (contracts/pancake/TransferHelper.sol#3)
- >=0.6.0<0.9.0 (contracts/token_msd/MetaSoldierToken.sol#2)
- ^0.7.0 (contracts/utils/SafeMath.sol#3)
Use one Solidity version.

Additional information: link

TransferHelper.safeTransferETH(address,uint256) (contracts/pancake/TransferHelper.sol#47-50) is never used and should be removed
Remove unused functions.

Additional information: link

MetaSoldierToken.pancakeRouter (contracts/token_msd/MetaSoldierToken.sol#38) is set pre-construction with a non-constant function or state variable:
- IPancakeRouter01(PANCAKE_ROUTER_ADDRESS)
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.0 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 TransferHelper.safeTransferETH(address,uint256) (contracts/pancake/TransferHelper.sol#47-50):
- (success) = to.call{value: value}(new bytes(0)) (contracts/pancake/TransferHelper.sol#48)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable MetaSoldierToken.USDTAddress (contracts/token_msd/MetaSoldierToken.sol#40) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (@openzeppelin/contracts/utils/Context.sol#21)" inContext (@openzeppelin/contracts/utils/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable MetaSoldierToken.addLiquidity(uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/token_msd/MetaSoldierToken.sol#191) is too similar to MetaSoldierToken.addLiquidity(uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/token_msd/MetaSoldierToken.sol#192)
Prevent variables from having similar names.

Additional information: link

MetaSoldierToken.constructor(address) (contracts/token_msd/MetaSoldierToken.sol#55-64) uses literals with too many digits:
- TemplateERC20Token(Meta Soldier Token,MSD,10000000000e18,premintReceiptor) (contracts/token_msd/MetaSoldierToken.sol#56-61)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MetaSoldierToken.USDTAddress (contracts/token_msd/MetaSoldierToken.sol#40) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

addLiquidity(uint256,uint256,uint256,uint256,address,uint256) should be declared external:
- MetaSoldierToken.addLiquidity(uint256,uint256,uint256,uint256,address,uint256) (contracts/token_msd/MetaSoldierToken.sol#189-210)
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 Youtube account


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/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 Telegram link on the website


Unable to find Twitter 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 MSD