Skip to content

Commit

Permalink
Fixed Ez Metaplex Fees / Revs (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny77D authored Nov 25, 2024
1 parent b39a69d commit 46885ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/projects/metaplex/core/ez_metaplex_metrics.sql
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ with date_spine as (
SELECT
ds.date
, coalesce(revenue.revenue_usd, 0) as fees
, coalesce(revenue.revenue_usd, 0) / 2 as revenue -- Fees are paid continuously, but revenue is only recognized at the time of the buyback
, coalesce(revenue.revenue_usd, 0) as revenue -- Fees + Revenue are same - 50% fees go to buybacks | the other 50% goes to dao treasury.
, coalesce(buybacks.buyback, 0) as buyback -- 50% of fees (ie all of revenue) go to buybacks but buybacks are done in batches, at the time of the buyback
, coalesce(buybacks.buyback_native, 0) as buyback_native
, coalesce(mints.daily_mints, 0) as daily_mints
Expand Down

0 comments on commit 46885ca

Please sign in to comment.