Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optimism velodrome v2 concentrated liquidity pool #7038

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ dexs_v2 AS (
pair_column_name = 'pool'
)
}}
),

dexs_v2_cl AS (
{{
uniswap_compatible_v3_trades(
blockchain = 'optimism',
project = 'velodrome',
version = '2',
jeff-dude marked this conversation as resolved.
Show resolved Hide resolved
Pair_evt_Swap = source('velodrome_v2_optimism', 'CLPool_evt_Swap'),
Factory_evt_PoolCreated = source('velodrome_v2_optimism', 'CLFactory_evt_PoolCreated'),
optional_columns = []
)
}}
)

SELECT
Expand Down Expand Up @@ -74,3 +87,22 @@ SELECT
dexs_v2.tx_hash,
dexs_v2.evt_index
FROM dexs_v2
UNION ALL
SELECT
dexs_v2_cl.blockchain,
dexs_v2_cl.project,
dexs_v2_cl.version,
dexs_v2_cl.block_month,
dexs_v2_cl.block_date,
dexs_v2_cl.block_time,
dexs_v2_cl.block_number,
dexs_v2_cl.token_bought_amount_raw,
dexs_v2_cl.token_sold_amount_raw,
dexs_v2_cl.token_bought_address,
dexs_v2_cl.token_sold_address,
dexs_v2_cl.taker,
dexs_v2_cl.maker,
dexs_v2_cl.project_contract_address,
dexs_v2_cl.tx_hash,
dexs_v2_cl.evt_index
FROM dexs_v2_cl
Loading