Xi Token - Smart Contract Audit Report

Summary

Xi Token ($XI) is a new ERC20 token on the Ethereum Blockchain.

The Xi Token Token contract is deployed at 0x295B42684F90c77DA7ea46336001010F2791Ec8c on the Ethereum mainnet.

Notes of the contract:
  • The total supply is set to 1 billion [1,000,000,000] $XI.
  • No minting 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, 20% of the total supply has been sent to the 0x..dead address.
  • The top five holders own a cumulative 53.9% of the total supply.
  • Please note that there are a significant number of wallets that hold at least ~2x as many tokens than the tokens in the liquidity pool. The negative price impact would be substantial if these users were to sell their tokens.

  • The contract complies with the ERC20 standard.
  • The contract utilizes SafeMath libraries to prevent overflows/underflows.
  • Some functions could have been declared external instead of public to save some gas, but as this is already deployed this is merely informational.
Audit Findings Summary
  • No external threats were identified.
  • Date: November 5th, 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
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

ERC20 Token Graph

Multi-file Token


 ($) = payable function
 # = non-constant function
 
 Int = Internal
 Ext = External
 Pub = Public

 +  Context 
    - [Int]  #
    - [Int] _msgSender
    - [Int] _msgData

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

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

 + [Lib] Address 
    - [Int] isContract
    - [Int] toPayable
    - [Int] sendValue #

 + [Lib] SafeERC20 
    - [Int] safeTransfer #
    - [Int] safeTransferFrom #
    - [Int] safeApprove #
    - [Int] safeIncreaseAllowance #
    - [Int] safeDecreaseAllowance #
    - [Prv] callOptionalReturn #

 +  ReentrancyGuard 
    - [Int]  #

 +  Crowdsale (Context, ReentrancyGuard)
    - [Pub]  #
    - [Ext]  ($)
    - [Pub] token
    - [Pub] wallet
    - [Pub] rate
    - [Pub] weiRaised
    - [Pub] buyTokens ($)
       - modifiers: nonReentrant
    - [Int] _preValidatePurchase
    - [Int] _postValidatePurchase
    - [Int] _deliverTokens #
    - [Int] _processPurchase #
    - [Int] _updatePurchasingState #
    - [Int] _getTokenAmount
    - [Int] _forwardFunds #

 +  ERC20Detailed (IERC20)
    - [Pub]  #
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals

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

 +  XiToken (ERC20Detailed, ERC20)
    - [Pub]  #
       - modifiers: ERC20Detailed,ERC20

 +  XiCrowdsale (Crowdsale)
    - [Pub]  #
       - modifiers: Crowdsale