|Arbitrary Storage Write||N/A||PASS|
|Delegate Call to Untrusted Contract||N/A||PASS|
|Dependence on Predictable Variables||N/A||PASS|
|State Change External Calls||N/A||PASS|
|User Supplied Assertion||N/A||PASS|
|Critical Solidity Compiler||N/A||PASS|
|Overall Contract Safety||PASS|
BakeryTools Token - Audit Report
BakeryTools intends to build a social media platform based on blockchain.
For this audit we reviewed the project's token contract, deployed at 0x26d6e280f9687c463420908740ae59f712419147 on the Binance Smart Chain mainnet.
Notes of the Token Contract:
Audit Findings Summary
- The total supply of the token is 100 million.
- No minting functions are present. A burn function exists, allowing any user to burn their own tokens.
- Currently, the team holds the entire supply across 4 wallets with balances as follows:
- Wallet 1: 54%. Wallet 2: 26%. Wallet 3: 10%. Wallet 4: 10%.
- The only ownership-restriction function allows the team to transfer ERC20 tokens accidentally sent to the contract.
- The contract utilizes Solidity 0.8.4 which has built-in overflow checks, removing the need for SafeMath. SafeMath is used anyway, which uses some extra gas, but the cost of this is negligible.
- No issues from external attackers were identified.
- As with any presale, ensure trust in the team prior to investing.
- Date: April 27th, 2021.
($) = payable function # = non-constant function Int = Internal Ext = External Pub = Public + [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 # + [Int] IBEP20 - [Ext] totalSupply - [Ext] balanceOf - [Ext] transfer # - [Ext] allowance - [Ext] approve # - [Ext] transferFrom # + Context - [Int] _msgSender - [Int] _msgData + Ownable (Context) - [Pub]
# - [Pub] owner - [Pub] transferOwnership # - modifiers: onlyOwner + HasForeignAsset (Ownable) - [Ext] assetBalance - [Ext] getAsset # - modifiers: onlyOwner + BakeryTools (IBEP20, HasForeignAsset) - [Pub] # - [Ext] ($) - [Pub] name - [Pub] symbol - [Pub] decimals - [Pub] totalSupply - [Pub] balanceOf - [Pub] transfer # - [Pub] allowance - [Pub] approve # - [Pub] transferFrom # - [Pub] increaseAllowance # - [Pub] decreaseAllowance # - [Int] _transfer # - [Int] _mintOnce # - [Int] _burn # - [Pub] burn # - [Int] _approve # - [Int] _setupDecimals # - [Int] _beforeTokenTransfer #