Martian Home - Audit Report

Summary

Martian Home Audit Report

Martian Home ($MTHM) is a new BEP-20 token on the Binance Smart Chain.

We reviewed the BEP20Token contract deployed at 0xb8f6F623ae0C991c4cBB359113B8D2Af0AC8E397 on the Binance Smart Chain mainnet.

Notes on the Contract:
  • The total supply of the token is set to 65 million $MTHM [65,000,000].
  • No mint or burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address if desired.
  • At the time of writing this report, 100% of the total supply belongs to the owner.

  • There is a fee charged on all token transfers. The tokens collected from the fee are sent to a wallet controlled by the team.
  • The owner can update the transfer fee to any percentage at any time.
  • The owner can update the team wallet to any address at any time.
  • The contract complies with the BEP-20 token standard.
  • The contract utilizes the SafeMath library to prevent overflows/underflows.
  • Some gas optimizations can be achieved through declaring functions external instead of public. As the contract is already deployed, this is merely informational.

Audit Findings Summary
  • No external threats were identified.
  • Please ensure trust in the team prior to investing as they currently own 100% of the total supply, and can set the transfer fee up to 100%.
  • Date: January 12th, 2022

Audit Results

Vulnerability CategoryNotesResult
Arbitrary Storage WriteN/APASS
Arbitrary JumpN/APASS
Centralization of Control
  • The owner can set the transfer fee up to 100%.
  • The owner currently owns 100% of the total supply.
  • WARNING
    Delegate Call to Untrusted ContractN/APASS
    Dependence on Predictable VariablesN/APASS
    Deprecated OpcodesN/APASS
    Ether ThiefN/APASS
    ExceptionsN/APASS
    External CallsN/APASS
    Flash LoansN/APASS
    Integer Over/UnderflowN/APASS
    Multiple SendsN/APASS
    OraclesN/APASS
    SuicideN/APASS
    State Change External CallsN/APASS
    Unchecked RetvalN/APASS
    User Supplied AssertionN/APASS
    Critical Solidity CompilerN/APASS
    Overall Contract Safety PASS

    Function Graph

    ERC20 Token Graph


    Inheritance Chart

    Multi-file Token


    Functions Overview

    
     ($) = payable function
     # = non-constant function
     
     + [Int] IBEP20 
        - [Ext] totalSupply
        - [Ext] decimals
        - [Ext] symbol
        - [Ext] name
        - [Ext] getOwner
        - [Ext] balanceOf
        - [Ext] transfer #
        - [Ext] allowance
        - [Ext] approve #
        - [Ext] transferFrom #
    
     +  Context 
        - [Int]  #
        - [Int] _msgSender
        - [Int] _msgData
    
     + [Lib] SafeMath 
        - [Int] add
        - [Int] sub
        - [Int] sub
        - [Int] mul
        - [Int] div
        - [Int] div
        - [Int] mod
        - [Int] mod
    
     +  Ownable (Context)
        - [Int]  #
        - [Pub] owner
        - [Pub] renounceOwnership #
           - modifiers: onlyOwner
        - [Pub] transferOwnership #
           - modifiers: onlyOwner
        - [Int] _transferOwnership #
    
     +  BEP20Token (Context, IBEP20, Ownable)
        - [Pub]  #
        - [Ext] getOwner
        - [Ext] decimals
        - [Ext] symbol
        - [Ext] name
        - [Ext] totalSupply
        - [Ext] balanceOf
        - [Ext] transfer #
        - [Ext] allowance
        - [Ext] approve #
        - [Ext] transferFrom #
        - [Pub] increaseAllowance #
        - [Pub] decreaseAllowance #
        - [Int] _transfer #
        - [Pub] setFeeRate #
           - modifiers: onlyOwner
        - [Pub] setFeeAddress #
           - modifiers: onlyOwner
        - [Int] _approve #