HakunaMatata - Smart Contract Audit Report

Summary

HakunaMatata Finance Audit Report HakunaMatata is a deflationary token with frictionless fee redistribution and acharity aspect on the Binance Smart Chain.

We audited HakunaMatata's token contract, deployed at 0x355389292d8c963719fdaf0651f7846d6c504448 on the BSC mainnet.

Overview of the Contract:
  • The initial total supply of the token is 1 quadrillion. Due to burns, the current total supply is about 914 million.
  • The owner can mint any number of tokens at any time - Ownership has been renounced.
  • 33.9% of the token's supply has been locked with DxSale and will vest between May 6th and August 19th.
  • Pancakeswap holds ~10% of the total supply as liquidity.
  • The charity wallet holds 4.3% of the supply.
  • The next largest holder has 1.9%

  • Transfer fees on the token total 18%.
  • Users who hold tokens will automatically receive a portion of the 5% fee from a transaction tax.
  • The contract also implements a 7% burn fee and 6% charity fee on each transaction.
  • The funds collected from charity fee will be held in a wallet controlled by the team.
  • Ownership has been renounced, so tax fees and the inclusion/exclusion of accounts cannot be altered.
  • The contract utilizes SafeMath libraries to prevent overflows.
Audit Findings Summary
  • No security issues were detected in the analysis.
  • Ensure trust in the team as they control the charity wallet and will receive a large amount of unlocked tokens over a relativley short period of time.
  • Date: May 23rd, 2021

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
Flash LoansN/APASS
Integer Over/UnderflowN/APASS
Multiple SendsN/APASS
OraclesN/APASS
SuicideN/APASS
State Change External CallsN/APass
Unchecked RetvalN/APASS
User Supplied AssertionN/APASS
Critical Solidity CompilerN/APASS
Overall Contract Safety PASS

ERC20 Token Graph

Multi-file Token

												
($) = payable function
 # = non-constant function
  
 +  Context 
    - [Int] _msgSender
    - [Int] _msgData

 + [Int] IBEP20 
    - [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

 + [Lib] Address 
    - [Int] isContract
    - [Int] sendValue #
    - [Int] functionCall #
    - [Int] functionCall #
    - [Int] functionCallWithValue #
    - [Int] functionCallWithValue #
    - [Prv] _functionCallWithValue #

 +  Ownable (Context)
    - [Pub] owner
    - [Pub] renounceOwnership #
       - modifiers: onlyOwner
    - [Pub] transferOwnership #
       - modifiers: onlyOwner

 +  CoinToken (Context, IBEP20, Ownable)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] increaseAllowance #
    - [Pub] decreaseAllowance #
    - [Pub] isExcluded
    - [Pub] isCharity
    - [Pub] totalFees
    - [Pub] totalBurn
    - [Pub] totalCharity
    - [Pub] deliver #
    - [Pub] reflectionFromToken
    - [Pub] tokenFromReflection
    - [Ext] excludeAccount #
       - modifiers: onlyOwner
    - [Ext] includeAccount #
       - modifiers: onlyOwner
    - [Ext] setAsCharityAccount #
       - modifiers: onlyOwner
    - [Pub] burn #
    - [Pub] updateFee #
       - modifiers: onlyOwner
    - [Int] _burn #
    - [Pub] mint #
       - modifiers: onlyOwner
    - [Prv] _approve #
    - [Prv] _transfer #
    - [Prv] _transferStandard #
    - [Prv] _standardTransferContent #
    - [Prv] _transferToExcluded #
    - [Prv] _excludedFromTransferContent #
    - [Prv] _transferFromExcluded #
    - [Prv] _excludedToTransferContent #
    - [Prv] _transferBothExcluded #
    - [Prv] _bothTransferContent #
    - [Prv] _reflectFee #
    - [Prv] _getValues
    - [Prv] _getTBasics
    - [Prv] getTTransferAmount
    - [Prv] _getRBasics
    - [Prv] _getRTransferAmount
    - [Prv] _getRate
    - [Prv] _getCurrentSupply
    - [Prv] _sendToCharity #
    - [Prv] removeAllFee #
    - [Prv] restoreAllFee #
    - [Prv] _getTaxFee