Skip to content

Commit

Permalink
updating ez dex swap (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebMelendez01 authored Jun 17, 2024
1 parent 55d9449 commit 130e3e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions models/projects/uniswap/raw/ez_uniswap_dex_swaps.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ with
],
)
}}
),
prices as ({{ get_coingecko_price_with_latest("ethereum") }})
)
select
dex_swaps.block_timestamp,
'uniswap' as app,
Expand All @@ -45,5 +44,4 @@ select
dex_swaps.gas_cost_native,
dex_swaps.gas_cost_native * price as gas_cost_usd
from dex_swaps
left join prices on dex_swaps.block_timestamp::date = prices.date
where dex_swaps.block_timestamp::date < to_date(sysdate())

0 comments on commit 130e3e3

Please sign in to comment.