|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|
Libra Token - Smart Contract Audit Report
Notes of the Token Contract:
Audit Findings Summary
- The total supply of the token is 20 million, granted to the team upon deployment.
- The owner and the 'chef' has the ability to mint additional tokens at any time, up to the maximum supply which is set upon deployment.
- We advise making the _maximumSupply variable public so users can be aware of the maximum supply.
- The 'chef' address is designed to be a staking contract, allowing that contract to mint rewards.
- The team can update the address of the chef at any time.
- The owner can also burn tokens from any address without permission. We advise the removal of this function or altering it to only allow users to burn their own tokens.
- The contract utilizes SafeMath to prevent overflow issues.
- No issues from external attackers were identified.
- As with any presale, check token allocations and ensure trust in the team prior to investing.
- Further, ensure trust in the team as they can mint tokens at any time up to the unkown supply cap, and burn tokens from any address without permission.
- Date: May 25th, 2021.
($) = payable function # = non-constant function Int = Internal Ext = External Pub = Public + Context - [Int]
# - [Int] _msgSender - [Int] _msgData + [Lib] Address - [Int] isContract - [Int] sendValue # - [Int] functionCall # - [Int] functionCall # - [Int] functionCallWithValue # - [Int] functionCallWithValue # - [Prv] _functionCallWithValue # + Ownable (Context) - [Int] # - [Pub] owner - [Pub] chef - [Pub] renounceOwnership # - modifiers: onlyOwner - [Pub] transferOwnership # - modifiers: onlyOwner - [Int] _transferOwnership # - [Pub] setChef # - modifiers: onlyOwner + [Lib] SafeMath - [Int] add - [Int] sub - [Int] sub - [Int] mul - [Int] div - [Int] div - [Int] mod - [Int] mod - [Int] min - [Int] sqrt + [Int] IBEP20 - [Ext] totalSupply - [Ext] decimals - [Ext] symbol - [Ext] name - [Ext] getOwner - [Ext] balanceOf - [Ext] transfer # - [Ext] allowance - [Ext] approve # - [Ext] transferFrom # + BEP20Limited (Context, IBEP20, Ownable) - [Pub] # - [Ext] getOwner - [Pub] name - [Pub] decimals - [Pub] symbol - [Pub] totalSupply - [Pub] balanceOf - [Pub] transfer # - [Pub] allowance - [Pub] approve # - [Pub] transferFrom # - [Pub] increaseAllowance # - [Pub] decreaseAllowance # - [Pub] mint # - modifiers: onlyOwner - [Int] _transfer # - [Int] _mint # - [Int] _burn # - [Int] _approve # - [Int] _burnFrom # + LibToken (BEP20Limited) - [Pub] # - [Pub] burn # - modifiers: onlyOwner - [Pub] mintReward # - modifiers: onlyChef - [Ext] burnReward # - modifiers: onlyChef