Burny Token - Smart Contract Audit Report


Burny Token Audit Report 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:
  • 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.
Audit Findings Summary:
  • 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 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
External CallsN/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

Inheritence Chart

Multi-file Token

Function Graph

ERC20 Token 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 #