Predator Game - Smart Contract Audit Report

Summary

Predator Game Token Audit Report 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:

  • 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.
Audit Findings Summary:
  • 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 CategoryNotesResult
Arbitrary Storage WriteN/APASS
Arbitrary JumpN/APASS
Delegate Call to Untrusted ContractN/APASS
Dependence on Predictable VariablesN/APASS
Deprecated OpcodesN/APASS
Ether ThiefN/APASS
ExceptionsN/APASS
External CallsN/APASS
Integer Over/UnderflowN/APASS
Multiple SendsN/APASS
SuicideN/APASS
State Change External CallsN/APASS
Unchecked RetvalN/APASS
User Supplied AssertionN/APASS
Critical Solidity CompilerN/APASS
Overall Contract Safety PASS

Inheritence Chart

Multi-file Token

Function Graph

ERC20 Token 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 #