BNB Token Smart Contract Audit

Project Background

  • The BNB Token is native coin of the BNB Chain ecosystem. It is a utility token needed to use the BNB Chain platform. 
  • This Solidity contract is a token contract for a token named BNB. Here’s a summary of its functionality:
      • SafeMath Library: This contract includes a library called SafeMath which provides functions for safe arithmetic operations to prevent overflows and underflows.
      • BNB Token Contract: The BNB contract implements the functionality of the BNB token.
      • Token Properties: It defines properties such as name, symbol, decimals, and totalSupply for the token.
      • Balances: It maintains a mapping of token balances for each address (balanceOf), and another mapping to track frozen token balances (freezeOf).
    • Allowance: It allows another address to spend tokens on behalf of the token owner by using the approve function.
    • Token Transfer: Functions transfer and transferFrom are implemented for transferring tokens between addresses. These functions include checks to ensure that the sender has sufficient balance and that there are no overflows.
    • Token Burning: The burn function allows token holders to burn (destroy) their own tokens, reducing the total supply.
    • Token Freezing: It provides functions freeze and unfreeze to freeze and unfreeze tokens for a particular address. Frozen tokens cannot be transferred until they are unfrozen.
    • Withdraw Ether: The withdrawEther function allows the contract owner to withdraw any Ether balance held by the contract.
    • Fallback Function: The contract includes a payable fallback function to accept Ether transfers.
  • Overall, this contract provides the basic functionalities expected from an ERC-20 compatible token, along with additional features like token freezing and burning.

Website: bnbchain.org

Executive Audit Summary

  • According to the standard audit assessment, Customer`s solidity smart contracts are “Secured”. This token contract has ownership control. It is ideal to renounce ownership once its purpose is over to make it fully decentralized.
  • We used various tools like Slither, Solhint and Remix IDE. At the same time this finding is based on critical analysis of the manual audit.
  • We found 0 critical, 0 high, 0 medium,  0 low and 4 very low level issues.

Audit Report in PDF


pdf

Audit Report Flip book

Please wait while flipbook is loading. For more related info, FAQs and issues please refer to DearFlip WordPress Flipbook Plugin Help documentation.

Leave a Reply

Your email address will not be published. Required fields are marked *

one × 1 =