The fundamental issue within most current stablecoin protocols is positive externality. The cost of producing and maintaining stablecoins are incurred by the protocol and its users (minters, share holders, bond holders). Whereas the majority of the value comes from the transaction of stablecoins within DeFi primitives and is captured by these DeFi primitives.
Mars Ecosystem solves this problem by integrating the creation and the use of stablecoin into one stable yet decentralized ecosystem. The relationship between Mars Stablecoin and Mars DeFi platform creates a positive feedback loop and generates a flywheel effect.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Variable USDMToken.DOMAIN_SEPARATOR (contracts/base/USDMToken.sol#14) 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
Low level call in Address.functionDelegateCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#163-169):
- (success,returndata) = target.delegatecall(data) (@openzeppelin/contracts/utils/Address.sol#167)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
USDMToken.constructor(address)._core (contracts/base/USDMToken.sol#26) shadows:
- CoreRef._core (contracts/refs/CoreRef.sol#14) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Modifier CoreRef.ifBurnerSelf() (contracts/refs/CoreRef.sol#28-32) does not always execute _; or revert
All the paths in a modifier must execute _ or revert.
Additional information: link
USDMToken.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (contracts/base/USDMToken.sol#70-104) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(deadline >= block.timestamp,USDMToken::permit: Expired) (contracts/base/USDMToken.sol#80)
Avoid relying on block.timestamp.
Additional information: link
USDMToken.constructor(address) (contracts/base/USDMToken.sol#26-43) uses assembly
- INLINE ASM (contracts/base/USDMToken.sol#29-31)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.8.0', '>=0.6.2<0.8.0', '^0.7.6']
- >=0.6.0<0.8.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- >=0.6.2<0.8.0 (@openzeppelin/contracts/utils/Address.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Pausable.sol#3)
- ^0.7.6 (contracts/base/USDMToken.sol#3)
- ^0.7.6 (contracts/interfaces/ICore.sol#3)
- ABIEncoderV2 (contracts/interfaces/ICore.sol#4)
- ^0.7.6 (contracts/interfaces/ICoreRef.sol#3)
- ABIEncoderV2 (contracts/interfaces/ICoreRef.sol#4)
- ^0.7.6 (contracts/interfaces/IPermissions.sol#3)
- ABIEncoderV2 (contracts/interfaces/IPermissions.sol#4)
- ^0.7.6 (contracts/interfaces/IUSDMToken.sol#3)
- ^0.7.6 (contracts/interfaces/IXMSToken.sol#3)
- ^0.7.6 (contracts/refs/CoreRef.sol#3)
- ABIEncoderV2 (contracts/refs/CoreRef.sol#4)
Use one Solidity version.
Additional information: link
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#35-38) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts/utils/Pausable.sol#3) is too complex
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
xmsBalance() should be declared external:
- CoreRef.xmsBalance() (contracts/refs/CoreRef.sol#149-151)
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 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
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Youtube account