Predator Game - Smart Contract Audit Report
Summary
Predator Game ($PRO) has deployed a new BEP20 token that is intended to support their game that they plan to launch early next year.
For this audit we reviewed the project's token contract, deployed at 0xbf30a1dab8a2fa14b852a87914c377048cef18eb on the Binance Smart Chain Mainnet.
Notes of the Contract:Audit Findings Summary:
- The total supply is set to 100 million [100,000,000] $PRO tokens, which were minted to this address upon deployment of the contract.
- No minting or direct burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address, if desired.
- At the time of writing this report, 65.00% of the total supply is being held in an unverified contract.
- 3.22% of the total supply is being held in PancakeSwap Liquidity.
- Out of that liquidity, 100% of the LP Tokens are held in an unverified contract.
- There are 2 internal functions in the code that cannot be used/accessed: "_burn" and "_burnFrom".
- No ownership-restricted functions exist.
- Some functions could be declared external instead of public to save a minimal amount of gas, however this is merely informational as the contract has been deployed.
- The token contract complies with the BEP20 standard.
- Utilization of SafeMath to prevent overflows.
- No issues from external attackers were identified.
- Ensure trust in the team as 65% of the total supply and 100% of the LP tokens are in unverified contracts.
- Date: October 8th, 2021.
External Threat Results
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 |
Integer Over/Underflow | N/A | PASS |
Multiple Sends | 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 |
Inheritence Chart
Function Graph
Functions Overview
($) = payable function
# = non-constant function
Int = Internal
Ext = External
Pub = Public
+ [Lib] SafeMath
- [Int] mul
- [Int] mul
- [Int] div
- [Int] div
- [Int] sub
- [Int] sub
- [Int] add
- [Int] add
- [Int] mod
+ [Int] IERC20
- [Ext] totalSupply
- [Ext] balanceOf
- [Ext] allowance
- [Ext] transfer #
- [Ext] approve #
- [Ext] transferFrom #
+ ERC20Predator (IERC20)
- [Pub] #
- [Pub] totalSupply
- [Pub] balanceOf
- [Pub] allowance
- [Pub] transfer #
- [Pub] approve #
- [Pub] transferFrom #
- [Pub] increaseAllowance #
- [Pub] decreaseAllowance #
- [Int] _transfer #
- [Int] _mint #
- [Int] _burn #
- [Int] _burnFrom #