Skip to content

$DEGEN Realized Cap & Individual Wallet PnL ๐ŸŽฉ

@agaperste@agaperste4 charts


PnL for each Address

Here is a table you can use to look up the profit and loss for each "trader" or wallet address of DEGEN holders. It takes into account of all the transfer activities and the price at the time of the transfers (whether it's a claim, a buy, or a sell).

Parameters:

  • current_holder: default "yes", meaning only show addresses who are currently holding DEGEN. If you choose no, then all addresses who've historically owned DEGEN will show.
  • current_holder_threshold: default 1, meaning you need at least 1 DEGEN in your balance to be considered a current_holder, adjust according to your needs.

$DEGEN

image

โ˜๏ธ Click the "Run" button to get the latest data. Note that the underlying dataset are updated once a day around 21:00 UTC.

๐Ÿ› Dashboard made by Jackie | agaperste. Shoot me a DM on Twitter or Warpcast if you find bugs or want to discuss methodology.


Realized Cap

Realized capitalization, initially adopted from UTXO chains like Bitcoin, offers a more precise valuation of a token by considering its value at the time of movement, in contrast to simply multiplying the current price by the available tokens for market cap calculation. It provides a more accurate reflection of the total network value of the token.

For more info on the realized cap and method I chose for calculation, please go to section Virtual UTXO Method.


Virtual UTXO Method

The realized cap are calculated in 3 steps:

  1. Pull necessary transfer data from Dune to Python notebook
  2. Perform virtual UTXO calculation to get the realized balance per transfer
  3. Upload the realized balance data back to Dune (daily) for aggregation, visualization, and summary

The precise logic can be found in this script.

What is virtual UTXO method

So, realized capitalization as a concept was invented for UTXO chains and not account based chains, so when it comes to calculating the realized cap for fungible ERC20 tokens, there are different methods for doing so. Here I chose virtual UTXO as it captures the price of the token at the time of the movement, more accurately reflecting the economic value of the token market as whole.

Visit this page for more explanation: https://coinmetrics.io/realized-capitalization/.

Basically, for $DEGEN, we do the following:

  • each address is an account
  • for each account find all the transfers / transactions of DEGEN
  • when there is a incoming DEGEN event, note down the amount and the price at the time of transfer as a tuple
  • when there is an outgoing DEGEN event, start subtracting DEGEN from the highest DEGEN tuple recorded
  • when calculating daily realized cap, sum up all the positions we've recorded for all addresses up until that day

Above explanation can be really confusing, I suggest reading the page linked, there is a relatively intuitive example.

Below is the base table we are using for virtual UTXO calculation of realized cap for DEGEN.