ElectricArena Token - Smart Contract Audit Report

Summary

Electric Arena Audit Report ElectricArena Token ($eArena) is a new ERC20 token on the Ethereum Blockchain.

For this audit, we analyzed ElectricArena's Token contract. We reviewed the team's code at the following address on the Ethereum mainnet: 0xc30590a879c7dd78bcd9a18e48de446a3c7c98b8

Notes on the Contract:
  • The total supply of the token is initially set to 1.15 quadrillion [1,150,000,000,000,000] $eArena.
  • No mint or burn functions are present beyond deployment; though the circulating supply can be reduced by sending tokens to the 0x..dead address if desired.
  • At the time of writing this report, 17.91% of the total token supply is held in Uniswap v2 Liquidity.
  • Out of that liquidity, 99% is held in a UniswapV2Locker Contract and will vest to the team on Monday, November 22nd, 2021.
  • The Owner is in possession of 11.54% of the total supply.
  • The next largest wallet holds 1.48% of the total supply.

  • There is a 5% fee applied on transfers when the holder is either buying or selling $eArena. The tokens collected from fees are stored in the contract address.
  • Once the contract balance reaches a value of 50 billion $eArena, the tokens will be swapped for ETH and sent to the owner. The owner has the ability to update this threshold value at any time.
  • The owner is excluded from fees during transactions.
  • The owner has the ability to airdrop any amount of tokens to any address at any time.
  • A for loop is used to transfer funds for the airdrop; The team must ensure the maximum number of addresses that can be involved in a single airdrop is no more than 350 to prevent this loop from hitting the block gas limit.
  • As the project is implemented with Solidity v0.8.x, it is protected from overflows.
  • The contract complies with the ERC20 Token standard.
Audit Findings Summary
  • No external threats were identified.
  • Please ensure trust in the team prior to investing as they have some control in the ecosystem.
  • Date: September 19th, 2021
  • Updated: September 27th, 2021 to reflect the mainnet deployment.

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


Inheritence Chart

Multi-file Token


Functions Overview


 ($) = payable function
 # = non-constant function
 
 + [Int] IUniswapV2Factory 
    - [Ext] createPair #

 + [Int] IUniswapV2Router01 
    - [Ext] factory
    - [Ext] WETH

 + [Int] IUniswapV2Router02 (IUniswapV2Router01)
    - [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #

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

 + [Int] IERC20Metadata (IERC20)
    - [Ext] name
    - [Ext] symbol
    - [Ext] decimals

 +  Context 
    - [Int] _msgSender

 +  ERC20 (Context, IERC20, IERC20Metadata)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals
    - [Pub] totalSupply
    - [Pub] balanceOf
    - [Pub] transfer #
    - [Pub] allowance
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] increaseAllowance #
    - [Pub] decreaseAllowance #
    - [Int] _transfer #
    - [Int] _mint #
    - [Int] _approve #

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

 +  ElectricArena (ERC20, Ownable)
    - [Pub]  #
       - modifiers: ERC20
    - [Int] _transfer #
    - [Ext] airdrop #
       - modifiers: onlyOwner
    - [Ext] setSwapAtAmount #
       - modifiers: onlyOwner