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:Audit Findings Summary
- 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.
- No external threats were identified.
- Date: November 5th, 2021
Audit 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 |
($) = 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