Skip to content

Commit

Permalink
updated sql files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason4276 committed Jan 20, 2025
1 parent 904f4af commit 7dcdcf4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
WITH op_addresses as (
SELECT
pool as address,
token as token_address,
0x4200000000000000000000000000000000000042 as token_address,
version
FROM
{{ source('curve_optimism', 'pools') }}
Expand All @@ -25,11 +25,11 @@ filtered_balances as (
{{ balances_incremental_subset_daily(
blockchain='optimism',
start_date='2021-11-11',
address_list='op_addresses'
address_token_list='op_addresses'
) }}
)

SELECT DISTINCT
SELECT
p.address as pool_address,
p.token_address as token,
p.version,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ filtered_balances AS (
{{ balances_incremental_subset_daily(
blockchain='optimism',
start_date='2024-01-30',
address_list='op_addresses',
address_token_list='op_addresses',
) }}
)

SELECT DISTINCT
SELECT
p.address AS pool_address,
p.token0 AS token0,
p.token1 AS token1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ filtered_balances AS (
{{ balances_incremental_subset_daily(
blockchain='optimism',
start_date='2023-06-22',
address_list='op_addresses',
address_token_list='op_addresses',
) }}
)

SELECT DISTINCT
SELECT
p.address AS pool_address,
p.token0 AS token0,
p.token1 AS token1,
Expand Down

0 comments on commit 7dcdcf4

Please sign in to comment.