Skip to content

Commit

Permalink
Updated Solana Flipside Pricing Table
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunny77D committed Jun 20, 2024
1 parent fa6a036 commit c44302b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions macros/p2p/filter_p2p_token_transfers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
{% if chain == "solana" %}
token_prices as (
select
recorded_hour::date as date,
hour::date as date,
token_address,
avg(close) as price
from solana_flipside.price.ez_token_prices_hourly
avg(price) as price
from solana_flipside.price.ez_prices_hourly
{% if is_incremental() %}
where block_timestamp >= (
select dateadd('day', -3, max(block_timestamp))
Expand Down
6 changes: 3 additions & 3 deletions macros/p2p/p2p_token_transfers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ with
{% elif chain == "solana" %}
token_prices as (
select
recorded_hour::date as date,
hour::date as date,
token_address,
avg(close) as price
from solana_flipside.price.ez_token_prices_hourly
avg(price) as price
from solana_flipside.price.ez_prices_hourly
group by date, token_address
),
distinct_peer_address as (
Expand Down

0 comments on commit c44302b

Please sign in to comment.