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

dex.raw_pools: add missing legacy OP pools #4885

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 2 additions & 1 deletion models/dex/dex_raw_pools.sql
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"gnosis",
"fantom",
"optimism",
"optimism_legacy_ovm1",
"arbitrum",
"celo",
"base",
Expand Down Expand Up @@ -111,7 +112,7 @@ pool_created_logs as (


select
blockchain
replace(blockchain, 'optimism_legacy_ovm1', 'optimism') as blockchain
, type
, version
, pool
Expand Down
12 changes: 12 additions & 0 deletions models/dex/dex_sources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2

sources:
- name: optimism_legacy_ovm1
description: >
optimism legacy ovm1 tables
tables:
- name: logs
loaded_at_field: block_time
- name: creation_traces
loaded_at_field: block_time