Skip to main content

Revenue Breakdown by Token

Displays protocol revenue contribution across different tokens, showing which tokens generate treasury inflows. Revenue comes from two sources: "SOL (direct)" represents native SOL/WSOL received directly, while other tokens (USDC, JUP, TUNA, etc.) are converted to SOL via on-chain swaps ("SwapReward"). Click on a token bar to display the top 10 contributing transactions for that token.

Data

Loading analytics data...

Use Cases

This chart helps you:

  • Analyze revenue composition: Track which tokens contribute to overall treasury revenue
  • Investigate specific tokens: Click bars to examine individual transactions for any token
  • Compare token contributions: Evaluate relative contribution across different tokens
  • Cross-reference revenue sources: Link token data with transaction type and pool breakdowns
  • Export transaction details: Use the table to identify and investigate specific revenue events

How to Read This Chart

Click to expand chart reading guide
  • Bar height: Each token's total revenue contribution in SOL
  • X-axis: Token mints (labels may be truncated for display)
  • Y-axis: Revenue amount in SOL
  • "SOL (direct)" label: Native SOL or WSOL received directly by the treasury, as opposed to other tokens that were swapped to SOL
  • Interactions:
    • Click on bars to filter the transaction table below
    • Hover over bars to see exact SOL amounts and token identifiers
    • Transaction signatures and token addresses in the table link to Solscan for detailed exploration

Methodology

Click to expand technical details

Data Sources

  • Treasury transactions: On-chain data from DefiTuna treasury PDA (G9XfJoY81n8A9bZKaJFhJYomRrcvFkuJ22em2g8rZuCh)
  • Token conversions: Conversion rates from actual on-chain swap transactions
  • Classification: Log-based transaction analysis with 100% attribution accuracy

For complete pipeline details, see Data Pipeline.

Token-to-SOL Conversion

All token revenues are converted to SOL equivalents using same-day pricing from actual swap transactions:

  1. Token accumulates: Treasury receives revenue tokens (USDC, JUP, etc.) from fees or operations
  2. SwapReward converts: When tokens are swapped to SOL, the actual on-chain rate is recorded
  3. Attribution back to source: The converted SOL is attributed to the original transaction type that earned the tokens

This approach ensures conversion rates reflect real market conditions when transactions occurred, not theoretical prices from external APIs.

Pending Conversions

Tokens not yet swapped to SOL remain tracked in their native denomination but are excluded from SOL-normalized totals until conversion occurs on-chain. This ensures reported values reflect realized amounts rather than estimates.

Revenue Classification

Each transaction is classified using log-based pattern matching. The revenue attribution system achieves 100% accuracy by reconciling two independent accounting methods.

Update Frequency

Data is automatically updated once a day. Check the "Last updated" timestamp in the site header for data freshness.

Known Limitations

  • Conversion rates based on treasury swap prices (may differ from market mid-price by a few basis points)
  • Tokens not yet swapped remain pending until conversion occurs
  • Tokens with little revenue contribution may be grouped into "Other" category
  • Chart shows cumulative data; individual transaction dates available in the table
  • Does not include unrealized gains from currently held token positions