From 9eade12ec8cdad20a29b74a17874ca7d2979fdb9 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 9 Jan 2025 12:14:30 +0530 Subject: [PATCH] update files --- .../dex/pools/optimism/uniswap/_schema.yml | 17 +++++++++++++++++ .../uniswap_pools_optimism_balances.sql | 0 .../_sector/dex/trades/optimism/_sources.yml | 2 ++ sources/_subprojects_outputs/dex/_sources.yml | 1 - 4 files changed, 19 insertions(+), 1 deletion(-) rename dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/{ => uniswap}/uniswap_pools_optimism_balances.sql (100%) diff --git a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap/_schema.yml b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap/_schema.yml index e69de29bb2d..66894032eaf 100644 --- a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap/_schema.yml +++ b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap/_schema.yml @@ -0,0 +1,17 @@ +version: 2 + +models: + - name: uniswap_pools_optimism_balances + description: "Tracks OP token balances in uniswap pools on Optimism." + meta: + blockchain: optimism + sector: DEX + project: uniswap + contributors: jason + config: + tags: ['optimism', 'op_token', 'balances', 'uniswap'] + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - pool_address + - snapshot_day \ No newline at end of file diff --git a/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap_pools_optimism_balances.sql b/dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap/uniswap_pools_optimism_balances.sql similarity index 100% rename from dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap_pools_optimism_balances.sql rename to dbt_subprojects/daily_spellbook/models/_sector/dex/pools/optimism/uniswap/uniswap_pools_optimism_balances.sql diff --git a/sources/_sector/dex/trades/optimism/_sources.yml b/sources/_sector/dex/trades/optimism/_sources.yml index e13ce79639f..8d6534054f5 100644 --- a/sources/_sector/dex/trades/optimism/_sources.yml +++ b/sources/_sector/dex/trades/optimism/_sources.yml @@ -2,6 +2,8 @@ version: 2 sources: - name: uniswap_v3_optimism + tables: + - name: pools - name: sushi_optimism tables: - name: ConstantProductPool_evt_Swap diff --git a/sources/_subprojects_outputs/dex/_sources.yml b/sources/_subprojects_outputs/dex/_sources.yml index 3a58a1afe25..88751103645 100644 --- a/sources/_subprojects_outputs/dex/_sources.yml +++ b/sources/_subprojects_outputs/dex/_sources.yml @@ -60,7 +60,6 @@ sources: - name: uniswap_v3_optimism tables: - name: ovm1_pool_mapping - - name: pools - name: cow_protocol_ethereum tables: - name: trades