Skip to content

Commit

Permalink
Merge pull request #323 from aleksandrkaekhtin/feature/s7_defi
Browse files Browse the repository at this point in the history
Fix swap.coffee scoring
  • Loading branch information
aleksandrkaekhtin authored Dec 12, 2024
2 parents 7cce145 + a42ec72 commit cfd1427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seasons/sql/s7_defi_tvl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ order by now desc limit 1)
), swapcoffee_flow as (
select "source" as address,
case
when symbol in ('CES', 'XROCK', 'JETTON') then
when symbol in ('CES', 'XROCK', 'JETTON', 'DFC') then
coalesce((select price_usd from prices.agg_prices ap
where ap.base = jetton_master_address and price_time < 1734433200 order by price_time desc limit 1) * jt.amount / 1e6, 0)
else
Expand Down

0 comments on commit cfd1427

Please sign in to comment.