Spaceman - Smart Contract Audit Report

Summary

Spaceman Audit Report Spaceman is a new token with frictionless fee redistribution and liquidity adds.

We audited Spaceman's token contract contract at 0xD930f493E153d745aFB124F9859bE8479e4b1862 on the Binance Smart Chain mainnet.

Overview of the Contract:
  • The total supply of the token is set to 100,000,000,000,000,000.
  • No mint or burn functions are present; though the circulating supply can be reduced by sending tokens to the 0x..dead address, if desired.
  • As of the date of this report, 57% of the token's supply has been sent to the 0xdead address.
  • The token was listed directly on PancakeSwap with 10 BNB being paired against the 40% of the total supply.
  • 7.5% of the supply is locked in an unverified contract and will be released to the team in ~6 weeks.
  • Pancakeswap holds 3.5% of the token's supply as liquidity.
  • 90% of liquidity is locked in an unverified contract and will unlock to the team in 4 months. 9% of liquidity is unlocked and held by the team.
  • Three wallets hold more than the liquidity pool, between ~3.7% and ~5.4%
  • The next largest token holder has ~1.6%.

  • Users who hold tokens will automatically receive a portion the fees from a transaction tax on each transfer.
  • A portion of the fee charged on transactions is stored in the contract and, once a threshold value is met, used to fund PancakeSwap liqudity.
  • Liquidity-adds are funded by selling half of the tokens collected as fees, pairing the received ETH with the token, and adding it as liquidity to the BNB pair.

  • There is a transfer limit of 5 trillion tokens per transaction.
  • The owner of the contract can exclude and include users from transfer fees, update the maximum transaciton amount.
  • The contract utilizes Solidity 0.8.3 which has built-in checks to prevent overflow issues along with following the BEP20 standard.

Audit Findings Summary
  • No security issues were identified in our analysis.
  • Ensure trust in the team as they have significant control in the ecosystem. We recommend renouncing ownership.
  • Some wallets hold a large number of tokens in relation to the liquidity pool. If they were to sell all at once, there could be a large negative price impact.
  • Date: April 24th, 2021

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

BEP20 Token Graph

Multi-file Token

												
($) = payable function
 # = non-constant function

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

 + [Int] IUniswapV2Router01 
    - [Ext] factory
    - [Ext] WETH
    - [Ext] addLiquidity #
    - [Ext] addLiquidityETH ($)
    - [Ext] removeLiquidity #
    - [Ext] removeLiquidityETH #
    - [Ext] removeLiquidityWithPermit #
    - [Ext] removeLiquidityETHWithPermit #
    - [Ext] swapExactTokensForTokens #
    - [Ext] swapTokensForExactTokens #
    - [Ext] swapExactETHForTokens ($)
    - [Ext] swapTokensForExactETH #
    - [Ext] swapExactTokensForETH #
    - [Ext] swapETHForExactTokens ($)
    - [Ext] quote
    - [Ext] getAmountOut
    - [Ext] getAmountIn
    - [Ext] getAmountsOut
    - [Ext] getAmountsIn

 + [Int] IUniswapV2Router02 (IUniswapV2Router01)
    - [Ext] removeLiquidityETHSupportingFeeOnTransferTokens #
    - [Ext] removeLiquidityETHWithPermitSupportingFeeOnTransferTokens #
    - [Ext] swapExactTokensForTokensSupportingFeeOnTransferTokens #
    - [Ext] swapExactETHForTokensSupportingFeeOnTransferTokens ($)
    - [Ext] swapExactTokensForETHSupportingFeeOnTransferTokens #

 + [Int] IUniswapV2Factory 
    - [Ext] feeTo
    - [Ext] feeToSetter
    - [Ext] getPair
    - [Ext] allPairs
    - [Ext] allPairsLength
    - [Ext] createPair #
    - [Ext] setFeeTo #
    - [Ext] setFeeToSetter #

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

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

 + [Lib] Address 
    - [Int] isContract
    - [Int] sendValue #
    - [Int] functionCall #
    - [Int] functionCall #
    - [Int] functionCallWithValue #
    - [Int] functionCallWithValue #
    - [Int] functionStaticCall
    - [Int] functionStaticCall
    - [Int] functionDelegateCall #
    - [Int] functionDelegateCall #
    - [Prv] _verifyCallResult

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

 +  SpacemanLOLMetaData (IERC20Metadata)
    - [Pub] name
    - [Pub] symbol
    - [Pub] decimals

 +  SpacemanLOL (Ownable, SpacemanLOLMetaData)
    - [Pub]  #
    - [Ext] totalSupply
    - [Prv] _getCurrentSupply
    - [Pub] isExcludedFromRewards
    - [Ext] isExcludedFromFees
    - [Prv] _getRate
    - [Prv] _reflectionFromToken
    - [Prv] _tokenFromReflection
    - [Pub] balanceOf
    - [Ext] totalFees
    - [Ext] excludeFromReward #
       - modifiers: onlyOwner
    - [Ext] includeInRewards #
       - modifiers: onlyOwner
    - [Ext] excludeFromFees #
       - modifiers: onlyOwner
    - [Ext] includeInFees #
       - modifiers: onlyOwner
    - [Pub] deliver #
    - [Ext] setTaxFeePercent #
       - modifiers: onlyOwner
    - [Ext] setLiquidityFeePercent #
       - modifiers: onlyOwner
    - [Prv] removeAllFees #
    - [Prv] restoreAllFees #
    - [Ext] setMaxTransferAmount #
       - modifiers: onlyOwner
    - [Ext] setSwapAndLiquifyingState #
       - modifiers: onlyOwner
    - [Prv] _calculateFee
    - [Prv] _calculateTaxFee
    - [Prv] _calculateLiquidityFee
    - [Prv] _reflectFee #
    - [Prv] _takeLiquidity #
    - [Ext]  ($)
    - [Prv] _transferFromExcluded #
    - [Prv] _transferToExcluded #
    - [Prv] _transferStandard #
    - [Prv] _transferBothExcluded #
    - [Prv] _transferToken #
    - [Prv] _swapTokensForEth #
    - [Prv] _addLiquidity #
    - [Prv] _swapAndLiquefy #
       - modifiers: lockTheSwap
    - [Prv] _transfer #
    - [Prv] _approve #
    - [Pub] transfer #
    - [Pub] approve #
    - [Pub] transferFrom #
    - [Pub] allowance
    - [Ext] increaseAllowance #
    - [Ext] decreaseAllowance #