Meta Farm - Audit Report
Summary
Meta Farm ($MEF) is a new BEP20 token on the Binance Smart Chain.
We reviewed the MetaFarm contract that is deployed at 0x0Dc50b087EBCa4A5A4a2B68A2C736A6C8B3A3600 on the Binance Smart Chain Mainnet.
Notes on the Contract:
- The total supply of the token is set to 1 billion $MEF [1,000,000,000].
- No mint functions are accessible beyond deployment.
- Any user can burn their own tokens to reduce the total supply.
- At the time of writing this report, 100% of the total supply belongs to the owner.
- There is a tax fee on all transactions for any "non-excluded" address that participates in a transfer.
- The tokens collected through the tax fee are sent to the team's dev address.
- The owner can modify the tax fee to any percentage at any time.
- The owner can modify the dev address to any address at any time.
- The contract complies with the BEP20 standard.
- As the contract is deployed with Solidity v0.8.10 it is protected from overflows.
- Some functions could have been declared external instead of public to save some gas, but as this is already deployed this is merely informational.
Audit Findings Summary
- No external threats were identified.
- Please ensure trust in the team prior to investing as they have substantial control in the ecosystem and own 100% of the total supply.
- Date: December 10th, 2021
Audit Results
Vulnerability Category | Notes | Result |
---|---|---|
Arbitrary Storage Write | N/A | PASS |
Arbitrary Jump | N/A | PASS |
Centralization of Control | WARNING | |
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 |
Flash Loans | N/A | PASS |
Integer Over/Underflow | N/A | PASS |
Multiple Sends | N/A | PASS |
Oracles | 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 |
Function Graph
Inheritance Chart
Functions Overview
($) = payable function
# = non-constant function
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] transfer #
- [Ext] allowance
- [Ext] approve #
- [Ext] transferFrom #
+ [Int] IERC20Metadata (IERC20)
- [Ext] name
- [Ext] symbol
- [Ext] decimals
+ Context
- [Int] _msgSender
- [Int] _msgData
+ ERC20 (Context, IERC20, IERC20Metadata)
- [Pub] #
- [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] _mint #
- [Int] _burn #
- [Int] _approve #
- [Int] _beforeTokenTransfer #
- [Int] _afterTokenTransfer #
+ ERC20Burnable (Context, ERC20)
- [Pub] burn #
- [Pub] burnFrom #
+ Ownable (Context)
- [Pub] #
- [Pub] owner
- [Pub] renounceOwnership #
- modifiers: onlyOwner
- [Pub] transferOwnership #
- modifiers: onlyOwner
- [Int] _transferOwnership #
+ [Lib] SafeMath
- [Int] tryAdd
- [Int] trySub
- [Int] tryMul
- [Int] tryDiv
- [Int] tryMod
- [Int] add
- [Int] sub
- [Int] mul
- [Int] div
- [Int] mod
- [Int] sub
- [Int] div
- [Int] mod
+ MetaFarm (ERC20, ERC20Burnable, Ownable)
- [Pub] #
- modifiers: ERC20
- [Ext] setExcludeFromFee #
- modifiers: onlyOwner
- [Pub] isExcludedFromFee
- [Pub] setFee #
- modifiers: onlyOwner
- [Pub] updateDevAddress #
- modifiers: onlyOwner
- [Int] _transfer #