PAC-MAN Token - Smart Contract Audit Report

Summary

GOGETA Audit Report PAC-MAN Token ($PACMAN) is a new community-driven DeFi token on the Ethereum Blockchain that pays out static token rewards to holders and sends ETH to the team.

PAC-MAN's Token contract is deployed at 0xec5da3009466419f05dcff1b289e931b923d9582 on the Ethereum mainnet.

Notes on the Contract:
  • The total supply of the token is initially set to 1 quadrillion $PACMAN [1,000,000,000,000,000].
  • No minting or burn functions are present; however, holders can reduce the circulating supply by transferring tokens to the 0x...Dead address if desired.
  • At the time of writing this report, 50% of the token's supply has been sent to the 0x...Dead address.
  • 23.74% of the total supply is in Uniswap V2 liquidity.
  • Of that liquidity, 99% of the LP tokens are locked in a Unicrypt Liquidity Locker contract, and will fully vest to the team on April 5th, 2022.
  • The next five holders own a cumulative 7.54% of the total supply.

  • There is a 2% 'Redistribution Fee' and an 8% 'Tax Fee' on all transactions for any address that participates in a transfer.
  • Users who hold tokens will automatically benefit from the frictionless fee redistribution at the time of each transaction as the tokens collected through the 'Redistribution Fee' are removed from the circulating supply.
  • The tokens that are collected from the "Tax Fee" that is charged on transactions will be stored in the contract address. Once the contract balance reaches a threshold of $PACMAN tokens (greater than or equal to 0.01% of the total supply), the tokens will be swapped for ETH. The received ETH is then transferred in a 50%-50% split between the team's Marketing wallet and Development wallet.
  • The team wallets (Marketing and Development addresses) can call the Manualswap() and Manualsend() functions at any time. ManualSwap will manually swap $PACMAN tokens in the contract for ETH which is then stored in the contract balance. ManualSend will transfer the ETH from the contract to the respective wallet that called the function.
  • As the project is compiled with Solidity v0.8.4, it is protected from overflow/underflow issues.

  • Ownership Controls: Ownership has been been renounced, so the items below are merely informational:
  • The owner previously had the ability to update the fees charged on buying/selling transfers to any percentage at any time.
  • The owner previously had the ability to add addresses to a blacklist which will prohibit that account from participating in transfers.
  • The owner previously had the ability to enable trading which allows transfers of the token to take place globally for all non-blacklisted addresses.
  • The owner previously had the ability to add accounts to a "whitelist" which allows them to buy the token before trading has been enabled.
  • The owner previously had the ability to enable/disable the "Swap tokens for ETH" mechanism at any time.
  • The owner previously had the ability to update the minimum threshold for swapping tokens at any time.
  • The owner previously had the ability to set and update a 'maximum transaction amount' at any time, which will impose a limit to the number of tokens that can be transferred during any given transaction. The amount is now set to the total token supply, rendering it ineffective.
  • The owner previously had the ability to set and update a 'maximum wallet amount' at any time, which will impose a limit to the number of tokens that can be owned by any given address. The amount is now set to the total token supply, rendering it ineffective.

Audit Findings Summary
  • No external threats were identified during our analysis of the token contract.
  • Please ensure trust in the team prior to investing as they have significant control in the ecosystem and receive all of the ETH collected from the tax fees.
  • Date: October 14th, 2021

Audit 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
Flash LoansN/APASS
Integer Over/UnderflowN/APASS
Multiple SendsN/APASS
OraclesN/APASS
SuicideN/APASS
State Change External CallsN/APASS
Unchecked RetvalN/APASS
User Supplied AssertionN/APASS
Critical Solidity CompilerN/APASS
Overall Contract Safety PASS

Function Graph

ERC20 Token Graph


Inheritance Chart

Multi-file Token


Functions Overview


 ($) = payable function
 # = non-constant function
 
 +  Context 
    - [Int] _msgSender

 + [Int] IERC20 
    - [Ext] totalSupply
    - [Ext] balanceOf
    - [Ext] transfer #
    - [Ext] allowance
    - [Ext] approve #
    - [Ext] transferFrom #

 +  Ownable (Context)
    - [Pub]  #
    - [Pub] owner
    - [Pub] renounceOwnership #
       - modifiers: onlyOwner

 + [Lib] SafeMath 
    - [Int] add
    - [Int] sub
    - [Int] sub
    - [Int] mul
    - [Int] div
    - [Int] div

 + [Int] IUniswapV2Factory 
    - [Ext] createPair #

 + [Int] IUniswapV2Router02 
    - [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #
    - [Ext] factory
    - [Ext] WETH
    - [Ext] addLiquidityETH ($)

 +  PACMAN (Context, IERC20, Ownable)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Prv] tokenFromReflection
    - [Prv] removeAllFee #
    - [Prv] restoreAllFee #
    - [Prv] _approve #
    - [Prv] _transfer #
    - [Prv] swapTokensForEth #
       - modifiers: lockTheSwap
    - [Prv] sendETHToFee #
    - [Pub] setTrading #
       - modifiers: onlyOwner
    - [Ext] manualswap #
    - [Ext] manualsend #
    - [Pub] blockBots #
       - modifiers: onlyOwner
    - [Pub] unblockBot #
       - modifiers: onlyOwner
    - [Prv] _tokenTransfer #
    - [Prv] _transferStandard #
    - [Prv] _takeTeam #
    - [Prv] _reflectFee #
    - [Ext]  ($)
    - [Prv] _getValues
    - [Prv] _getTValues
    - [Prv] _getRValues
    - [Prv] _getRate
    - [Prv] _getCurrentSupply
    - [Pub] setFee #
       - modifiers: onlyOwner
    - [Pub] setMinSwapTokensThreshold #
       - modifiers: onlyOwner
    - [Pub] toggleSwap #
       - modifiers: onlyOwner
    - [Pub] setMaxTxnAmount #
       - modifiers: onlyOwner
    - [Pub] setMaxWalletSize #
       - modifiers: onlyOwner
    - [Pub] allowPreTrading #
       - modifiers: onlyOwner