Vulnerability Category | Notes | Result |
---|---|---|
Arbitrary Storage Write | N/A | PASS |
Arbitrary Jump | N/A | PASS |
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 |
Libra Token - Smart Contract Audit Report
Summary
Libra is a new token on the Binance Smart Chain.
For this audit we reviewed the project's token contract, deployed at 0xc29e0804c324a1f9333db757888068338a2758e4 on the BSC testnet.
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