1 Dollar - Smart Contract Audit Report
Summary
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:Audit Findings Summary:
- 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.
- 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 Category | Notes | Result |
---|---|---|
Arbitrary Storage Write | N/A | PASS |
Arbitrary Jump | N/A | PASS |
Delegate Call to Untrusted Contract | N/A | PASS |
Dependence on Predictable Variables | N/A | PASS |
Deprecated Opcodes | N/A | PASS |
Ether Thief | N/A | PASS |
Exceptions | N/A | PASS |
External Calls | N/A | PASS |
Integer Over/Underflow | N/A | PASS |
Multiple Sends | N/A | PASS |
Suicide | N/A | PASS |
State Change External Calls | N/A | Pass |
Unchecked Retval | N/A | PASS |
User Supplied Assertion | N/A | PASS |
Critical Solidity Compiler | N/A | PASS |
Overall Contract Safety | PASS |
Inheritence Chart
Function 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 #