From dea66dc98102d3ebdfaf8ce3b1b1d5520ffc36c6 Mon Sep 17 00:00:00 2001 From: Troy Date: Thu, 5 Dec 2024 15:03:15 -0700 Subject: [PATCH] lint --- .../optimism/mainnet/lt_trades_optimism_mainnet.sql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/transformers/synthetix/models/marts/optimism/mainnet/lt_trades_optimism_mainnet.sql b/transformers/synthetix/models/marts/optimism/mainnet/lt_trades_optimism_mainnet.sql index 418ad0bc..1b606e39 100644 --- a/transformers/synthetix/models/marts/optimism/mainnet/lt_trades_optimism_mainnet.sql +++ b/transformers/synthetix/models/marts/optimism/mainnet/lt_trades_optimism_mainnet.sql @@ -23,7 +23,7 @@ with trades as ( token, {{ convert_wei('leveraged_token_amount') }} as leveraged_token_amount, {{ convert_wei('base_asset_amount') }} as base_asset_amount - from prod_raw_optimism_mainnet.tlx_lt_minted_optimism_mainnet + from {{ ref('tlx_lt_minted_optimism_mainnet') }} union all select id, @@ -34,9 +34,10 @@ with trades as ( event_name, account, token, - {{ convert_wei('leveraged_token_amount') }} * -1 as leveraged_token_amount, + {{ convert_wei('leveraged_token_amount') }} + * -1 as leveraged_token_amount, {{ convert_wei('base_asset_amount') }} * -1 as base_asset_amount - from prod_raw_optimism_mainnet.tlx_lt_redeemed_optimism_mainnet + from {{ ref('tlx_lt_redeemed_optimism_mainnet') }} ) as a ), @@ -47,7 +48,7 @@ prices as ( last(price) over (partition by market, block_number order by id) as price - from prod_optimism_mainnet.fct_v2_trades_optimism_mainnet + from {{ ref('fct_v2_trades_optimism_mainnet') }} ) select