OnlyMoons - Audit Report


OnlyMoons Audit Report Only Moons is building a new BEP20 token.

We reviewed the OnlyMoons contract at 0x7BF2f06D65b5C9f146ea79a4eCC7C7cdFC01B613 on the Binance Smartchain Mainnet.

We previously reviewed the project team's token locker contract here.

Notes on the Contract:
  • The total supply of the token is set to 500 million $ONLYMOONS [500,000,000].
  • No minting 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, 50.21% of the total supply is in Pancakeswap liquidity.
  • Of that liquidity, 99.99% of the LP tokens belong to a token locking contract and will vest to the team on December 11, 2021.
  • The next five holders own a cumulative 13.25% of the total supply.

  • The contract complies with the BEP20 token standard.
  • No ownership-restricted functions are present.
  • As the contract is implemented with Solidity v0.8.10, it is protected from overflows/underflows.

Audit Findings Summary
  • No external threats were identified.
  • Please ensure trust in the team as liquidity will unlock in 5 days.
  • Date: December 3rd, 2021
  • Updated: December 6th, 2021 to include new mainnet deployment address.

Audit Results

Vulnerability CategoryNotesResult
Arbitrary Storage WriteN/APASS
Arbitrary JumpN/APASS
Centralization of ControlN/APASS
Delegate Call to Untrusted ContractN/APASS
Dependence on Predictable VariablesN/APASS
Deprecated OpcodesN/APASS
Ether ThiefN/APASS
External CallsN/APASS
Flash LoansN/APASS
Integer Over/UnderflowN/APASS
Multiple SendsN/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] IERC20 
    - [Ext] name
    - [Ext] symbol
    - [Ext] totalSupply
    - [Ext] decimals
    - [Ext] balanceOf
    - [Ext] transfer #
    - [Ext] allowance
    - [Ext] approve #
    - [Ext] transferFrom #

 + [Int] IERC20Metadata (IERC20)
    - [Ext] name
    - [Ext] symbol
    - [Ext] decimals

 +  Context 
    - [Int] _msgSender
    - [Int] _msgData

 +  ERC20 (Context, IERC20, IERC20Metadata)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] increaseAllowance #
    - [Pub] decreaseAllowance #
    - [Int] _transfer #
    - [Int] _mint #
    - [Int] _approve #

 +  OnlyMoons (ERC20)
    - [Pub]  #
       - modifiers: ERC20