Skip to content

INS LBP Performance

@vant7350@vant735010 charts

Profit Calculation for 0x9059b7c20390161af7a8fd2aac21f1b9ac7b22be

Let's look into the transactions of this individual: DeBank Profile

Initial Token Allocation:

He received 215,642 INS (Avg price: $0.4174) from the Liquidity Bootstrapping Pool (LBP).

Investment:

The money invested in the LBP: 215,642 * $0.4174 = $90,000

Transaction Breakdown:

  1. First Sale on Dex:

Sold: 65,642 INS Earned: $45,133

  1. Second Sale on Dex:

Sold: 50,000 INS Earned: $31,035

  1. Third Sale on Dex:

Sold: 130,000 INS Earned: $56,622

Important Note:

He sold more INS tokens than he initially received from LBP, indicating that he purchased additional tokens after the Token Generation Event (TGE).

Profit Calculation from LBP:

Step 1: Calculate the earnings from the initial tokens sold.

  • First Sale: Sold: 65,642 INS Earned: $45,133

Step 2: Calculate the earnings from the second round of tokens sold.

  • Second Sale: Sold: 50,000 INS Earned: $31,035

Step 3: For the third sale, we need to account for the extra tokens he purchased.

  • Total Tokens Sold: 130,000 INS
  • Tokens Remaining from LBP: 215,642 - 65,642 - 50,000 = 100,000 INS

Since the remaining 100,000 INS were sold first (FIFO method), we need to determine the value of this portion proportionally:

  • Proportion of LBP Tokens in Third Sale: [ (100,000/130,000) * 56,622 = 43,555 ]
  • Earned from LBP Tokens in Third Sale: $43,555

Total Earnings from LBP Tokens:

First Sale: $45,133 Second Sale: $31,035 Portion of Third Sale: $43,555

Total Earned: [ 45,133 + 31,035 + 43,555 = 119,723 ]

Investment:

The money he invested in the LBP: $90,000

Profit Calculation: [ Profit = Total Earned - LBP Investment = 119,723 - 90,000 = 29,723 ]

Therefore, the profit he made from the 215,642 INS tokens obtained through the LBP is $29,723 (dune is $29,551 due to differnce price sources with debank)

SQL Query Explanation for Profit/Loss Calculation:

1. Token Acquired, Avg Price, LBP Investment (USD)

Source:Dune Analytics

2. Public Sales (DEXes) + INS Hold (USD):

  • The query calculates how much USD each user received from selling their INS tokens on DEXes.
  • If only part of the sold tokens were originally from the LBP, the USD earned is proportionally allocated to those tokens.
  • Any unsold INS tokens are valued at their current market price and recorded as the 'INS Hold'.

Note: FIFO Token Sale Allocation:

Because users could buy more after TGE, the query uses the First In, First Out (FIFO) method to track token sales. The tokens sold in each transaction on DEXes are assumed to come first from the tokens acquired during the LBP.

3. Profit/Loss Calculation:

Profit = Public Sales + INS Hold - LBP Investment

Based on the calculated profit or loss and due to price fluctuations, the query categorizes each user’s outcome as follows:

  • If the profit/loss is greater than $1, the result is labeled as "Profit".
  • If the profit/loss is less than -$1, the result is labeled as "Loss".
  • If the profit/loss falls between -$1 and $1, it is labeled as a "Breakeven Sale".

4. Manual Classification for Token Transfers:

This method does not directly handle cases where users transfer tokens to other wallets or centralized exchanges (CEX) and then sell them. However, such cases were manually classified using the dataset:

dune.vant7350.dataset_finish_wallet_manual_classification

This dataset tracks token transfers between wallets and adjusts the profit/loss calculations accordingly. For transfers to CEX, the manual classification assumes that tokens are sold at the price at the time of transfer. This approach treats CEX transfers as effective sales, ensuring that profit/loss is recorded based on the market conditions at the transfer time.

INS Participant PnL in Liquidity Bootstrapping Pools

image


  • Project: Inscribe
  • Token name: INS
  • Token address: 0xe9572938bcbf08adceE86Fd12A7C0D08dC4Ab841
  • LBP Contract: 0x474ca8d19cbcd57e2ddf90c5a6b0841d250b9b96
  • Chain: ETH