1 Dollar - Smart Contract Audit Report

Summary

1 Dollar Token Audit Report 1 Dollar ($ONEUSD) intends to build a platform enabling flash loans to equalize DeFi markets.

For this audit we reviewed the project's token contract, deployed at 0xbf30a1dab8a2fa14b852a87914c377048cef18eb on the Binance Smart Chain Mainnet.

Notes of the Contract:

  • The initial total supply is 100 million [100,000,000] ($ONEUSD) tokens.
  • The team has the ability to mint tokens at any time.
  • There is one wallet that contains 79.5% of the tokens supply.
  • The second largest wallet contains ~14.5% of the tokens supply.
  • The remaining four wallets contain the other ~1% of the tokens supply.
  • No other ownership-related functions exist.
  • Some functions could be declared external instead of public to save a minimal amount of gas.
  • The token contract complies with the BEP20 standard.
  • Utilization of SafeMath to prevent overflows.
Audit Findings Summary:
  • No issues from external attackers were identified.
  • As with any ICO, ensure trust in the team prior to investing.
  • Further, ensure trust in the team as they have the ability to mint tokens.
  • Date: June 28th, 2021.

External Threat Results

Vulnerability CategoryNotesResult
Arbitrary Storage WriteN/APASS
Arbitrary JumpN/APASS
Delegate Call to Untrusted ContractN/APASS
Dependence on Predictable VariablesN/APASS
Deprecated OpcodesN/APASS
Ether ThiefN/APASS
ExceptionsN/APASS
External CallsN/APASS
Integer Over/UnderflowN/APASS
Multiple SendsN/APASS
SuicideN/APASS
State Change External CallsN/APass
Unchecked RetvalN/APASS
User Supplied AssertionN/APASS
Critical Solidity CompilerN/APASS
Overall Contract Safety PASS

Inheritence Chart

Multi-file Token

Function Graph

ERC20 Token Graph

Functions Overview


 ($) = payable function
 # = non-constant function
 
 Int = Internal
 Ext = External
 Pub = Public

 + [Int] IBEP20 
    - [Ext] totalSupply
    - [Ext] decimals
    - [Ext] symbol
    - [Ext] name
    - [Ext] getOwner
    - [Ext] balanceOf
    - [Ext] transfer #
    - [Ext] allowance
    - [Ext] approve #
    - [Ext] transferFrom #

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

 + [Lib] SafeMath 
    - [Int] add
    - [Int] sub
    - [Int] sub
    - [Int] mul
    - [Int] div
    - [Int] div
    - [Int] mod
    - [Int] mod

 +  Initializable 
    - [Prv] _isConstructor

 +  BEP20TokenImplementation (Context, IBEP20, Initializable)
    - [Pub]  #
    - [Pub] initialize #
       - modifiers: initializer
    - [Pub] renounceOwnership #
       - modifiers: onlyOwner
    - [Pub] transferOwnership #
       - modifiers: onlyOwner
    - [Ext] mintable
    - [Ext] getOwner
    - [Ext] decimals
    - [Ext] symbol
    - [Ext] name
    - [Ext] totalSupply
    - [Ext] balanceOf
    - [Ext] transfer #
    - [Ext] allowance
    - [Ext] approve #
    - [Ext] transferFrom #
    - [Pub] increaseAllowance #
    - [Pub] decreaseAllowance #
    - [Pub] mint #
       - modifiers: onlyOwner
    - [Pub] burn #
    - [Int] _transfer #
    - [Int] _mint #
    - [Int] _burn #
    - [Int] _approve #
    - [Int] _burnFrom #