Skip to content

Commit

Permalink
Calculate adjusted Near DAU for all of time (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyyim authored Jun 29, 2024
1 parent 7d09b80 commit 062ac2a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions macros/metrics/get_fundamental_data_for_chain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
group by start_date
),
{% if chain in ("near") %}
truncated_near_fact_txns as (
near_fact_txns as (
select *
from near_flipside.core.fact_transactions
where block_timestamp > current_date() - interval '300 days'
),
fact_transactions_delegate_extracted as (
select
Expand All @@ -31,7 +30,7 @@
else false
end as is_delegate
from
truncated_near_fact_txns,
near_fact_txns,
lateral flatten(input => tx:actions) as action
where
tx_succeeded = TRUE
Expand Down

0 comments on commit 062ac2a

Please sign in to comment.