From 0b00f69dcc844696174b4309ab7a8b5cff4b51ab Mon Sep 17 00:00:00 2001 From: Son Do Date: Mon, 25 Nov 2024 09:27:06 -0500 Subject: [PATCH] Fixed Ez Metaplex Fees / Revs --- models/projects/metaplex/core/ez_metaplex_metrics.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/projects/metaplex/core/ez_metaplex_metrics.sql b/models/projects/metaplex/core/ez_metaplex_metrics.sql index 8d7b7d51..72594ee1 100644 --- a/models/projects/metaplex/core/ez_metaplex_metrics.sql +++ b/models/projects/metaplex/core/ez_metaplex_metrics.sql @@ -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