@agapersteยท4 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 Realized Cap & Wallet PnL
Dashboard provides 2 metrics for the $DEGEN token:
This dashboard is also a GitHub repo, feel free to poke around and make pull request suggestions.
Underlying data is refreshed everyday by GitHub action. To get fresh data, run the dashboard by clicking "run" top right.
website | token_address | Warpcast | Twitter
$DEGEN

โ๏ธ 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:
- Pull necessary transfer data from Dune to Python notebook
- Perform virtual UTXO calculation to get the realized balance per transfer
- 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.