Burny Token - Smart Contract Audit Report
Summary
Burny is a new token with high burn rates and a charity aspect.
For this audit we reviewed the project's token contract, deployed at 0xFEF62A8586480f794b7E6a869a9937F97f88205A on the Ethereum Mainnet.
Notes of the Contract:Audit Findings Summary:
- The initial total supply is 1 trillion tokens.
- There is no way for tokens to be minted after deployment.
- There is a 20% tax on each transaction. 5% of the amount transferred will be sent to the charity wallet controlled by the team, while 15% will be burned.
- Burns will be disabled once the total supply reaches 200 billion.
- The only ownership-restricted function present allows the owner to enable burns. Once enabled, they cannot be disabled. Burns are enabled.
- The team performed a manual presale to distribute tokens to various addresses.
- The charity wallet holds ~17% of the token's supply.
- ~9.8% of the total supply is held in the Uniswap liquidity pool. The next largest holder has ~3.2%.
- 99% of liquidity is locked for 6 months.
- Some functions could be declared external instead of public, and some variables can be set constant to save a minimal amount of gas. Some logic in the _transfer() function can also be streamlined; but as this is already deployed, these notes are merely informational.
- The token contract complies with the BEP20 standard.
- Utilization of SafeMath to prevent overflows.
- No issues from external attackers were identified.
- Ensure trust in the team as they hold ~17% of the total supply in the charity wallet. We advise locking or burning tokens from the charity wallet.
- Date: April 9th, 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
+ Context
- [Int] _msgSender
- [Int] _msgData
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Lib] SafeMath
- [Int] add
- [Int] sub
- [Int] sub
- [Int] mul
- [Int] div
- [Int] div
- [Int] mod
- [Int] mod
+ Ownable (Context)
- [Pub] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
+ BURNY (Context, IERC20, Ownable)
- [Pub] #
- [Pub] name
- [Pub] symbol
- [Pub] decimals
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] transfer #
- [Pub] setBurnEnabled #
- modifiers: onlyOwner
- [Pub] allowance
- [Pub] approve #
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Int] _transfer #
- [Int] _approve #